@injectivelabs/wallet-base 1.20.8 → 1.20.10

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,451 +1,10 @@
1
+ import { A as WalletConnectMetadata, B as Wallet, C as SendTransactionOptions, D as TurnkeyOAuthProvider, E as TurnkeyMetadata, F as onAccountChangeCallback, G as WalletConnectStrategyEventType, H as WalletDeviceType, I as onChainIdChangeCallback, J as WalletStrategyEmitterEvents, K as WalletStrategyEmitter, L as BroadcastMode, M as WalletStrategy, N as WalletStrategyArguments, O as TurnkeyProvider, P as WalletStrategyEvmOptions, R as EvmWalletProviderErrorCode, S as PrivateKeyMetadata, T as StrategyEmitter, U as WalletEventListener, V as WalletAction, W as StrategyEventType, _ as ConcreteWalletStrategy, a as isEip712V2OnlyWallet, b as Eip1193Provider, c as BrowserEip1993Provider, d as EIP6963ProviderInfo, f as WindowWithEip1193Provider, g as ConcreteStrategiesArg, h as ConcreteEvmWalletStrategyArgs, i as isCosmosWallet, j as WalletMetadata, k as TurnkeySession, l as EIP6963AnnounceProviderEvent, m as ConcreteCosmosWalletStrategyArgs, n as isCosmosAminoOnlyWallet, o as isEvmBrowserWallet, p as ConcreteCosmosWalletStrategy, q as WalletStrategyEmitterEventType, r as isCosmosBrowserWallet, s as isEvmWallet, t as BaseConcreteStrategy, u as EIP6963ProviderDetail, v as ConcreteWalletStrategyArgs, w as StdSignDoc, x as MagicMetadata, y as CosmosWalletAbstraction, z as MagicProvider } from "./base-Bek8jyaS.js";
1
2
  import { BigNumber } from "@injectivelabs/utils";
2
- import { AccountAddress, ChainId, CosmosChainId, EvmChainId } from "@injectivelabs/ts-types";
3
+ import { ChainId, EvmChainId } from "@injectivelabs/ts-types";
3
4
  import { Account, Chain, LocalAccount, PublicClient, WalletClient } from "viem";
4
- import { CosmosTxV1Beta1TxPb } from "@injectivelabs/sdk-ts";
5
- import { StdSignDoc } from "@keplr-wallet/types";
6
- import { OfflineSigner } from "@cosmjs/proto-signing";
7
- import { TxClientInclusionOptions, TxResponse } from "@injectivelabs/sdk-ts/core/tx";
8
- import { AminoSignResponse, DirectSignResponse, TxRaw } from "@injectivelabs/sdk-ts/types";
9
- import { EIP1193Provider } from "eip1193-provider";
5
+ import { CosmosTxV1Beta1TxPb } from "@injectivelabs/sdk-ts/proto/cosmos-tx";
10
6
  import { Msgs } from "@injectivelabs/sdk-ts/core/modules";
11
7
 
