Skip to content

Commit

Permalink
fixing api parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Viterbo committed Dec 18, 2023
1 parent 90c7e36 commit 4d8cd04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/antelope/wallets/ual/MetakeepUAL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ class MetakeepUser extends User {
this.rpc = rpc;
this.api = api;
this.eosioCore = new APIClient({ url: rpc.endpoint });
console.log('this.api', this.api);
}

setReasonCallback(callback: (transaction: any) => string) {
Expand Down
3 changes: 3 additions & 0 deletions src/boot/ual.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,12 @@ export default boot(async ({ app, store }) => {
new MetakeepAuthenticator([chain], {
appName: process.env.APP_NAME,
appId: process.env.METAKEEP_APP_ID_NATIVE,
api: process.env.TELOS_API_ENDPOINT,
}),
];

console.log();

const ual = new UAL([chain], 'ual', authenticators);
store['$ual'] = ual;
app.config.globalProperties.$ual = ual;
Expand Down

0 comments on commit 4d8cd04

Please sign in to comment.