Skip to content

Commit b64d02b

Browse files
committed
fix: fix fordefi existence check
1 parent 516a646 commit b64d02b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/injected/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/injected-wallets",
3-
"version": "2.10.6-alpha.1",
3+
"version": "2.10.6-alpha.2",
44
"description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"keywords": [
66
"Ethereum",

packages/injected/src/wallets.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,7 @@ const fordefi: InjectedWalletModule = {
818818
injectedNamespace: InjectedNameSpace.Ethereum,
819819
checkProviderIdentity: ({ provider }) =>
820820
!!provider &&
821-
!!provider[ProviderIdentityFlag.Fordefi] &&
822-
!otherProviderFlagsExist(ProviderIdentityFlag.Fordefi, provider),
821+
!!provider[ProviderIdentityFlag.Fordefi],
823822
getIcon: async () => (await import('./icons/fordefi.js')).default,
824823
getInterface: getInjectedInterface(ProviderIdentityFlag.Fordefi, true),
825824
platforms: ['desktop']

0 commit comments

Comments
 (0)