@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
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { CSSProperties } from 'react';
3
- import { w as IconProps$1 } from '../../types-DzVVzMYU.mjs';
3
+ import { t as IconProps$1 } from '../../types-pQHTwHLr.mjs';
4
4
  import '@tanstack/react-query/src/types';
5
5
 
6
6
  declare function BackIcon({ color, size, className, style }: {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { CSSProperties } from 'react';
3
- import { w as IconProps$1 } from '../../types-DzVVzMYU.js';
3
+ import { t as IconProps$1 } from '../../types-pQHTwHLr.js';
4
4
  import '@tanstack/react-query/src/types';
5
5
 
6
6
  declare function BackIcon({ color, size, className, style }: {
@@ -3688,11 +3688,11 @@ function useUserInfo() {
3688
3688
  return loginByMethod("google");
3689
3689
  };
3690
3690
  const loginByWallet = async () => {
3691
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
3691
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
3692
3692
  };
3693
3693
  const loginByTelegram = async () => {
3694
3694
  return window.open(
3695
- `${endpoints.auth}login/telegram?appid=${appid}`,
3695
+ `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
3696
3696
  // Replace with the actual authorization URL
3697
3697
  "authWindow",
3698
3698
  "width=800,height=600"
@@ -3703,7 +3703,7 @@ function useUserInfo() {
3703
3703
  case "wallet":
3704
3704
  return walletModalStore.open("login", extra?.methods);
3705
3705
  case "evm":
3706
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
3706
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
3707
3707
  case "sol":
3708
3708
  return SOLOpen("login");
3709
3709
  case "tron":
@@ -3764,14 +3764,14 @@ function useUserInfo() {
3764
3764
  if (!token) {
3765
3765
  throw new Error("You must login first");
3766
3766
  }
3767
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
3767
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
3768
3768
  };
3769
3769
  const bindTelegram = async () => {
3770
3770
  if (!token) {
3771
3771
  throw new Error("You must login first");
3772
3772
  }
3773
3773
  const authWindow = window.open(
3774
- `${endpoints.auth}bind/telegram?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)),
3774
+ `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
3775
3775
  // Replace with the actual authorization URL
3776
3776
  "authWindow",
3777
3777
  "width=800,height=600"
@@ -3792,7 +3792,7 @@ function useUserInfo() {
3792
3792
  case "wallet":
3793
3793
  return walletModalStore.open("bind", extra?.methods);
3794
3794
  case "evm":
3795
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
3795
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
3796
3796
  case "sol":
3797
3797
  return SOLOpen("bind");
3798
3798
  case "tron":
@@ -6379,4 +6379,4 @@ export {
6379
6379
  MatchProvider,
6380
6380
  useMatch
6381
6381
  };
6382
- //# sourceMappingURL=chunk-KIVNILBF.mjs.map
6382
+ //# sourceMappingURL=chunk-5JUSQZS5.mjs.map