Skip to content

Commit 2165eb8

Browse files
authored
1.37.3 Release - Develop (#810)
* 1.37.2-0.0.1 : [feature] - Add Tokenary Wallet (#805) * 1.37.2-0.0.2 : [update] - Update Gnosis SDK Packages (#809) * 1.37.2-0.0.3 : [update] - BlankWallet -> BlockWallet rebrand changes (#804) * 1.37.2-0.0.4 - Update walletlink to 2.4.6 (#812)
1 parent 3c8ef89 commit 2165eb8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
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.2-0.0.4",
3+
"version": "1.37.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/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const providerNameToWalletName = (providerName: string) =>
4949
? providerName
5050
: providerName === 'WalletConnect'
5151
? 'walletConnect'
52+
: providerName === `D'CENT`
53+
? 'dcent'
5254
: providerName.toLocaleLowerCase()
5355

5456
function select(
@@ -237,6 +239,7 @@ function getModule(name: string): Promise<{
237239
case '1inch':
238240
return import('./wallets/1inch')
239241
case 'blockwallet':
242+
case 'blankwallet':
240243
return import('./wallets/blockwallet')
241244
case 'ronin':
242245
return import('./wallets/ronin')

src/utilities.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@ export function getProviderName(provider: any): string | undefined {
365365
return '1inch'
366366
}
367367

368+
if (provider.isOneInchIOSWallet) {
369+
return '1inch'
370+
}
371+
368372
// =====================================
369373
// When adding new wallet place above this metamask check as some providers
370374
// have an isMetaMask property in addition to the wallet's own `is[WalletName]`

0 commit comments

Comments
 (0)