@depay/web3-wallets-evm 15.4.1 → 15.4.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 +6 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.solana.js +6 -1
- package/dist/umd/index.evm.js +6 -1
- package/dist/umd/index.js +6 -1
- package/dist/umd/index.solana.js +6 -1
- package/package.json +1 -1
package/dist/esm/index.evm.js
CHANGED
|
@@ -60270,11 +60270,16 @@ const getPlainInstance = ()=>{
|
|
|
60270
60270
|
|
|
60271
60271
|
const isConnected = ()=>{
|
|
60272
60272
|
return new Promise(async(resolve, reject)=>{
|
|
60273
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
60274
|
+
|
|
60275
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
60276
|
+
return resolve(false)
|
|
60277
|
+
}
|
|
60278
|
+
|
|
60273
60279
|
let connector = getPlainInstance();
|
|
60274
60280
|
let accounts;
|
|
60275
60281
|
|
|
60276
60282
|
try {
|
|
60277
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
60278
60283
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
60279
60284
|
if(blockNumber) {
|
|
60280
60285
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/dist/esm/index.js
CHANGED
|
@@ -833,11 +833,16 @@ const getPlainInstance = ()=>{
|
|
|
833
833
|
|
|
834
834
|
const isConnected = ()=>{
|
|
835
835
|
return new Promise(async(resolve, reject)=>{
|
|
836
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
837
|
+
|
|
838
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
839
|
+
return resolve(false)
|
|
840
|
+
}
|
|
841
|
+
|
|
836
842
|
let connector = getPlainInstance();
|
|
837
843
|
let accounts;
|
|
838
844
|
|
|
839
845
|
try {
|
|
840
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
841
846
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
842
847
|
if(blockNumber) {
|
|
843
848
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/dist/esm/index.solana.js
CHANGED
|
@@ -60270,11 +60270,16 @@ const getPlainInstance = ()=>{
|
|
|
60270
60270
|
|
|
60271
60271
|
const isConnected = ()=>{
|
|
60272
60272
|
return new Promise(async(resolve, reject)=>{
|
|
60273
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
60274
|
+
|
|
60275
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
60276
|
+
return resolve(false)
|
|
60277
|
+
}
|
|
60278
|
+
|
|
60273
60279
|
let connector = getPlainInstance();
|
|
60274
60280
|
let accounts;
|
|
60275
60281
|
|
|
60276
60282
|
try {
|
|
60277
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
60278
60283
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
60279
60284
|
if(blockNumber) {
|
|
60280
60285
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/dist/umd/index.evm.js
CHANGED
|
@@ -60274,11 +60274,16 @@
|
|
|
60274
60274
|
|
|
60275
60275
|
const isConnected = ()=>{
|
|
60276
60276
|
return new Promise(async(resolve, reject)=>{
|
|
60277
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
60278
|
+
|
|
60279
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
60280
|
+
return resolve(false)
|
|
60281
|
+
}
|
|
60282
|
+
|
|
60277
60283
|
let connector = getPlainInstance();
|
|
60278
60284
|
let accounts;
|
|
60279
60285
|
|
|
60280
60286
|
try {
|
|
60281
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
60282
60287
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
60283
60288
|
if(blockNumber) {
|
|
60284
60289
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/dist/umd/index.js
CHANGED
|
@@ -836,11 +836,16 @@
|
|
|
836
836
|
|
|
837
837
|
const isConnected = ()=>{
|
|
838
838
|
return new Promise(async(resolve, reject)=>{
|
|
839
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
840
|
+
|
|
841
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
842
|
+
return resolve(false)
|
|
843
|
+
}
|
|
844
|
+
|
|
839
845
|
let connector = getPlainInstance();
|
|
840
846
|
let accounts;
|
|
841
847
|
|
|
842
848
|
try {
|
|
843
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
844
849
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
845
850
|
if(blockNumber) {
|
|
846
851
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/dist/umd/index.solana.js
CHANGED
|
@@ -60274,11 +60274,16 @@
|
|
|
60274
60274
|
|
|
60275
60275
|
const isConnected = ()=>{
|
|
60276
60276
|
return new Promise(async(resolve, reject)=>{
|
|
60277
|
+
setTimeout(()=>{ resolve(false); }, 3000);
|
|
60278
|
+
|
|
60279
|
+
if(!localStorage['walletconnect'] || JSON.parse(localStorage['walletconnect']).handshakeTopic.length == 0) {
|
|
60280
|
+
return resolve(false)
|
|
60281
|
+
}
|
|
60282
|
+
|
|
60277
60283
|
let connector = getPlainInstance();
|
|
60278
60284
|
let accounts;
|
|
60279
60285
|
|
|
60280
60286
|
try {
|
|
60281
|
-
setTimeout(()=>{ resolve(false); }, 2000);
|
|
60282
60287
|
let blockNumber = await connector.sendCustomRequest({ method: 'eth_blockNumber' });
|
|
60283
60288
|
if(blockNumber) {
|
|
60284
60289
|
accounts = await connector.sendCustomRequest({ method: 'eth_accounts' });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depay/web3-wallets-evm",
|
|
3
3
|
"moduleName": "Web3Wallets",
|
|
4
|
-
"version": "15.4.
|
|
4
|
+
"version": "15.4.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",
|