@depay/web3-wallets-evm 15.1.7 → 15.1.8
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 +0 -23
- package/dist/esm/index.js +0 -23
- package/dist/umd/index.evm.js +0 -23
- package/dist/umd/index.js +0 -23
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -59894,18 +59894,6 @@ class Trust extends WindowEthereum {
|
|
|
59894
59894
|
static __initStatic2() {this.isAvailable = async()=>{ return (_optionalChain$3([window, 'optionalAccess', _5 => _5.ethereum, 'optionalAccess', _6 => _6.isTrust]) || _optionalChain$3([window, 'optionalAccess', _7 => _7.ethereum, 'optionalAccess', _8 => _8.isTrustWallet])) };}
|
|
59895
59895
|
} Trust.__initStatic(); Trust.__initStatic2();
|
|
59896
59896
|
|
|
59897
|
-
class Argent {
|
|
59898
|
-
|
|
59899
|
-
constructor ({ address, blockchain }) {
|
|
59900
|
-
this.address = address;
|
|
59901
|
-
this.blockchain = blockchain;
|
|
59902
|
-
}
|
|
59903
|
-
|
|
59904
|
-
async transactionCount() {
|
|
59905
|
-
return 1 // irrelevant as proxy address/relayer actually sending the transaction is not known yet (but needs to be something)
|
|
59906
|
-
}
|
|
59907
|
-
}
|
|
59908
|
-
|
|
59909
59897
|
const transactionApiBlockchainNames = {
|
|
59910
59898
|
'ethereum': 'mainnet',
|
|
59911
59899
|
'bsc': 'bsc',
|
|
@@ -59980,17 +59968,6 @@ const identifySmartContractWallet = async (blockchain, address)=>{
|
|
|
59980
59968
|
} catch (e) {}
|
|
59981
59969
|
if(name == 'Default Callback Handler') { return 'Safe' }
|
|
59982
59970
|
|
|
59983
|
-
let executor;
|
|
59984
|
-
try {
|
|
59985
|
-
executor = await request$1({
|
|
59986
|
-
blockchain,
|
|
59987
|
-
address,
|
|
59988
|
-
api: [{ "constant": true, "inputs": [], "name": "staticCallExecutor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function"}],
|
|
59989
|
-
method: 'staticCallExecutor'
|
|
59990
|
-
});
|
|
59991
|
-
} catch (e2) {}
|
|
59992
|
-
if(executor) { return 'Argent' }
|
|
59993
|
-
|
|
59994
59971
|
};
|
|
59995
59972
|
|
|
59996
59973
|
const getSmartContractWallet = async(blockchain, address)=> {
|
package/dist/esm/index.js
CHANGED
|
@@ -988,18 +988,6 @@ class Trust extends WindowEthereum {
|
|
|
988
988
|
static __initStatic2() {this.isAvailable = async()=>{ return (_optionalChain$1([window, 'optionalAccess', _5 => _5.ethereum, 'optionalAccess', _6 => _6.isTrust]) || _optionalChain$1([window, 'optionalAccess', _7 => _7.ethereum, 'optionalAccess', _8 => _8.isTrustWallet])) };}
|
|
989
989
|
} Trust.__initStatic(); Trust.__initStatic2();
|
|
990
990
|
|
|
991
|
-
class Argent {
|
|
992
|
-
|
|
993
|
-
constructor ({ address, blockchain }) {
|
|
994
|
-
this.address = address;
|
|
995
|
-
this.blockchain = blockchain;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
async transactionCount() {
|
|
999
|
-
return 1 // irrelevant as proxy address/relayer actually sending the transaction is not known yet (but needs to be something)
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
991
|
const transactionApiBlockchainNames = {
|
|
1004
992
|
'ethereum': 'mainnet',
|
|
1005
993
|
'bsc': 'bsc',
|
|
@@ -1074,17 +1062,6 @@ const identifySmartContractWallet = async (blockchain, address)=>{
|
|
|
1074
1062
|
} catch (e) {}
|
|
1075
1063
|
if(name == 'Default Callback Handler') { return 'Safe' }
|
|
1076
1064
|
|
|
1077
|
-
let executor;
|
|
1078
|
-
try {
|
|
1079
|
-
executor = await request$2({
|
|
1080
|
-
blockchain,
|
|
1081
|
-
address,
|
|
1082
|
-
api: [{ "constant": true, "inputs": [], "name": "staticCallExecutor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function"}],
|
|
1083
|
-
method: 'staticCallExecutor'
|
|
1084
|
-
});
|
|
1085
|
-
} catch (e2) {}
|
|
1086
|
-
if(executor) { return 'Argent' }
|
|
1087
|
-
|
|
1088
1065
|
};
|
|
1089
1066
|
|
|
1090
1067
|
const getSmartContractWallet = async(blockchain, address)=> {
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -59893,18 +59893,6 @@
|
|
|
59893
59893
|
static __initStatic2() {this.isAvailable = async()=>{ return (_optionalChain$3([window, 'optionalAccess', _5 => _5.ethereum, 'optionalAccess', _6 => _6.isTrust]) || _optionalChain$3([window, 'optionalAccess', _7 => _7.ethereum, 'optionalAccess', _8 => _8.isTrustWallet])) };}
|
|
59894
59894
|
} Trust.__initStatic(); Trust.__initStatic2();
|
|
59895
59895
|
|
|
59896
|
-
class Argent {
|
|
59897
|
-
|
|
59898
|
-
constructor ({ address, blockchain }) {
|
|
59899
|
-
this.address = address;
|
|
59900
|
-
this.blockchain = blockchain;
|
|
59901
|
-
}
|
|
59902
|
-
|
|
59903
|
-
async transactionCount() {
|
|
59904
|
-
return 1 // irrelevant as proxy address/relayer actually sending the transaction is not known yet (but needs to be something)
|
|
59905
|
-
}
|
|
59906
|
-
}
|
|
59907
|
-
|
|
59908
59896
|
const transactionApiBlockchainNames = {
|
|
59909
59897
|
'ethereum': 'mainnet',
|
|
59910
59898
|
'bsc': 'bsc',
|
|
@@ -59979,17 +59967,6 @@
|
|
|
59979
59967
|
} catch (e) {}
|
|
59980
59968
|
if(name == 'Default Callback Handler') { return 'Safe' }
|
|
59981
59969
|
|
|
59982
|
-
let executor;
|
|
59983
|
-
try {
|
|
59984
|
-
executor = await request$1({
|
|
59985
|
-
blockchain,
|
|
59986
|
-
address,
|
|
59987
|
-
api: [{ "constant": true, "inputs": [], "name": "staticCallExecutor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function"}],
|
|
59988
|
-
method: 'staticCallExecutor'
|
|
59989
|
-
});
|
|
59990
|
-
} catch (e2) {}
|
|
59991
|
-
if(executor) { return 'Argent' }
|
|
59992
|
-
|
|
59993
59970
|
};
|
|
59994
59971
|
|
|
59995
59972
|
const getSmartContractWallet = async(blockchain, address)=> {
|
package/dist/umd/index.js
CHANGED
|
@@ -986,18 +986,6 @@
|
|
|
986
986
|
static __initStatic2() {this.isAvailable = async()=>{ return (_optionalChain$1([window, 'optionalAccess', _5 => _5.ethereum, 'optionalAccess', _6 => _6.isTrust]) || _optionalChain$1([window, 'optionalAccess', _7 => _7.ethereum, 'optionalAccess', _8 => _8.isTrustWallet])) };}
|
|
987
987
|
} Trust.__initStatic(); Trust.__initStatic2();
|
|
988
988
|
|
|
989
|
-
class Argent {
|
|
990
|
-
|
|
991
|
-
constructor ({ address, blockchain }) {
|
|
992
|
-
this.address = address;
|
|
993
|
-
this.blockchain = blockchain;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
async transactionCount() {
|
|
997
|
-
return 1 // irrelevant as proxy address/relayer actually sending the transaction is not known yet (but needs to be something)
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
989
|
const transactionApiBlockchainNames = {
|
|
1002
990
|
'ethereum': 'mainnet',
|
|
1003
991
|
'bsc': 'bsc',
|
|
@@ -1072,17 +1060,6 @@
|
|
|
1072
1060
|
} catch (e) {}
|
|
1073
1061
|
if(name == 'Default Callback Handler') { return 'Safe' }
|
|
1074
1062
|
|
|
1075
|
-
let executor;
|
|
1076
|
-
try {
|
|
1077
|
-
executor = await web3Client.request({
|
|
1078
|
-
blockchain,
|
|
1079
|
-
address,
|
|
1080
|
-
api: [{ "constant": true, "inputs": [], "name": "staticCallExecutor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "payable": false, "stateMutability": "view", "type": "function"}],
|
|
1081
|
-
method: 'staticCallExecutor'
|
|
1082
|
-
});
|
|
1083
|
-
} catch (e2) {}
|
|
1084
|
-
if(executor) { return 'Argent' }
|
|
1085
|
-
|
|
1086
1063
|
};
|
|
1087
1064
|
|
|
1088
1065
|
const getSmartContractWallet = async(blockchain, address)=> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "15.1.
|
|
4
|
+
"version": "15.1.8",
|
|
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",
|