@openocean.finance/wallet 1.10.11 → 1.10.12
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.
|
@@ -240,10 +240,9 @@ var WalletConnect = /** @class */ (function (_super) {
|
|
|
240
240
|
modalChainId_1 = this.modal.getChainId();
|
|
241
241
|
console.log('requestConnect-------chainId----------');
|
|
242
242
|
console.log(modalChainId_1, currentChainId_2, chainId);
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
_c.label = 7;
|
|
243
|
+
this.disconnected = false;
|
|
244
|
+
// if (currentChainId != modalChainId || currentChainId != chainId) {
|
|
245
|
+
throw new Error(types_1.EnumErrors.ChainIdNotMath);
|
|
247
246
|
case 7:
|
|
248
247
|
console.log('requestConnect--------666666666666');
|
|
249
248
|
return [4 /*yield*/, this.sdk.eth.getAccounts()];
|
|
@@ -299,10 +298,8 @@ var WalletConnect = /** @class */ (function (_super) {
|
|
|
299
298
|
modalChainId = this.modal.getChainId();
|
|
300
299
|
console.log('requestConnect999999-------chainId----------');
|
|
301
300
|
console.log(modalChainId, currentChainId_3, chainId);
|
|
302
|
-
if (
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
_c.label = 17;
|
|
301
|
+
// if (currentChainId != modalChainId || currentChainId != chainId) {
|
|
302
|
+
throw new Error(types_1.EnumErrors.ChainIdNotMath);
|
|
306
303
|
case 17:
|
|
307
304
|
console.log('autoWalletCheck------------666666666666');
|
|
308
305
|
return [4 /*yield*/, this.sdk.eth.getAccounts()];
|