@dynamic-labs/multi-wallet
Advanced tools
Comparing version 0.10.2 to 0.10.3
{ | ||
"name": "@dynamic-labs/multi-wallet", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "registry": "https://registry.npmjs.org" |
@@ -2078,4 +2078,4 @@ { | ||
"mobile": { | ||
"android": "", | ||
"ios": "" | ||
"android": "https://play.google.com/store/apps/details?id=app.phantom", | ||
"ios": "https://apps.apple.com/us/app/phantom-solana-wallet/id1598432977" | ||
} | ||
@@ -2082,0 +2082,0 @@ }, |
@@ -40,3 +40,9 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.fetchPublicAddressWithName(this.name); | ||
if (this.isInstalledOnBrowser()) { | ||
return this.fetchPublicAddressWithName(this.name); | ||
} | ||
const url = encodeURIComponent(window.location.toString()); | ||
const ref = encodeURIComponent(window.location.origin); | ||
window.location.assign(`https://phantom.app/ul/browse/${url}?ref=${ref}`); | ||
return; | ||
}); | ||
@@ -43,0 +49,0 @@ } |
@@ -17,2 +17,3 @@ /** | ||
glowSolana: ISolana; | ||
location: Window['location']; | ||
solana: ISolana; | ||
@@ -19,0 +20,0 @@ solflare: ISolana; |
Sorry, the diff of this file is not supported yet
440399
10407