@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
|
@@ -678,7 +678,7 @@ function PasswordModal({
|
|
|
678
678
|
) }),
|
|
679
679
|
/* @__PURE__ */ jsx6(Field, { label: intl.formatMessage({
|
|
680
680
|
id: "rePassword"
|
|
681
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ jsx6(
|
|
681
|
+
}), error: !walletReady ? intl.formatMessage({ id: "walletLoading" }) : rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ jsx6(
|
|
682
682
|
Input,
|
|
683
683
|
{
|
|
684
684
|
placeholder: intl.formatMessage({
|
|
@@ -723,6 +723,7 @@ function RecoveryModal({
|
|
|
723
723
|
const [password, setPassword] = useState4("");
|
|
724
724
|
const { recoveryEmbeddedWallets, initCore } = useWallet();
|
|
725
725
|
const [error, setError] = useState4("");
|
|
726
|
+
const { walletReady } = useStore_default();
|
|
726
727
|
const intl = useIntl2();
|
|
727
728
|
const passwordError = useMemo2(() => {
|
|
728
729
|
if (password.length < 6) return intl.formatMessage({
|
|
@@ -771,7 +772,7 @@ function RecoveryModal({
|
|
|
771
772
|
Field,
|
|
772
773
|
{
|
|
773
774
|
label: intl.formatMessage({ id: "password" }),
|
|
774
|
-
error: password.length > 0 ? passwordError || error : error,
|
|
775
|
+
error: !walletReady ? intl.formatMessage({ id: "walletLoading" }) : password.length > 0 ? passwordError || error : error,
|
|
775
776
|
children: /* @__PURE__ */ jsx7(
|
|
776
777
|
Input,
|
|
777
778
|
{
|
|
@@ -787,7 +788,7 @@ function RecoveryModal({
|
|
|
787
788
|
/* @__PURE__ */ jsx7(
|
|
788
789
|
Button,
|
|
789
790
|
{
|
|
790
|
-
disabled: password.length == 0 || !!passwordError,
|
|
791
|
+
disabled: password.length == 0 || !!passwordError || !walletReady,
|
|
791
792
|
highlight: true,
|
|
792
793
|
block: true,
|
|
793
794
|
size: "lg",
|
|
@@ -3935,7 +3936,8 @@ var en_default = {
|
|
|
3935
3936
|
CEXBindApiKey: "API Key",
|
|
3936
3937
|
CEXBindApiSecretKey: "API Secret Key",
|
|
3937
3938
|
CEXBindApiPassphrase: "API Passphrase",
|
|
3938
|
-
cancel: "Cancel"
|
|
3939
|
+
cancel: "Cancel",
|
|
3940
|
+
walletLoading: "Wallet service is loading"
|
|
3939
3941
|
};
|
|
3940
3942
|
|
|
3941
3943
|
// src/i18n/zh.json
|
|
@@ -3986,7 +3988,8 @@ var zh_default = {
|
|
|
3986
3988
|
CEXBindApiKey: "API \u5BC6\u94A5",
|
|
3987
3989
|
CEXBindApiSecretKey: "API \u79D8\u94A5",
|
|
3988
3990
|
CEXBindApiPassphrase: "API \u5BC6\u7801\u77ED\u8BED",
|
|
3989
|
-
cancel: "\u53D6\u6D88"
|
|
3991
|
+
cancel: "\u53D6\u6D88",
|
|
3992
|
+
walletLoading: "\u94B1\u5305\u670D\u52A1\u6B63\u5728\u52A0\u8F7D"
|
|
3990
3993
|
};
|
|
3991
3994
|
|
|
3992
3995
|
// src/i18n/tw.json
|
|
@@ -4037,7 +4040,8 @@ var tw_default = {
|
|
|
4037
4040
|
CEXBindApiKey: "API \u91D1\u9470",
|
|
4038
4041
|
CEXBindApiSecretKey: "API \u5BC6\u9470",
|
|
4039
4042
|
CEXBindApiPassphrase: "API \u5BC6\u78BC\u77ED\u8A9E",
|
|
4040
|
-
cancel: "\u53D6\u6D88"
|
|
4043
|
+
cancel: "\u53D6\u6D88",
|
|
4044
|
+
walletLoading: "\u9322\u5305\u670D\u52D9\u6B63\u5728\u52A0\u8F09"
|
|
4041
4045
|
};
|
|
4042
4046
|
|
|
4043
4047
|
// src/i18n/fr.json
|
|
@@ -4088,7 +4092,8 @@ var fr_default = {
|
|
|
4088
4092
|
CEXBindApiKey: "Cl\xE9 API",
|
|
4089
4093
|
CEXBindApiSecretKey: "Cl\xE9 Secr\xE8te API",
|
|
4090
4094
|
CEXBindApiPassphrase: "Phrase secr\xE8te API",
|
|
4091
|
-
cancel: "Annuler"
|
|
4095
|
+
cancel: "Annuler",
|
|
4096
|
+
walletLoading: "Le service de portefeuille est en cours de chargement"
|
|
4092
4097
|
};
|
|
4093
4098
|
|
|
4094
4099
|
// src/i18n/ja.json
|
|
@@ -4139,7 +4144,8 @@ var ja_default = {
|
|
|
4139
4144
|
CEXBindApiKey: "API \u30AD\u30FC",
|
|
4140
4145
|
CEXBindApiSecretKey: "API \u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u30AD\u30FC",
|
|
4141
4146
|
CEXBindApiPassphrase: "API \u30D1\u30B9\u30D5\u30EC\u30FC\u30BA",
|
|
4142
|
-
cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB"
|
|
4147
|
+
cancel: "\u30AD\u30E3\u30F3\u30BB\u30EB",
|
|
4148
|
+
walletLoading: "\u30A6\u30A9\u30EC\u30C3\u30C8\u30B5\u30FC\u30D3\u30B9\u3092\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059"
|
|
4143
4149
|
};
|
|
4144
4150
|
|
|
4145
4151
|
// src/i18n/ko.json
|
|
@@ -4190,7 +4196,8 @@ var ko_default = {
|
|
|
4190
4196
|
CEXBindApiKey: "API \uD0A4",
|
|
4191
4197
|
CEXBindApiSecretKey: "API \uBE44\uBC00 \uD0A4",
|
|
4192
4198
|
CEXBindApiPassphrase: "API \uC554\uD638 \uAD6C\uBB38",
|
|
4193
|
-
cancel: "\uCDE8\uC18C"
|
|
4199
|
+
cancel: "\uCDE8\uC18C",
|
|
4200
|
+
walletLoading: "\uC9C0\uAC11 \uC11C\uBE44\uC2A4\uB97C \uBD88\uB7EC\uC624\uB294 \uC911"
|
|
4194
4201
|
};
|
|
4195
4202
|
|
|
4196
4203
|
// src/i18n/vi.json
|
|
@@ -4241,7 +4248,8 @@ var vi_default = {
|
|
|
4241
4248
|
CEXBindApiKey: "Kh\xF3a API",
|
|
4242
4249
|
CEXBindApiSecretKey: "Kh\xF3a b\xED m\u1EADt API",
|
|
4243
4250
|
CEXBindApiPassphrase: "C\u1EE5m m\u1EADt kh\u1EA9u API",
|
|
4244
|
-
cancel: "H\u1EE7y"
|
|
4251
|
+
cancel: "H\u1EE7y",
|
|
4252
|
+
walletLoading: "D\u1ECBch v\u1EE5 v\xED \u0111ang t\u1EA3i"
|
|
4245
4253
|
};
|
|
4246
4254
|
|
|
4247
4255
|
// src/i18n/es.json
|
|
@@ -4292,7 +4300,8 @@ var es_default = {
|
|
|
4292
4300
|
CEXBindApiKey: "Clave API",
|
|
4293
4301
|
CEXBindApiSecretKey: "Clave Secreta API",
|
|
4294
4302
|
CEXBindApiPassphrase: "Frase de contrase\xF1a API",
|
|
4295
|
-
cancel: "Cancelar"
|
|
4303
|
+
cancel: "Cancelar",
|
|
4304
|
+
walletLoading: "El servicio de cartera se est\xE1 cargando"
|
|
4296
4305
|
};
|
|
4297
4306
|
|
|
4298
4307
|
// src/i18n/pt.json
|
|
@@ -4343,7 +4352,8 @@ var pt_default = {
|
|
|
4343
4352
|
CEXBindApiKey: "Chave API",
|
|
4344
4353
|
CEXBindApiSecretKey: "Chave Secreta API",
|
|
4345
4354
|
CEXBindApiPassphrase: "Senha de API",
|
|
4346
|
-
cancel: "Cancelar"
|
|
4355
|
+
cancel: "Cancelar",
|
|
4356
|
+
walletLoading: "O servi\xE7o de carteira est\xE1 carregando"
|
|
4347
4357
|
};
|
|
4348
4358
|
|
|
4349
4359
|
// src/i18n/index.ts
|
|
@@ -4744,4 +4754,4 @@ export {
|
|
|
4744
4754
|
MatchProvider,
|
|
4745
4755
|
useMatch
|
|
4746
4756
|
};
|
|
4747
|
-
//# sourceMappingURL=chunk-
|
|
4757
|
+
//# sourceMappingURL=chunk-KITTHHSR.mjs.map
|