@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
@@ -12,13 +12,13 @@ import {
12
12
  useTransaction,
13
13
  useUserInfo,
14
14
  useWallet
15
- } from "../chunk-KIVNILBF.mjs";
16
- import "../chunk-UA6XHZHX.mjs";
15
+ } from "../chunk-5JUSQZS5.mjs";
17
16
  import {
18
17
  useLayout_exports
19
18
  } from "../chunk-FB5MHLWX.mjs";
20
19
  import "../chunk-5JHHHLG4.mjs";
21
20
  import "../chunk-LHNKZISB.mjs";
21
+ import "../chunk-UA6XHZHX.mjs";
22
22
  import "../chunk-J5LGTIGS.mjs";
23
23
  export {
24
24
  useCopyClipboard,
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, PropsWithChildren } from 'react';
3
- import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-DzVVzMYU.js';
3
+ import { q as InputProps, B as ButtonProps, r as ModalProps, M as ModalWithHeaderProps, s as PopoverProps } from './types-pQHTwHLr.js';
4
4
 
5
5
  declare function Field({ label, children, error, required, className }: {
6
6
  label: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.js';
2
- import { A as Address, k as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, n as UserAssetToken, U as UserChainType, m as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, l as UserTransactionType, g as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.js';
2
+ import { A as Address, d as AnyObject, N as AppConfigType, F as BindInfoType, z as BindItemType, Q as BindWalletParam, B as ButtonProps, C as CEXType, S as DeepPartial, D as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, T as IEnvName, V as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, t as IconProps, q as InputProps, L as LocaleType, i as LoginBoxProps, c as LoginMethodType, n as LoginModalProps, m as LoginPanelProps, X as MessageType, y as MetaPageType, r as ModalProps, M as ModalWithHeaderProps, j as OtherLoginMethodType, O as OverviewInfo, G as PohItemType, v as PohZkpassParams, P as PopoverPositionType, s as PopoverProps, l as PopoverTypeType, R as RecommendLoginMethodType, Y as ThemeType, p as UIProps, g as UserAssetToken, U as UserChainType, f as UserImportTokenType, Z as UserPopoverProps, w as UserTransactionNextPageParams, _ as UserTransactionRecordType, e as UserTransactionType, h as WalletAssetMergeType, x as WalletAssetType, J as WalletChainType, W as WalletConfigType, K as WalletNFTType, o as WalletPanelProps, $ as WalletReceiveMessageType, k as WalletType, u as useMatchWalletAssetsProps } from './types-pQHTwHLr.js';
3
3
 
4
4
  declare const index_Address: typeof Address;
5
5
  declare const index_AnyObject: typeof AnyObject;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, PropsWithChildren } from 'react';
3
- import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-DzVVzMYU.mjs';
3
+ import { q as InputProps, B as ButtonProps, r as ModalProps, M as ModalWithHeaderProps, s as PopoverProps } from './types-pQHTwHLr.mjs';
4
4
 
5
5
  declare function Field({ label, children, error, required, className }: {
6
6
  label: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { J as PohZkpassParams, l as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, n as UserAssetToken, m as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-DzVVzMYU.js';
3
+ import { v as PohZkpassParams, e as UserTransactionType, w as UserTransactionNextPageParams, x as WalletAssetType, y as MetaPageType, z as BindItemType, F as BindInfoType, G as PohItemType, U as UserChainType, g as UserAssetToken, f as UserImportTokenType, J as WalletChainType, K as WalletNFTType } from './types-pQHTwHLr.js';
4
4
 
5
5
  declare const isSuccess: (res: {
6
6
  code: number;
@@ -1,6 +1,6 @@
1
- import { 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
+ import { 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';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-DzVVzMYU.mjs';
3
+ import { D as DrawerProps, o as WalletPanelProps, p as UIProps } from './types-pQHTwHLr.mjs';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import { CSSProperties } from 'react';
6
6
 
@@ -1,6 +1,6 @@
1
- import { 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
+ import { 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';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-DzVVzMYU.js';
3
+ import { D as DrawerProps, o as WalletPanelProps, p as UIProps } from './types-pQHTwHLr.js';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import { CSSProperties } from 'react';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.mjs';
2
- import { A as Address, k as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, n as UserAssetToken, U as UserChainType, m as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, l as UserTransactionType, g as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.mjs';
2
+ import { A as Address, d as AnyObject, N as AppConfigType, F as BindInfoType, z as BindItemType, Q as BindWalletParam, B as ButtonProps, C as CEXType, S as DeepPartial, D as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, T as IEnvName, V as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, t as IconProps, q as InputProps, L as LocaleType, i as LoginBoxProps, c as LoginMethodType, n as LoginModalProps, m as LoginPanelProps, X as MessageType, y as MetaPageType, r as ModalProps, M as ModalWithHeaderProps, j as OtherLoginMethodType, O as OverviewInfo, G as PohItemType, v as PohZkpassParams, P as PopoverPositionType, s as PopoverProps, l as PopoverTypeType, R as RecommendLoginMethodType, Y as ThemeType, p as UIProps, g as UserAssetToken, U as UserChainType, f as UserImportTokenType, Z as UserPopoverProps, w as UserTransactionNextPageParams, _ as UserTransactionRecordType, e as UserTransactionType, h as WalletAssetMergeType, x as WalletAssetType, J as WalletChainType, W as WalletConfigType, K as WalletNFTType, o as WalletPanelProps, $ as WalletReceiveMessageType, k as WalletType, u as useMatchWalletAssetsProps } from './types-pQHTwHLr.mjs';
3
3
 
4
4
  declare const index_Address: typeof Address;
5
5
  declare const index_AnyObject: typeof AnyObject;
@@ -1,4 +1,4 @@
1
- import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, k as AnyObject, l as UserTransactionType, u as useMatchWalletAssetsProps, m as UserImportTokenType, n as UserAssetToken, g as WalletAssetMergeType } from './types-DzVVzMYU.mjs';
1
+ import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, d as AnyObject, e as UserTransactionType, u as useMatchWalletAssetsProps, f as UserImportTokenType, g as UserAssetToken, h as WalletAssetMergeType } from './types-pQHTwHLr.mjs';
2
2
  import * as viem from 'viem';
3
3
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
4
  import { C as ChainType } from './mpc-CTbBWHld.mjs';
@@ -1,4 +1,4 @@
1
- import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, k as AnyObject, l as UserTransactionType, u as useMatchWalletAssetsProps, m as UserImportTokenType, n as UserAssetToken, g as WalletAssetMergeType } from './types-DzVVzMYU.js';
1
+ import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, d as AnyObject, e as UserTransactionType, u as useMatchWalletAssetsProps, f as UserImportTokenType, g as UserAssetToken, h as WalletAssetMergeType } from './types-pQHTwHLr.js';
2
2
  import * as viem from 'viem';
3
3
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
4
  import { C as ChainType } from './mpc-CTbBWHld.js';
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { J as PohZkpassParams, l as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, n as UserAssetToken, m as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-DzVVzMYU.mjs';
3
+ import { v as PohZkpassParams, e as UserTransactionType, w as UserTransactionNextPageParams, x as WalletAssetType, y as MetaPageType, z as BindItemType, F as BindInfoType, G as PohItemType, U as UserChainType, g as UserAssetToken, f as UserImportTokenType, J as WalletChainType, K as WalletNFTType } from './types-pQHTwHLr.mjs';
4
4
 
5
5
  declare const isSuccess: (res: {
6
6
  code: number;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.js';
3
- import { 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';
2
+ import { E as EmailModalProps, i as LoginBoxProps, B as ButtonProps, j as OtherLoginMethodType, R as RecommendLoginMethodType, k as WalletType, P as PopoverPositionType, l as PopoverTypeType, m as LoginPanelProps, n as LoginModalProps, M as ModalWithHeaderProps, h as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-pQHTwHLr.js';
3
+ import { 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';
4
4
  import { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.mjs';
3
- import { 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';
2
+ import { E as EmailModalProps, i as LoginBoxProps, B as ButtonProps, j as OtherLoginMethodType, R as RecommendLoginMethodType, k as WalletType, P as PopoverPositionType, l as PopoverTypeType, m as LoginPanelProps, n as LoginModalProps, M as ModalWithHeaderProps, h as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-pQHTwHLr.mjs';
3
+ import { 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';
4
4
  import { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
package/dist/index.d.mts CHANGED
@@ -1,14 +1,14 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DzVVzMYU.mjs';
3
- export { i as Components } from './index-C9qYyRgt.mjs';
4
- export { i as UI } from './index-C9F6f2iz.mjs';
5
- export { i as Hooks } from './index-DUHkH5t-.mjs';
6
- export { i as Api } from './index-D4ju2J_e.mjs';
2
+ import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-pQHTwHLr.mjs';
3
+ export { i as Components } from './index-u1AE9im5.mjs';
4
+ export { i as UI } from './index-CfNpZBzs.mjs';
5
+ export { i as Hooks } from './index-CjCngqWS.mjs';
6
+ export { i as Api } from './index-UiH7pXQW.mjs';
7
7
  export { i as Chains } from './index-DXRGMAbv.mjs';
8
- export { i as Types } from './index-BMfaixEx.mjs';
8
+ export { i as Types } from './index-CiVpdQxz.mjs';
9
9
  import '@tanstack/react-query/src/types';
10
10
  import 'react/jsx-runtime';
11
- import './index-Cou96DpL.mjs';
11
+ import './index-BXUU8PRO.mjs';
12
12
  import 'viem';
13
13
  import './mpc-CTbBWHld.mjs';
14
14
  import 'viem/types/misc';
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DzVVzMYU.js';
3
- export { i as Components } from './index-Bvc8cjpN.js';
4
- export { i as UI } from './index-BMsj8hJv.js';
5
- export { i as Hooks } from './index-DcQm2dkr.js';
6
- export { i as Api } from './index-Cy3K-Yao.js';
2
+ import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-pQHTwHLr.js';
3
+ export { i as Components } from './index-lY7YfVRh.js';
4
+ export { i as UI } from './index-Cg9cddpr.js';
5
+ export { i as Hooks } from './index-GXwzr_ck.js';
6
+ export { i as Api } from './index-C1SOElvD.js';
7
7
  export { i as Chains } from './index-DXRGMAbv.js';
8
- export { i as Types } from './index-Bpmrd7mh.js';
8
+ export { i as Types } from './index-BGhcUCaf.js';
9
9
  import '@tanstack/react-query/src/types';
10
10
  import 'react/jsx-runtime';
11
- import './index-BcEreCxd.js';
11
+ import './index-3I6HO7pu.js';
12
12
  import 'viem';
13
13
  import './mpc-CTbBWHld.js';
14
14
  import 'viem/types/misc';
package/dist/index.js CHANGED
@@ -1957,11 +1957,11 @@ function useUserInfo() {
1957
1957
  return loginByMethod("google");
1958
1958
  };
1959
1959
  const loginByWallet = async () => {
1960
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
1960
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
1961
1961
  };
1962
1962
  const loginByTelegram = async () => {
1963
1963
  return window.open(
1964
- `${endpoints.auth}login/telegram?appid=${appid}`,
1964
+ `${endpoints.auth}login/telegram?appid=${appid}&locale=${locale}`,
1965
1965
  // Replace with the actual authorization URL
1966
1966
  "authWindow",
1967
1967
  "width=800,height=600"
@@ -1972,7 +1972,7 @@ function useUserInfo() {
1972
1972
  case "wallet":
1973
1973
  return walletModalStore.open("login", extra?.methods);
1974
1974
  case "evm":
1975
- return window.open(`${endpoints.auth}login/wallet?appid=${appid}`);
1975
+ return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
1976
1976
  case "sol":
1977
1977
  return SOLOpen("login");
1978
1978
  case "tron":
@@ -2033,14 +2033,14 @@ function useUserInfo() {
2033
2033
  if (!token) {
2034
2034
  throw new Error("You must login first");
2035
2035
  }
2036
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
2036
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
2037
2037
  };
2038
2038
  const bindTelegram = async () => {
2039
2039
  if (!token) {
2040
2040
  throw new Error("You must login first");
2041
2041
  }
2042
2042
  const authWindow = window.open(
2043
- `${endpoints.auth}bind/telegram?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)),
2043
+ `${endpoints.auth}bind/telegram?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)),
2044
2044
  // Replace with the actual authorization URL
2045
2045
  "authWindow",
2046
2046
  "width=800,height=600"
@@ -2061,7 +2061,7 @@ function useUserInfo() {
2061
2061
  case "wallet":
2062
2062
  return walletModalStore.open("bind", extra?.methods);
2063
2063
  case "evm":
2064
- return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&st=` + encodeURIComponent(encodeBase64(token)));
2064
+ return window.open(`${endpoints.auth}bind/wallet?appid=${appid}&locale=${locale}&st=` + encodeURIComponent(encodeBase64(token)));
2065
2065
  case "sol":
2066
2066
  return SOLOpen("bind");
2067
2067
  case "tron":