tek-wallet 0.0.455 → 0.0.456

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.
@@ -127,24 +127,27 @@ function ReceiveProvider(_a) {
127
127
  return __generator(this, function (_a) {
128
128
  switch (_a.label) {
129
129
  case 0:
130
- _a.trys.push([0, 2, , 3]);
130
+ console.warn("🚀 ~ updateReceiveInternalToken ~ isAuthenticated:", isAuthenticated);
131
+ _a.label = 1;
132
+ case 1:
133
+ _a.trys.push([1, 3, , 4]);
131
134
  if (!isAuthenticated) {
132
135
  throw new Error("Authenticate to get receive tokens");
133
136
  }
134
137
  setIsLoadingReceiveInternalToken(true);
135
138
  return [4 /*yield*/, (0, get_receive_internal_tokens_list_service_1.default)()];
136
- case 1:
139
+ case 2:
137
140
  response = _a.sent();
138
141
  console.warn("🚀 ~ getBalance ~ response:", response);
139
142
  setReceiveInternalTokens(response === null || response === void 0 ? void 0 : response.supported_tokens);
140
143
  setIsLoadingReceiveInternalToken(false);
141
- return [3 /*break*/, 3];
142
- case 2:
144
+ return [3 /*break*/, 4];
145
+ case 3:
143
146
  error_2 = _a.sent();
144
147
  console.error("🚀 ~ getBalance ~ error:", error_2);
145
148
  setIsLoadingReceiveInternalToken(false);
146
- return [3 /*break*/, 3];
147
- case 3: return [2 /*return*/];
149
+ return [3 /*break*/, 4];
150
+ case 4: return [2 /*return*/];
148
151
  }
149
152
  });
150
153
  }); }, [isAuthenticated]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.455",
3
+ "version": "0.0.456",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",