12
- //#region src/types/events.d.ts
13
- declare const StrategyEventType: {
14
- readonly ConnectionEnd: "connection-end";
15
- readonly ConnectionStart: "connection-start";
16
- readonly WalletSigningEnd: "wallet-signing-end";
17
- readonly WalletSigningStart: "wallet-signing-start";
18
- };
19
- declare const WalletConnectStrategyEventType: {
20
- readonly WalletConnectSigningWithTxTimeout: "signing-with-tx-timeout";
21
- };
22
- declare const WalletStrategyEmitterEventType: {
23
- readonly TransactionFail: "transaction-fail";
24
- readonly TransactionSigned: "transaction-signed";
25
- readonly TransactionSignStart: "transaction-sign-start";
26
- readonly TransactionBroadcastEnd: "transaction-broadcast-end";
27
- readonly TransactionBroadcastStart: "transaction-broadcast-start";
28
- readonly TransactionBroadcastSynced: "transaction-broadcast-synced";
29
- readonly TransactionPreparationEnd: "transaction-preparation-end";
30
- readonly TransactionPreparationStart: "transaction-preparation-start";
31
- readonly WalletStrategyDisconnect: "wallet-strategy-disconnect";
32
- };
33
- type StrategyEventType = (typeof StrategyEventType)[keyof typeof StrategyEventType] | (typeof WalletConnectStrategyEventType)[keyof typeof WalletConnectStrategyEventType];
34
- type WalletStrategyEmitterEventType = (typeof WalletStrategyEmitterEventType)[keyof typeof WalletStrategyEmitterEventType] | StrategyEventType;
35
- type WalletStrategyEmitterEvents = { [K in WalletStrategyEmitterEventType]: Record<string, any> };
36
- interface WalletStrategyEmitter {
37
- on(event: WalletStrategyEmitterEventType, listener: (...args: any[]) => void): this;
38
- off(event: WalletStrategyEmitterEventType, listener: (...args: any[]) => void): this;
39
- emit(event: WalletStrategyEmitterEventType, ...args: any[]): boolean;
40
- }
41
- //#endregion
42
- //#region src/types/enums.d.ts
43
- declare const BroadcastMode: {
44
- readonly Block: "block";
45
- readonly Sync: "sync";
46
- readonly Async: "async";
47
- };
48
- type BroadcastMode = (typeof BroadcastMode)[keyof typeof BroadcastMode];
49
- declare const Wallet: {
50
- readonly Leap: "leap";
51
- readonly Keplr: "keplr";
52
- readonly Ninji: "ninji";
53
- readonly Magic: "magic";
54
- readonly Rabby: "rabby";
55
- readonly Ledger: "ledger";
56
- readonly BitGet: "BitGet";
57
- readonly OWallet: "owallet";
58
- readonly Phantom: "phantom";
59
- readonly Rainbow: "rainbow";
60
- readonly Turnkey: "turnkey";
61
- readonly Metamask: "metamask";
62
- readonly KeplrEvm: "keplr-evm";
63
- readonly OkxWallet: "okx-wallet";
64
- readonly PrivateKey: "private-key";
65
- readonly TrustWallet: "trust-wallet";
66
- readonly TrezorBip32: "trezor-bip32";
67
- readonly TrezorBip44: "trezor-bip44";
68
- readonly Cosmostation: "cosmostation";
69
- readonly LedgerCosmos: "ledger-cosmos";
70
- readonly LedgerLegacy: "ledger-legacy";
71
- readonly WalletConnect: "wallet-connect";
72
- readonly CosmostationEth: "cosmostation-eth";
73
- };
74
- type Wallet = (typeof Wallet)[keyof typeof Wallet];
75
- declare const MagicProvider: {
76
- readonly Email: "email";
77
- readonly Apple: "apple";
78
- readonly Github: "github";
79
- readonly Google: "google";
80
- readonly Discord: "discord";
81
- readonly Twitter: "twitter";
82
- readonly Facebook: "facebook";
83
- };
84
- type MagicProvider = (typeof MagicProvider)[keyof typeof MagicProvider];
85
- declare const WalletDeviceType: {
86
- readonly Mobile: "mobile";
87
- readonly Other: "other";
88
- readonly Browser: "browser";
89
- readonly Hardware: "hardware";
90
- };
91
- type WalletDeviceType = (typeof WalletDeviceType)[keyof typeof WalletDeviceType];
92
- declare const WalletEventListener: {
93
- readonly AccountChange: "account-change";
94
- readonly ChainIdChange: "chain-id-change";
95
- };
96
- type WalletEventListener = (typeof WalletEventListener)[keyof typeof WalletEventListener];
97
- declare const EvmWalletProviderErrorCode: {
98
- readonly InternalError: -32603;
99
- readonly UserRejectedRequest: 4001;
100
- readonly UnrecognizedChain: 4902;
101
- };
102
- type EvmWalletProviderErrorCode = (typeof EvmWalletProviderErrorCode)[keyof typeof EvmWalletProviderErrorCode];
103
- declare const WalletAction: {
104
- GetChainId: "get-chain-id";
105
- GetAccounts: "get-accounts";
106
- GetNetworkId: "get-network-id";
107
- SignArbitrary: "sign-arbitrary";
108
- SignTransaction: "sign-transaction";
109
- SendTransaction: "send-transaction";
110
- SendEvmTransaction: "send-evm-transaction";
111
- SignEvmTransaction: "sign-evm-transaction";
112
- GetEvmTransactionReceipt: "get-evm-transaction-receipt";
113
- };
114
- //#endregion
115
- //#region src/types/strategy.d.ts
116
- interface StrategyEmitter {
117
- emit(event: string, data?: Record<string, any>): boolean;
118
- }
119
- type onAccountChangeCallback = (account: string | string[]) => void;
120
- type onChainIdChangeCallback = () => void;
121
- type Eip1193Provider = {
122
- request: (args: {
123
- method: string;
124
- params: any[];
125
- }) => Promise<any>;
126
- on: (event: string, listener: (...args: any[]) => void) => void;
127
- removeListener: (event: string, listener: (...args: any[]) => void) => void;
128
- };
129
- type CosmosWalletAbstraction = {
130
- enableGasCheck?(chainId: ChainId): Promise<void> | void;
131
- disableGasCheck?(chainId: ChainId): Promise<void> | void;
132
- signEIP712CosmosTx(args: {
133
- signDoc: StdSignDoc;
134
- eip712: any;
135
- }): Promise<AminoSignResponse>;
136
- };
137
- type MagicMetadata = {
138
- apiKey?: string;
139
- rpcEndpoint?: string;
140
- };
141
- type PrivateKeyMetadata = {
142
- privateKey: string;
143
- };
144
- type WalletConnectMetadata = {
145
- projectId?: string;
146
- };
147
- interface WalletStrategyEvmOptions {
148
- evmChainId: EvmChainId;
149
- rpcUrl?: string;
150
- rpcUrls?: Partial<Record<number, string>>;
151
- }
152
- interface SendTransactionOptions {
153
- address: string;
154
- chainId: ChainId;
155
- txTimeout?: number;
156
- txInclusion?: TxClientInclusionOptions;
157
- onBroadcast?: (txHash: string) => void;
158
- endpoints: {
159
- rest: string;
160
- grpc: string;
161
- tm?: string;
162
- };
163
- }
164
- declare const TurnkeyProvider: {
165
- readonly Sms: "sms";
166
- readonly Apple: "apple";
167
- readonly Email: "email";
168
- readonly Google: "google";
169
- readonly Twitter: "twitter";
170
- };
171
- type TurnkeyProvider = (typeof TurnkeyProvider)[keyof typeof TurnkeyProvider];
172
- type TurnkeyOAuthProvider = typeof TurnkeyProvider.Apple | typeof TurnkeyProvider.Google | typeof TurnkeyProvider.Twitter;
173
- type TurnkeySession = {
174
- sessionType: any;
175
- userId: string;
176
- organizationId: string;
177
- expiry: number;
178
- token: string;
179
- };
180
- interface TurnkeyMetadata {
181
- apiBaseUrl: string;
182
- otpInitPath?: string;
183
- otpVerifyPath?: string;
184
- googleClientId?: string;
185
- oauthLoginPath?: string;
186
- session?: TurnkeySession;
187
- twitterClientId?: string;
188
- apiServerEndpoint: string;
189
- credentialBundle?: string;
190
- googleRedirectUri?: string;
191
- expirationSeconds?: string;
192
- twitterRedirectUri?: string;
193
- oauth2ExchangePath?: string;
194
- defaultOrganizationId: string;
195
- }
196
- interface WalletMetadata {
197
- magic?: MagicMetadata;
198
- turnkey?: Partial<TurnkeyMetadata>;
199
- walletConnect?: WalletConnectMetadata;
200
- privateKey?: PrivateKeyMetadata;
201
- derivationPath?: string;
202
- baseDerivationPath?: string;
203
- }
204
- interface ConcreteWalletStrategyArgs {
205
- chainId: ChainId;
206
- metadata?: WalletMetadata;
207
- emitter?: StrategyEmitter;
208
- }
209
- interface ConcreteEvmWalletStrategyArgs extends ConcreteWalletStrategyArgs {
210
- evmOptions: WalletStrategyEvmOptions;
211
- }
212
- interface ConcreteCosmosWalletStrategyArgs extends ConcreteWalletStrategyArgs {
213
- wallet?: Wallet;
214
- }
215
- interface ConcreteCosmosWalletStrategy {
216
- metadata?: WalletMetadata;
217
- setMetadata?(metadata?: WalletMetadata): void;
218
- /**
219
- * The accounts from the wallet (addresses)
220
- */
221
- getAddresses(args?: unknown): Promise<string[]>;
222
- /**
223
- * The accounts from the wallet with derivation path info (for hardware wallets)
224
- */
225
- getAddressesInfo(args?: unknown): Promise<{
226
- address: string;
227
- derivationPath: string;
228
- baseDerivationPath: string;
229
- }[]>;
230
- /**
231
- * Return the WalletDeviceType connected on the
232
- * wallet provider (extension, mobile, hardware wallet)
233
- */
234
- getWalletDeviceType(): Promise<WalletDeviceType>;
235
- /**
236
- * Get the PubKey from the wallet
237
- * in base64 for Cosmos native wallets
238
- */
239
- getPubKey(address?: string): Promise<string>;
240
- /**
241
- * Perform validations and checks
242
- * for the wallet (if the chain is supported, etc)
243
- */
244
- enable(args?: unknown): Promise<boolean>;
245
- /**
246
- * Sends Cosmos transaction. Returns a transaction hash
247
- * @param transaction should implement TransactionConfig
248
- * @param options
249
- */
250
- sendTransaction(transaction: DirectSignResponse | TxRaw, options: SendTransactionOptions): Promise<TxResponse>;
251
- signCosmosTransaction(transaction: {
252
- txRaw: TxRaw;
253
- chainId: string;
254
- accountNumber: number;
255
- address: string;
256
- }): Promise<DirectSignResponse>;
257
- signAminoTransaction(transaction: {
258
- stdSignDoc: StdSignDoc;
259
- address: string;
260
- }): Promise<AminoSignResponse>;
261
- }
262
- type ConcreteStrategiesArg = { [key in Wallet]?: ConcreteWalletStrategy };
263
- interface WalletStrategyArguments {
264
- chainId: ChainId;
265
- metadata?: WalletMetadata;
266
- evmOptions?: WalletStrategyEvmOptions;
267
- disabledWallets?: Wallet[];
268
- wallet?: Wallet;
269
- strategies: ConcreteStrategiesArg;
270
- }
271
- interface ConcreteWalletStrategy extends Omit<ConcreteCosmosWalletStrategy, 'sendTransaction' | 'isChainIdSupported' | 'signAminoTransaction'> {
272
- /**
273
- * The accounts from the wallet with derivation path info (for hardware wallets)
274
- */
275
- getAddressesInfo(args?: unknown): Promise<{
276
- address: string;
277
- derivationPath: string;
278
- baseDerivationPath: string;
279
- }[]>;
280
- /**
281
- * Sends Cosmos transaction. Returns a transaction hash
282
- * @param transaction should implement TransactionConfig
283
- * @param options
284
- */
285
- sendTransaction(transaction: DirectSignResponse | TxRaw, options: {
286
- address: string;
287
- chainId: ChainId;
288
- txTimeout?: number;
289
- txInclusion?: TxClientInclusionOptions;
290
- onBroadcast?: (txHash: string) => void;
291
- endpoints?: {
292
- rest: string;
293
- grpc: string;
294
- tm?: string;
295
- };
296
- }): Promise<TxResponse>;
297
- /**
298
- * Confirm the address on the wallet
299
- * @param address address
300
- */
301
- getSessionOrConfirm(address?: string): Promise<string>;
302
- /**
303
- * Sends Ethereum transaction. Returns a transaction hash
304
- * @param transaction should implement TransactionConfig
305
- * @param options
306
- */
307
- sendEvmTransaction(transaction: unknown, options: {
308
- address: string;
309
- evmChainId: EvmChainId;
310
- }): Promise<string>;
311
- /**
312
- * Sign a cosmos transaction using the wallet provider
313
- *
314
- * @param transaction
315
- * @param address - injective address
316
- */
317
- signCosmosTransaction(transaction: {
318
- txRaw: TxRaw;
319
- accountNumber: number;
320
- chainId: string;
321
- address: string;
322
- }): Promise<DirectSignResponse>;
323
- /**
324
- * Sign an amino sign doc using the wallet provider
325
- *
326
- * @param transaction
327
- * @param address - injective address
328
- */
329
- signAminoCosmosTransaction(transaction: {
330
- signDoc: StdSignDoc;
331
- address: string;
332
- }): Promise<AminoSignResponse>;
333
- /**
334
- * Sign EIP712 TypedData using the wallet provider
335
- * @param eip712TypedData
336
- * @param address - ethereum address
337
- */
338
- signEip712TypedData(eip712TypedData: string, address: string, options?: {
339
- txTimeout?: number;
340
- }): Promise<string>;
341
- signArbitrary(signer: string, data: string | Uint8Array): Promise<string>;
342
- getEthereumChainId(): Promise<string>;
343
- getEvmTransactionReceipt(txHash: string, evmChainId?: EvmChainId): void;
344
- onAccountChange?(callback: onAccountChangeCallback): Promise<void> | void;
345
- onChainIdChange?(callback: onChainIdChangeCallback): Promise<void> | void;
346
- initStrategy?(): Promise<void> | void;
347
- disconnect?(): Promise<void> | void;
348
- getCosmosWallet?(chainId: ChainId): CosmosWalletAbstraction;
349
- getWalletClient?<T>(): Promise<T>;
350
- getEip1193Provider?(): Promise<Eip1193Provider>;
351
- getOfflineSigner?(chainId: string): Promise<OfflineSigner>;
352
- }
353
- interface WalletStrategy {
354
- strategies: ConcreteStrategiesArg;
355
- wallet: Wallet;
356
- args: WalletStrategyArguments;
357
- metadata?: WalletMetadata;
358
- getWallet(): Wallet;
359
- getWalletClient?<T>(): Promise<T>;
360
- setWallet(wallet: Wallet): Promise<void>;
361
- setMetadata(metadata?: WalletMetadata): void;
362
- getStrategy(): ConcreteWalletStrategy;
363
- getAddresses(args?: unknown): Promise<AccountAddress[]>;
364
- getAddressesInfo(args?: unknown): Promise<{
365
- address: string;
366
- derivationPath: string;
367
- baseDerivationPath: string;
368
- }[]>;
369
- getWalletDeviceType(): Promise<WalletDeviceType>;
370
- getPubKey(address?: string): Promise<string>;
371
- enable(args?: unknown): Promise<boolean>;
372
- enableAndGetAddresses(args?: unknown): Promise<AccountAddress[]>;
373
- getEthereumChainId(): Promise<string>;
374
- getEvmTransactionReceipt(txHash: string, evmChainId?: EvmChainId): Promise<void>;
375
- getSessionOrConfirm(address?: AccountAddress): Promise<string>;
376
- sendTransaction(tx: DirectSignResponse | TxRaw, options: SendTransactionOptions): Promise<TxResponse>;
377
- sendEvmTransaction(tx: any, options: {
378
- address: AccountAddress;
379
- evmChainId: EvmChainId;
380
- }): Promise<string>;
381
- signEip712TypedData(eip712TypedData: string, address: AccountAddress, options?: {
382
- txTimeout?: number;
383
- }): Promise<string>;
384
- signAminoCosmosTransaction(transaction: {
385
- signDoc: StdSignDoc;
386
- address: string;
387
- }): Promise<AminoSignResponse>;
388
- signCosmosTransaction(transaction: {
389
- txRaw: TxRaw;
390
- accountNumber: number;
391
- chainId: string;
392
- address: string;
393
- }): Promise<DirectSignResponse>;
394
- signArbitrary(signer: string, data: string | Uint8Array): Promise<string | void>;
395
- onAccountChange(callback: onAccountChangeCallback): Promise<void>;
396
- onChainIdChange(callback: onChainIdChangeCallback): Promise<void>;
397
- disconnect(): Promise<void>;
398
- getCosmosWallet?(chainId: ChainId): CosmosWalletAbstraction;
399
- getEip1193Provider?(): Promise<Eip1193Provider>;
400
- getOfflineSigner?(chainId: string): Promise<OfflineSigner>;
401
- }
402
- //#endregion
403
- //#region src/types/provider.d.ts
404
- interface BrowserEip1993Provider extends EIP1193Provider {
405
- removeAllListeners(): void;
406
- providers?: BrowserEip1993Provider[];
407
- isTrust: boolean;
408
- isKeplr: boolean;
409
- isRabby: boolean;
410
- isRainbow: boolean;
411
- isPhantom: boolean;
412
- isBitGet?: boolean;
413
- isBitKeep?: boolean;
414
- isMetaMask: boolean;
415
- isOkxWallet: boolean;
416
- isTrustWallet: boolean;
417
- }
418
- interface WindowWithEip1193Provider extends Omit<Window, 'ethereum' | 'keplr'> {
419
- rainbow: BrowserEip1993Provider;
420
- rabby: BrowserEip1993Provider;
421
- ethereum: BrowserEip1993Provider;
422
- okxwallet: BrowserEip1993Provider;
423
- providers: BrowserEip1993Provider[];
424
- trustWallet?: BrowserEip1993Provider;
425
- bitkeep: {
426
- ethereum: BrowserEip1993Provider;
427
- };
428
- phantom?: {
429
- ethereum?: BrowserEip1993Provider;
430
- };
431
- keplr?: {
432
- ethereum?: BrowserEip1993Provider;
433
- };
434
- }
435
- interface EIP6963ProviderInfo {
436
- rdns: string;
437
- uuid: string;
438
- name: string;
439
- icon: string;
440
- }
441
- interface EIP6963ProviderDetail {
442
- info: EIP6963ProviderInfo;
443
- provider: BrowserEip1993Provider;
444
- }
445
- type EIP6963AnnounceProviderEvent = {
446
- detail: EIP6963ProviderDetail;
447
- };
448
- //#endregion
449
8
  //#region src/utils/tx.d.ts
