tek-wallet 0.0.809 → 0.0.812
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/README.md +9 -7
- package/dist/components/TekWallet/components/index.d.ts +1 -0
- package/dist/components/TekWallet/components/index.js +1 -0
- package/dist/components/TekWallet/components/ui/ConfirmByPasscode/index.js +0 -1
- package/dist/components/TekWallet/components/ui/FiatDeposit/index.js +0 -2
- package/dist/components/TekWallet/components/ui/QrCodeReader/index.js +7 -11
- package/dist/components/TekWallet/components/ui/TokensBoard/index.d.ts +1 -1
- package/dist/components/TekWallet/components/ui/TokensBoard/index.js +3 -1
- package/dist/components/TekWallet/components/ui/ValidateWalletAddress/index.js +1 -3
- package/dist/components/TekWallet/components/ui/WithdrawFunction/index.js +0 -2
- package/dist/components/TekWallet/components/views/SendExternalView/components/Form.js +0 -2
- package/dist/components/TekWallet/hooks/useRefetchOnWindowFocused.js +0 -23
- package/dist/components/TekWallet/providers/ActivitiesProvider/index.js +1 -1
- package/dist/components/TekWallet/providers/EventHandlerProvider/index.js +1 -1
- package/dist/components/TekWallet/providers/LockTokenProvider/index.js +2 -2
- package/dist/components/TekWallet/providers/ReceiveProvider/index.js +2 -2
- package/dist/components/TekWallet/providers/SwapProvider/index.js +1 -1
- package/dist/components/TekWallet/providers/TekWalletProvider/index.d.ts +1 -0
- package/dist/components/TekWallet/providers/WalletDataProviderNoImport/index.js +0 -1
- package/dist/components/TekWallet/providers/WithdrawProvider/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,7 @@ import { TekWalletProvider, ThemeModes } from "tek-wallet";
|
|
|
49
49
|
// Ẩn nút back trong các view cụ thể
|
|
50
50
|
activity: true,
|
|
51
51
|
},
|
|
52
|
+
disableRefetchOnFocus: true, // Vô hiệu hóa việc refetch dữ liệu khi focus lại vào cửa sổ
|
|
52
53
|
}}
|
|
53
54
|
topOffset={viewportStatusBarHeight || 0} // Offset từ top (thường dùng cho mobile)
|
|
54
55
|
onLogout={handleLogout} // Callback khi logout
|
|
@@ -79,13 +80,14 @@ import { TekWalletProvider, ThemeModes } from "tek-wallet";
|
|
|
79
80
|
|
|
80
81
|
**Options object:**
|
|
81
82
|
|
|
82
|
-
| Option | Type | Default | Mô tả
|
|
83
|
-
| -------------------------------- | --------- | ------- |
|
|
84
|
-
| `useDefaultToastMessage` | `boolean` | `false` | Sử dụng toast message mặc định của hệ thống
|
|
85
|
-
| `hideDefaultActivities` | `boolean` | `false` | Ẩn activities mặc định
|
|
86
|
-
| `hideActivitySectionInAssetView` | `boolean` | `false` | Ẩn section activities trong AssetView
|
|
87
|
-
| `useBasicAmountGroupInAssetView` | `boolean` | `false` | Sử dụng basic amount group trong AssetView
|
|
88
|
-
| `hideBackButtons` | `object` | `{}` | Ẩn nút back trong các view cụ thể
|
|
83
|
+
| Option | Type | Default | Mô tả |
|
|
84
|
+
| -------------------------------- | --------- | ------- | --------------------------------------------------------- |
|
|
85
|
+
| `useDefaultToastMessage` | `boolean` | `false` | Sử dụng toast message mặc định của hệ thống |
|
|
86
|
+
| `hideDefaultActivities` | `boolean` | `false` | Ẩn activities mặc định |
|
|
87
|
+
| `hideActivitySectionInAssetView` | `boolean` | `false` | Ẩn section activities trong AssetView |
|
|
88
|
+
| `useBasicAmountGroupInAssetView` | `boolean` | `false` | Sử dụng basic amount group trong AssetView |
|
|
89
|
+
| `hideBackButtons` | `object` | `{}` | Ẩn nút back trong các view cụ thể |
|
|
90
|
+
| `disableRefetchOnFocus` | `boolean` | `false` | Vô hiệu hóa việc refetch dữ liệu khi focus lại vào cửa sổ |
|
|
89
91
|
|
|
90
92
|
**hideBackButtons object:**
|
|
91
93
|
|
|
@@ -41,3 +41,4 @@ __exportStar(require("./views/DetailActivityView"), exports);
|
|
|
41
41
|
__exportStar(require("./views/SettingView"), exports);
|
|
42
42
|
__exportStar(require("./ui/ReceiveFunction"), exports);
|
|
43
43
|
__exportStar(require("./ui/ReceiveDirectly"), exports);
|
|
44
|
+
__exportStar(require("./ui/TokensBoard"), exports);
|
|
@@ -166,7 +166,6 @@ var ConfirmByPasscode = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
166
166
|
})];
|
|
167
167
|
case 2:
|
|
168
168
|
result = _c.sent();
|
|
169
|
-
console.warn("🚀 ~ result:", result);
|
|
170
169
|
if (result === useWarningWrongPasscode_1.ValidatePasscodeResult.SUCCESS) {
|
|
171
170
|
handleClose();
|
|
172
171
|
onConfirmSuccess === null || onConfirmSuccess === void 0 ? void 0 : onConfirmSuccess(value);
|
|
@@ -167,8 +167,6 @@ function FiatDeposit(_a) {
|
|
|
167
167
|
}, [copySuccess]);
|
|
168
168
|
(0, react_1.useEffect)(function () {
|
|
169
169
|
var _a;
|
|
170
|
-
console.warn("🚀 ~ hhhhh FiatDeposit ~ transaction:", transaction, depositData);
|
|
171
|
-
// return;
|
|
172
170
|
if ((transaction === null || transaction === void 0 ? void 0 : transaction.transaction_status) === type_1.TransactionStatus.Success &&
|
|
173
171
|
((_a = transaction === null || transaction === void 0 ? void 0 : transaction.transaction_type) === null || _a === void 0 ? void 0 : _a.slug) === type_1.TransactionSlug.RECEIVE &&
|
|
174
172
|
(depositData === null || depositData === void 0 ? void 0 : depositData.orderId) === (transaction === null || transaction === void 0 ? void 0 : transaction.order_id)) {
|
|
@@ -126,20 +126,16 @@ var QrCodeReader = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
126
126
|
}, []);
|
|
127
127
|
var _d = (0, providers_1.useWalletSetup)(), topOffset = _d.topOffset, overrideQRScanMethod = _d.overrideQRScanMethod;
|
|
128
128
|
if (!!overrideQRScanMethod) {
|
|
129
|
-
var handleOverrideQRScanMethod = function (
|
|
129
|
+
var handleOverrideQRScanMethod = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
130
130
|
var result, fakeIDetectedBarcode, error_1;
|
|
131
131
|
return __generator(this, function (_a) {
|
|
132
132
|
switch (_a.label) {
|
|
133
133
|
case 0:
|
|
134
|
-
|
|
135
|
-
_a.label = 1;
|
|
136
|
-
case 1:
|
|
137
|
-
_a.trys.push([1, 3, , 4]);
|
|
134
|
+
_a.trys.push([0, 2, , 3]);
|
|
138
135
|
return [4 /*yield*/, overrideQRScanMethod()];
|
|
139
|
-
case
|
|
136
|
+
case 1:
|
|
140
137
|
result = _a.sent();
|
|
141
138
|
if (!result) {
|
|
142
|
-
console.warn("🚀 ~ handleOverrideQRScanMethod ~ result:", result);
|
|
143
139
|
return [2 /*return*/];
|
|
144
140
|
}
|
|
145
141
|
fakeIDetectedBarcode = {
|
|
@@ -154,12 +150,12 @@ var QrCodeReader = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
154
150
|
cornerPoints: [],
|
|
155
151
|
};
|
|
156
152
|
onResult([fakeIDetectedBarcode]);
|
|
157
|
-
return [3 /*break*/,
|
|
158
|
-
case
|
|
153
|
+
return [3 /*break*/, 3];
|
|
154
|
+
case 2:
|
|
159
155
|
error_1 = _a.sent();
|
|
160
156
|
console.error(error_1);
|
|
161
|
-
return [3 /*break*/,
|
|
162
|
-
case
|
|
157
|
+
return [3 /*break*/, 3];
|
|
158
|
+
case 3: return [2 /*return*/];
|
|
163
159
|
}
|
|
164
160
|
});
|
|
165
161
|
}); };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TokensBoard: () => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const TokensBoard: () => import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default TokensBoard;
|
|
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TokensBoard = void 0;
|
|
17
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
19
|
var useWalletData_1 = __importDefault(require("../../../hooks/useWalletData"));
|
|
19
20
|
var Text_1 = __importDefault(require("../Text"));
|
|
@@ -69,4 +70,5 @@ var TokensBoard = function () {
|
|
|
69
70
|
return ((0, jsx_runtime_1.jsx)(TokenItem_1.default, { showSmallAssets: showSmallAssets, tokenData: stringifiedTokenData }, item.id));
|
|
70
71
|
}), !tokens && (0, jsx_runtime_1.jsx)(WaitingData_1.default, { sx: { margin: "auto" } })] })] }));
|
|
71
72
|
};
|
|
72
|
-
exports.
|
|
73
|
+
exports.TokensBoard = TokensBoard;
|
|
74
|
+
exports.default = exports.TokensBoard;
|
|
@@ -46,15 +46,13 @@ function ValidateWalletAddress(props) {
|
|
|
46
46
|
var _this = this;
|
|
47
47
|
var address = props.address;
|
|
48
48
|
var validateAddress = function (address) { return __awaiter(_this, void 0, void 0, function () {
|
|
49
|
-
var res;
|
|
50
49
|
return __generator(this, function (_a) {
|
|
51
50
|
switch (_a.label) {
|
|
52
51
|
case 0: return [4 /*yield*/, (0, validate_wallet_address_service_1.default)({
|
|
53
52
|
address: address,
|
|
54
53
|
})];
|
|
55
54
|
case 1:
|
|
56
|
-
|
|
57
|
-
console.warn("🚀 ~ validateAddress ~ res:", res);
|
|
55
|
+
_a.sent();
|
|
58
56
|
return [2 /*return*/];
|
|
59
57
|
}
|
|
60
58
|
});
|
|
@@ -229,7 +229,6 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
229
229
|
};
|
|
230
230
|
var gotoStep = function (step) {
|
|
231
231
|
var _a, _b;
|
|
232
|
-
console.warn("🚀 ~ gotoStep ~ step:", step);
|
|
233
232
|
if (step === WithdrawStep.SELECT_METHOD) {
|
|
234
233
|
clearValues();
|
|
235
234
|
(_a = stepsRef.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
@@ -463,7 +462,6 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
463
462
|
case 0:
|
|
464
463
|
(_a = scannerAllQrCodeRef.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
465
464
|
if (!result) return [3 /*break*/, 2];
|
|
466
|
-
console.error("result", result);
|
|
467
465
|
text = (_b = result === null || result === void 0 ? void 0 : result[0]) === null || _b === void 0 ? void 0 : _b.rawValue;
|
|
468
466
|
isReceiveInternal = text === null || text === void 0 ? void 0 : text.includes("isTekWalletReceiveInternal");
|
|
469
467
|
tonTransferParam = isReceiveInternal
|
|
@@ -229,7 +229,6 @@ function Form(props) {
|
|
|
229
229
|
})];
|
|
230
230
|
case 1:
|
|
231
231
|
validateResult = _b.sent();
|
|
232
|
-
console.warn("🚀 ~ validateAddress ~ validateResult:", validateResult);
|
|
233
232
|
setIsValidatingAddress(false);
|
|
234
233
|
message = validateResult.message;
|
|
235
234
|
if (message === expose_1.ValidateWalletAddressResultMessage.ERROR) {
|
|
@@ -246,7 +245,6 @@ function Form(props) {
|
|
|
246
245
|
var _a, _b, _c, _d;
|
|
247
246
|
return (_d = (_c = (_b = (_a = validateResult === null || validateResult === void 0 ? void 0 : validateResult.data) === null || _a === void 0 ? void 0 : _a.networks) === null || _b === void 0 ? void 0 : _b.map) === null || _c === void 0 ? void 0 : _c.call(_b, function (nw) { return nw.id; })) === null || _d === void 0 ? void 0 : _d.includes(item.id);
|
|
248
247
|
});
|
|
249
|
-
console.warn("🚀 ~ validateAddress ~ networks:", networks_1);
|
|
250
248
|
if (!(networks_1 === null || networks_1 === void 0 ? void 0 : networks_1.length) || (networks_1 === null || networks_1 === void 0 ? void 0 : networks_1.length) < 1) {
|
|
251
249
|
setRecipientAddressError("Does not have available networks support for this address and selected token");
|
|
252
250
|
return [2 /*return*/];
|
|
@@ -56,44 +56,34 @@ function useRefetchOnFocus(fetcher, opts) {
|
|
|
56
56
|
now = Date.now();
|
|
57
57
|
// Kiểm tra điều kiện refetch
|
|
58
58
|
if (document.hidden) {
|
|
59
|
-
console.warn("📱 Document is hidden, skipping refetch");
|
|
60
59
|
return [2 /*return*/];
|
|
61
60
|
}
|
|
62
61
|
if (inFlightRef.current) {
|
|
63
|
-
console.warn("⏳ Request in flight, skipping");
|
|
64
62
|
return [2 /*return*/];
|
|
65
63
|
}
|
|
66
64
|
if (now - lastRunRef.current < minIntervalMs) {
|
|
67
|
-
console.warn("🕒 Too soon since last fetch, skipping");
|
|
68
65
|
return [2 /*return*/];
|
|
69
66
|
}
|
|
70
67
|
inFlightRef.current = true;
|
|
71
68
|
lastRunRef.current = now;
|
|
72
69
|
// Hủy request cũ (nếu có)
|
|
73
70
|
if (abortRef.current) {
|
|
74
|
-
console.warn("🚫 Aborting previous request");
|
|
75
71
|
abortRef.current.abort();
|
|
76
72
|
}
|
|
77
73
|
abortRef.current = new AbortController();
|
|
78
74
|
_b.label = 1;
|
|
79
75
|
case 1:
|
|
80
76
|
_b.trys.push([1, 3, 4, 5]);
|
|
81
|
-
console.warn("🔄 Refetching data...");
|
|
82
77
|
return [4 /*yield*/, fetcher()];
|
|
83
78
|
case 2:
|
|
84
79
|
_b.sent();
|
|
85
|
-
console.warn("✅ Refetch completed");
|
|
86
80
|
return [3 /*break*/, 5];
|
|
87
81
|
case 3:
|
|
88
82
|
e_1 = _b.sent();
|
|
89
83
|
// Chỉ xử lý lỗi nếu không phải do abort
|
|
90
84
|
if (!((_a = abortRef.current) === null || _a === void 0 ? void 0 : _a.signal.aborted)) {
|
|
91
|
-
console.error("❌ Refetch error:", e_1);
|
|
92
85
|
onError === null || onError === void 0 ? void 0 : onError(e_1);
|
|
93
86
|
}
|
|
94
|
-
else {
|
|
95
|
-
console.warn("🛑 Request was aborted");
|
|
96
|
-
}
|
|
97
87
|
return [3 /*break*/, 5];
|
|
98
88
|
case 4:
|
|
99
89
|
inFlightRef.current = false;
|
|
@@ -104,20 +94,15 @@ function useRefetchOnFocus(fetcher, opts) {
|
|
|
104
94
|
}); }, [minIntervalMs, fetcher, onError]);
|
|
105
95
|
(0, react_1.useEffect)(function () {
|
|
106
96
|
if (!enabled) {
|
|
107
|
-
console.warn("🔌 useRefetchOnFocus is disabled");
|
|
108
97
|
return;
|
|
109
98
|
}
|
|
110
|
-
console.warn("🎯 Setting up visibility and focus listeners");
|
|
111
99
|
var handleVisibilityChange = function () {
|
|
112
|
-
console.warn("👀 Visibility changed - hidden:", document.hidden, "state:", document.visibilityState);
|
|
113
100
|
// Refetch khi tab trở thành visible
|
|
114
101
|
if (document.visibilityState === "visible") {
|
|
115
|
-
console.warn("🔄 Tab became visible, triggering refetch");
|
|
116
102
|
tryRefetch();
|
|
117
103
|
}
|
|
118
104
|
};
|
|
119
105
|
var handleFocus = function () {
|
|
120
|
-
console.warn("🎯 Window focused, triggering refetch");
|
|
121
106
|
tryRefetch();
|
|
122
107
|
};
|
|
123
108
|
// Đăng ký event listeners
|
|
@@ -125,7 +110,6 @@ function useRefetchOnFocus(fetcher, opts) {
|
|
|
125
110
|
window.addEventListener("focus", handleFocus);
|
|
126
111
|
// Cleanup function - QUAN TRỌNG: bỏ comment và sửa lại
|
|
127
112
|
return function () {
|
|
128
|
-
console.warn("🧹 Cleaning up event listeners");
|
|
129
113
|
document.removeEventListener("visibilitychange", handleVisibilityChange);
|
|
130
114
|
window.removeEventListener("focus", handleFocus);
|
|
131
115
|
// Hủy request đang chạy khi unmount
|
|
@@ -134,11 +118,4 @@ function useRefetchOnFocus(fetcher, opts) {
|
|
|
134
118
|
}
|
|
135
119
|
};
|
|
136
120
|
}, [enabled, tryRefetch]); // Thêm tryRefetch vào dependencies
|
|
137
|
-
// Debug: log khi hook được mount/unmount
|
|
138
|
-
(0, react_1.useEffect)(function () {
|
|
139
|
-
console.warn("🔌 useRefetchOnFocus mounted with enabled:", enabled);
|
|
140
|
-
return function () {
|
|
141
|
-
console.warn("🔌 useRefetchOnFocus unmounted");
|
|
142
|
-
};
|
|
143
|
-
}, [enabled]);
|
|
144
121
|
}
|
|
@@ -183,7 +183,7 @@ function ActivitiesProvider(_a) {
|
|
|
183
183
|
case 1:
|
|
184
184
|
_d.trys.push([1, 3, , 4]);
|
|
185
185
|
if (!isInitPasscode) {
|
|
186
|
-
|
|
186
|
+
return [2 /*return*/];
|
|
187
187
|
}
|
|
188
188
|
if (isLoadingActivities[slug])
|
|
189
189
|
return [2 /*return*/];
|
|
@@ -60,7 +60,7 @@ function EventHandlerProvider(props) {
|
|
|
60
60
|
onError: function (error) {
|
|
61
61
|
console.error("🚀 ~ useEffect ~ error:", error);
|
|
62
62
|
},
|
|
63
|
-
enabled:
|
|
63
|
+
enabled: !(options === null || options === void 0 ? void 0 : options.disableRefetchOnFocus),
|
|
64
64
|
});
|
|
65
65
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: props.children });
|
|
66
66
|
}
|
|
@@ -107,7 +107,7 @@ function LockTokensProvider(_a) {
|
|
|
107
107
|
if (isLoadingLockedToken)
|
|
108
108
|
return [2 /*return*/];
|
|
109
109
|
if (!isInitPasscode) {
|
|
110
|
-
|
|
110
|
+
return [2 /*return*/];
|
|
111
111
|
}
|
|
112
112
|
setIsLoadingLockedToken(true);
|
|
113
113
|
return [4 /*yield*/, (0, get_locked_tokens_service_1.default)()];
|
|
@@ -134,7 +134,7 @@ function LockTokensProvider(_a) {
|
|
|
134
134
|
if (isLoadingLockToken)
|
|
135
135
|
return [2 /*return*/];
|
|
136
136
|
if (!isInitPasscode) {
|
|
137
|
-
|
|
137
|
+
return [2 /*return*/];
|
|
138
138
|
}
|
|
139
139
|
setIsLoadingLockToken(true);
|
|
140
140
|
return [4 /*yield*/, (0, get_lock_tokens_list_service_1.default)()];
|
|
@@ -106,7 +106,7 @@ function ReceiveProvider(_a) {
|
|
|
106
106
|
if (isLoadingReceiveExternalToken)
|
|
107
107
|
return [2 /*return*/];
|
|
108
108
|
if (!isInitPasscode) {
|
|
109
|
-
|
|
109
|
+
return [2 /*return*/];
|
|
110
110
|
}
|
|
111
111
|
setIsLoadingReceiveExternalToken(true);
|
|
112
112
|
return [4 /*yield*/, (0, get_receive_external_tokens_list_service_1.default)()];
|
|
@@ -133,7 +133,7 @@ function ReceiveProvider(_a) {
|
|
|
133
133
|
if (isLoadingReceiveInternalToken)
|
|
134
134
|
return [2 /*return*/];
|
|
135
135
|
if (!isInitPasscode) {
|
|
136
|
-
|
|
136
|
+
return [2 /*return*/];
|
|
137
137
|
}
|
|
138
138
|
setIsLoadingReceiveInternalToken(true);
|
|
139
139
|
return [4 /*yield*/, (0, get_receive_internal_tokens_list_service_1.default)()];
|
|
@@ -101,7 +101,7 @@ function SwapProvider(_a) {
|
|
|
101
101
|
if (isLoadingSwapToken)
|
|
102
102
|
return [2 /*return*/];
|
|
103
103
|
if (!isInitPasscode) {
|
|
104
|
-
|
|
104
|
+
return [2 /*return*/];
|
|
105
105
|
}
|
|
106
106
|
setIsLoadingSwapToken(true);
|
|
107
107
|
return [4 /*yield*/, (0, get_swap_tokens_list_service_1.default)()];
|
|
@@ -14,6 +14,7 @@ export interface Options {
|
|
|
14
14
|
hideActivitySectionInAssetView?: boolean;
|
|
15
15
|
useBasicAmountGroupInAssetView?: boolean;
|
|
16
16
|
hideBackButtons: Partial<Record<Views, boolean>>;
|
|
17
|
+
disableRefetchOnFocus?: boolean;
|
|
17
18
|
}
|
|
18
19
|
export interface TekWalletProviderProps {
|
|
19
20
|
children: ReactNode;
|
|
@@ -160,7 +160,6 @@ function WalletDataProviderNoImport(_a) {
|
|
|
160
160
|
switch (_a.label) {
|
|
161
161
|
case 0:
|
|
162
162
|
_a.trys.push([0, 2, , 3]);
|
|
163
|
-
console.warn("🚀 ~ WalletDataProviderNoImport ~ isTokensLoading:", isTokensLoading);
|
|
164
163
|
if (isTokensLoading)
|
|
165
164
|
return [2 /*return*/];
|
|
166
165
|
setIsTokensLoading(true);
|
|
@@ -109,7 +109,7 @@ function WithdrawProvider(_a) {
|
|
|
109
109
|
if (isLoadingWithdrawToken)
|
|
110
110
|
return [2 /*return*/];
|
|
111
111
|
if (!isInitPasscode) {
|
|
112
|
-
|
|
112
|
+
return [2 /*return*/];
|
|
113
113
|
}
|
|
114
114
|
setIsLoadingWithdrawToken(true);
|
|
115
115
|
return [4 /*yield*/, (0, get_withdraw_tokens_list_service_1.default)()];
|
|
@@ -137,7 +137,7 @@ function WithdrawProvider(_a) {
|
|
|
137
137
|
if (isLoadingSendInternalToken)
|
|
138
138
|
return [2 /*return*/];
|
|
139
139
|
if (!isInitPasscode) {
|
|
140
|
-
|
|
140
|
+
return [2 /*return*/];
|
|
141
141
|
}
|
|
142
142
|
setIsLoadingSendInternalToken(true);
|
|
143
143
|
return [4 /*yield*/, (0, get_send_tokens_list_service_1.default)()];
|