Skip to content

Commit a2af8e8

Browse files
authored
1.37.3-0.0.3 - Wallet select error when no provider to the WalletSelect(#825)
* fix: undefined on object keys in safari * chore: bump version
1 parent 4295cbf commit a2af8e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bnc-onboard",
3-
"version": "1.37.3-0.0.2",
3+
"version": "1.37.3-0.0.3",
44
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.",
55
"keywords": [
66
"ethereum",

src/modules/select/wallets/detectedwallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function injected(options: CommonWalletOptions): WalletModule {
1111

1212
const name =
1313
label ||
14-
Object.keys(provider)
14+
Object.keys(provider || {})
1515
.find(
1616
key =>
1717
key.startsWith('is') &&

0 commit comments

Comments
 (0)