Skip to content

Commit

Permalink
Merge pull request #62 from dotbitHQ/develop
Browse files Browse the repository at this point in the history
fix: bug.
  • Loading branch information
web3max authored Nov 2, 2023
2 parents b8e5d2b + fa500a7 commit 37459f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wallet-bridge",
"private": false,
"version": "0.1.53",
"version": "0.1.54",
"main": "./dist/wallet-bridge.umd.js",
"module": "./dist/wallet-bridge.es.js",
"types": "./dist/index.d.ts",
Expand Down
4 changes: 4 additions & 0 deletions src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ export function getWalletDeepLink(walletName: string, displayUri: string): strin
}

export function openDeepLink(deepLink: string) {
if (!deepLink) {
return
}

if (deepLink.startsWith('http')) {
const link = document.createElement('a')
link.href = deepLink
Expand Down

0 comments on commit 37459f9

Please sign in to comment.