@depay/web3-wallets-evm 14.9.2 → 14.10.0
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 +3 -1
- package/dist/esm/index.js +3 -1
- package/dist/umd/index.evm.js +3 -1
- package/dist/umd/index.js +3 -1
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -60124,7 +60124,9 @@ function _optionalChain$4(ops) { let lastAccessLHS = undefined; let value = ops[
|
|
|
60124
60124
|
const KEY$1 = '_DePayWeb3WalletsConnectedWalletConnectV1Instance';
|
|
60125
60125
|
|
|
60126
60126
|
const getConnectedInstance$2 = ()=>{
|
|
60127
|
-
return window[KEY$1]
|
|
60127
|
+
if(window[KEY$1]) { return window[KEY$1] }
|
|
60128
|
+
let connector = getWalletConnectInstance(()=>{});
|
|
60129
|
+
if(connector.connected) { return new WalletConnectV1() }
|
|
60128
60130
|
};
|
|
60129
60131
|
|
|
60130
60132
|
const setConnectedInstance$2 = (value)=>{
|
package/dist/esm/index.js
CHANGED
|
@@ -1218,7 +1218,9 @@ function _optionalChain$2(ops) { let lastAccessLHS = undefined; let value = ops[
|
|
|
1218
1218
|
const KEY$1 = '_DePayWeb3WalletsConnectedWalletConnectV1Instance';
|
|
1219
1219
|
|
|
1220
1220
|
const getConnectedInstance$2 = ()=>{
|
|
1221
|
-
return window[KEY$1]
|
|
1221
|
+
if(window[KEY$1]) { return window[KEY$1] }
|
|
1222
|
+
let connector = getWalletConnectInstance(()=>{});
|
|
1223
|
+
if(connector.connected) { return new WalletConnectV1() }
|
|
1222
1224
|
};
|
|
1223
1225
|
|
|
1224
1226
|
const setConnectedInstance$2 = (value)=>{
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -60122,7 +60122,9 @@
|
|
|
60122
60122
|
const KEY$1 = '_DePayWeb3WalletsConnectedWalletConnectV1Instance';
|
|
60123
60123
|
|
|
60124
60124
|
const getConnectedInstance$2 = ()=>{
|
|
60125
|
-
return window[KEY$1]
|
|
60125
|
+
if(window[KEY$1]) { return window[KEY$1] }
|
|
60126
|
+
let connector = getWalletConnectInstance(()=>{});
|
|
60127
|
+
if(connector.connected) { return new WalletConnectV1() }
|
|
60126
60128
|
};
|
|
60127
60129
|
|
|
60128
60130
|
const setConnectedInstance$2 = (value)=>{
|
package/dist/umd/index.js
CHANGED
|
@@ -1215,7 +1215,9 @@
|
|
|
1215
1215
|
const KEY$1 = '_DePayWeb3WalletsConnectedWalletConnectV1Instance';
|
|
1216
1216
|
|
|
1217
1217
|
const getConnectedInstance$2 = ()=>{
|
|
1218
|
-
return window[KEY$1]
|
|
1218
|
+
if(window[KEY$1]) { return window[KEY$1] }
|
|
1219
|
+
let connector = getWalletConnectInstance(()=>{});
|
|
1220
|
+
if(connector.connected) { return new WalletConnectV1() }
|
|
1219
1221
|
};
|
|
1220
1222
|
|
|
1221
1223
|
const setConnectedInstance$2 = (value)=>{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.10.0",
|
|
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",
|