@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
@@ -15,8 +15,7 @@ import {
15
15
  UsernameModal,
16
16
  WalletAsset,
17
17
  WalletModal
18
- } from "../chunk-KIVNILBF.mjs";
19
- import "../chunk-UA6XHZHX.mjs";
18
+ } from "../chunk-5JUSQZS5.mjs";
20
19
  import {
21
20
  Button,
22
21
  Field,
@@ -28,6 +27,7 @@ import {
28
27
  } from "../chunk-FB5MHLWX.mjs";
29
28
  import "../chunk-5JHHHLG4.mjs";
30
29
  import "../chunk-LHNKZISB.mjs";
30
+ import "../chunk-UA6XHZHX.mjs";
31
31
  import "../chunk-J5LGTIGS.mjs";
32
32
  export {
33
33
  BTCModal,
@@ -1,5 +1,5 @@
1
- export { b as bind, a as isSuccess, p as poh, u as user, w as wallet } from '../../index-D4ju2J_e.mjs';
1
+ export { b as bind, a as isSuccess, p as poh, u as user, w as wallet } from '../../index-UiH7pXQW.mjs';
2
2
  import '@tanstack/react-query';
3
3
  import '@tanstack/react-query/src/types';
4
- import '../../types-DzVVzMYU.mjs';
4
+ import '../../types-pQHTwHLr.mjs';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- export { b as bind, a as isSuccess, p as poh, u as user, w as wallet } from '../../index-Cy3K-Yao.js';
1
+ export { b as bind, a as isSuccess, p as poh, u as user, w as wallet } from '../../index-C1SOElvD.js';
2
2
  import '@tanstack/react-query';
3
3
  import '@tanstack/react-query/src/types';
4
- import '../../types-DzVVzMYU.js';
4
+ import '../../types-pQHTwHLr.js';
5
5
  import 'react';
@@ -1299,11 +1299,11 @@ function useUserInfo() {
1299
1299
  return loginByMethod("google");
1300
1300
  };
1301
1301
  const loginByWallet = async () => {
1302
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
1302
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
1303
1303
  };
1304
1304
  const loginByTelegram = async () => {
1305
1305
  return window.open(
1306
- `${endpoints.auth}login/telegram?appid=${appid}`,
1306
+ `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
1307
1307
  // Replace with the actual authorization URL
1308
1308
  "authWindow",
1309
1309
  "width=800,height=600"
@@ -1314,7 +1314,7 @@ function useUserInfo() {
1314
1314
  case "wallet":
1315
1315
  return walletModalStore.open("login", extra?.methods);
1316
1316
  case "evm":
1317
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
1317
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
1318
1318
  case "sol":
1319
1319
  return SOLOpen("login");
1320
1320
  case "tron":
@@ -1375,14 +1375,14 @@ function useUserInfo() {
1375
1375
  if (!token) {
1376
1376
  throw new Error("You must login first");
1377
1377
  }
1378
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
1378
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
1379
1379
  };
1380
1380
  const bindTelegram = async () => {
1381
1381
  if (!token) {
1382
1382
  throw new Error("You must login first");
1383
1383
  }
1384
1384
  const authWindow = window.open(
1385
- `${endpoints.auth}bind/telegram?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)),
1385
+ `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
1386
1386
  // Replace with the actual authorization URL
1387
1387
  "authWindow",
1388
1388
  "width=800,height=600"
@@ -1403,7 +1403,7 @@ function useUserInfo() {
1403
1403
  case "wallet":
1404
1404
  return walletModalStore.open("bind", extra?.methods);
1405
1405
  case "evm":
1406
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
1406
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
1407
1407
  case "sol":
1408
1408
  return SOLOpen("bind");
1409
1409
  case "tron":