@openocean.finance/wallet 1.3.5 → 1.3.6

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.
@@ -89,22 +89,27 @@ var LedgerEmbedWallet = /** @class */ (function (_super) {
89
89
  switch (_c.label) {
90
90
  case 0:
91
91
  _c.trys.push([0, 3, , 4]);
92
+ console.log('requestConnect999');
92
93
  LedgerHQFrame = new web3_ledgerhq_frame_connector_1.LedgerHQFrameConnector();
94
+ console.log('requestConnect999 LedgerHQFrame', LedgerHQFrame);
93
95
  return [4 /*yield*/, LedgerHQFrame.activate()];
94
96
  case 1:
95
97
  _a = _c.sent(), _b = _a.account, account = _b === void 0 ? '' : _b, provider = _a.provider;
98
+ console.log('requestConnect999, account, provider', account, provider);
96
99
  address = account || '';
97
100
  return [4 /*yield*/, LedgerHQFrame.getChainId()];
98
101
  case 2:
99
102
  res = _c.sent();
103
+ console.log('requestConnect999, getChainId', res);
100
104
  chainId_1 = +web3_1.default.utils.hexToNumberString(res);
105
+ console.log('requestConnect999, chainId', chainId_1);
101
106
  this.sdk = new web3_1.default(provider);
102
107
  this.address = address;
103
108
  this.chainId = chainId_1;
104
109
  return [2 /*return*/, address];
105
110
  case 3:
106
111
  e_1 = _c.sent();
107
- console.log('requestConnect5', JSON.stringify(e_1));
112
+ console.log('requestConnect999', JSON.stringify(e_1));
108
113
  throw new Error(types_1.EnumErrors.NoLedger);
109
114
  case 4: return [2 /*return*/];
110
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {