@openocean.finance/wallet 1.10.21 → 1.10.22

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.
@@ -224,13 +224,11 @@ function link(reqConnectWalletVo, chain) {
224
224
  }
225
225
  function linkAddOrSwitch(wallet, chain) {
226
226
  return __awaiter(this, void 0, void 0, function () {
227
- var _a, currentProvider, utilsEht, sddf, chainId, rpcUrls, blockExplorerUrl, nativeCurrency, chainName, params, address, address, switchError_1, address, address, error_1, message;
227
+ var _a, currentProvider, utilsEht, chainId, rpcUrls, blockExplorerUrl, nativeCurrency, chainName, params, address, address, switchError_1, address, address, error_1, message;
228
228
  return __generator(this, function (_b) {
229
229
  switch (_b.label) {
230
230
  case 0:
231
231
  _a = wallet.sdk || {}, currentProvider = _a.currentProvider, utilsEht = _a.utils;
232
- sddf = wallet.sdk;
233
- debugger;
234
232
  chainId = chain.chainId + '';
235
233
  if (!chain) return [3 /*break*/, 23];
236
234
  rpcUrls = chain.rpcUrls, blockExplorerUrl = chain.blockExplorerUrl, nativeCurrency = chain.nativeCurrency, chainName = chain.chainName;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.10.21",
3
+ "version": "1.10.22",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {