@depay/web3-wallets-evm 15.2.1 → 15.2.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.evm.js +7 -3
- package/dist/esm/index.js +7 -3
- package/dist/umd/index.evm.js +7 -3
- package/dist/umd/index.js +7 -3
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -59675,7 +59675,7 @@ class WindowEthereum {
|
|
|
59675
59675
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
59676
59676
|
return (
|
|
59677
59677
|
_optionalChain$c([window, 'optionalAccess', _15 => _15.ethereum]) &&
|
|
59678
|
-
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)/)).length != 1 && // MetaMask
|
|
59678
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length != 1 && // MetaMask
|
|
59679
59679
|
!_optionalChain$c([window, 'optionalAccess', _16 => _16.coin98]) && // Coin98
|
|
59680
59680
|
!(_optionalChain$c([window, 'optionalAccess', _17 => _17.ethereum, 'optionalAccess', _18 => _18.isTrust]) || _optionalChain$c([window, 'optionalAccess', _19 => _19.ethereum, 'optionalAccess', _20 => _20.isTrustWallet])) && // Trust Wallet
|
|
59681
59681
|
!_optionalChain$c([window, 'optionalAccess', _21 => _21.ethereum, 'optionalAccess', _22 => _22.isDeficonnectProvider]) && // crypto.com
|
|
@@ -59879,7 +59879,10 @@ class MetaMask extends WindowEthereum {
|
|
|
59879
59879
|
};}
|
|
59880
59880
|
|
|
59881
59881
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
59882
|
-
return
|
|
59882
|
+
return(
|
|
59883
|
+
_optionalChain$5([window, 'optionalAccess', _3 => _3.ethereum, 'optionalAccess', _4 => _4.isMetaMask]) &&
|
|
59884
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length == 1
|
|
59885
|
+
)
|
|
59883
59886
|
};}
|
|
59884
59887
|
} MetaMask.__initStatic(); MetaMask.__initStatic2();
|
|
59885
59888
|
|
|
@@ -60798,7 +60801,8 @@ const supported = [
|
|
|
60798
60801
|
wallets.CryptoCom,
|
|
60799
60802
|
wallets.HyperPay,
|
|
60800
60803
|
wallets.WalletConnectV1,
|
|
60801
|
-
wallets.WalletLink
|
|
60804
|
+
wallets.WalletLink,
|
|
60805
|
+
wallets.WindowEthereum,
|
|
60802
60806
|
];
|
|
60803
60807
|
|
|
60804
60808
|
export { getWallets, supported, wallets };
|
package/dist/esm/index.js
CHANGED
|
@@ -578,7 +578,7 @@ class WindowEthereum {
|
|
|
578
578
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
579
579
|
return (
|
|
580
580
|
_optionalChain$d([window, 'optionalAccess', _15 => _15.ethereum]) &&
|
|
581
|
-
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)/)).length != 1 && // MetaMask
|
|
581
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length != 1 && // MetaMask
|
|
582
582
|
!_optionalChain$d([window, 'optionalAccess', _16 => _16.coin98]) && // Coin98
|
|
583
583
|
!(_optionalChain$d([window, 'optionalAccess', _17 => _17.ethereum, 'optionalAccess', _18 => _18.isTrust]) || _optionalChain$d([window, 'optionalAccess', _19 => _19.ethereum, 'optionalAccess', _20 => _20.isTrustWallet])) && // Trust Wallet
|
|
584
584
|
!_optionalChain$d([window, 'optionalAccess', _21 => _21.ethereum, 'optionalAccess', _22 => _22.isDeficonnectProvider]) && // crypto.com
|
|
@@ -782,7 +782,10 @@ class MetaMask extends WindowEthereum {
|
|
|
782
782
|
};}
|
|
783
783
|
|
|
784
784
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
785
|
-
return
|
|
785
|
+
return(
|
|
786
|
+
_optionalChain$6([window, 'optionalAccess', _3 => _3.ethereum, 'optionalAccess', _4 => _4.isMetaMask]) &&
|
|
787
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length == 1
|
|
788
|
+
)
|
|
786
789
|
};}
|
|
787
790
|
} MetaMask.__initStatic(); MetaMask.__initStatic2();
|
|
788
791
|
|
|
@@ -1715,7 +1718,8 @@ const supported = [
|
|
|
1715
1718
|
wallets.CryptoCom,
|
|
1716
1719
|
wallets.HyperPay,
|
|
1717
1720
|
wallets.WalletConnectV1,
|
|
1718
|
-
wallets.WalletLink
|
|
1721
|
+
wallets.WalletLink,
|
|
1722
|
+
wallets.WindowEthereum,
|
|
1719
1723
|
];
|
|
1720
1724
|
|
|
1721
1725
|
export { getWallets, supported, wallets };
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -59674,7 +59674,7 @@
|
|
|
59674
59674
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
59675
59675
|
return (
|
|
59676
59676
|
_optionalChain$c([window, 'optionalAccess', _15 => _15.ethereum]) &&
|
|
59677
|
-
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)/)).length != 1 && // MetaMask
|
|
59677
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length != 1 && // MetaMask
|
|
59678
59678
|
!_optionalChain$c([window, 'optionalAccess', _16 => _16.coin98]) && // Coin98
|
|
59679
59679
|
!(_optionalChain$c([window, 'optionalAccess', _17 => _17.ethereum, 'optionalAccess', _18 => _18.isTrust]) || _optionalChain$c([window, 'optionalAccess', _19 => _19.ethereum, 'optionalAccess', _20 => _20.isTrustWallet])) && // Trust Wallet
|
|
59680
59680
|
!_optionalChain$c([window, 'optionalAccess', _21 => _21.ethereum, 'optionalAccess', _22 => _22.isDeficonnectProvider]) && // crypto.com
|
|
@@ -59878,7 +59878,10 @@
|
|
|
59878
59878
|
};}
|
|
59879
59879
|
|
|
59880
59880
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
59881
|
-
return
|
|
59881
|
+
return(
|
|
59882
|
+
_optionalChain$5([window, 'optionalAccess', _3 => _3.ethereum, 'optionalAccess', _4 => _4.isMetaMask]) &&
|
|
59883
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length == 1
|
|
59884
|
+
)
|
|
59882
59885
|
};}
|
|
59883
59886
|
} MetaMask.__initStatic(); MetaMask.__initStatic2();
|
|
59884
59887
|
|
|
@@ -60797,7 +60800,8 @@
|
|
|
60797
60800
|
wallets.CryptoCom,
|
|
60798
60801
|
wallets.HyperPay,
|
|
60799
60802
|
wallets.WalletConnectV1,
|
|
60800
|
-
wallets.WalletLink
|
|
60803
|
+
wallets.WalletLink,
|
|
60804
|
+
wallets.WindowEthereum,
|
|
60801
60805
|
];
|
|
60802
60806
|
|
|
60803
60807
|
exports.getWallets = getWallets;
|
package/dist/umd/index.js
CHANGED
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
577
577
|
return (
|
|
578
578
|
_optionalChain$d([window, 'optionalAccess', _15 => _15.ethereum]) &&
|
|
579
|
-
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)/)).length != 1 && // MetaMask
|
|
579
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length != 1 && // MetaMask
|
|
580
580
|
!_optionalChain$d([window, 'optionalAccess', _16 => _16.coin98]) && // Coin98
|
|
581
581
|
!(_optionalChain$d([window, 'optionalAccess', _17 => _17.ethereum, 'optionalAccess', _18 => _18.isTrust]) || _optionalChain$d([window, 'optionalAccess', _19 => _19.ethereum, 'optionalAccess', _20 => _20.isTrustWallet])) && // Trust Wallet
|
|
582
582
|
!_optionalChain$d([window, 'optionalAccess', _21 => _21.ethereum, 'optionalAccess', _22 => _22.isDeficonnectProvider]) && // crypto.com
|
|
@@ -780,7 +780,10 @@
|
|
|
780
780
|
};}
|
|
781
781
|
|
|
782
782
|
static __initStatic2() {this.isAvailable = async()=>{
|
|
783
|
-
return
|
|
783
|
+
return(
|
|
784
|
+
_optionalChain$6([window, 'optionalAccess', _3 => _3.ethereum, 'optionalAccess', _4 => _4.isMetaMask]) &&
|
|
785
|
+
Object.keys(window.ethereum).filter((key)=>key.match(/^is(?!Connected)(?!PocketUniverse)(?!RevokeCash)/)).length == 1
|
|
786
|
+
)
|
|
784
787
|
};}
|
|
785
788
|
} MetaMask.__initStatic(); MetaMask.__initStatic2();
|
|
786
789
|
|
|
@@ -1713,7 +1716,8 @@
|
|
|
1713
1716
|
wallets.CryptoCom,
|
|
1714
1717
|
wallets.HyperPay,
|
|
1715
1718
|
wallets.WalletConnectV1,
|
|
1716
|
-
wallets.WalletLink
|
|
1719
|
+
wallets.WalletLink,
|
|
1720
|
+
wallets.WindowEthereum,
|
|
1717
1721
|
];
|
|
1718
1722
|
|
|
1719
1723
|
exports.getWallets = getWallets;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "15.2.
|
|
4
|
+
"version": "15.2.3",
|
|
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",
|