Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/widget-provider-bitcoin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@lifi/widget-provider": "workspace:*"
},
"peerDependencies": {
"@bigmi/react": ">=0.6.0"
"@bigmi/react": "0.7.0"
},
"devDependencies": {
"cpy-cli": "^7.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
onekey,
oyl,
phantom,
unhosted,
unisat,
xverse,
} from '@bigmi/client'
Expand Down Expand Up @@ -65,6 +66,7 @@ export function createDefaultBigmiConfig(
bitget(),
oyl(),
magicEden(),
unhosted(),
...(props?.connectors ?? []),
]

Expand Down
2 changes: 2 additions & 0 deletions packages/widget-provider/src/utils/isWalletInstalled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ export const isWalletInstalled = (id: string): boolean => {
return anyWindow.binancew3w?.bitcoin || anyWindow.unisat?.isBinance
case 'app.magiceden.bitcoin':
return anyWindow?.magicEden?.bitcoin?.isMagicEden
case 'unhosted.bitcoin':
return anyWindow?.unhosted?.bitcoin?.isUnhosted
default:
/**
* Return true if the wallet is not in the list of explicitly supported or self-injected wallet
Expand Down
57 changes: 28 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.