@matchain/matchid-sdk-react 0.1.48-alpha.2 → 0.1.48-alpha.21
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 +12 -2
- package/dist/assets/icon/index.d.ts +12 -2
- package/dist/assets/icon/index.js +93 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +9 -1
- package/dist/chunk-5JHHHLG4.mjs +136 -0
- package/dist/chunk-5JHHHLG4.mjs.map +1 -0
- package/dist/{chunk-D6IUBR7S.mjs → chunk-CHWBALAC.mjs} +2197 -553
- package/dist/chunk-CHWBALAC.mjs.map +1 -0
- package/dist/{chunk-6HRRPZPM.mjs → chunk-IV4F5SHJ.mjs} +2 -2
- package/dist/{chunk-A5D3NKTK.mjs → chunk-LHNKZISB.mjs} +91 -4
- package/dist/chunk-LHNKZISB.mjs.map +1 -0
- package/dist/{chunk-LNSJ3ZXG.mjs → chunk-WXPVHKGJ.mjs} +73 -42
- package/dist/chunk-WXPVHKGJ.mjs.map +1 -0
- package/dist/components/index.d.mts +4 -3
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.js +2283 -525
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +14 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +375 -193
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +5 -4
- package/dist/hooks/index.d.mts +4 -2
- package/dist/hooks/index.d.ts +4 -2
- package/dist/hooks/index.js +1904 -227
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +12 -3
- package/dist/index-BMfaixEx.d.mts +66 -0
- package/dist/{index-DamklTOJ.d.mts → index-BMsj8hJv.d.ts} +4 -3
- package/dist/{index-CKiK4KHj.d.ts → index-BcEreCxd.d.ts} +1 -1
- package/dist/index-Bpmrd7mh.d.ts +66 -0
- package/dist/{index-CGs_yTFg.d.ts → index-Bvc8cjpN.d.ts} +34 -4
- package/dist/{index-C2-M-aBb.d.ts → index-C9F6f2iz.d.mts} +4 -3
- package/dist/{index-M7ZB3yR5.d.mts → index-C9qYyRgt.d.mts} +34 -4
- package/dist/index-CFKZWJVt.d.ts +3306 -0
- package/dist/{index-Bb7IkjUW.d.mts → index-Cou96DpL.d.mts} +1 -1
- package/dist/{index-BIgM4fy0.d.mts → index-Cy3K-Yao.d.ts} +31 -8
- package/dist/{index-BwD1ij0H.d.ts → index-D4ju2J_e.d.mts} +31 -8
- package/dist/index-Dhtyz0pT.d.mts +3306 -0
- package/dist/index.css +587 -6
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.js +2855 -1015
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/{types-DQq17lf4.d.mts → types-DzVVzMYU.d.mts} +74 -36
- package/dist/{types-DQq17lf4.d.ts → types-DzVVzMYU.d.ts} +74 -36
- package/dist/ui/index.d.mts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +140 -95
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/utils/index.d.mts +26 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.js +181 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +30 -0
- package/dist/utils/index.mjs.map +1 -0
- package/example/src/pages/Wallet/components/MatchWallet.tsx +24 -10
- package/example/src/pages/Wallet/index.tsx +2 -1
- package/package.json +7 -1
- package/dist/chunk-A5D3NKTK.mjs.map +0 -1
- package/dist/chunk-D6IUBR7S.mjs.map +0 -1
- package/dist/chunk-LNSJ3ZXG.mjs.map +0 -1
- package/dist/index-BHVMQGZj.d.mts +0 -173
- package/dist/index-BVatQlwF.d.mts +0 -59
- package/dist/index-DgAnNnit.d.ts +0 -173
- package/dist/index-RfA22r-Z.d.ts +0 -59
- /package/dist/{chunk-6HRRPZPM.mjs.map → chunk-IV4F5SHJ.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
types_exports
|
|
3
|
-
} from "./chunk-HBOS3RBL.mjs";
|
|
4
|
-
import {
|
|
5
|
-
chains_exports
|
|
6
|
-
} from "./chunk-HYQ3T6WW.mjs";
|
|
7
1
|
import {
|
|
8
2
|
api_exports
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IV4F5SHJ.mjs";
|
|
10
4
|
import {
|
|
11
5
|
MatchProvider,
|
|
12
6
|
components_exports,
|
|
13
7
|
hooks_exports,
|
|
14
8
|
useMatch
|
|
15
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CHWBALAC.mjs";
|
|
10
|
+
import {
|
|
11
|
+
types_exports
|
|
12
|
+
} from "./chunk-HBOS3RBL.mjs";
|
|
16
13
|
import "./chunk-UA6XHZHX.mjs";
|
|
17
14
|
import {
|
|
18
15
|
ui_exports
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-WXPVHKGJ.mjs";
|
|
17
|
+
import "./chunk-5JHHHLG4.mjs";
|
|
18
|
+
import "./chunk-LHNKZISB.mjs";
|
|
19
|
+
import {
|
|
20
|
+
chains_exports
|
|
21
|
+
} from "./chunk-HYQ3T6WW.mjs";
|
|
21
22
|
import "./chunk-J5LGTIGS.mjs";
|
|
22
23
|
export {
|
|
23
24
|
api_exports as Api,
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from '../mpc-CTbBWHld.mjs';
|
|
2
|
-
export { A as AnyObject,
|
|
2
|
+
export { 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';
|
|
3
3
|
import 'react';
|
|
4
|
+
import '@tanstack/react-query/src/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from '../mpc-CTbBWHld.js';
|
|
2
|
-
export { A as AnyObject,
|
|
2
|
+
export { 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';
|
|
3
3
|
import 'react';
|
|
4
|
+
import '@tanstack/react-query/src/types';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
2
3
|
|
|
3
4
|
type ISocialLoginMethod = 'google' | 'twitter' | 'discord' | 'github' | 'telegram' | 'linkedin' | 'facebook' | 'youtube';
|
|
4
5
|
type WalletType = 'evm' | 'sol' | 'tron' | 'btc' | 'ton';
|
|
@@ -58,6 +59,8 @@ type OverviewInfo = {
|
|
|
58
59
|
did: string;
|
|
59
60
|
address: string;
|
|
60
61
|
username?: string;
|
|
62
|
+
max_level: number;
|
|
63
|
+
user_level: number;
|
|
61
64
|
};
|
|
62
65
|
type AnyObject = {
|
|
63
66
|
[key: string]: any;
|
|
@@ -238,6 +241,7 @@ type DrawerProps = PropsWithChildren & {
|
|
|
238
241
|
isOpen: boolean;
|
|
239
242
|
title?: React.ReactNode;
|
|
240
243
|
zIndex?: number;
|
|
244
|
+
onBack?: () => void;
|
|
241
245
|
};
|
|
242
246
|
type WalletPanelProps = DrawerProps & {
|
|
243
247
|
title?: React.ReactNode;
|
|
@@ -278,46 +282,48 @@ type UserChainType = {
|
|
|
278
282
|
iconUrl: string;
|
|
279
283
|
contracts: {
|
|
280
284
|
multicall3: {
|
|
281
|
-
address: string
|
|
285
|
+
address: `0x${string}`;
|
|
282
286
|
};
|
|
283
287
|
};
|
|
284
288
|
};
|
|
285
|
-
interface
|
|
286
|
-
id: number;
|
|
287
|
-
name: string;
|
|
288
|
-
symbol: string;
|
|
289
|
-
nativeChainId: string;
|
|
290
|
-
price: number;
|
|
291
|
-
liquidity: number;
|
|
292
|
-
priceChange24hPercent: number;
|
|
293
|
-
marketCapUSD: number;
|
|
294
|
-
circulatingSupply: number;
|
|
295
|
-
totalSupply: number;
|
|
296
|
-
logo: string;
|
|
297
|
-
contract: string;
|
|
298
|
-
}
|
|
299
|
-
interface UserTransactionType {
|
|
300
|
-
id: string;
|
|
301
|
-
timestamp: number;
|
|
302
|
-
from: string;
|
|
303
|
-
to: string;
|
|
304
|
-
contract: any;
|
|
305
|
-
hash: string;
|
|
306
|
-
amount_usd: number;
|
|
307
|
-
amount: number;
|
|
289
|
+
interface UserTransactionNextPageParams {
|
|
308
290
|
block_number: number;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
date: string;
|
|
318
|
-
};
|
|
319
|
-
asset: UserTransactionAssetType;
|
|
291
|
+
fee: string;
|
|
292
|
+
hash: string;
|
|
293
|
+
index: number;
|
|
294
|
+
inserted_at: string;
|
|
295
|
+
items_count: number;
|
|
296
|
+
limit: number;
|
|
297
|
+
offset: number;
|
|
298
|
+
value: string;
|
|
320
299
|
}
|
|
300
|
+
type Hash = `0x${string}`;
|
|
301
|
+
type Address = `0x${string}`;
|
|
302
|
+
type UserTransactionType = {
|
|
303
|
+
amount: string;
|
|
304
|
+
block_number: string;
|
|
305
|
+
from: Address;
|
|
306
|
+
hash: Hash;
|
|
307
|
+
input: Hash;
|
|
308
|
+
receive: string;
|
|
309
|
+
source: "auto" | "matchain";
|
|
310
|
+
timestamp: string;
|
|
311
|
+
to: Address;
|
|
312
|
+
value: string;
|
|
313
|
+
extra: {
|
|
314
|
+
asset: string;
|
|
315
|
+
decodedInput: any;
|
|
316
|
+
has_error_in_internal_transactions: boolean;
|
|
317
|
+
name: string;
|
|
318
|
+
receipt_status: number;
|
|
319
|
+
result: string;
|
|
320
|
+
status: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
type UserTransactionRecordType = UserTransactionType & {
|
|
324
|
+
symbol: string;
|
|
325
|
+
decimals: number;
|
|
326
|
+
};
|
|
321
327
|
type UserAssetToken = {
|
|
322
328
|
symbol: string;
|
|
323
329
|
name: string;
|
|
@@ -327,6 +333,7 @@ type UserAssetToken = {
|
|
|
327
333
|
address: string;
|
|
328
334
|
decimals: string;
|
|
329
335
|
icon: string;
|
|
336
|
+
price_change_24h: number;
|
|
330
337
|
};
|
|
331
338
|
type UserImportTokenType = {
|
|
332
339
|
chain_id: string;
|
|
@@ -361,5 +368,36 @@ type WalletChainType = {
|
|
|
361
368
|
chain_full_name: string;
|
|
362
369
|
chain_type: string;
|
|
363
370
|
};
|
|
371
|
+
type WalletNFTType = {
|
|
372
|
+
token_address: string;
|
|
373
|
+
token_id: string;
|
|
374
|
+
token_uri: string;
|
|
375
|
+
amount: string;
|
|
376
|
+
owner_of: string;
|
|
377
|
+
name: string;
|
|
378
|
+
symbol: string;
|
|
379
|
+
blockchain: string;
|
|
380
|
+
chain_id: string;
|
|
381
|
+
};
|
|
382
|
+
type WalletAssetMergeType = {
|
|
383
|
+
chain_id: string;
|
|
384
|
+
chain_name?: string;
|
|
385
|
+
name?: string;
|
|
386
|
+
symbol: string;
|
|
387
|
+
balance?: number;
|
|
388
|
+
price?: number;
|
|
389
|
+
address: string;
|
|
390
|
+
decimals: string;
|
|
391
|
+
icon?: string;
|
|
392
|
+
price_change_24h?: number;
|
|
393
|
+
isAuto?: boolean;
|
|
394
|
+
isCustom?: boolean;
|
|
395
|
+
value?: number;
|
|
396
|
+
balanceValue?: string;
|
|
397
|
+
};
|
|
398
|
+
type useMatchWalletAssetsProps = {
|
|
399
|
+
importTokenOptions?: Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>;
|
|
400
|
+
assetListOptions?: Partial<Omit<UseQueryOptions<UserAssetToken[]>, 'queryKey' | 'queryFn'>>;
|
|
401
|
+
};
|
|
364
402
|
|
|
365
|
-
export type {
|
|
403
|
+
export type { WalletReceiveMessageType as $, Address as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, ModalProps as F, PohItemType as G, Hash as H, IMatchEvents as I, PohZkpassParams as J, PopoverProps as K, LocaleType as L, ModalWithHeaderProps as M, UIProps as N, OtherLoginMethodType as O, PopoverPositionType as P, UserPopoverProps as Q, RecommendLoginMethodType as R, UserTransactionNextPageParams as S, ThemeType as T, UserChainType as U, UserTransactionRecordType as V, WalletConfigType as W, WalletAssetType as X, WalletChainType as Y, WalletNFTType as Z, WalletPanelProps as _, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, WalletAssetMergeType as g, ISocialLoginMethod as h, OverviewInfo as i, LoginMethodType as j, AnyObject as k, UserTransactionType as l, UserImportTokenType as m, UserAssetToken as n, AppConfigType as o, BindInfoType as p, BindItemType as q, BindWalletParam as r, DrawerProps as s, IEnvName as t, useMatchWalletAssetsProps as u, ILoginWalletReq as v, IconProps as w, InputProps as x, MessageType as y, MetaPageType as z };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
2
3
|
|
|
3
4
|
type ISocialLoginMethod = 'google' | 'twitter' | 'discord' | 'github' | 'telegram' | 'linkedin' | 'facebook' | 'youtube';
|
|
4
5
|
type WalletType = 'evm' | 'sol' | 'tron' | 'btc' | 'ton';
|
|
@@ -58,6 +59,8 @@ type OverviewInfo = {
|
|
|
58
59
|
did: string;
|
|
59
60
|
address: string;
|
|
60
61
|
username?: string;
|
|
62
|
+
max_level: number;
|
|
63
|
+
user_level: number;
|
|
61
64
|
};
|
|
62
65
|
type AnyObject = {
|
|
63
66
|
[key: string]: any;
|
|
@@ -238,6 +241,7 @@ type DrawerProps = PropsWithChildren & {
|
|
|
238
241
|
isOpen: boolean;
|
|
239
242
|
title?: React.ReactNode;
|
|
240
243
|
zIndex?: number;
|
|
244
|
+
onBack?: () => void;
|
|
241
245
|
};
|
|
242
246
|
type WalletPanelProps = DrawerProps & {
|
|
243
247
|
title?: React.ReactNode;
|
|
@@ -278,46 +282,48 @@ type UserChainType = {
|
|
|
278
282
|
iconUrl: string;
|
|
279
283
|
contracts: {
|
|
280
284
|
multicall3: {
|
|
281
|
-
address: string
|
|
285
|
+
address: `0x${string}`;
|
|
282
286
|
};
|
|
283
287
|
};
|
|
284
288
|
};
|
|
285
|
-
interface
|
|
286
|
-
id: number;
|
|
287
|
-
name: string;
|
|
288
|
-
symbol: string;
|
|
289
|
-
nativeChainId: string;
|
|
290
|
-
price: number;
|
|
291
|
-
liquidity: number;
|
|
292
|
-
priceChange24hPercent: number;
|
|
293
|
-
marketCapUSD: number;
|
|
294
|
-
circulatingSupply: number;
|
|
295
|
-
totalSupply: number;
|
|
296
|
-
logo: string;
|
|
297
|
-
contract: string;
|
|
298
|
-
}
|
|
299
|
-
interface UserTransactionType {
|
|
300
|
-
id: string;
|
|
301
|
-
timestamp: number;
|
|
302
|
-
from: string;
|
|
303
|
-
to: string;
|
|
304
|
-
contract: any;
|
|
305
|
-
hash: string;
|
|
306
|
-
amount_usd: number;
|
|
307
|
-
amount: number;
|
|
289
|
+
interface UserTransactionNextPageParams {
|
|
308
290
|
block_number: number;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
date: string;
|
|
318
|
-
};
|
|
319
|
-
asset: UserTransactionAssetType;
|
|
291
|
+
fee: string;
|
|
292
|
+
hash: string;
|
|
293
|
+
index: number;
|
|
294
|
+
inserted_at: string;
|
|
295
|
+
items_count: number;
|
|
296
|
+
limit: number;
|
|
297
|
+
offset: number;
|
|
298
|
+
value: string;
|
|
320
299
|
}
|
|
300
|
+
type Hash = `0x${string}`;
|
|
301
|
+
type Address = `0x${string}`;
|
|
302
|
+
type UserTransactionType = {
|
|
303
|
+
amount: string;
|
|
304
|
+
block_number: string;
|
|
305
|
+
from: Address;
|
|
306
|
+
hash: Hash;
|
|
307
|
+
input: Hash;
|
|
308
|
+
receive: string;
|
|
309
|
+
source: "auto" | "matchain";
|
|
310
|
+
timestamp: string;
|
|
311
|
+
to: Address;
|
|
312
|
+
value: string;
|
|
313
|
+
extra: {
|
|
314
|
+
asset: string;
|
|
315
|
+
decodedInput: any;
|
|
316
|
+
has_error_in_internal_transactions: boolean;
|
|
317
|
+
name: string;
|
|
318
|
+
receipt_status: number;
|
|
319
|
+
result: string;
|
|
320
|
+
status: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
type UserTransactionRecordType = UserTransactionType & {
|
|
324
|
+
symbol: string;
|
|
325
|
+
decimals: number;
|
|
326
|
+
};
|
|
321
327
|
type UserAssetToken = {
|
|
322
328
|
symbol: string;
|
|
323
329
|
name: string;
|
|
@@ -327,6 +333,7 @@ type UserAssetToken = {
|
|
|
327
333
|
address: string;
|
|
328
334
|
decimals: string;
|
|
329
335
|
icon: string;
|
|
336
|
+
price_change_24h: number;
|
|
330
337
|
};
|
|
331
338
|
type UserImportTokenType = {
|
|
332
339
|
chain_id: string;
|
|
@@ -361,5 +368,36 @@ type WalletChainType = {
|
|
|
361
368
|
chain_full_name: string;
|
|
362
369
|
chain_type: string;
|
|
363
370
|
};
|
|
371
|
+
type WalletNFTType = {
|
|
372
|
+
token_address: string;
|
|
373
|
+
token_id: string;
|
|
374
|
+
token_uri: string;
|
|
375
|
+
amount: string;
|
|
376
|
+
owner_of: string;
|
|
377
|
+
name: string;
|
|
378
|
+
symbol: string;
|
|
379
|
+
blockchain: string;
|
|
380
|
+
chain_id: string;
|
|
381
|
+
};
|
|
382
|
+
type WalletAssetMergeType = {
|
|
383
|
+
chain_id: string;
|
|
384
|
+
chain_name?: string;
|
|
385
|
+
name?: string;
|
|
386
|
+
symbol: string;
|
|
387
|
+
balance?: number;
|
|
388
|
+
price?: number;
|
|
389
|
+
address: string;
|
|
390
|
+
decimals: string;
|
|
391
|
+
icon?: string;
|
|
392
|
+
price_change_24h?: number;
|
|
393
|
+
isAuto?: boolean;
|
|
394
|
+
isCustom?: boolean;
|
|
395
|
+
value?: number;
|
|
396
|
+
balanceValue?: string;
|
|
397
|
+
};
|
|
398
|
+
type useMatchWalletAssetsProps = {
|
|
399
|
+
importTokenOptions?: Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>;
|
|
400
|
+
assetListOptions?: Partial<Omit<UseQueryOptions<UserAssetToken[]>, 'queryKey' | 'queryFn'>>;
|
|
401
|
+
};
|
|
364
402
|
|
|
365
|
-
export type {
|
|
403
|
+
export type { WalletReceiveMessageType as $, Address as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, ModalProps as F, PohItemType as G, Hash as H, IMatchEvents as I, PohZkpassParams as J, PopoverProps as K, LocaleType as L, ModalWithHeaderProps as M, UIProps as N, OtherLoginMethodType as O, PopoverPositionType as P, UserPopoverProps as Q, RecommendLoginMethodType as R, UserTransactionNextPageParams as S, ThemeType as T, UserChainType as U, UserTransactionRecordType as V, WalletConfigType as W, WalletAssetType as X, WalletChainType as Y, WalletNFTType as Z, WalletPanelProps as _, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, WalletAssetMergeType as g, ISocialLoginMethod as h, OverviewInfo as i, LoginMethodType as j, AnyObject as k, UserTransactionType as l, UserImportTokenType as m, UserAssetToken as n, AppConfigType as o, BindInfoType as p, BindItemType as q, BindWalletParam as r, DrawerProps as s, IEnvName as t, useMatchWalletAssetsProps as u, ILoginWalletReq as v, IconProps as w, InputProps as x, MessageType as y, MetaPageType as z };
|
package/dist/ui/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
2
|
-
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-
|
|
1
|
+
export { 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
|
+
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-C9F6f2iz.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-DzVVzMYU.mjs';
|
|
6
|
+
import '@tanstack/react-query/src/types';
|
|
6
7
|
import 'viem';
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-
|
|
2
|
-
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-
|
|
1
|
+
export { 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
|
+
export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-BMsj8hJv.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-DzVVzMYU.js';
|
|
6
|
+
import '@tanstack/react-query/src/types';
|
|
6
7
|
import 'viem';
|