@matchain/matchid-sdk-react 0.1.56-alpha.12 → 0.1.56-alpha.13
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/api.d.mts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +83 -44
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-44JQQ34F.mjs → chunk-7K4E64WH.mjs} +2 -2
- package/dist/{chunk-DUSDBXBT.mjs → chunk-RPATABCS.mjs} +164 -124
- package/dist/chunk-RPATABCS.mjs.map +1 -0
- package/dist/components.d.mts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +151 -122
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.d.mts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +39 -0
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/icon.d.mts +2 -2
- package/dist/icon.d.ts +2 -2
- package/dist/{index-DxHhOW24.d.mts → index-BLjGmf9p.d.mts} +2 -2
- package/dist/{index-BNqdFiOo.d.ts → index-BXhXRggh.d.ts} +1 -1
- package/dist/{index-uB9jBjgs.d.mts → index-Bjb30oE3.d.mts} +35 -31
- package/dist/{index-hz9v-CNJ.d.ts → index-CPnKc6o4.d.ts} +35 -31
- package/dist/{index-CcVHENNv.d.ts → index-CpJtux-G.d.ts} +1 -1
- package/dist/{index-DVlulZhE.d.mts → index-CqHlL6ue.d.mts} +3 -3
- package/dist/{index-DkijpM5Q.d.mts → index-CzCkxwOm.d.mts} +1 -1
- package/dist/{index-84CqVi2I.d.mts → index-DCyE39bg.d.mts} +1 -1
- package/dist/{index-BctnHnJp.d.ts → index-DGsB7f2H.d.ts} +1 -1
- package/dist/{index-Cqdz_5bE.d.ts → index-DQYg6bEA.d.ts} +2 -2
- package/dist/{index-qmC4zt6V.d.ts → index-DZpXCByF.d.ts} +3 -3
- package/dist/{index-Car1jFyN.d.mts → index-De8efmdb.d.mts} +1 -1
- package/dist/{index-BqI0PEIi.d.mts → index-DuCefmJ0.d.mts} +1 -1
- package/dist/{index-CvzpMw3N.d.ts → index-m2bn_W3Y.d.ts} +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +163 -123
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{types-BrVeC0c8.d.mts → types-C8FLH1yn.d.mts} +1 -0
- package/dist/{types-BrVeC0c8.d.ts → types-C8FLH1yn.d.ts} +1 -0
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/ui.d.mts +3 -3
- package/dist/ui.d.ts +3 -3
- package/dist/ui.js +6 -0
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/example/src/App.tsx +61 -61
- package/example/src/config/index.ts +8 -6
- package/example/src/pages/Home.tsx +15 -15
- package/example/src/store/useLocalStore.ts +19 -19
- package/example/yarn.lock +1384 -0
- package/package.json +1 -1
- package/dist/chunk-DUSDBXBT.mjs.map +0 -1
- /package/dist/{chunk-44JQQ34F.mjs.map → chunk-7K4E64WH.mjs.map} +0 -0
package/dist/hooks.mjs
CHANGED
package/dist/icon.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, _ as CheckboxCheckedIcon, Z as CheckboxIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, $ as InputLengthIcon, a0 as KakaoIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, a1 as MatchIdIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from './index-
|
|
1
|
+
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, _ as CheckboxCheckedIcon, Z as CheckboxIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, $ as InputLengthIcon, a0 as KakaoIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, a1 as MatchIdIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from './index-CzCkxwOm.mjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-C8FLH1yn.mjs';
|
|
5
5
|
import '@tanstack/react-query/src/types';
|
package/dist/icon.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, _ as CheckboxCheckedIcon, Z as CheckboxIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, $ as InputLengthIcon, a0 as KakaoIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, a1 as MatchIdIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from './index-
|
|
1
|
+
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, _ as CheckboxCheckedIcon, Z as CheckboxIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, $ as InputLengthIcon, a0 as KakaoIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, a1 as MatchIdIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from './index-DGsB7f2H.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-C8FLH1yn.js';
|
|
5
5
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, C as ConfirmModal, 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, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DuCefmJ0.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-
|
|
3
|
+
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-C8FLH1yn.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default, { CSSProperties } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-C8FLH1yn.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
-
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
2
|
+
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-C8FLH1yn.mjs';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { SignableMessage, Hex, TransactionSerializable, Account, WalletClientConfig, createWalletClient, SendTransactionParameters, DeployContractParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -92,6 +92,10 @@ declare function useUserInfo(): {
|
|
|
92
92
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
93
93
|
[key: string]: any;
|
|
94
94
|
}) => Promise<string | void | Window | null>;
|
|
95
|
+
bindByEmail: ({ email, code }: {
|
|
96
|
+
email: string;
|
|
97
|
+
code: string;
|
|
98
|
+
}) => Promise<boolean>;
|
|
95
99
|
getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
|
|
96
100
|
invite: (invite_code: string) => Promise<MyResponseType<any>>;
|
|
97
101
|
};
|
|
@@ -214,12 +218,12 @@ declare function useMatchChain(): {
|
|
|
214
218
|
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
215
219
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
216
220
|
transactions: includeTransactions extends true ? ({
|
|
217
|
-
value: bigint;
|
|
218
|
-
s: viem.Hex;
|
|
219
|
-
r: viem.Hex;
|
|
220
221
|
type: "legacy";
|
|
221
222
|
nonce: number;
|
|
222
223
|
chainId?: number | undefined;
|
|
224
|
+
s: viem.Hex;
|
|
225
|
+
r: viem.Hex;
|
|
226
|
+
value: bigint;
|
|
223
227
|
input: viem.Hex;
|
|
224
228
|
v: bigint;
|
|
225
229
|
yParity?: undefined | undefined;
|
|
@@ -239,12 +243,12 @@ declare function useMatchChain(): {
|
|
|
239
243
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never;
|
|
240
244
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
241
245
|
} | {
|
|
242
|
-
value: bigint;
|
|
243
|
-
s: viem.Hex;
|
|
244
|
-
r: viem.Hex;
|
|
245
246
|
type: "eip2930";
|
|
246
247
|
nonce: number;
|
|
247
248
|
chainId: number;
|
|
249
|
+
s: viem.Hex;
|
|
250
|
+
r: viem.Hex;
|
|
251
|
+
value: bigint;
|
|
248
252
|
input: viem.Hex;
|
|
249
253
|
v: bigint;
|
|
250
254
|
yParity: number;
|
|
@@ -264,12 +268,12 @@ declare function useMatchChain(): {
|
|
|
264
268
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never;
|
|
265
269
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
|
|
266
270
|
} | {
|
|
267
|
-
value: bigint;
|
|
268
|
-
s: viem.Hex;
|
|
269
|
-
r: viem.Hex;
|
|
270
271
|
type: "eip1559";
|
|
271
272
|
nonce: number;
|
|
272
273
|
chainId: number;
|
|
274
|
+
s: viem.Hex;
|
|
275
|
+
r: viem.Hex;
|
|
276
|
+
value: bigint;
|
|
273
277
|
input: viem.Hex;
|
|
274
278
|
v: bigint;
|
|
275
279
|
yParity: number;
|
|
@@ -289,12 +293,12 @@ declare function useMatchChain(): {
|
|
|
289
293
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never;
|
|
290
294
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
|
|
291
295
|
} | {
|
|
292
|
-
value: bigint;
|
|
293
|
-
s: viem.Hex;
|
|
294
|
-
r: viem.Hex;
|
|
295
296
|
type: "eip4844";
|
|
296
297
|
nonce: number;
|
|
297
298
|
chainId: number;
|
|
299
|
+
s: viem.Hex;
|
|
300
|
+
r: viem.Hex;
|
|
301
|
+
value: bigint;
|
|
298
302
|
input: viem.Hex;
|
|
299
303
|
v: bigint;
|
|
300
304
|
yParity: number;
|
|
@@ -314,12 +318,12 @@ declare function useMatchChain(): {
|
|
|
314
318
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
315
319
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
|
|
316
320
|
} | {
|
|
317
|
-
value: bigint;
|
|
318
|
-
s: viem.Hex;
|
|
319
|
-
r: viem.Hex;
|
|
320
321
|
type: "eip7702";
|
|
321
322
|
nonce: number;
|
|
322
323
|
chainId: number;
|
|
324
|
+
s: viem.Hex;
|
|
325
|
+
r: viem.Hex;
|
|
326
|
+
value: bigint;
|
|
323
327
|
input: viem.Hex;
|
|
324
328
|
v: bigint;
|
|
325
329
|
yParity: number;
|
|
@@ -364,12 +368,12 @@ declare function useMatchChain(): {
|
|
|
364
368
|
} | undefined) => Promise<viem.EstimateMaxPriorityFeePerGasReturnType>;
|
|
365
369
|
getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
|
|
366
370
|
getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
|
|
367
|
-
value: bigint;
|
|
368
|
-
s: viem.Hex;
|
|
369
|
-
r: viem.Hex;
|
|
370
371
|
type: "legacy";
|
|
371
372
|
nonce: number;
|
|
372
373
|
chainId?: number | undefined;
|
|
374
|
+
s: viem.Hex;
|
|
375
|
+
r: viem.Hex;
|
|
376
|
+
value: bigint;
|
|
373
377
|
input: viem.Hex;
|
|
374
378
|
v: bigint;
|
|
375
379
|
yParity?: undefined | undefined;
|
|
@@ -389,12 +393,12 @@ declare function useMatchChain(): {
|
|
|
389
393
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never;
|
|
390
394
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
391
395
|
} | {
|
|
392
|
-
value: bigint;
|
|
393
|
-
s: viem.Hex;
|
|
394
|
-
r: viem.Hex;
|
|
395
396
|
type: "eip2930";
|
|
396
397
|
nonce: number;
|
|
397
398
|
chainId: number;
|
|
399
|
+
s: viem.Hex;
|
|
400
|
+
r: viem.Hex;
|
|
401
|
+
value: bigint;
|
|
398
402
|
input: viem.Hex;
|
|
399
403
|
v: bigint;
|
|
400
404
|
yParity: number;
|
|
@@ -414,12 +418,12 @@ declare function useMatchChain(): {
|
|
|
414
418
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never;
|
|
415
419
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
|
|
416
420
|
} | {
|
|
417
|
-
value: bigint;
|
|
418
|
-
s: viem.Hex;
|
|
419
|
-
r: viem.Hex;
|
|
420
421
|
type: "eip1559";
|
|
421
422
|
nonce: number;
|
|
422
423
|
chainId: number;
|
|
424
|
+
s: viem.Hex;
|
|
425
|
+
r: viem.Hex;
|
|
426
|
+
value: bigint;
|
|
423
427
|
input: viem.Hex;
|
|
424
428
|
v: bigint;
|
|
425
429
|
yParity: number;
|
|
@@ -439,12 +443,12 @@ declare function useMatchChain(): {
|
|
|
439
443
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never;
|
|
440
444
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
|
|
441
445
|
} | {
|
|
442
|
-
value: bigint;
|
|
443
|
-
s: viem.Hex;
|
|
444
|
-
r: viem.Hex;
|
|
445
446
|
type: "eip4844";
|
|
446
447
|
nonce: number;
|
|
447
448
|
chainId: number;
|
|
449
|
+
s: viem.Hex;
|
|
450
|
+
r: viem.Hex;
|
|
451
|
+
value: bigint;
|
|
448
452
|
input: viem.Hex;
|
|
449
453
|
v: bigint;
|
|
450
454
|
yParity: number;
|
|
@@ -464,12 +468,12 @@ declare function useMatchChain(): {
|
|
|
464
468
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
465
469
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
|
|
466
470
|
} | {
|
|
467
|
-
value: bigint;
|
|
468
|
-
s: viem.Hex;
|
|
469
|
-
r: viem.Hex;
|
|
470
471
|
type: "eip7702";
|
|
471
472
|
nonce: number;
|
|
472
473
|
chainId: number;
|
|
474
|
+
s: viem.Hex;
|
|
475
|
+
r: viem.Hex;
|
|
476
|
+
value: bigint;
|
|
473
477
|
input: viem.Hex;
|
|
474
478
|
v: bigint;
|
|
475
479
|
yParity: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.js';
|
|
2
|
-
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
2
|
+
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-C8FLH1yn.js';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { SignableMessage, Hex, TransactionSerializable, Account, WalletClientConfig, createWalletClient, SendTransactionParameters, DeployContractParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -92,6 +92,10 @@ declare function useUserInfo(): {
|
|
|
92
92
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
93
93
|
[key: string]: any;
|
|
94
94
|
}) => Promise<string | void | Window | null>;
|
|
95
|
+
bindByEmail: ({ email, code }: {
|
|
96
|
+
email: string;
|
|
97
|
+
code: string;
|
|
98
|
+
}) => Promise<boolean>;
|
|
95
99
|
getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
|
|
96
100
|
invite: (invite_code: string) => Promise<MyResponseType<any>>;
|
|
97
101
|
};
|
|
@@ -214,12 +218,12 @@ declare function useMatchChain(): {
|
|
|
214
218
|
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
215
219
|
withdrawalsRoot?: `0x${string}` | undefined;
|
|
216
220
|
transactions: includeTransactions extends true ? ({
|
|
217
|
-
value: bigint;
|
|
218
|
-
s: viem.Hex;
|
|
219
|
-
r: viem.Hex;
|
|
220
221
|
type: "legacy";
|
|
221
222
|
nonce: number;
|
|
222
223
|
chainId?: number | undefined;
|
|
224
|
+
s: viem.Hex;
|
|
225
|
+
r: viem.Hex;
|
|
226
|
+
value: bigint;
|
|
223
227
|
input: viem.Hex;
|
|
224
228
|
v: bigint;
|
|
225
229
|
yParity?: undefined | undefined;
|
|
@@ -239,12 +243,12 @@ declare function useMatchChain(): {
|
|
|
239
243
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never;
|
|
240
244
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
241
245
|
} | {
|
|
242
|
-
value: bigint;
|
|
243
|
-
s: viem.Hex;
|
|
244
|
-
r: viem.Hex;
|
|
245
246
|
type: "eip2930";
|
|
246
247
|
nonce: number;
|
|
247
248
|
chainId: number;
|
|
249
|
+
s: viem.Hex;
|
|
250
|
+
r: viem.Hex;
|
|
251
|
+
value: bigint;
|
|
248
252
|
input: viem.Hex;
|
|
249
253
|
v: bigint;
|
|
250
254
|
yParity: number;
|
|
@@ -264,12 +268,12 @@ declare function useMatchChain(): {
|
|
|
264
268
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never;
|
|
265
269
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
|
|
266
270
|
} | {
|
|
267
|
-
value: bigint;
|
|
268
|
-
s: viem.Hex;
|
|
269
|
-
r: viem.Hex;
|
|
270
271
|
type: "eip1559";
|
|
271
272
|
nonce: number;
|
|
272
273
|
chainId: number;
|
|
274
|
+
s: viem.Hex;
|
|
275
|
+
r: viem.Hex;
|
|
276
|
+
value: bigint;
|
|
273
277
|
input: viem.Hex;
|
|
274
278
|
v: bigint;
|
|
275
279
|
yParity: number;
|
|
@@ -289,12 +293,12 @@ declare function useMatchChain(): {
|
|
|
289
293
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never;
|
|
290
294
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
|
|
291
295
|
} | {
|
|
292
|
-
value: bigint;
|
|
293
|
-
s: viem.Hex;
|
|
294
|
-
r: viem.Hex;
|
|
295
296
|
type: "eip4844";
|
|
296
297
|
nonce: number;
|
|
297
298
|
chainId: number;
|
|
299
|
+
s: viem.Hex;
|
|
300
|
+
r: viem.Hex;
|
|
301
|
+
value: bigint;
|
|
298
302
|
input: viem.Hex;
|
|
299
303
|
v: bigint;
|
|
300
304
|
yParity: number;
|
|
@@ -314,12 +318,12 @@ declare function useMatchChain(): {
|
|
|
314
318
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
315
319
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
|
|
316
320
|
} | {
|
|
317
|
-
value: bigint;
|
|
318
|
-
s: viem.Hex;
|
|
319
|
-
r: viem.Hex;
|
|
320
321
|
type: "eip7702";
|
|
321
322
|
nonce: number;
|
|
322
323
|
chainId: number;
|
|
324
|
+
s: viem.Hex;
|
|
325
|
+
r: viem.Hex;
|
|
326
|
+
value: bigint;
|
|
323
327
|
input: viem.Hex;
|
|
324
328
|
v: bigint;
|
|
325
329
|
yParity: number;
|
|
@@ -364,12 +368,12 @@ declare function useMatchChain(): {
|
|
|
364
368
|
} | undefined) => Promise<viem.EstimateMaxPriorityFeePerGasReturnType>;
|
|
365
369
|
getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
|
|
366
370
|
getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
|
|
367
|
-
value: bigint;
|
|
368
|
-
s: viem.Hex;
|
|
369
|
-
r: viem.Hex;
|
|
370
371
|
type: "legacy";
|
|
371
372
|
nonce: number;
|
|
372
373
|
chainId?: number | undefined;
|
|
374
|
+
s: viem.Hex;
|
|
375
|
+
r: viem.Hex;
|
|
376
|
+
value: bigint;
|
|
373
377
|
input: viem.Hex;
|
|
374
378
|
v: bigint;
|
|
375
379
|
yParity?: undefined | undefined;
|
|
@@ -389,12 +393,12 @@ declare function useMatchChain(): {
|
|
|
389
393
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : bigint : never : never;
|
|
390
394
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
391
395
|
} | {
|
|
392
|
-
value: bigint;
|
|
393
|
-
s: viem.Hex;
|
|
394
|
-
r: viem.Hex;
|
|
395
396
|
type: "eip2930";
|
|
396
397
|
nonce: number;
|
|
397
398
|
chainId: number;
|
|
399
|
+
s: viem.Hex;
|
|
400
|
+
r: viem.Hex;
|
|
401
|
+
value: bigint;
|
|
398
402
|
input: viem.Hex;
|
|
399
403
|
v: bigint;
|
|
400
404
|
yParity: number;
|
|
@@ -414,12 +418,12 @@ declare function useMatchChain(): {
|
|
|
414
418
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : bigint : never : never;
|
|
415
419
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_5 ? T_5 extends (blockTag extends "pending" ? true : false) ? T_5 extends true ? null : number : never : never;
|
|
416
420
|
} | {
|
|
417
|
-
value: bigint;
|
|
418
|
-
s: viem.Hex;
|
|
419
|
-
r: viem.Hex;
|
|
420
421
|
type: "eip1559";
|
|
421
422
|
nonce: number;
|
|
422
423
|
chainId: number;
|
|
424
|
+
s: viem.Hex;
|
|
425
|
+
r: viem.Hex;
|
|
426
|
+
value: bigint;
|
|
423
427
|
input: viem.Hex;
|
|
424
428
|
v: bigint;
|
|
425
429
|
yParity: number;
|
|
@@ -439,12 +443,12 @@ declare function useMatchChain(): {
|
|
|
439
443
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : bigint : never : never;
|
|
440
444
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_8 ? T_8 extends (blockTag extends "pending" ? true : false) ? T_8 extends true ? null : number : never : never;
|
|
441
445
|
} | {
|
|
442
|
-
value: bigint;
|
|
443
|
-
s: viem.Hex;
|
|
444
|
-
r: viem.Hex;
|
|
445
446
|
type: "eip4844";
|
|
446
447
|
nonce: number;
|
|
447
448
|
chainId: number;
|
|
449
|
+
s: viem.Hex;
|
|
450
|
+
r: viem.Hex;
|
|
451
|
+
value: bigint;
|
|
448
452
|
input: viem.Hex;
|
|
449
453
|
v: bigint;
|
|
450
454
|
yParity: number;
|
|
@@ -464,12 +468,12 @@ declare function useMatchChain(): {
|
|
|
464
468
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : bigint : never : never;
|
|
465
469
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_11 ? T_11 extends (blockTag extends "pending" ? true : false) ? T_11 extends true ? null : number : never : never;
|
|
466
470
|
} | {
|
|
467
|
-
value: bigint;
|
|
468
|
-
s: viem.Hex;
|
|
469
|
-
r: viem.Hex;
|
|
470
471
|
type: "eip7702";
|
|
471
472
|
nonce: number;
|
|
472
473
|
chainId: number;
|
|
474
|
+
s: viem.Hex;
|
|
475
|
+
r: viem.Hex;
|
|
476
|
+
value: bigint;
|
|
473
477
|
input: viem.Hex;
|
|
474
478
|
v: bigint;
|
|
475
479
|
yParity: number;
|
|
@@ -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 { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-
|
|
3
|
+
import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-C8FLH1yn.js';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-C8FLH1yn.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-DuCefmJ0.mjs';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
|
-
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function EmailModal({ isOpen, type, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
7
7
|
|
|
8
8
|
declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties } from 'react';
|
|
3
|
-
import { v as IconProps$1 } from './types-
|
|
3
|
+
import { v as IconProps$1 } from './types-C8FLH1yn.mjs';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-C8FLH1yn.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 react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties } from 'react';
|
|
3
|
-
import { v as IconProps$1 } from './types-
|
|
3
|
+
import { v as IconProps$1 } from './types-C8FLH1yn.js';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, C as ConfirmModal, 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, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-m2bn_W3Y.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-
|
|
3
|
+
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-C8FLH1yn.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default, { CSSProperties } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-C8FLH1yn.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-m2bn_W3Y.js';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
|
-
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare function EmailModal({ isOpen, type, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
7
7
|
|
|
8
8
|
declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
|
|
@@ -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 { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-
|
|
3
|
+
import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-C8FLH1yn.mjs';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-
|
|
3
|
+
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-C8FLH1yn.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 react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-
|
|
3
|
+
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-C8FLH1yn.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
package/dist/index.d.mts
CHANGED
|
@@ -4,14 +4,14 @@ import * as abitype from 'abitype';
|
|
|
4
4
|
import * as wagmi_chains from 'wagmi/chains';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import React__default, { ReactNode } from 'react';
|
|
7
|
-
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-
|
|
8
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
9
|
-
export { i as Components } from './index-
|
|
10
|
-
export { i as UI } from './index-
|
|
11
|
-
export { i as Api } from './index-
|
|
7
|
+
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-C8FLH1yn.mjs';
|
|
8
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-Bjb30oE3.mjs';
|
|
9
|
+
export { i as Components } from './index-CqHlL6ue.mjs';
|
|
10
|
+
export { i as UI } from './index-BLjGmf9p.mjs';
|
|
11
|
+
export { i as Api } from './index-De8efmdb.mjs';
|
|
12
12
|
export { i as Chains } from './index-CboftuIp.mjs';
|
|
13
|
-
export { i as Types } from './index-
|
|
14
|
-
export { i as Icon } from './index-
|
|
13
|
+
export { i as Types } from './index-DCyE39bg.mjs';
|
|
14
|
+
export { i as Icon } from './index-CzCkxwOm.mjs';
|
|
15
15
|
export { i as Lottie } from './index-CHgaOUiW.mjs';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.mjs';
|
|
@@ -20,7 +20,7 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import 'viem/_types/utils/ccip';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-DuCefmJ0.mjs';
|
|
24
24
|
|
|
25
25
|
declare const wagmiConfig: wagmi.Config<[{
|
|
26
26
|
blockExplorers: {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ import * as abitype from 'abitype';
|
|
|
4
4
|
import * as wagmi_chains from 'wagmi/chains';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import React__default, { ReactNode } from 'react';
|
|
7
|
-
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-
|
|
8
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
9
|
-
export { i as Components } from './index-
|
|
10
|
-
export { i as UI } from './index-
|
|
11
|
-
export { i as Api } from './index-
|
|
7
|
+
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-C8FLH1yn.js';
|
|
8
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-CPnKc6o4.js';
|
|
9
|
+
export { i as Components } from './index-DZpXCByF.js';
|
|
10
|
+
export { i as UI } from './index-DQYg6bEA.js';
|
|
11
|
+
export { i as Api } from './index-CpJtux-G.js';
|
|
12
12
|
export { i as Chains } from './index-CboftuIp.js';
|
|
13
|
-
export { i as Types } from './index-
|
|
14
|
-
export { i as Icon } from './index-
|
|
13
|
+
export { i as Types } from './index-BXhXRggh.js';
|
|
14
|
+
export { i as Icon } from './index-DGsB7f2H.js';
|
|
15
15
|
export { i as Lottie } from './index-CHgaOUiW.js';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.js';
|
|
@@ -20,7 +20,7 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import 'viem/_types/utils/ccip';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-m2bn_W3Y.js';
|
|
24
24
|
|
|
25
25
|
declare const wagmiConfig: wagmi.Config<[{
|
|
26
26
|
blockExplorers: {
|