@matchain/matchid-sdk-react 0.1.42-alpha.16 → 0.1.42-alpha.17
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/dist/{chunk-UCIEZ3XI.mjs → chunk-KITTHHSR.mjs} +23 -13
- package/dist/chunk-KITTHHSR.mjs.map +1 -0
- package/dist/{chunk-WCS3X2LC.mjs → chunk-L3G6YN2D.mjs} +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +22 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-UCIEZ3XI.mjs.map +0 -1
- /package/dist/{chunk-WCS3X2LC.mjs.map → chunk-L3G6YN2D.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -2482,7 +2482,7 @@ function PasswordModal({
|
|
|
2482
2482
|
) }),
|
|
2483
2483
|
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Field, { label: intl.formatMessage({
|
|
2484
2484
|
id: "rePassword"
|
|
2485
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2485
|
+
}), error: !walletReady ? intl.formatMessage({ id: "walletLoading" }) : rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2486
2486
|
Input,
|
|
2487
2487
|
{
|
|
2488
2488
|
placeholder: intl.formatMessage({
|
|
@@ -2527,6 +2527,7 @@ function RecoveryModal({
|
|
|
2527
2527
|
const [password, setPassword] = (0, import_react9.useState)("");
|
|
2528
2528
|
const { recoveryEmbeddedWallets, initCore } = useWallet();
|
|
2529
2529
|
const [error, setError] = (0, import_react9.useState)("");
|
|
2530
|
+
const { walletReady } = useStore_default();
|
|
2530
2531
|
const intl = (0, import_react_intl2.useIntl)();
|
|
2531
2532
|
const passwordError = (0, import_react9.useMemo)(() => {
|
|
2532
2533
|
if (password.length < 6) return intl.formatMessage({
|
|
@@ -2575,7 +2576,7 @@ function RecoveryModal({
|
|
|
2575
2576
|
Field,
|
|
2576
2577
|
{
|
|
2577
2578
|
label: intl.formatMessage({ id: "password" }),
|
|
2578
|
-
error: password.length > 0 ? passwordError || error : error,
|
|
2579
|
+
error: !walletReady ? intl.formatMessage({ id: "walletLoading" }) : password.length > 0 ? passwordError || error : error,
|
|
2579
2580
|
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2580
2581
|
Input,
|
|
2581
2582
|
{
|
|
@@ -2591,7 +2592,7 @@ function RecoveryModal({
|
|
|
2591
2592
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2592
2593
|
Button,
|
|
2593
2594
|
{
|
|
2594
|
-
disabled: password.length == 0 || !!passwordError,
|
|
2595
|
+
disabled: password.length == 0 || !!passwordError || !walletReady,
|
|
2595
2596
|
highlight: true,
|
|
2596
2597
|
block: true,
|
|
2597
2598
|
size: "lg",
|
|
@@ -5249,7 +5250,8 @@ var en_default = {
|
|
|
5249
5250
|
CEXBindApiKey: "API Key",
|
|
5250
5251
|
CEXBindApiSecretKey: "API Secret Key",
|
|
5251
5252
|
CEXBindApiPassphrase: "API Passphrase",
|
|
5252
|
-
cancel: "Cancel"
|
|
5253
|
+
cancel: "Cancel",
|
|
5254
|
+
walletLoading: "Wallet service is loading"
|
|
5253
5255
|
};
|
|
5254
5256
|
|
|
5255
5257
|
// src/i18n/zh.json
|
|
@@ -5300,7 +5302,8 @@ var zh_default = {
|
|
|
5300
5302
|
CEXBindApiKey: "API \u5BC6\u94A5",
|
|
5301
5303
|
CEXBindApiSecretKey: "API \u79D8\u94A5",
|
|
5302
5304
|
CEXBindApiPassphrase: "API \u5BC6\u7801\u77ED\u8BED",
|
|
5303
|
-
cancel: "\u53D6\u6D88"
|
|
5305
|
+
cancel: "\u53D6\u6D88",
|
|
5306
|
+
walletLoading: "\u94B1\u5305\u670D\u52A1\u6B63\u5728\u52A0\u8F7D"
|
|
5304
5307
|
};
|
|
5305
5308
|
|
|
5306
5309
|
// src/i18n/tw.json
|
|
@@ -5351,7 +5354,8 @@ var tw_default = {
|
|
|
5351
5354
|
CEXBindApiKey: "API \u91D1\u9470",
|
|
5352
5355
|
CEXBindApiSecretKey: "API \u5BC6\u9470",
|
|
5353
5356
|
CEXBindApiPassphrase: "API \u5BC6\u78BC\u77ED\u8A9E",
|
|
5354
|
-
cancel: "\u53D6\u6D88"
|
|
5357
|
+
cancel: "\u53D6\u6D88",
|
|
5358
|
+
walletLoading: "\u9322\u5305\u670D\u52D9\u6B63\u5728\u52A0\u8F09"
|
|
5355
5359
|
};
|
|
5356
5360
|
|
|
5357
5361
|
// src/i18n/fr.json
|
|
@@ -5402,7 +5406,8 @@ var fr_default = {
|
|
|
5402
5406
|
CEXBindApiKey: "Cl\xE9 API",
|
|
5403
5407
|
CEXBindApiSecretKey: "Cl\xE9 Secr\xE8te API",
|
|
5404
5408
|
CEXBindApiPassphrase: "Phrase secr\xE8te API",
|
|
5405
|
-
cancel: "Annuler"
|
|
5409
|
+
cancel: "Annuler",
|
|
5410
|
+
walletLoading: "Le service de portefeuille est en cours de chargement"
|
|
5406
5411
|
};
|
|
5407
5412
|
|
|
5408
5413
|
// src/i18n/ja.json
|
|
@@ -5453,7 +5458,8 @@ var ja_default = {
|
|
|
5453
5458
|
CEXBindApiKey: "API \u30AD\u30FC",
|
|
5454
5459
|
CEXBindApiSecretKey: "API \u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u30AD\u30FC",
|
|
5455
5460
|
CEXBindApiPassphrase: "API \u30D1\u30B9\u30D5\u30EC\u30FC\u30BA",
|
|
5456
|
-
cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB"
|
|
5461
|
+
cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB",
|
|
5462
|
+
walletLoading: "\u30A6\u30A9\u30EC\u30C3\u30C8\u30B5\u30FC\u30D3\u30B9\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059"
|
|
5457
5463
|
};
|
|
5458
5464
|
|
|
5459
5465
|
// src/i18n/ko.json
|
|
@@ -5504,7 +5510,8 @@ var ko_default = {
|
|
|
5504
5510
|
CEXBindApiKey: "API \uD0A4",
|
|
5505
5511
|
CEXBindApiSecretKey: "API \uBE44\uBC00 \uD0A4",
|
|
5506
5512
|
CEXBindApiPassphrase: "API \uC554\uD638 \uAD6C\uBB38",
|
|
5507
|
-
cancel: "\uCDE8\uC18C"
|
|
5513
|
+
cancel: "\uCDE8\uC18C",
|
|
5514
|
+
walletLoading: "\uC9C0\uAC11 \uC11C\uBE44\uC2A4\uB97C \uBD88\uB7EC\uC624\uB294 \uC911"
|
|
5508
5515
|
};
|
|
5509
5516
|
|
|
5510
5517
|
// src/i18n/vi.json
|
|
@@ -5555,7 +5562,8 @@ var vi_default = {
|
|
|
5555
5562
|
CEXBindApiKey: "Kh\xF3a API",
|
|
5556
5563
|
CEXBindApiSecretKey: "Kh\xF3a b\xED m\u1EADt API",
|
|
5557
5564
|
CEXBindApiPassphrase: "C\u1EE5m m\u1EADt kh\u1EA9u API",
|
|
5558
|
-
cancel: "H\u1EE7y"
|
|
5565
|
+
cancel: "H\u1EE7y",
|
|
5566
|
+
walletLoading: "D\u1ECBch v\u1EE5 v\xED \u0111ang t\u1EA3i"
|
|
5559
5567
|
};
|
|
5560
5568
|
|
|
5561
5569
|
// src/i18n/es.json
|
|
@@ -5606,7 +5614,8 @@ var es_default = {
|
|
|
5606
5614
|
CEXBindApiKey: "Clave API",
|
|
5607
5615
|
CEXBindApiSecretKey: "Clave Secreta API",
|
|
5608
5616
|
CEXBindApiPassphrase: "Frase de contrase\xF1a API",
|
|
5609
|
-
cancel: "Cancelar"
|
|
5617
|
+
cancel: "Cancelar",
|
|
5618
|
+
walletLoading: "El servicio de cartera se est\xE1 cargando"
|
|
5610
5619
|
};
|
|
5611
5620
|
|
|
5612
5621
|
// src/i18n/pt.json
|
|
@@ -5657,7 +5666,8 @@ var pt_default = {
|
|
|
5657
5666
|
CEXBindApiKey: "Chave API",
|
|
5658
5667
|
CEXBindApiSecretKey: "Chave Secreta API",
|
|
5659
5668
|
CEXBindApiPassphrase: "Senha de API",
|
|
5660
|
-
cancel: "Cancelar"
|
|
5669
|
+
cancel: "Cancelar",
|
|
5670
|
+
walletLoading: "O servi\xE7o de carteira est\xE1 carregando"
|
|
5661
5671
|
};
|
|
5662
5672
|
|
|
5663
5673
|
// src/i18n/index.ts
|