@matchain/matchid-sdk-react 0.1.48-alpha.30 → 0.1.48-alpha.32

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.
Files changed (46) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/{chunk-KIVNILBF.mjs → chunk-5JUSQZS5.mjs} +7 -7
  4. package/dist/chunk-5JUSQZS5.mjs.map +1 -0
  5. package/dist/{chunk-YJV23RET.mjs → chunk-7GBTBRSQ.mjs} +2 -2
  6. package/dist/components/index.d.mts +3 -3
  7. package/dist/components/index.d.ts +3 -3
  8. package/dist/components/index.js +6 -6
  9. package/dist/components/index.js.map +1 -1
  10. package/dist/components/index.mjs +2 -2
  11. package/dist/hooks/api/index.d.mts +2 -2
  12. package/dist/hooks/api/index.d.ts +2 -2
  13. package/dist/hooks/api/index.js +6 -6
  14. package/dist/hooks/api/index.js.map +1 -1
  15. package/dist/hooks/api/index.mjs +3 -3
  16. package/dist/hooks/index.d.mts +2 -2
  17. package/dist/hooks/index.d.ts +2 -2
  18. package/dist/hooks/index.js +6 -6
  19. package/dist/hooks/index.js.map +1 -1
  20. package/dist/hooks/index.mjs +2 -2
  21. package/dist/{index-BcEreCxd.d.ts → index-3I6HO7pu.d.ts} +1 -1
  22. package/dist/{index-Bpmrd7mh.d.ts → index-BGhcUCaf.d.ts} +1 -1
  23. package/dist/{index-Cou96DpL.d.mts → index-BXUU8PRO.d.mts} +1 -1
  24. package/dist/{index-Cy3K-Yao.d.ts → index-C1SOElvD.d.ts} +1 -1
  25. package/dist/{index-C9F6f2iz.d.mts → index-CfNpZBzs.d.mts} +2 -2
  26. package/dist/{index-BMsj8hJv.d.ts → index-Cg9cddpr.d.ts} +2 -2
  27. package/dist/{index-BMfaixEx.d.mts → index-CiVpdQxz.d.mts} +1 -1
  28. package/dist/{index-DUHkH5t-.d.mts → index-CjCngqWS.d.mts} +1 -1
  29. package/dist/{index-DcQm2dkr.d.ts → index-GXwzr_ck.d.ts} +1 -1
  30. package/dist/{index-D4ju2J_e.d.mts → index-UiH7pXQW.d.mts} +1 -1
  31. package/dist/{index-Bvc8cjpN.d.ts → index-lY7YfVRh.d.ts} +2 -2
  32. package/dist/{index-C9qYyRgt.d.mts → index-u1AE9im5.d.mts} +2 -2
  33. package/dist/index.d.mts +7 -7
  34. package/dist/index.d.ts +7 -7
  35. package/dist/index.js +6 -6
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +8 -8
  38. package/dist/types/index.d.mts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/dist/{types-DzVVzMYU.d.mts → types-pQHTwHLr.d.mts} +1 -1
  41. package/dist/{types-DzVVzMYU.d.ts → types-pQHTwHLr.d.ts} +1 -1
  42. package/dist/ui/index.d.mts +3 -3
  43. package/dist/ui/index.d.ts +3 -3
  44. package/package.json +1 -1
  45. package/dist/chunk-KIVNILBF.mjs.map +0 -1
  46. /package/dist/{chunk-YJV23RET.mjs.map → chunk-7GBTBRSQ.mjs.map} +0 -0
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-KIVNILBF.mjs";
14
+ } from "./chunk-5JUSQZS5.mjs";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-J5LGTIGS.mjs";
@@ -94,4 +94,4 @@ export {
94
94
  user_exports,
95
95
  api_exports
96
96
  };
97
- //# sourceMappingURL=chunk-YJV23RET.mjs.map
97
+ //# sourceMappingURL=chunk-7GBTBRSQ.mjs.map
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-C9qYyRgt.mjs';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-Cou96DpL.mjs';
1
+ export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-u1AE9im5.mjs';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BXUU8PRO.mjs';
3
3
  import 'react/jsx-runtime';
4
- import '../types-DzVVzMYU.mjs';
4
+ import '../types-pQHTwHLr.mjs';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-Bvc8cjpN.js';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BcEreCxd.js';
1
+ export { B as BTCModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, S as SOLModal, d as TONModal, T as TRONModal, f as TokenDetail, g as TokenSend, h as TokenSendList, j as TransactionList, U as UsernameModal, e as WalletAsset, W as WalletModal } from '../index-lY7YfVRh.js';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-3I6HO7pu.js';
3
3
  import 'react/jsx-runtime';
4
- import '../types-DzVVzMYU.js';
4
+ import '../types-pQHTwHLr.js';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -3173,11 +3173,11 @@ function useUserInfo() {
3173
3173
  return loginByMethod("google");
3174
3174
  };
3175
3175
  const loginByWallet = async () => {
3176
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
3176
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
3177
3177
  };
3178
3178
  const loginByTelegram = async () => {
3179
3179
  return window.open(
3180
- `${endpoints.auth}login/telegram?appid=${appid}`,
3180
+ `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
3181
3181
  // Replace with the actual authorization URL
3182
3182
  "authWindow",
3183
3183
  "width=800,height=600"
@@ -3188,7 +3188,7 @@ function useUserInfo() {
3188
3188
  case "wallet":
3189
3189
  return walletModalStore.open("login", extra?.methods);
3190
3190
  case "evm":
3191
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
3191
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
3192
3192
  case "sol":
3193
3193
  return SOLOpen("login");
3194
3194
  case "tron":
@@ -3249,14 +3249,14 @@ function useUserInfo() {
3249
3249
  if (!token) {
3250
3250
  throw new Error("You must login first");
3251
3251
  }
3252
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
3252
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
3253
3253
  };
3254
3254
  const bindTelegram = async () => {
3255
3255
  if (!token) {
3256
3256
  throw new Error("You must login first");
3257
3257
  }
3258
3258
  const authWindow = window.open(
3259
- `${endpoints.auth}bind/telegram?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)),
3259
+ `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
3260
3260
  // Replace with the actual authorization URL
3261
3261
  "authWindow",
3262
3262
  "width=800,height=600"
@@ -3277,7 +3277,7 @@ function useUserInfo() {
3277
3277
  case "wallet":
3278
3278
  return walletModalStore.open("bind", extra?.methods);
3279
3279
  case "evm":
3280
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
3280
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
3281
3281
  case "sol":
3282
3282
  return SOLOpen("bind");
3283
3283
  case "tron":