@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 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://eth-mainnet.g.alchemy.com/v2/V9gN1II8Zo8ZkB0UM0XjazyXgCsN3sqf"
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: 58, blockExplorerUrl: "https://explorer.ont.io/transaction/",
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://dappnode10.ont.io:10339"]
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
- var _a, _b;
345
- return __generator(this, function (_c) {
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*/, ((_b = (_a = this.modal.adapter) === null || _a === void 0 ? void 0 : _a.connectionControllerClient) === null || _b === void 0 ? void 0 : _b.disconnect())];
348
+ return [4 /*yield*/, this.modal.disconnect()];
350
349
  case 1:
351
- _c.sent();
350
+ _a.sent();
352
351
  return [2 /*return*/];
353
352
  }
354
353
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.10.30",
3
+ "version": "1.10.32",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {