@depay/web3-wallets-evm 15.2.0 → 15.2.1
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 -3
- package/dist/esm/index.js +0 -3
- package/dist/umd/index.evm.js +0 -3
- package/dist/umd/index.js +0 -3
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -59998,9 +59998,6 @@ const getSmartContractWallet = async(blockchain, address)=> {
|
|
|
59998
59998
|
|
|
59999
59999
|
const sendTransaction$2 = async ({ transaction, wallet })=> {
|
|
60000
60000
|
transaction = new Transaction(transaction);
|
|
60001
|
-
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
60002
|
-
await wallet.switchTo(transaction.blockchain);
|
|
60003
|
-
}
|
|
60004
60001
|
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
60005
60002
|
throw({ code: 'WRONG_NETWORK' })
|
|
60006
60003
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1092,9 +1092,6 @@ const getSmartContractWallet = async(blockchain, address)=> {
|
|
|
1092
1092
|
|
|
1093
1093
|
const sendTransaction$1 = async ({ transaction, wallet })=> {
|
|
1094
1094
|
transaction = new Transaction(transaction);
|
|
1095
|
-
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
1096
|
-
await wallet.switchTo(transaction.blockchain);
|
|
1097
|
-
}
|
|
1098
1095
|
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
1099
1096
|
throw({ code: 'WRONG_NETWORK' })
|
|
1100
1097
|
}
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -59997,9 +59997,6 @@
|
|
|
59997
59997
|
|
|
59998
59998
|
const sendTransaction$2 = async ({ transaction, wallet })=> {
|
|
59999
59999
|
transaction = new Transaction(transaction);
|
|
60000
|
-
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
60001
|
-
await wallet.switchTo(transaction.blockchain);
|
|
60002
|
-
}
|
|
60003
60000
|
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
60004
60001
|
throw({ code: 'WRONG_NETWORK' })
|
|
60005
60002
|
}
|
package/dist/umd/index.js
CHANGED
|
@@ -1090,9 +1090,6 @@
|
|
|
1090
1090
|
|
|
1091
1091
|
const sendTransaction$1 = async ({ transaction, wallet })=> {
|
|
1092
1092
|
transaction = new Transaction(transaction);
|
|
1093
|
-
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
1094
|
-
await wallet.switchTo(transaction.blockchain);
|
|
1095
|
-
}
|
|
1096
1093
|
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
1097
1094
|
throw({ code: 'WRONG_NETWORK' })
|
|
1098
1095
|
}
|
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.1",
|
|
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",
|