Skip to content

Commit

Permalink
fix: fix fordefi existence check
Browse files Browse the repository at this point in the history
  • Loading branch information
rony-arnac committed Aug 31, 2023
1 parent 516a646 commit b64d02b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/injected/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/injected-wallets",
"version": "2.10.6-alpha.1",
"version": "2.10.6-alpha.2",
"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.",
"keywords": [
"Ethereum",
Expand Down
3 changes: 1 addition & 2 deletions packages/injected/src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,7 @@ const fordefi: InjectedWalletModule = {
injectedNamespace: InjectedNameSpace.Ethereum,
checkProviderIdentity: ({ provider }) =>
!!provider &&
!!provider[ProviderIdentityFlag.Fordefi] &&
!otherProviderFlagsExist(ProviderIdentityFlag.Fordefi, provider),
!!provider[ProviderIdentityFlag.Fordefi],
getIcon: async () => (await import('./icons/fordefi.js')).default,
getInterface: getInjectedInterface(ProviderIdentityFlag.Fordefi, true),
platforms: ['desktop']
Expand Down

0 comments on commit b64d02b

Please sign in to comment.