@trustware/sdk-staging 1.1.5-staging.1 → 1.1.6-staging.2

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.
@@ -1,330 +0,0 @@
1
- type WalletId = "metamask" | "coinbase" | "walletconnect" | "rainbow" | "phantom-evm" | "phantom-solana" | "solflare" | "backpack" | "rabby" | "brave" | "okx" | "zerion" | "taho" | "safe" | "imtoken" | "trust" | "bitget" | "kucoin";
2
- type WalletCategory = "injected" | "walletconnect" | "app";
3
- type WalletEcosystem = "evm" | "solana" | "multi";
4
- type WalletMeta = {
5
- id: WalletId;
6
- name: string;
7
- category: WalletCategory;
8
- ecosystem: WalletEcosystem;
9
- logo: string;
10
- emoji?: string;
11
- homepage?: string;
12
- chromeWebStore?: string;
13
- android?: string;
14
- ios?: string;
15
- deepLink?: (currentUrl: string) => string;
16
- detectFlags?: string[];
17
- };
18
- type EIP1193 = {
19
- request(args: {
20
- method: string;
21
- params?: unknown[] | object;
22
- }): Promise<unknown>;
23
- };
24
- type EIP6963ProviderDetail = {
25
- info: {
26
- uuid: string;
27
- name: string;
28
- icon: string;
29
- rdns?: string;
30
- version?: string;
31
- wallets?: {
32
- name: string;
33
- version?: string;
34
- }[];
35
- features?: string[];
36
- };
37
- provider: any;
38
- methods: string[];
39
- events: string[];
40
- };
41
- type DetectedWallet = {
42
- meta: WalletMeta;
43
- via: "eip6963" | "injected-flag" | "walletconnect" | "solana-window";
44
- detail?: EIP6963ProviderDetail;
45
- provider?: any;
46
- };
47
- type SolanaProviderLike = {
48
- isPhantom?: boolean;
49
- isSolflare?: boolean;
50
- isBackpack?: boolean;
51
- isConnected?: boolean;
52
- publicKey?: {
53
- toString(): string;
54
- };
55
- connect?: (options?: Record<string, unknown>) => Promise<unknown>;
56
- disconnect?: () => Promise<void>;
57
- signAndSendTransaction?: (transaction: unknown, options?: Record<string, unknown>) => Promise<{
58
- signature?: string;
59
- } | string>;
60
- signTransaction?: (transaction: unknown) => Promise<{
61
- serialize: () => Uint8Array;
62
- }>;
63
- on?: (event: string, listener: (...args: unknown[]) => void) => void;
64
- off?: (event: string, listener: (...args: unknown[]) => void) => void;
65
- removeListener?: (event: string, listener: (...args: unknown[]) => void) => void;
66
- };
67
- type BaseWalletInterface = {
68
- ecosystem: "evm" | "solana";
69
- getAddress(): Promise<string>;
70
- disconnect?(): Promise<void>;
71
- };
72
- type EvmWalletInterface = BaseWalletInterface & {
73
- ecosystem: "evm";
74
- getChainId(): Promise<number>;
75
- switchChain(chainId: number): Promise<void>;
76
- } & ({
77
- type: "eip1193";
78
- request(args: {
79
- method: string;
80
- params?: unknown[] | object;
81
- }): Promise<unknown>;
82
- } | {
83
- type: "wagmi";
84
- sendTransaction(tx: {
85
- to: `0x${string}`;
86
- data: `0x${string}`;
87
- value?: bigint;
88
- chainId?: number;
89
- }): Promise<{
90
- hash: `0x${string}`;
91
- }>;
92
- });
93
- type SolanaWalletInterface = BaseWalletInterface & {
94
- ecosystem: "solana";
95
- type: "solana";
96
- getChainKey(): Promise<string>;
97
- sendSerializedTransaction(serializedTransactionBase64: string, chainId?: string): Promise<string>;
98
- };
99
- type WalletInterFaceAPI = EvmWalletInterface | SolanaWalletInterface;
100
- type SimpleWalletInterface = {
101
- getAddress(): Promise<string>;
102
- disconnect?(): Promise<void>;
103
- };
104
-
105
- type ChainMeta = {
106
- id: string;
107
- networkIdentifier: string;
108
- nativeCurrency: {
109
- symbol: string;
110
- decimals: number;
111
- name: string;
112
- };
113
- };
114
- type TokenMeta = {
115
- chainId: string;
116
- address: `0x${string}`;
117
- symbol: string;
118
- decimals: number;
119
- visible?: boolean;
120
- active?: boolean;
121
- };
122
- type BalanceRow = {
123
- chain_key: string;
124
- category: "native" | "erc20" | "spl" | "btc";
125
- contract?: string;
126
- address?: string;
127
- symbol?: string;
128
- decimals: number;
129
- balance: string;
130
- name?: string;
131
- logoURI?: string;
132
- usdPrice?: number;
133
- };
134
- type WalletAddressBalanceWrapper = {
135
- chain_id: string;
136
- balances: BalanceRow[];
137
- count: number;
138
- error: string | null;
139
- source: string;
140
- };
141
- type TokenPageOptions = {
142
- cursor?: string;
143
- limit?: number;
144
- q?: string;
145
- };
146
- type TokenPageInfo = {
147
- hasNextPage: boolean;
148
- nextCursor?: string;
149
- };
150
- type TokenPageResult = {
151
- data: TokenDef[];
152
- pageInfo: TokenPageInfo;
153
- };
154
- type BalanceStreamOptions = {
155
- stream?: boolean;
156
- signal?: AbortSignal;
157
- strict?: boolean;
158
- };
159
- type ChainType = "evm" | "cosmos" | "solana" | "btc" | string;
160
- interface NativeCurrency {
161
- symbol: string;
162
- name?: string;
163
- decimals?: number;
164
- icon?: string;
165
- }
166
- interface ChainDef {
167
- /** API commonly sends both. We canonicalize on chainId as string. */
168
- chainId: string | number;
169
- id?: string | number;
170
- /** Keys we use to resolve chains from presets / user input */
171
- networkIdentifier?: string;
172
- axelarChainName?: string;
173
- networkName?: string;
174
- /** UI/availability flags */
175
- enabled?: boolean;
176
- visible?: boolean;
177
- isTestnet?: boolean;
178
- /** Display */
179
- chainIconURI?: string;
180
- nativeCurrency?: NativeCurrency;
181
- /** Kinds (some payloads use both) */
182
- type?: ChainType;
183
- chainType?: ChainType;
184
- /** Nice-to-have extras we won't rely on but keep for completeness */
185
- blockExplorerUrls?: string[];
186
- rpc?: string;
187
- rpcList?: string[];
188
- }
189
- type TokenType = "evm" | "solana" | "btc" | string;
190
- interface TokenDef {
191
- /** Core identity */
192
- address: string;
193
- chainId: string | number;
194
- /** Display */
195
- logoURI?: string;
196
- name: string;
197
- symbol: string;
198
- /** Behavior / filtering */
199
- decimals: number;
200
- active?: boolean;
201
- visible?: boolean;
202
- type: TokenType;
203
- /** Optional metadata */
204
- usdPrice?: number;
205
- coingeckoId?: string;
206
- createdBy?: string;
207
- subGraphIds?: string[];
208
- subGraphOnly?: boolean;
209
- }
210
- type TokenWithBalance = TokenDef & {
211
- balance?: bigint;
212
- };
213
-
214
- type WalletAddressSource = "provider" | "manual" | "imported";
215
- type WalletIdentityAddress = {
216
- address: string;
217
- chainType: ChainType;
218
- chainKey?: string;
219
- chainId?: string;
220
- providerId?: string;
221
- source: WalletAddressSource;
222
- };
223
- type WalletIdentity = {
224
- addresses: WalletIdentityAddress[];
225
- };
226
- type WalletAddressResolution = {
227
- status: "resolved";
228
- address: string;
229
- source: WalletAddressSource;
230
- chainType: ChainType;
231
- chainKey?: string;
232
- chainId?: string;
233
- } | {
234
- status: "missing" | "invalid";
235
- reason: string;
236
- address?: string;
237
- source?: WalletAddressSource;
238
- chainType?: ChainType;
239
- chainKey?: string;
240
- chainId?: string;
241
- };
242
- type WalletIdentityChainLike = ChainDef | ChainType | string | null;
243
-
244
- type WagmiConnector = {
245
- /** Human label like "MetaMask", "WalletConnect" */
246
- name: string;
247
- /** Free-form type hint: "injected" | "walletConnect" | ... */
248
- type?: string;
249
- };
250
- type WagmiBridge = {
251
- /** Host app believes it’s connected (Wagmi state) */
252
- isConnected(): boolean;
253
- /** List of available connectors */
254
- connectors(): WagmiConnector[];
255
- /** Try connecting via a specific connector */
256
- connect(connector: WagmiConnector): Promise<void>;
257
- /** Disconnect current session */
258
- disconnect(): Promise<void>;
259
- };
260
-
261
- declare function createWalletIdentity(addresses?: WalletIdentityAddress[]): WalletIdentity;
262
- declare function upsertWalletIdentityAddress(identity: WalletIdentity, next: WalletIdentityAddress): WalletIdentity;
263
- declare function resolveWalletAddressForChain(identity: WalletIdentity, chain?: WalletIdentityChainLike): WalletAddressResolution;
264
- declare function buildWalletIdentityAddress(params: {
265
- address: string;
266
- chain: WalletIdentityChainLike;
267
- source: WalletAddressSource;
268
- providerId?: string;
269
- }): WalletIdentityAddress | null;
270
- declare class IdentityStore {
271
- private _identity;
272
- get snapshot(): WalletIdentity;
273
- reset(): void;
274
- upsert(next: WalletIdentityAddress): WalletIdentity;
275
- resolve(chain?: WalletIdentityChainLike): WalletAddressResolution;
276
- }
277
-
278
- type Status = "idle" | "detecting" | "connecting" | "connected" | "error";
279
- type Listener = (s: Status) => void;
280
- declare class WalletManager {
281
- private _status;
282
- private _wallet;
283
- private _detected;
284
- private _listeners;
285
- private _error;
286
- private _identity;
287
- private _providerCleanup;
288
- private _connectedWalletId;
289
- get status(): Status;
290
- get error(): string | null;
291
- get detected(): DetectedWallet[];
292
- get wallet(): WalletInterFaceAPI | null;
293
- get simple(): SimpleWalletInterface | null;
294
- get identity(): WalletIdentity;
295
- get connectedWalletId(): string | null;
296
- onChange(fn: Listener): () => boolean;
297
- private emit;
298
- /** Provide detection results (from your hook or custom function). */
299
- setDetected(list: DetectedWallet[]): void;
300
- /** Optional: auto attach to the first/best detected wallet. */
301
- autoAttach(opts?: {
302
- wagmi?: WagmiBridge;
303
- pick?: (list: DetectedWallet[]) => DetectedWallet | undefined;
304
- }): Promise<void>;
305
- connectDetected(target: DetectedWallet, opts?: {
306
- wagmi?: WagmiBridge;
307
- }): Promise<{
308
- error: null;
309
- api: WalletInterFaceAPI;
310
- } | {
311
- error: string;
312
- api: WalletInterFaceAPI | null;
313
- } | undefined>;
314
- disconnect(wagmi?: WagmiBridge): Promise<void>;
315
- /** Directly attach a pre-provided wallet interface (from old provider prop). */
316
- attachWallet(api: WalletInterFaceAPI): void;
317
- /** Optional helper to set explicit status (e.g., "initializing" UX). */
318
- setStatus(s: Status): void;
319
- addIdentityAddress(address: WalletIdentityAddress): void;
320
- resolveAddressForChain(chain: Parameters<IdentityStore["resolve"]>[0]): WalletAddressResolution;
321
- private clearProviderCleanup;
322
- private clearConnectedWalletState;
323
- private bindProviderEvents;
324
- private syncIdentityFromWallet;
325
- }
326
- declare const walletManager: WalletManager;
327
- /** If you’re in React, call this once near your widget to push detection results into the manager. */
328
- declare function useWireDetectionIntoManager(): void;
329
-
330
- export { createWalletIdentity as A, type BalanceRow as B, type ChainDef as C, type DetectedWallet as D, type EIP1193 as E, resolveWalletAddressForChain as F, upsertWalletIdentityAddress as G, useWireDetectionIntoManager as H, IdentityStore as I, walletManager as J, type NativeCurrency as N, type SimpleWalletInterface as S, type TokenDef as T, type WalletInterFaceAPI as W, type BalanceStreamOptions as a, type ChainMeta as b, type ChainType as c, type EIP6963ProviderDetail as d, type EvmWalletInterface as e, type SolanaProviderLike as f, type SolanaWalletInterface as g, type TokenMeta as h, type TokenPageInfo as i, type TokenPageOptions as j, type TokenPageResult as k, type TokenType as l, type TokenWithBalance as m, type WagmiBridge as n, type WagmiConnector as o, type WalletAddressBalanceWrapper as p, type WalletAddressResolution as q, type WalletAddressSource as r, type WalletCategory as s, type WalletEcosystem as t, type WalletId as u, type WalletIdentity as v, type WalletIdentityAddress as w, type WalletIdentityChainLike as x, type WalletMeta as y, buildWalletIdentityAddress as z };
@@ -1,330 +0,0 @@
1
- type WalletId = "metamask" | "coinbase" | "walletconnect" | "rainbow" | "phantom-evm" | "phantom-solana" | "solflare" | "backpack" | "rabby" | "brave" | "okx" | "zerion" | "taho" | "safe" | "imtoken" | "trust" | "bitget" | "kucoin";
2
- type WalletCategory = "injected" | "walletconnect" | "app";
3
- type WalletEcosystem = "evm" | "solana" | "multi";
4
- type WalletMeta = {
5
- id: WalletId;
6
- name: string;
7
- category: WalletCategory;
8
- ecosystem: WalletEcosystem;
9
- logo: string;
10
- emoji?: string;
11
- homepage?: string;
12
- chromeWebStore?: string;
13
- android?: string;
14
- ios?: string;
15
- deepLink?: (currentUrl: string) => string;
16
- detectFlags?: string[];
17
- };
18
- type EIP1193 = {
19
- request(args: {
20
- method: string;
21
- params?: unknown[] | object;
22
- }): Promise<unknown>;
23
- };
24
- type EIP6963ProviderDetail = {
25
- info: {
26
- uuid: string;
27
- name: string;
28
- icon: string;
29
- rdns?: string;
30
- version?: string;
31
- wallets?: {
32
- name: string;
33
- version?: string;
34
- }[];
35
- features?: string[];
36
- };
37
- provider: any;
38
- methods: string[];
39
- events: string[];
40
- };
41
- type DetectedWallet = {
42
- meta: WalletMeta;
43
- via: "eip6963" | "injected-flag" | "walletconnect" | "solana-window";
44
- detail?: EIP6963ProviderDetail;
45
- provider?: any;
46
- };
47
- type SolanaProviderLike = {
48
- isPhantom?: boolean;
49
- isSolflare?: boolean;
50
- isBackpack?: boolean;
51
- isConnected?: boolean;
52
- publicKey?: {
53
- toString(): string;
54
- };
55
- connect?: (options?: Record<string, unknown>) => Promise<unknown>;
56
- disconnect?: () => Promise<void>;
57
- signAndSendTransaction?: (transaction: unknown, options?: Record<string, unknown>) => Promise<{
58
- signature?: string;
59
- } | string>;
60
- signTransaction?: (transaction: unknown) => Promise<{
61
- serialize: () => Uint8Array;
62
- }>;
63
- on?: (event: string, listener: (...args: unknown[]) => void) => void;
64
- off?: (event: string, listener: (...args: unknown[]) => void) => void;
65
- removeListener?: (event: string, listener: (...args: unknown[]) => void) => void;
66
- };
67
- type BaseWalletInterface = {
68
- ecosystem: "evm" | "solana";
69
- getAddress(): Promise<string>;
70
- disconnect?(): Promise<void>;
71
- };
72
- type EvmWalletInterface = BaseWalletInterface & {
73
- ecosystem: "evm";
74
- getChainId(): Promise<number>;
75
- switchChain(chainId: number): Promise<void>;
76
- } & ({
77
- type: "eip1193";
78
- request(args: {
79
- method: string;
80
- params?: unknown[] | object;
81
- }): Promise<unknown>;
82
- } | {
83
- type: "wagmi";
84
- sendTransaction(tx: {
85
- to: `0x${string}`;
86
- data: `0x${string}`;
87
- value?: bigint;
88
- chainId?: number;
89
- }): Promise<{
90
- hash: `0x${string}`;
91
- }>;
92
- });
93
- type SolanaWalletInterface = BaseWalletInterface & {
94
- ecosystem: "solana";
95
- type: "solana";
96
- getChainKey(): Promise<string>;
97
- sendSerializedTransaction(serializedTransactionBase64: string, chainId?: string): Promise<string>;
98
- };
99
- type WalletInterFaceAPI = EvmWalletInterface | SolanaWalletInterface;
100
- type SimpleWalletInterface = {
101
- getAddress(): Promise<string>;
102
- disconnect?(): Promise<void>;
103
- };
104
-
105
- type ChainMeta = {
106
- id: string;
107
- networkIdentifier: string;
108
- nativeCurrency: {
109
- symbol: string;
110
- decimals: number;
111
- name: string;
112
- };
113
- };
114
- type TokenMeta = {
115
- chainId: string;
116
- address: `0x${string}`;
117
- symbol: string;
118
- decimals: number;
119
- visible?: boolean;
120
- active?: boolean;
121
- };
122
- type BalanceRow = {
123
- chain_key: string;
124
- category: "native" | "erc20" | "spl" | "btc";
125
- contract?: string;
126
- address?: string;
127
- symbol?: string;
128
- decimals: number;
129
- balance: string;
130
- name?: string;
131
- logoURI?: string;
132
- usdPrice?: number;
133
- };
134
- type WalletAddressBalanceWrapper = {
135
- chain_id: string;
136
- balances: BalanceRow[];
137
- count: number;
138
- error: string | null;
139
- source: string;
140
- };
141
- type TokenPageOptions = {
142
- cursor?: string;
143
- limit?: number;
144
- q?: string;
145
- };
146
- type TokenPageInfo = {
147
- hasNextPage: boolean;
148
- nextCursor?: string;
149
- };
150
- type TokenPageResult = {
151
- data: TokenDef[];
152
- pageInfo: TokenPageInfo;
153
- };
154
- type BalanceStreamOptions = {
155
- stream?: boolean;
156
- signal?: AbortSignal;
157
- strict?: boolean;
158
- };
159
- type ChainType = "evm" | "cosmos" | "solana" | "btc" | string;
160
- interface NativeCurrency {
161
- symbol: string;
162
- name?: string;
163
- decimals?: number;
164
- icon?: string;
165
- }
166
- interface ChainDef {
167
- /** API commonly sends both. We canonicalize on chainId as string. */
168
- chainId: string | number;
169
- id?: string | number;
170
- /** Keys we use to resolve chains from presets / user input */
171
- networkIdentifier?: string;
172
- axelarChainName?: string;
173
- networkName?: string;
174
- /** UI/availability flags */
175
- enabled?: boolean;
176
- visible?: boolean;
177
- isTestnet?: boolean;
178
- /** Display */
179
- chainIconURI?: string;
180
- nativeCurrency?: NativeCurrency;
181
- /** Kinds (some payloads use both) */
182
- type?: ChainType;
183
- chainType?: ChainType;
184
- /** Nice-to-have extras we won't rely on but keep for completeness */
185
- blockExplorerUrls?: string[];
186
- rpc?: string;
187
- rpcList?: string[];
188
- }
189
- type TokenType = "evm" | "solana" | "btc" | string;
190
- interface TokenDef {
191
- /** Core identity */
192
- address: string;
193
- chainId: string | number;
194
- /** Display */
195
- logoURI?: string;
196
- name: string;
197
- symbol: string;
198
- /** Behavior / filtering */
199
- decimals: number;
200
- active?: boolean;
201
- visible?: boolean;
202
- type: TokenType;
203
- /** Optional metadata */
204
- usdPrice?: number;
205
- coingeckoId?: string;
206
- createdBy?: string;
207
- subGraphIds?: string[];
208
- subGraphOnly?: boolean;
209
- }
210
- type TokenWithBalance = TokenDef & {
211
- balance?: bigint;
212
- };
213
-
214
- type WalletAddressSource = "provider" | "manual" | "imported";
215
- type WalletIdentityAddress = {
216
- address: string;
217
- chainType: ChainType;
218
- chainKey?: string;
219
- chainId?: string;
220
- providerId?: string;
221
- source: WalletAddressSource;
222
- };
223
- type WalletIdentity = {
224
- addresses: WalletIdentityAddress[];
225
- };
226
- type WalletAddressResolution = {
227
- status: "resolved";
228
- address: string;
229
- source: WalletAddressSource;
230
- chainType: ChainType;
231
- chainKey?: string;
232
- chainId?: string;
233
- } | {
234
- status: "missing" | "invalid";
235
- reason: string;
236
- address?: string;
237
- source?: WalletAddressSource;
238
- chainType?: ChainType;
239
- chainKey?: string;
240
- chainId?: string;
241
- };
242
- type WalletIdentityChainLike = ChainDef | ChainType | string | null;
243
-
244
- type WagmiConnector = {
245
- /** Human label like "MetaMask", "WalletConnect" */
246
- name: string;
247
- /** Free-form type hint: "injected" | "walletConnect" | ... */
248
- type?: string;
249
- };
250
- type WagmiBridge = {
251
- /** Host app believes it’s connected (Wagmi state) */
252
- isConnected(): boolean;
253
- /** List of available connectors */
254
- connectors(): WagmiConnector[];
255
- /** Try connecting via a specific connector */
256
- connect(connector: WagmiConnector): Promise<void>;
257
- /** Disconnect current session */
258
- disconnect(): Promise<void>;
259
- };
260
-
261
- declare function createWalletIdentity(addresses?: WalletIdentityAddress[]): WalletIdentity;
262
- declare function upsertWalletIdentityAddress(identity: WalletIdentity, next: WalletIdentityAddress): WalletIdentity;
263
- declare function resolveWalletAddressForChain(identity: WalletIdentity, chain?: WalletIdentityChainLike): WalletAddressResolution;
264
- declare function buildWalletIdentityAddress(params: {
265
- address: string;
266
- chain: WalletIdentityChainLike;
267
- source: WalletAddressSource;
268
- providerId?: string;
269
- }): WalletIdentityAddress | null;
270
- declare class IdentityStore {
271
- private _identity;
272
- get snapshot(): WalletIdentity;
273
- reset(): void;
274
- upsert(next: WalletIdentityAddress): WalletIdentity;
275
- resolve(chain?: WalletIdentityChainLike): WalletAddressResolution;
276
- }
277
-
278
- type Status = "idle" | "detecting" | "connecting" | "connected" | "error";
279
- type Listener = (s: Status) => void;
280
- declare class WalletManager {
281
- private _status;
282
- private _wallet;
283
- private _detected;
284
- private _listeners;
285
- private _error;
286
- private _identity;
287
- private _providerCleanup;
288
- private _connectedWalletId;
289
- get status(): Status;
290
- get error(): string | null;
291
- get detected(): DetectedWallet[];
292
- get wallet(): WalletInterFaceAPI | null;
293
- get simple(): SimpleWalletInterface | null;
294
- get identity(): WalletIdentity;
295
- get connectedWalletId(): string | null;
296
- onChange(fn: Listener): () => boolean;
297
- private emit;
298
- /** Provide detection results (from your hook or custom function). */
299
- setDetected(list: DetectedWallet[]): void;
300
- /** Optional: auto attach to the first/best detected wallet. */
301
- autoAttach(opts?: {
302
- wagmi?: WagmiBridge;
303
- pick?: (list: DetectedWallet[]) => DetectedWallet | undefined;
304
- }): Promise<void>;
305
- connectDetected(target: DetectedWallet, opts?: {
306
- wagmi?: WagmiBridge;
307
- }): Promise<{
308
- error: null;
309
- api: WalletInterFaceAPI;
310
- } | {
311
- error: string;
312
- api: WalletInterFaceAPI | null;
313
- } | undefined>;
314
- disconnect(wagmi?: WagmiBridge): Promise<void>;
315
- /** Directly attach a pre-provided wallet interface (from old provider prop). */
316
- attachWallet(api: WalletInterFaceAPI): void;
317
- /** Optional helper to set explicit status (e.g., "initializing" UX). */
318
- setStatus(s: Status): void;
319
- addIdentityAddress(address: WalletIdentityAddress): void;
320
- resolveAddressForChain(chain: Parameters<IdentityStore["resolve"]>[0]): WalletAddressResolution;
321
- private clearProviderCleanup;
322
- private clearConnectedWalletState;
323
- private bindProviderEvents;
324
- private syncIdentityFromWallet;
325
- }
326
- declare const walletManager: WalletManager;
327
- /** If you’re in React, call this once near your widget to push detection results into the manager. */
328
- declare function useWireDetectionIntoManager(): void;
329
-
330
- export { createWalletIdentity as A, type BalanceRow as B, type ChainDef as C, type DetectedWallet as D, type EIP1193 as E, resolveWalletAddressForChain as F, upsertWalletIdentityAddress as G, useWireDetectionIntoManager as H, IdentityStore as I, walletManager as J, type NativeCurrency as N, type SimpleWalletInterface as S, type TokenDef as T, type WalletInterFaceAPI as W, type BalanceStreamOptions as a, type ChainMeta as b, type ChainType as c, type EIP6963ProviderDetail as d, type EvmWalletInterface as e, type SolanaProviderLike as f, type SolanaWalletInterface as g, type TokenMeta as h, type TokenPageInfo as i, type TokenPageOptions as j, type TokenPageResult as k, type TokenType as l, type TokenWithBalance as m, type WagmiBridge as n, type WagmiConnector as o, type WalletAddressBalanceWrapper as p, type WalletAddressResolution as q, type WalletAddressSource as r, type WalletCategory as s, type WalletEcosystem as t, type WalletId as u, type WalletIdentity as v, type WalletIdentityAddress as w, type WalletIdentityChainLike as x, type WalletMeta as y, buildWalletIdentityAddress as z };