450
9
  declare const createEip712StdSignDoc: ({
451
10
  memo,
@@ -499,14 +58,6 @@ declare const getViemWalletClient: ({
499
58
  }) => WalletClient;
500
59
  declare const getViemPublicClientFromEip1193Provider: (chainId: EvmChainId | number, provider: BrowserEip1993Provider) => PublicClient;
501
60
  //#endregion
502
- //#region src/utils/wallet.d.ts
503
- declare const isEvmWallet: (wallet: Wallet) => boolean;
504
- declare const isCosmosWallet: (wallet: Wallet) => boolean;
505
- declare const isEvmBrowserWallet: (wallet: Wallet) => boolean;
506
- declare const isCosmosBrowserWallet: (wallet: Wallet) => boolean;
507
- declare const isEip712V2OnlyWallet: (wallet: Wallet) => boolean;
508
- declare const isCosmosAminoOnlyWallet: (wallet: Wallet) => boolean;
509
- //#endregion
510
61
  //#region src/utils/cosmos.d.ts
511
62
  declare const createCosmosSignDocFromSignDoc: (signDoc: CosmosTxV1Beta1TxPb.SignDoc) => any;
512
63
  //#endregion
@@ -521,24 +72,4 @@ declare const DEFAULT_BASE_DERIVATION_PATH = "m/44'/60'";
521
72
  declare const DEFAULT_NUM_ADDRESSES_TO_FETCH = 5;
522
73
  declare const DEFAULT_ADDRESS_SEARCH_LIMIT = 100;
523
74
  //#endregion
524
- //#region src/base.d.ts
525
- declare abstract class BaseConcreteStrategy {
526
- protected chainId: ChainId | CosmosChainId;
527
- protected evmChainId?: EvmChainId;
528
- protected listeners: Partial<Record<WalletEventListener, any>>;
529
- metadata?: WalletMetadata;
530
- /**
531
- * Optional emitter passed from parent WalletStrategy.
532
- * When provided, strategies emit events directly on the parent's emitter.
533
- */
534
- protected emitter?: StrategyEmitter;
535
- constructor(args: ConcreteWalletStrategyArgs | ConcreteEvmWalletStrategyArgs | ConcreteCosmosWalletStrategyArgs);
536
- setMetadata(metadata?: WalletMetadata): void;
537
- /**
538
- * Emit an event from this strategy.
539
- * If emitter was provided from parent, events go directly to parent.
540
- */
541
- protected emit(event: WalletStrategyEmitterEventType, data?: Record<string, any>): void;
542
- }
543
- //#endregion
544
- export { BaseConcreteStrategy, BroadcastMode, BrowserEip1993Provider, ConcreteCosmosWalletStrategy, ConcreteCosmosWalletStrategyArgs, ConcreteEvmWalletStrategyArgs, ConcreteStrategiesArg, ConcreteWalletStrategy, ConcreteWalletStrategyArgs, CosmosWalletAbstraction, DEFAULT_ADDRESS_SEARCH_LIMIT, DEFAULT_BASE_DERIVATION_PATH, DEFAULT_NUM_ADDRESSES_TO_FETCH, EIP6963AnnounceProviderEvent, EIP6963ProviderDetail, EIP6963ProviderInfo, Eip1193Provider, EvmWalletProviderErrorCode, GWEI_IN_WEI, MagicMetadata, MagicProvider, PrivateKeyMetadata, SendTransactionOptions, type StdSignDoc, StrategyEmitter, StrategyEventType, TIP_IN_GWEI, TurnkeyMetadata, TurnkeyOAuthProvider, TurnkeyProvider, TurnkeySession, Wallet, WalletAction, WalletConnectMetadata, WalletConnectStrategyEventType, WalletDeviceType, WalletEventListener, WalletMetadata, WalletStrategy, WalletStrategyArguments, WalletStrategyEmitter, WalletStrategyEmitterEventType, WalletStrategyEmitterEvents, WalletStrategyEvmOptions, WindowWithEip1193Provider, createCosmosSignDocFromSignDoc, createEip712StdSignDoc, getEthereumSignerAddress, getEvmChainConfig, getInjectiveSignerAddress, getViemPublicClient, getViemPublicClientFromEip1193Provider, getViemWalletClient, isCosmosAminoOnlyWallet, isCosmosBrowserWallet, isCosmosWallet, isEip712V2OnlyWallet, isEvmBrowserWallet, isEvmWallet, onAccountChangeCallback, onChainIdChangeCallback };
75
+ export { BaseConcreteStrategy, BroadcastMode, BrowserEip1993Provider, ConcreteCosmosWalletStrategy, ConcreteCosmosWalletStrategyArgs, ConcreteEvmWalletStrategyArgs, ConcreteStrategiesArg, ConcreteWalletStrategy, ConcreteWalletStrategyArgs, CosmosWalletAbstraction, DEFAULT_ADDRESS_SEARCH_LIMIT, DEFAULT_BASE_DERIVATION_PATH, DEFAULT_NUM_ADDRESSES_TO_FETCH, EIP6963AnnounceProviderEvent, EIP6963ProviderDetail, EIP6963ProviderInfo, Eip1193Provider, EvmWalletProviderErrorCode, GWEI_IN_WEI, MagicMetadata, MagicProvider, PrivateKeyMetadata, SendTransactionOptions, StdSignDoc, StrategyEmitter, StrategyEventType, TIP_IN_GWEI, TurnkeyMetadata, TurnkeyOAuthProvider, TurnkeyProvider, TurnkeySession, Wallet, WalletAction, WalletConnectMetadata, WalletConnectStrategyEventType, WalletDeviceType, WalletEventListener, WalletMetadata, WalletStrategy, WalletStrategyArguments, WalletStrategyEmitter, WalletStrategyEmitterEventType, WalletStrategyEmitterEvents, WalletStrategyEvmOptions, WindowWithEip1193Provider, createCosmosSignDocFromSignDoc, createEip712StdSignDoc, getEthereumSignerAddress, getEvmChainConfig, getInjectiveSignerAddress, getViemPublicClient, getViemPublicClientFromEip1193Provider, getViemWalletClient, isCosmosAminoOnlyWallet, isCosmosBrowserWallet, isCosmosWallet, isEip712V2OnlyWallet, isEvmBrowserWallet, isEvmWallet, onAccountChangeCallback, onChainIdChangeCallback };