@depay/web3-wallets-evm 14.9.1 → 14.9.2
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 +2 -4
- package/dist/esm/index.js +2 -4
- package/dist/umd/index.evm.js +2 -4
- package/dist/umd/index.js +2 -4
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -60155,8 +60155,8 @@ class WalletConnectV1 {
|
|
|
60155
60155
|
};}
|
|
60156
60156
|
|
|
60157
60157
|
constructor() {
|
|
60158
|
-
this.name = this.constructor.info.name;
|
|
60159
|
-
this.logo = this.constructor.info.logo;
|
|
60158
|
+
this.name = localStorage[KEY$1+'_name'] ? localStorage[KEY$1+'_name'] : this.constructor.info.name;
|
|
60159
|
+
this.logo = localStorage[KEY$1+'_logo'] ? localStorage[KEY$1+'_logo'] : this.constructor.info.logo;
|
|
60160
60160
|
this.blockchains = this.constructor.info.blockchains;
|
|
60161
60161
|
this.sendTransaction = (transaction)=>{
|
|
60162
60162
|
return sendTransaction$3({
|
|
@@ -60215,8 +60215,6 @@ class WalletConnectV1 {
|
|
|
60215
60215
|
}
|
|
60216
60216
|
|
|
60217
60217
|
if(this.connector.connected) {
|
|
60218
|
-
if(localStorage[KEY$1+'_name']) { this.name = localStorage[KEY$1+'_name']; }
|
|
60219
|
-
if(localStorage[KEY$1+'_logo']) { this.logo = localStorage[KEY$1+'_logo']; }
|
|
60220
60218
|
|
|
60221
60219
|
let account = await this.account();
|
|
60222
60220
|
this.connectedChainId = await this.connector.sendCustomRequest({ method: 'eth_chainId' });
|
package/dist/esm/index.js
CHANGED
|
@@ -1249,8 +1249,8 @@ class WalletConnectV1 {
|
|
|
1249
1249
|
};}
|
|
1250
1250
|
|
|
1251
1251
|
constructor() {
|
|
1252
|
-
this.name = this.constructor.info.name;
|
|
1253
|
-
this.logo = this.constructor.info.logo;
|
|
1252
|
+
this.name = localStorage[KEY$1+'_name'] ? localStorage[KEY$1+'_name'] : this.constructor.info.name;
|
|
1253
|
+
this.logo = localStorage[KEY$1+'_logo'] ? localStorage[KEY$1+'_logo'] : this.constructor.info.logo;
|
|
1254
1254
|
this.blockchains = this.constructor.info.blockchains;
|
|
1255
1255
|
this.sendTransaction = (transaction)=>{
|
|
1256
1256
|
return sendTransaction$2({
|
|
@@ -1309,8 +1309,6 @@ class WalletConnectV1 {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
1311
|
if(this.connector.connected) {
|
|
1312
|
-
if(localStorage[KEY$1+'_name']) { this.name = localStorage[KEY$1+'_name']; }
|
|
1313
|
-
if(localStorage[KEY$1+'_logo']) { this.logo = localStorage[KEY$1+'_logo']; }
|
|
1314
1312
|
|
|
1315
1313
|
let account = await this.account();
|
|
1316
1314
|
this.connectedChainId = await this.connector.sendCustomRequest({ method: 'eth_chainId' });
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -60153,8 +60153,8 @@
|
|
|
60153
60153
|
};}
|
|
60154
60154
|
|
|
60155
60155
|
constructor() {
|
|
60156
|
-
this.name = this.constructor.info.name;
|
|
60157
|
-
this.logo = this.constructor.info.logo;
|
|
60156
|
+
this.name = localStorage[KEY$1+'_name'] ? localStorage[KEY$1+'_name'] : this.constructor.info.name;
|
|
60157
|
+
this.logo = localStorage[KEY$1+'_logo'] ? localStorage[KEY$1+'_logo'] : this.constructor.info.logo;
|
|
60158
60158
|
this.blockchains = this.constructor.info.blockchains;
|
|
60159
60159
|
this.sendTransaction = (transaction)=>{
|
|
60160
60160
|
return sendTransaction$3({
|
|
@@ -60213,8 +60213,6 @@
|
|
|
60213
60213
|
}
|
|
60214
60214
|
|
|
60215
60215
|
if(this.connector.connected) {
|
|
60216
|
-
if(localStorage[KEY$1+'_name']) { this.name = localStorage[KEY$1+'_name']; }
|
|
60217
|
-
if(localStorage[KEY$1+'_logo']) { this.logo = localStorage[KEY$1+'_logo']; }
|
|
60218
60216
|
|
|
60219
60217
|
let account = await this.account();
|
|
60220
60218
|
this.connectedChainId = await this.connector.sendCustomRequest({ method: 'eth_chainId' });
|
package/dist/umd/index.js
CHANGED
|
@@ -1246,8 +1246,8 @@
|
|
|
1246
1246
|
};}
|
|
1247
1247
|
|
|
1248
1248
|
constructor() {
|
|
1249
|
-
this.name = this.constructor.info.name;
|
|
1250
|
-
this.logo = this.constructor.info.logo;
|
|
1249
|
+
this.name = localStorage[KEY$1+'_name'] ? localStorage[KEY$1+'_name'] : this.constructor.info.name;
|
|
1250
|
+
this.logo = localStorage[KEY$1+'_logo'] ? localStorage[KEY$1+'_logo'] : this.constructor.info.logo;
|
|
1251
1251
|
this.blockchains = this.constructor.info.blockchains;
|
|
1252
1252
|
this.sendTransaction = (transaction)=>{
|
|
1253
1253
|
return sendTransaction$2({
|
|
@@ -1306,8 +1306,6 @@
|
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
if(this.connector.connected) {
|
|
1309
|
-
if(localStorage[KEY$1+'_name']) { this.name = localStorage[KEY$1+'_name']; }
|
|
1310
|
-
if(localStorage[KEY$1+'_logo']) { this.logo = localStorage[KEY$1+'_logo']; }
|
|
1311
1309
|
|
|
1312
1310
|
let account = await this.account();
|
|
1313
1311
|
this.connectedChainId = await this.connector.sendCustomRequest({ method: 'eth_chainId' });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "14.9.
|
|
4
|
+
"version": "14.9.2",
|
|
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",
|