tek-wallet 0.0.106 → 0.0.107
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.
|
@@ -46,19 +46,11 @@ function getSeedPhraseService(body) {
|
|
|
46
46
|
var response;
|
|
47
47
|
return __generator(this, function (_a) {
|
|
48
48
|
switch (_a.label) {
|
|
49
|
-
case 0: return [4 /*yield*/, userClientRequest_1.default.post("/
|
|
49
|
+
case 0: return [4 /*yield*/, userClientRequest_1.default.post("/wallets/export/seed-pharse", body)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
52
|
console.warn("🚀 ~ response:", response);
|
|
53
|
-
|
|
54
|
-
return [2 /*return*/, new Promise(function (resolve) {
|
|
55
|
-
setTimeout(function () {
|
|
56
|
-
resolve({
|
|
57
|
-
success: true,
|
|
58
|
-
seedPhrase: "bạn có thể dễ dàng tùy chỉnh hiệu ứng văn bản được tô đen khi người dùng chọn trong",
|
|
59
|
-
});
|
|
60
|
-
}, 1000);
|
|
61
|
-
})];
|
|
53
|
+
return [2 /*return*/, response.data];
|
|
62
54
|
}
|
|
63
55
|
});
|
|
64
56
|
});
|