tek-wallet 0.0.172 → 0.0.173

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.
@@ -104,7 +104,7 @@ function LockTokensProvider(_a) {
104
104
  case 1:
105
105
  response = _a.sent();
106
106
  console.warn("🚀 ~ getBalance ~ response:", response);
107
- setLockTokens(response === null || response === void 0 ? void 0 : response.data);
107
+ setLockTokens(response === null || response === void 0 ? void 0 : response.supported_tokens);
108
108
  setIsLoadingLockToken(false);
109
109
  return [3 /*break*/, 3];
110
110
  case 2:
@@ -60,6 +60,7 @@ var getLockTokenList = function (query) { return __awaiter(void 0, void 0, void
60
60
  return [4 /*yield*/, (0, get_config_tokens_list_1.default)(params)];
61
61
  case 1:
62
62
  response = _a.sent();
63
+ console.warn("🚀 ~ response getConfigTokenList:", response);
63
64
  return [2 /*return*/, response === null || response === void 0 ? void 0 : response.data];
64
65
  }
65
66
  });
@@ -17,7 +17,7 @@ export interface LockCurrency {
17
17
  network_data: Networkdata;
18
18
  }
19
19
  export interface LockTokenList {
20
- data: LockCurrency[];
20
+ supported_tokens: LockCurrency[];
21
21
  paginated: Paginated;
22
22
  }
23
23
  export interface LockTokenListResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.172",
3
+ "version": "0.0.173",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",