@depay/web3-wallets-evm 16.3.8 → 16.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.evm.js +7 -1
- package/dist/esm/index.js +7 -1
- package/dist/umd/index.evm.js +7 -1
- package/dist/umd/index.js +7 -1
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -1903,6 +1903,12 @@ class WalletLink {
|
|
|
1903
1903
|
this.name = this.constructor.info.name;
|
|
1904
1904
|
this.logo = this.constructor.info.logo;
|
|
1905
1905
|
this.blockchains = this.constructor.info.blockchains;
|
|
1906
|
+
// RESET WalletLink (do not recover connections!)
|
|
1907
|
+
Object.keys(localStorage).forEach((key)=>{
|
|
1908
|
+
if(key.match("-walletlink:https://www.walletlink.org")) {
|
|
1909
|
+
delete localStorage[key];
|
|
1910
|
+
}
|
|
1911
|
+
});
|
|
1906
1912
|
this.connector = WalletLink.instance || this.newWalletLinkInstance();
|
|
1907
1913
|
this.sendTransaction = (transaction)=>{
|
|
1908
1914
|
return sendTransaction({
|
|
@@ -1923,8 +1929,8 @@ class WalletLink {
|
|
|
1923
1929
|
}
|
|
1924
1930
|
|
|
1925
1931
|
async connect(options) {
|
|
1926
|
-
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
1927
1932
|
|
|
1933
|
+
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
1928
1934
|
await connect({ uri: this.connector.qrUrl });
|
|
1929
1935
|
|
|
1930
1936
|
_optionalChain([document, 'access', _ => _.querySelector, 'call', _2 => _2('.-cbwsdk-css-reset'), 'optionalAccess', _3 => _3.setAttribute, 'call', _4 => _4('style', 'display: none;')]);
|
package/dist/esm/index.js
CHANGED
|
@@ -2441,6 +2441,12 @@ class WalletLink {
|
|
|
2441
2441
|
this.name = this.constructor.info.name;
|
|
2442
2442
|
this.logo = this.constructor.info.logo;
|
|
2443
2443
|
this.blockchains = this.constructor.info.blockchains;
|
|
2444
|
+
// RESET WalletLink (do not recover connections!)
|
|
2445
|
+
Object.keys(localStorage).forEach((key)=>{
|
|
2446
|
+
if(key.match("-walletlink:https://www.walletlink.org")) {
|
|
2447
|
+
delete localStorage[key];
|
|
2448
|
+
}
|
|
2449
|
+
});
|
|
2444
2450
|
this.connector = WalletLink.instance || this.newWalletLinkInstance();
|
|
2445
2451
|
this.sendTransaction = (transaction)=>{
|
|
2446
2452
|
return sendTransaction({
|
|
@@ -2461,8 +2467,8 @@ class WalletLink {
|
|
|
2461
2467
|
}
|
|
2462
2468
|
|
|
2463
2469
|
async connect(options) {
|
|
2464
|
-
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
2465
2470
|
|
|
2471
|
+
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
2466
2472
|
await connect({ uri: this.connector.qrUrl });
|
|
2467
2473
|
|
|
2468
2474
|
_optionalChain([document, 'access', _ => _.querySelector, 'call', _2 => _2('.-cbwsdk-css-reset'), 'optionalAccess', _3 => _3.setAttribute, 'call', _4 => _4('style', 'display: none;')]);
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -1906,6 +1906,12 @@
|
|
|
1906
1906
|
this.name = this.constructor.info.name;
|
|
1907
1907
|
this.logo = this.constructor.info.logo;
|
|
1908
1908
|
this.blockchains = this.constructor.info.blockchains;
|
|
1909
|
+
// RESET WalletLink (do not recover connections!)
|
|
1910
|
+
Object.keys(localStorage).forEach((key)=>{
|
|
1911
|
+
if(key.match("-walletlink:https://www.walletlink.org")) {
|
|
1912
|
+
delete localStorage[key];
|
|
1913
|
+
}
|
|
1914
|
+
});
|
|
1909
1915
|
this.connector = WalletLink.instance || this.newWalletLinkInstance();
|
|
1910
1916
|
this.sendTransaction = (transaction)=>{
|
|
1911
1917
|
return sendTransaction({
|
|
@@ -1926,8 +1932,8 @@
|
|
|
1926
1932
|
}
|
|
1927
1933
|
|
|
1928
1934
|
async connect(options) {
|
|
1929
|
-
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
1930
1935
|
|
|
1936
|
+
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
1931
1937
|
await connect({ uri: this.connector.qrUrl });
|
|
1932
1938
|
|
|
1933
1939
|
_optionalChain([document, 'access', _ => _.querySelector, 'call', _2 => _2('.-cbwsdk-css-reset'), 'optionalAccess', _3 => _3.setAttribute, 'call', _4 => _4('style', 'display: none;')]);
|
package/dist/umd/index.js
CHANGED
|
@@ -2443,6 +2443,12 @@
|
|
|
2443
2443
|
this.name = this.constructor.info.name;
|
|
2444
2444
|
this.logo = this.constructor.info.logo;
|
|
2445
2445
|
this.blockchains = this.constructor.info.blockchains;
|
|
2446
|
+
// RESET WalletLink (do not recover connections!)
|
|
2447
|
+
Object.keys(localStorage).forEach((key)=>{
|
|
2448
|
+
if(key.match("-walletlink:https://www.walletlink.org")) {
|
|
2449
|
+
delete localStorage[key];
|
|
2450
|
+
}
|
|
2451
|
+
});
|
|
2446
2452
|
this.connector = WalletLink.instance || this.newWalletLinkInstance();
|
|
2447
2453
|
this.sendTransaction = (transaction)=>{
|
|
2448
2454
|
return sendTransaction({
|
|
@@ -2463,8 +2469,8 @@
|
|
|
2463
2469
|
}
|
|
2464
2470
|
|
|
2465
2471
|
async connect(options) {
|
|
2466
|
-
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
2467
2472
|
|
|
2473
|
+
let connect = (options && options.connect) ? options.connect : ({uri})=>{};
|
|
2468
2474
|
await connect({ uri: this.connector.qrUrl });
|
|
2469
2475
|
|
|
2470
2476
|
_optionalChain([document, 'access', _ => _.querySelector, 'call', _2 => _2('.-cbwsdk-css-reset'), 'optionalAccess', _3 => _3.setAttribute, 'call', _4 => _4('style', 'display: none;')]);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "16.3.
|
|
4
|
+
"version": "16.3.9",
|
|
5
5
|
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
|
|
6
6
|
"main": "dist/umd/index.evm.js",
|
|
7
7
|
"module": "dist/esm/index.evm.js",
|