@depay/widgets 6.16.2 → 6.16.3
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.bundle.js
CHANGED
|
@@ -48919,6 +48919,10 @@ class WalletConnectWallet {
|
|
|
48919
48919
|
|
|
48920
48920
|
async connect(options) {
|
|
48921
48921
|
try {
|
|
48922
|
+
if(this.connector == undefined){
|
|
48923
|
+
this.connector = this.newWalletConnectInstance();
|
|
48924
|
+
}
|
|
48925
|
+
|
|
48922
48926
|
if(this.connector.connected) {
|
|
48923
48927
|
await this.connector.killSession();
|
|
48924
48928
|
connectedInstance = undefined;
|
|
@@ -48935,7 +48939,8 @@ class WalletConnectWallet {
|
|
|
48935
48939
|
this.connectedChainId = chainId;
|
|
48936
48940
|
|
|
48937
48941
|
return accounts
|
|
48938
|
-
} catch (
|
|
48942
|
+
} catch (error) {
|
|
48943
|
+
console.log('WALLETCONNECT ERROR', error);
|
|
48939
48944
|
return []
|
|
48940
48945
|
}
|
|
48941
48946
|
}
|
package/dist/umd/index.bundle.js
CHANGED
|
@@ -48925,6 +48925,10 @@
|
|
|
48925
48925
|
|
|
48926
48926
|
async connect(options) {
|
|
48927
48927
|
try {
|
|
48928
|
+
if(this.connector == undefined){
|
|
48929
|
+
this.connector = this.newWalletConnectInstance();
|
|
48930
|
+
}
|
|
48931
|
+
|
|
48928
48932
|
if(this.connector.connected) {
|
|
48929
48933
|
await this.connector.killSession();
|
|
48930
48934
|
connectedInstance = undefined;
|
|
@@ -48941,7 +48945,8 @@
|
|
|
48941
48945
|
this.connectedChainId = chainId;
|
|
48942
48946
|
|
|
48943
48947
|
return accounts
|
|
48944
|
-
} catch (
|
|
48948
|
+
} catch (error) {
|
|
48949
|
+
console.log('WALLETCONNECT ERROR', error);
|
|
48945
48950
|
return []
|
|
48946
48951
|
}
|
|
48947
48952
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/widgets",
|
|
3
3
|
"moduleName": "DePayWidgets",
|
|
4
|
-
"version": "6.16.
|
|
4
|
+
"version": "6.16.3",
|
|
5
5
|
"description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
|
|
6
6
|
"main": "./dist/umd/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@depay/web3-exchanges": "^8.1.0",
|
|
46
46
|
"@depay/web3-payments": "^9.3.3",
|
|
47
47
|
"@depay/web3-tokens": "^8.0.1",
|
|
48
|
-
"@depay/web3-wallets": "^9.0.
|
|
48
|
+
"@depay/web3-wallets": "^9.0.2",
|
|
49
49
|
"decimal.js": "^10.3.1",
|
|
50
50
|
"react-rangeslider": "^2.2.0"
|
|
51
51
|
},
|