Skip to content

Commit 655681d

Browse files
Merge pull request #1053 from lostpebble/meteor/update-and-bugfix
Meteor Wallet: Update and bug fix
2 parents 268f109 + 1f12b9c commit 655681d

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"@ledgerhq/hw-transport": "6.27.1",
9292
"@ledgerhq/hw-transport-webhid": "6.27.1",
9393
"@metamask/detect-provider": "^2.0.0",
94-
"@meteorwallet/sdk": "^1.0.5",
94+
"@meteorwallet/sdk": "^1.0.9",
9595
"@mintbase-js/wallet": "0.5.0-beta.6",
9696
"@near-snap/sdk": "^0.6.0",
9797
"@peersyst/near-mobile-signer": "^1.0.10",

packages/meteor-wallet/src/lib/meteor-wallet.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,15 @@ const createMeteorWalletInjected: WalletBehaviourFactory<
8585
});
8686
}
8787

88-
return getAccounts();
88+
const accounts = await getAccounts();
89+
90+
logger.log("MeteorWallet:signIn", {
91+
contractId,
92+
methodNames,
93+
account: accounts[0],
94+
});
95+
96+
return accounts;
8997
},
9098

9199
async signOut() {

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3455,10 +3455,10 @@
34553455
resolved "https://registry.yarnpkg.com/@metamask/detect-provider/-/detect-provider-2.0.0.tgz#4bc2795e5e6f7d8b84b2e845058d2f222c99917d"
34563456
integrity sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ==
34573457

3458-
"@meteorwallet/sdk@^1.0.5":
3459-
version "1.0.5"
3460-
resolved "https://registry.yarnpkg.com/@meteorwallet/sdk/-/sdk-1.0.5.tgz#1a878bc1357b8818cc3240a44709a6fe9971c3e1"
3461-
integrity sha512-2HT3F6O8lMvj1STD/ir09R43jPLlRVFPoR8dD+qsASUe73ZJumX8r3Uef4g9waAjKZza5B7wmi4XpamFaKrlkg==
3458+
"@meteorwallet/sdk@^1.0.9":
3459+
version "1.0.9"
3460+
resolved "https://registry.yarnpkg.com/@meteorwallet/sdk/-/sdk-1.0.9.tgz#d10d41ca81a81673379ba43a9ddf2d23b1b4503a"
3461+
integrity sha512-frJM+rwmx18MCVsfHn0O8oaJfB41BqaXW6cyhZ3EtMw3b87DUJyfSuJi9K0HQl7oGG0+wvMZOKRBVVcMiZzoDg==
34623462
dependencies:
34633463
borsh "^0.7.0"
34643464
nanoid "3.3.6"

0 commit comments

Comments
 (0)