@openocean.finance/wallet 1.10.30 → 1.10.32
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/lib/Chains.js +3 -3
- package/lib/Wallets/WalletConnect.js +4 -5
- package/package.json +1 -1
package/lib/Chains.js
CHANGED
|
@@ -10,7 +10,7 @@ var chainObj = {
|
|
|
10
10
|
nativeCurrency: { name: "ETH", symbol: "ETH", decimals: 18, address: "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" },
|
|
11
11
|
popularToken: ["ETH", "USDT", "USDC", "BUSD", "UNI", "C98", "LINK", "MATIC"],
|
|
12
12
|
rpcUrls: [
|
|
13
|
-
"https://
|
|
13
|
+
"https://1rpc.io/eth"
|
|
14
14
|
],
|
|
15
15
|
compiler: 'EVM'
|
|
16
16
|
},
|
|
@@ -113,9 +113,9 @@ var chainObj = {
|
|
|
113
113
|
},
|
|
114
114
|
"ontevm": {
|
|
115
115
|
compiler: 'EVM',
|
|
116
|
-
chainName: "Ontology Evm", chainId:
|
|
116
|
+
chainName: "Ontology Evm", chainId: 5851, blockExplorerUrl: "https://explorer.ont.io/testnet/tx/",
|
|
117
117
|
nativeCurrency: { name: "ONG", symbol: "ONG", decimals: 18, address: "0x0000000000000000000000000000000000000000" },
|
|
118
|
-
rpcUrls: ["https://
|
|
118
|
+
rpcUrls: ["https://polaris1.ont.io:10339"]
|
|
119
119
|
},
|
|
120
120
|
"metis": {
|
|
121
121
|
compiler: 'EVM',
|
|
@@ -341,14 +341,13 @@ var WalletConnect = /** @class */ (function (_super) {
|
|
|
341
341
|
};
|
|
342
342
|
WalletConnect.prototype.disconnect = function () {
|
|
343
343
|
return __awaiter(this, void 0, void 0, function () {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
switch (_c.label) {
|
|
344
|
+
return __generator(this, function (_a) {
|
|
345
|
+
switch (_a.label) {
|
|
347
346
|
case 0:
|
|
348
347
|
this.disconnected = true;
|
|
349
|
-
return [4 /*yield*/,
|
|
348
|
+
return [4 /*yield*/, this.modal.disconnect()];
|
|
350
349
|
case 1:
|
|
351
|
-
|
|
350
|
+
_a.sent();
|
|
352
351
|
return [2 /*return*/];
|
|
353
352
|
}
|
|
354
353
|
});
|