@matchain/matchid-sdk-react 0.1.53-alpha.0 → 0.1.53-alpha.1
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/assets/icon/index.d.mts +1 -1
- package/dist/assets/icon/index.d.ts +1 -1
- package/dist/{chunk-LRJDS2OK.mjs → chunk-2DVC6WCN.mjs} +2 -2
- package/dist/chunk-2DVC6WCN.mjs.map +1 -0
- package/dist/{chunk-YQHI5BIZ.mjs → chunk-6QTW3KXN.mjs} +2 -2
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- 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.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +1 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-Bsfb3Ysq.d.mts → index-B-QfwtE5.d.mts} +1 -1
- package/dist/{index-Ce5JlNJv.d.ts → index-BDoEk1EK.d.ts} +2 -2
- package/dist/{index-BlYHNOxm.d.ts → index-BUj9mOrS.d.ts} +1 -1
- package/dist/{index-CGx_yc95.d.mts → index-B_o9HBS1.d.mts} +1 -1
- package/dist/{index-C29kl7io.d.mts → index-Bmir-Wor.d.mts} +1 -1
- package/dist/{index-CteYYAoN.d.mts → index-CDqIk5k2.d.mts} +1 -1
- package/dist/{index-CqO8nMTh.d.mts → index-D5OzNRfu.d.mts} +2 -2
- package/dist/{index-CO1j3Cxc.d.ts → index-DMUZQqNB.d.ts} +2 -2
- package/dist/{index-BoIDCH41.d.ts → index-DvM6x6e6.d.ts} +1 -1
- package/dist/{index-C7InzeOC.d.ts → index-X_fw5wX_.d.ts} +1 -1
- package/dist/{index-0EM3dXJ4.d.mts → index-XzSw1Bym.d.mts} +2 -2
- package/dist/{index-BNNgBoTN.d.ts → index-k2Uf0F94.d.ts} +1 -1
- package/dist/index.css +18 -6
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Cv5UhCIP.d.mts → types-Dd_ExpLx.d.mts} +1 -1
- package/dist/{types-Cv5UhCIP.d.ts → types-Dd_ExpLx.d.ts} +1 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/example/dist/assets/{TransportWebHID-BwG9Tbw2.js → TransportWebHID-BEu7tC0r.js} +1 -1
- package/example/dist/assets/{bignumber-FiRdtNkj.js → bignumber-iG7K-qxw.js} +1 -1
- package/example/dist/assets/{ccip-CJyR03AW.js → ccip-a6wQ1Vcb.js} +1 -1
- package/example/dist/assets/{draggabilly-1Sl0icBA.js → draggabilly-CRYR_S0q.js} +1 -1
- package/example/dist/assets/{index-RIWy1Hg7.js → index--dp9m9Ep.js} +1 -1
- package/example/dist/assets/{index-DATAk5xI.js → index-BDTHolFv.js} +1 -1
- package/example/dist/assets/{index-CcgesoWE.js → index-BZl59qLb.js} +20 -20
- package/example/dist/assets/{index-DxxLiL3_.js → index-BmMbYNHO.js} +3 -3
- package/example/dist/assets/{index-D8N4Z5B5.js → index-C7cxVRDF.js} +71 -71
- package/example/dist/assets/{index-BAfSBdWW.js → index-CJk171Yb.js} +1 -1
- package/example/dist/assets/{index-DN1wW-Mo.js → index-CQiBesAa.js} +1 -1
- package/example/dist/assets/{index-D5RU9xxK.js → index-D62loNA9.js} +1 -1
- package/example/dist/assets/{index-CYk2C9XJ.js → index-DqyX3FG6.js} +1 -1
- package/example/dist/assets/{solanaEmbed.esm-CNS-QKE2.js → solanaEmbed.esm-Djn-u4Vn.js} +1 -1
- package/example/dist/index.html +1 -1
- package/example/package.json +2 -1
- package/example/src/App.tsx +18 -5
- package/example/src/store/useLocalStore.ts +9 -0
- package/package.json +1 -1
- package/dist/chunk-LRJDS2OK.mjs.map +0 -1
- /package/dist/{chunk-YQHI5BIZ.mjs.map → chunk-6QTW3KXN.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-Dd_ExpLx.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 { Hash } from 'viem/types/misc';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
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-
|
|
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-Dd_ExpLx.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-BUj9mOrS.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
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-
|
|
3
|
+
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-Dd_ExpLx.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-
|
|
3
|
+
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-Dd_ExpLx.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Dd_ExpLx.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -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 { Q as PohZkpassParams,
|
|
3
|
+
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-Dd_ExpLx.mjs';
|
|
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-
|
|
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-B_o9HBS1.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-
|
|
3
|
+
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-Dd_ExpLx.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-
|
|
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-BUj9mOrS.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-
|
|
3
|
+
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-Dd_ExpLx.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -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 { Q as PohZkpassParams,
|
|
3
|
+
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-Dd_ExpLx.js';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-Dd_ExpLx.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 { Hash } from 'viem/types/misc';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
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-
|
|
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-Dd_ExpLx.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-B_o9HBS1.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Dd_ExpLx.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
package/dist/index.css
CHANGED
|
@@ -54,6 +54,7 @@ body {
|
|
|
54
54
|
|
|
55
55
|
/**overlay component**/
|
|
56
56
|
--matchid-overlay-index: 9999;
|
|
57
|
+
--matchid-overlay-color: var(--matchid-black);
|
|
57
58
|
/**modal component**/
|
|
58
59
|
--matchid-modal-bg: var(--matchid-white);
|
|
59
60
|
--matchid-modal-shadow: var(--matchid-shadow-full);
|
|
@@ -133,6 +134,12 @@ body {
|
|
|
133
134
|
/**radio**/
|
|
134
135
|
--matchid-radio-line: var(--matchid-gray-300);
|
|
135
136
|
--matchid-radio-checked: var(--matchid-highlight-orange);
|
|
137
|
+
/**matchid-wallet-asset**/
|
|
138
|
+
--matchid-wallet-asset-bg: var(--matchid-white);
|
|
139
|
+
--matchid-wallet-asset-color: var(--matchid-black);
|
|
140
|
+
/**matchid-transaction-list**/
|
|
141
|
+
--matchid-wallet-transaction-bg: var(--matchid-white);
|
|
142
|
+
--matchid-wallet-transaction-color: var(--matchid-black);
|
|
136
143
|
|
|
137
144
|
|
|
138
145
|
}
|
|
@@ -393,7 +400,7 @@ body {
|
|
|
393
400
|
overflow: hidden;
|
|
394
401
|
backdrop-filter: blur(2px);
|
|
395
402
|
background: rgba(0, 0, 0, .3);
|
|
396
|
-
color
|
|
403
|
+
color:var(--matchid-overlay-color);
|
|
397
404
|
@media screen and (max-width: 768px) {
|
|
398
405
|
align-items: center;
|
|
399
406
|
}
|
|
@@ -449,8 +456,8 @@ body {
|
|
|
449
456
|
|
|
450
457
|
.matchid-modal-header-title {
|
|
451
458
|
color: var(--matchid-modal-header-color, #000);
|
|
452
|
-
font-size:
|
|
453
|
-
font-weight:
|
|
459
|
+
font-size: 20px;
|
|
460
|
+
font-weight: 500;
|
|
454
461
|
@media screen and (max-width: 768px) {
|
|
455
462
|
font-size: 16px;
|
|
456
463
|
font-weight: 500;
|
|
@@ -496,7 +503,7 @@ body {
|
|
|
496
503
|
outline: 0;
|
|
497
504
|
color: var(--matchid-input-color);
|
|
498
505
|
font-size: 18px;
|
|
499
|
-
font-weight:
|
|
506
|
+
font-weight: 500;
|
|
500
507
|
background: none;
|
|
501
508
|
min-width: 0;
|
|
502
509
|
@media screen and (max-width: 768px) {
|
|
@@ -553,7 +560,7 @@ body {
|
|
|
553
560
|
.matchid-field-label {
|
|
554
561
|
color: var(--matchid-field-color);
|
|
555
562
|
font-size: 18px;
|
|
556
|
-
font-weight:
|
|
563
|
+
font-weight: 500;
|
|
557
564
|
@media screen and (max-width: 768px) {
|
|
558
565
|
font-size: 14px;
|
|
559
566
|
font-weight: 500;
|
|
@@ -566,7 +573,7 @@ body {
|
|
|
566
573
|
|
|
567
574
|
.matchid-field-error {
|
|
568
575
|
font-size: 14px;
|
|
569
|
-
font-weight:
|
|
576
|
+
font-weight: 400;
|
|
570
577
|
color: var(--matchid-field-error-color);
|
|
571
578
|
}
|
|
572
579
|
}
|
|
@@ -1344,6 +1351,9 @@ body {
|
|
|
1344
1351
|
}
|
|
1345
1352
|
|
|
1346
1353
|
.matchid-wallet-asset-item {
|
|
1354
|
+
|
|
1355
|
+
background:var(--matchid-wallet-asset-bg);
|
|
1356
|
+
color: var(--matchid-wallet-asset-color);
|
|
1347
1357
|
display: flex;
|
|
1348
1358
|
cursor: pointer;
|
|
1349
1359
|
gap: 8px;
|
|
@@ -1830,6 +1840,8 @@ body {
|
|
|
1830
1840
|
border: 1px solid var(--matchid-line);
|
|
1831
1841
|
border-radius: 16px;
|
|
1832
1842
|
height: 78px;
|
|
1843
|
+
background:var(--matchid-wallet-transaction-bg);
|
|
1844
|
+
color: var(--matchid-wallet-transaction-color);
|
|
1833
1845
|
@media screen and (max-width: 768px) {
|
|
1834
1846
|
height: 64px;
|
|
1835
1847
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.mjs';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B-QfwtE5.mjs';
|
|
4
|
+
export { i as Components } from './index-XzSw1Bym.mjs';
|
|
5
|
+
export { i as UI } from './index-D5OzNRfu.mjs';
|
|
6
|
+
export { i as Api } from './index-CDqIk5k2.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-Bmir-Wor.mjs';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,7 +13,7 @@ import 'abitype';
|
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
14
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-B_o9HBS1.mjs';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Dd_ExpLx.js';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-X_fw5wX_.js';
|
|
4
|
+
export { i as Components } from './index-BDoEk1EK.js';
|
|
5
|
+
export { i as UI } from './index-DMUZQqNB.js';
|
|
6
|
+
export { i as Api } from './index-DvM6x6e6.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-k2Uf0F94.js';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,7 +13,7 @@ import 'abitype';
|
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
14
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-BUj9mOrS.js';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|
package/dist/index.js
CHANGED
|
@@ -2030,7 +2030,7 @@ function useUserInfo() {
|
|
|
2030
2030
|
case "evm":
|
|
2031
2031
|
return window.open(`${endpoints.auth}login/wallet?appid=${appid}&locale=${locale}`);
|
|
2032
2032
|
case "sol":
|
|
2033
|
-
return
|
|
2033
|
+
return window.open(`${endpoints.auth}login/sol?appid=${appid}&locale=${locale}`);
|
|
2034
2034
|
case "tron":
|
|
2035
2035
|
return TRONOpen("login");
|
|
2036
2036
|
case "ton":
|