From 3a83dd0cc95ae63b579abbd3dee42bf69e4df043 Mon Sep 17 00:00:00 2001 From: leehoemun Date: Thu, 2 Jan 2025 14:38:36 +0800 Subject: [PATCH] chore: code linting --- .../meteor-wallet-app/src/lib/meteor-wallet-app.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/meteor-wallet-app/src/lib/meteor-wallet-app.ts b/packages/meteor-wallet-app/src/lib/meteor-wallet-app.ts index 339200be2..ff0db919d 100644 --- a/packages/meteor-wallet-app/src/lib/meteor-wallet-app.ts +++ b/packages/meteor-wallet-app/src/lib/meteor-wallet-app.ts @@ -100,14 +100,14 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory< contractId?: string; } > = async ({ metadata }) => { - let signedInAccounts: Array = [] + let signedInAccounts: Array = []; return { getContractId() { return metadata.contractId; }, async getAccounts() { - return signedInAccounts + return signedInAccounts; }, async signAndSendTransaction(params) { promiseId++; @@ -146,12 +146,12 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory< promiseId, }); - signedInAccounts = data - + signedInAccounts = data; + return data; }, async signOut() { - if(signedInAccounts.length > 0){ + if (signedInAccounts.length > 0) { promiseId++; await tryPostOrFail>({ @@ -160,7 +160,7 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory< promiseId, }); - signedInAccounts = [] + signedInAccounts = []; } }, async verifyOwner() {