@ab-org/sdk-core 0.1.1 → 0.2.2-beta.0
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/README.md +29 -0
- package/dist/chunk-5HURLKIK.js +1005 -0
- package/dist/chunk-MVZIAM4H.js +363 -0
- package/dist/cubeSignerAuth-DrPc9FeB.d.ts +426 -0
- package/dist/index.d.ts +5 -304
- package/dist/index.js +5 -662
- package/dist/social-auth.d.ts +11 -0
- package/dist/social-auth.js +1 -0
- package/dist/social-provider-Bq58TBRt.d.ts +88 -0
- package/dist/social-provider.d.ts +2 -0
- package/dist/social-provider.js +2 -0
- package/dist/social.d.ts +3 -0
- package/dist/social.js +2 -0
- package/package.json +20 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,134 +1,8 @@
|
|
|
1
|
+
import { W as WalletState, c as WalletSession, B as BalanceInfo, d as WalletAdapter, e as WalletConnectArgs, f as WalletCapability, g as WalletProviderRequest, E as EvmTransactionRequest, S as SessionCapabilityCheck, h as SupportedChain, i as WalletProvider, j as ChainContext, k as SessionCapabilityPolicy } from './cubeSignerAuth-DrPc9FeB.js';
|
|
2
|
+
export { l as ChainDescriptor, m as ChainNamespace, n as ChainRpcFamily, C as CubeSignerAuth, a as CubeSignerConfig, b as CubeSignerSession, o as EvmAccessListItem, p as EvmQuantity, O as OidcLoginHooks, P as ProviderCategory, q as SessionCapabilityError, r as SupportedToken, T as TwitterCodeExchangeParams, s as WalletAuthSource, t as WalletType, u as assertSessionCapability, v as createChainContext, w as createSessionCapabilityPolicy, x as describeSessionCapabilityPolicy, y as getAllChainDescriptors, z as getChainDescriptor, A as getSupportedChainFromEvmChainId, D as isCapabilityPolicyExpired, F as isSessionExpired, G as sessionSupportsCapability } from './cubeSignerAuth-DrPc9FeB.js';
|
|
1
3
|
import EventEmitter from 'eventemitter3';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type WalletCapability = "eth_accounts" | "eth_requestAccounts" | "eth_chainId" | "eth_signTransaction" | "eth_sendTransaction" | "personal_sign" | "eth_signTypedData_v4" | "wallet_disconnect" | "wallet_rehydrate" | string;
|
|
5
|
-
interface SessionCapabilityPolicy {
|
|
6
|
-
id: string;
|
|
7
|
-
appId?: string;
|
|
8
|
-
origin?: string;
|
|
9
|
-
expiresAt?: number;
|
|
10
|
-
methods?: WalletCapability[];
|
|
11
|
-
chains?: SupportedChain[];
|
|
12
|
-
tokens?: SupportedToken[];
|
|
13
|
-
maxAmount?: string;
|
|
14
|
-
revocable?: boolean;
|
|
15
|
-
metadata?: Record<string, unknown>;
|
|
16
|
-
}
|
|
17
|
-
interface SessionCapabilityCheck {
|
|
18
|
-
capability: WalletCapability;
|
|
19
|
-
chain?: SupportedChain;
|
|
20
|
-
token?: SupportedToken;
|
|
21
|
-
amount?: string | number | bigint;
|
|
22
|
-
appId?: string;
|
|
23
|
-
origin?: string;
|
|
24
|
-
now?: number;
|
|
25
|
-
}
|
|
26
|
-
declare class SessionCapabilityError extends Error {
|
|
27
|
-
constructor(message: string);
|
|
28
|
-
}
|
|
29
|
-
declare const createSessionCapabilityPolicy: (input?: Partial<SessionCapabilityPolicy>) => SessionCapabilityPolicy;
|
|
30
|
-
declare const isSessionExpired: (session: Pick<WalletSession, "expiresAt"> | null | undefined, now?: number) => boolean;
|
|
31
|
-
declare const isCapabilityPolicyExpired: (policy: SessionCapabilityPolicy | null | undefined, now?: number) => boolean;
|
|
32
|
-
declare const sessionSupportsCapability: (session: Pick<WalletSession, "capabilities"> | null | undefined, capability: WalletCapability) => boolean;
|
|
33
|
-
declare const describeSessionCapabilityPolicy: (policy: SessionCapabilityPolicy | null | undefined) => string[];
|
|
34
|
-
declare const assertSessionCapability: (session: WalletSession, check: SessionCapabilityCheck) => void;
|
|
35
|
-
|
|
36
|
-
type ChainNamespace = "evm" | "solana" | "ab-core";
|
|
37
|
-
type ChainRpcFamily = "evm" | "solana" | "custom";
|
|
38
|
-
interface ChainDescriptor {
|
|
39
|
-
chain: SupportedChain;
|
|
40
|
-
namespace: ChainNamespace;
|
|
41
|
-
reference: string;
|
|
42
|
-
label: string;
|
|
43
|
-
rpcFamily: ChainRpcFamily;
|
|
44
|
-
evmChainId?: number;
|
|
45
|
-
supportsSmartSessions: boolean;
|
|
46
|
-
supportsAccountAbstraction: boolean;
|
|
47
|
-
}
|
|
48
|
-
interface ChainContext {
|
|
49
|
-
walletChain: SupportedChain;
|
|
50
|
-
walletChainDescriptor: ChainDescriptor;
|
|
51
|
-
settlementChain: SupportedChain;
|
|
52
|
-
settlementChainDescriptor: ChainDescriptor;
|
|
53
|
-
}
|
|
54
|
-
declare const getChainDescriptor: (chain: SupportedChain) => ChainDescriptor;
|
|
55
|
-
declare const getAllChainDescriptors: () => ChainDescriptor[];
|
|
56
|
-
declare const getSupportedChainFromEvmChainId: (value: string | number | bigint) => SupportedChain;
|
|
57
|
-
declare const createChainContext: (walletChain: SupportedChain, settlementChain?: SupportedChain) => ChainContext;
|
|
58
|
-
|
|
59
|
-
type SupportedChain = "AB_CORE" | "ETH" | "BSC" | "SOL" | "ETH_TENDERLY" | "BSC_TENDERLY";
|
|
60
|
-
type SupportedToken = "USD1" | "USDC" | "USDT" | "ETH" | "AB";
|
|
61
|
-
type ProviderCategory = "plugin" | "social";
|
|
62
|
-
type WalletType = "injected" | "social" | "smart";
|
|
63
|
-
type WalletAuthSource = "google" | "twitter" | "wallet" | "session";
|
|
64
|
-
type EvmQuantity = string | number | bigint;
|
|
65
|
-
interface EvmAccessListItem {
|
|
66
|
-
address: string;
|
|
67
|
-
storageKeys?: string[];
|
|
68
|
-
}
|
|
69
|
-
interface EvmTransactionRequest {
|
|
70
|
-
from?: string;
|
|
71
|
-
to?: string;
|
|
72
|
-
data?: string;
|
|
73
|
-
gas?: EvmQuantity;
|
|
74
|
-
gasPrice?: EvmQuantity;
|
|
75
|
-
maxFeePerGas?: EvmQuantity;
|
|
76
|
-
maxPriorityFeePerGas?: EvmQuantity;
|
|
77
|
-
nonce?: EvmQuantity;
|
|
78
|
-
value?: EvmQuantity;
|
|
79
|
-
type?: EvmQuantity;
|
|
80
|
-
chainId?: EvmQuantity;
|
|
81
|
-
accessList?: EvmAccessListItem[];
|
|
82
|
-
}
|
|
83
|
-
interface WalletProviderRequest {
|
|
84
|
-
method: string;
|
|
85
|
-
params?: unknown[];
|
|
86
|
-
}
|
|
87
|
-
interface WalletProvider {
|
|
88
|
-
request<T = unknown>(payload: WalletProviderRequest): Promise<T>;
|
|
89
|
-
disconnect(): Promise<void>;
|
|
90
|
-
}
|
|
91
|
-
interface WalletConnectArgs {
|
|
92
|
-
options?: unknown;
|
|
93
|
-
payload?: unknown;
|
|
94
|
-
}
|
|
95
|
-
interface WalletAdapter {
|
|
96
|
-
id: string;
|
|
97
|
-
title: string;
|
|
98
|
-
icon?: string;
|
|
99
|
-
category?: ProviderCategory;
|
|
100
|
-
connect(args?: WalletConnectArgs): Promise<WalletSession>;
|
|
101
|
-
disconnect(): Promise<void>;
|
|
102
|
-
getProvider(): WalletProvider | null;
|
|
103
|
-
/**
|
|
104
|
-
* Silently restore a wallet session from persisted data without user interaction.
|
|
105
|
-
* Returns a fresh session if the wallet can be reconnected, or null otherwise.
|
|
106
|
-
*/
|
|
107
|
-
reconnect?(persistedSession: WalletSession): Promise<WalletSession | null>;
|
|
108
|
-
}
|
|
109
|
-
interface WalletSession {
|
|
110
|
-
address: string;
|
|
111
|
-
chain: SupportedChain;
|
|
112
|
-
provider: WalletProvider;
|
|
113
|
-
walletType?: WalletType;
|
|
114
|
-
authSource?: WalletAuthSource;
|
|
115
|
-
sessionId?: string;
|
|
116
|
-
expiresAt?: number;
|
|
117
|
-
capabilities?: WalletCapability[];
|
|
118
|
-
sessionData?: unknown;
|
|
119
|
-
chainContext?: ChainContext;
|
|
120
|
-
capabilityPolicy?: SessionCapabilityPolicy;
|
|
121
|
-
}
|
|
122
|
-
interface BalanceInfo {
|
|
123
|
-
formatted: string;
|
|
124
|
-
symbol: SupportedToken;
|
|
125
|
-
wei: bigint;
|
|
126
|
-
}
|
|
127
|
-
interface WalletState {
|
|
128
|
-
session: WalletSession | null;
|
|
129
|
-
balance: BalanceInfo | null;
|
|
130
|
-
isConnecting: boolean;
|
|
131
|
-
}
|
|
4
|
+
import { d as AbstractProvider } from './social-provider-Bq58TBRt.js';
|
|
5
|
+
export { A as AbstractSocialProvider, C as CubistLoginMethod, a as CubistSessionAdapter, b as CubistSocialProvider, S as SocialConnectArgs, c as SocialLoginOptions } from './social-provider-Bq58TBRt.js';
|
|
132
6
|
|
|
133
7
|
declare const EVM_TRANSACTION_SIGNING_UNSUPPORTED = "EVM_TRANSACTION_SIGNING_UNSUPPORTED";
|
|
134
8
|
declare class EvmTransactionSigningUnsupportedError extends Error {
|
|
@@ -240,21 +114,6 @@ declare const createAccountController: () => {
|
|
|
240
114
|
readonly capabilityPolicy: SessionCapabilityPolicy | null;
|
|
241
115
|
};
|
|
242
116
|
|
|
243
|
-
declare abstract class AbstractProvider implements WalletAdapter {
|
|
244
|
-
abstract readonly id: string;
|
|
245
|
-
abstract readonly title: string;
|
|
246
|
-
abstract readonly category: ProviderCategory;
|
|
247
|
-
protected currentSession: WalletSession | null;
|
|
248
|
-
abstract connect(args?: WalletConnectArgs): Promise<WalletSession>;
|
|
249
|
-
disconnect(): Promise<void>;
|
|
250
|
-
protected setSession(session: WalletSession): WalletSession;
|
|
251
|
-
protected clearSession(): void;
|
|
252
|
-
protected get session(): WalletSession | null;
|
|
253
|
-
protected requireSession(message?: string): WalletSession;
|
|
254
|
-
getProvider(): WalletProvider | null;
|
|
255
|
-
reconnect(_persistedSession: WalletSession): Promise<WalletSession | null>;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
117
|
interface InjectedEthereumProvider extends WalletProvider {
|
|
259
118
|
request<T = unknown>(args: {
|
|
260
119
|
method: string;
|
|
@@ -375,162 +234,4 @@ interface InjectedWalletRegistryItem {
|
|
|
375
234
|
}
|
|
376
235
|
declare function createDefaultInjectedWalletRegistry(): InjectedWalletRegistryItem[];
|
|
377
236
|
|
|
378
|
-
|
|
379
|
-
hint?: string;
|
|
380
|
-
redirectUri?: string;
|
|
381
|
-
}
|
|
382
|
-
interface SocialConnectArgs extends WalletConnectArgs {
|
|
383
|
-
options?: SocialLoginOptions;
|
|
384
|
-
}
|
|
385
|
-
declare abstract class AbstractSocialProvider extends AbstractProvider {
|
|
386
|
-
readonly category: "social";
|
|
387
|
-
/**
|
|
388
|
-
* Authenticate and cache a social-wallet session.
|
|
389
|
-
*
|
|
390
|
-
* Some providers only need `options`, while others may require an
|
|
391
|
-
* additional credential payload (for example an OIDC token or OAuth result).
|
|
392
|
-
*/
|
|
393
|
-
abstract signIn(options?: SocialLoginOptions, payload?: unknown): Promise<void>;
|
|
394
|
-
abstract signOut(): Promise<void>;
|
|
395
|
-
connect(args?: WalletConnectArgs): Promise<WalletSession>;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Hook for OIDC login when user does not yet exist in CubeSigner.
|
|
400
|
-
* Before creating a session, we call CubeSigner SDK's proof (proveOidcIdentity) to check
|
|
401
|
-
* if the user exists. If proof fails (e.g. user not registered), this is invoked so the
|
|
402
|
-
* caller can register the user on their backend; then login proceeds.
|
|
403
|
-
*/
|
|
404
|
-
interface OidcLoginHooks {
|
|
405
|
-
/**
|
|
406
|
-
* Register the user on your backend when CubeSigner proof indicates the user does not exist.
|
|
407
|
-
* Called with the same OIDC token; after this resolves, OIDC session creation continues.
|
|
408
|
-
*/
|
|
409
|
-
registerUser(oidcToken: string): Promise<void>;
|
|
410
|
-
}
|
|
411
|
-
interface CubeSignerConfig {
|
|
412
|
-
/** CubeSigner environment name or custom env object. */
|
|
413
|
-
env: Environment | EnvInterface;
|
|
414
|
-
/** Organization ID. */
|
|
415
|
-
orgId: string;
|
|
416
|
-
/** Session scopes (default: `["sign:*", "manage:*"]`). */
|
|
417
|
-
scopes?: string[];
|
|
418
|
-
/** Optional capability policy applied to smart-wallet sessions created from this auth flow. */
|
|
419
|
-
defaultSessionPolicy?: Partial<SessionCapabilityPolicy>;
|
|
420
|
-
/**
|
|
421
|
-
* Optional OIDC login hook. When provided, OIDC login will call CubeSigner SDK's
|
|
422
|
-
* proveOidcIdentity first; if the user does not exist (proof fails), registerUser is
|
|
423
|
-
* called, then login proceeds. If omitted, login uses the OIDC token directly.
|
|
424
|
-
*/
|
|
425
|
-
oidcLoginHooks?: OidcLoginHooks;
|
|
426
|
-
}
|
|
427
|
-
interface CubeSignerSession {
|
|
428
|
-
/** Authenticated CubeSigner client — use it for signing, key management, etc. */
|
|
429
|
-
client: CubeSignerClient;
|
|
430
|
-
/** Raw session data (can be persisted / refreshed). */
|
|
431
|
-
sessionData: SessionData;
|
|
432
|
-
}
|
|
433
|
-
interface TwitterCodeExchangeParams {
|
|
434
|
-
/** Authorization code from Twitter OAuth 2.0 PKCE flow. */
|
|
435
|
-
code: string;
|
|
436
|
-
/** PKCE code_verifier that was generated for the auth request. */
|
|
437
|
-
codeVerifier: string;
|
|
438
|
-
/** redirect_uri that was used in the authorization request. */
|
|
439
|
-
redirectUri: string;
|
|
440
|
-
}
|
|
441
|
-
declare class CubeSignerAuth {
|
|
442
|
-
private readonly env;
|
|
443
|
-
private readonly orgId;
|
|
444
|
-
private readonly scopes;
|
|
445
|
-
readonly defaultSessionPolicy?: Partial<SessionCapabilityPolicy>;
|
|
446
|
-
private readonly oidcLoginHooks?;
|
|
447
|
-
private _client;
|
|
448
|
-
private _sessionData;
|
|
449
|
-
constructor(config: CubeSignerConfig);
|
|
450
|
-
/** Currently authenticated client (null if not logged in). */
|
|
451
|
-
get client(): CubeSignerClient | null;
|
|
452
|
-
get currentSession(): CubeSignerSession | null;
|
|
453
|
-
/**
|
|
454
|
-
* Login with a Google ID token (JWT).
|
|
455
|
-
* The token is used directly as the OIDC credential.
|
|
456
|
-
*/
|
|
457
|
-
loginWithGoogle(idToken: string): Promise<CubeSignerSession>;
|
|
458
|
-
/**
|
|
459
|
-
* Login with a Twitter OAuth 2.0 authorization code.
|
|
460
|
-
*
|
|
461
|
-
* 1. Exchange the code for an OIDC `id_token` via CubeSigner's
|
|
462
|
-
* `/v0/org/{org_id}/oauth2/twitter` endpoint.
|
|
463
|
-
* 2. Create a CubeSigner session with that token.
|
|
464
|
-
*/
|
|
465
|
-
loginWithTwitter(params: TwitterCodeExchangeParams): Promise<CubeSignerSession>;
|
|
466
|
-
signOut(): Promise<void>;
|
|
467
|
-
/**
|
|
468
|
-
* Restore a CubeSigner session from previously persisted SessionData.
|
|
469
|
-
* Useful for reconnecting after page reload without re-authentication.
|
|
470
|
-
*/
|
|
471
|
-
restoreSession(sessionData: SessionData): Promise<CubeSignerSession>;
|
|
472
|
-
private authenticateWithOidcToken;
|
|
473
|
-
/**
|
|
474
|
-
* Exchange a Twitter authorization code for an OIDC id_token
|
|
475
|
-
* via CubeSigner's dedicated endpoint.
|
|
476
|
-
*
|
|
477
|
-
* `POST {SignerApiRoot}/v0/org/{org_id}/oauth2/twitter`
|
|
478
|
-
*/
|
|
479
|
-
private exchangeTwitterCode;
|
|
480
|
-
/**
|
|
481
|
-
* Create a CubeSigner OIDC session from a generic OIDC id_token.
|
|
482
|
-
*/
|
|
483
|
-
private createOidcSession;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
type CubistLoginMethod = {
|
|
487
|
-
type: "google";
|
|
488
|
-
idToken: string;
|
|
489
|
-
} | {
|
|
490
|
-
type: "twitter";
|
|
491
|
-
params: TwitterCodeExchangeParams;
|
|
492
|
-
};
|
|
493
|
-
interface CubistSessionAdapter {
|
|
494
|
-
/**
|
|
495
|
-
* Convert a raw CubeSigner session into a WalletSession
|
|
496
|
-
* (resolve the first key's address, chain, build a provider, etc.).
|
|
497
|
-
*/
|
|
498
|
-
resolve(session: CubeSignerSession): Promise<WalletSession>;
|
|
499
|
-
}
|
|
500
|
-
declare class CubistSocialProvider extends AbstractSocialProvider {
|
|
501
|
-
readonly id = "cubist";
|
|
502
|
-
readonly title = "Cubist Social Wallet";
|
|
503
|
-
private auth;
|
|
504
|
-
private adapter;
|
|
505
|
-
private lastCubeSignerSession;
|
|
506
|
-
/** Stash the login method so `connect()` can auto-retry. */
|
|
507
|
-
private lastLogin;
|
|
508
|
-
constructor(config: CubeSignerConfig, adapter?: CubistSessionAdapter);
|
|
509
|
-
private createWalletSession;
|
|
510
|
-
private authenticate;
|
|
511
|
-
private getResolvedLoginMethod;
|
|
512
|
-
/**
|
|
513
|
-
* Preferred explicit sign-in entrypoint.
|
|
514
|
-
*/
|
|
515
|
-
signInWith(method: CubistLoginMethod, _options?: SocialLoginOptions): Promise<void>;
|
|
516
|
-
/**
|
|
517
|
-
* Backward-compatible abstract implementation.
|
|
518
|
-
*
|
|
519
|
-
* - If `payload` is provided, it is treated as the login method.
|
|
520
|
-
* - Otherwise reuses the previously cached login method if available.
|
|
521
|
-
*/
|
|
522
|
-
signIn(_options?: SocialLoginOptions, payload?: unknown): Promise<void>;
|
|
523
|
-
/**
|
|
524
|
-
* Explicit connect flow that both authenticates and returns the wallet session.
|
|
525
|
-
*/
|
|
526
|
-
connectWith(method: CubistLoginMethod, options?: SocialLoginOptions): Promise<WalletSession>;
|
|
527
|
-
connect(args?: WalletConnectArgs): Promise<WalletSession>;
|
|
528
|
-
reconnect(persistedSession: WalletSession): Promise<WalletSession | null>;
|
|
529
|
-
signOut(): Promise<void>;
|
|
530
|
-
disconnect(): Promise<void>;
|
|
531
|
-
/** Direct access to the underlying CubeSignerAuth for advanced use-cases. */
|
|
532
|
-
get cubeSignerAuth(): CubeSignerAuth;
|
|
533
|
-
get cubeSignerSession(): CubeSignerSession | null;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
export { AbstractProvider, AbstractSocialProvider, type BalanceInfo, BitgetProvider, BraveWalletProvider, type ChainContext, type ChainDescriptor, type ChainNamespace, type ChainRpcFamily, CoinbaseWalletProvider, CubeSignerAuth, type CubeSignerConfig, type CubeSignerSession, type CubistLoginMethod, type CubistSessionAdapter, CubistSocialProvider, type EIP6963ProviderDetail, type EIP6963ProviderInfo, EVM_TRANSACTION_SIGNING_UNSUPPORTED, type EvmAccessListItem, type EvmQuantity, type EvmTransactionRequest, EvmTransactionSigningUnsupportedError, type InjectedEthereumProvider, InjectedEvmProvider, type InjectedWalletConfig, type InjectedWalletRegistryItem, MetaMaskProvider, OKXProvider, type OidcLoginHooks, PhantomProvider, type ProviderCategory, RabbyProvider, RainbowProvider, type SessionCapabilityCheck, SessionCapabilityError, type SessionCapabilityPolicy, SessionStore, type SocialConnectArgs, type SocialLoginOptions, type SupportedChain, type SupportedToken, TrustWalletProvider, type TwitterCodeExchangeParams, type WalletAdapter, type WalletAuthSource, type WalletCapability, type WalletConnectArgs, type WalletConnectControllerOptions, WalletConnector, type WalletEvents, type WalletExecutionClient, type WalletProvider, type WalletProviderRequest, type WalletSession, type WalletState, type WalletType, ZerionProvider, assertSessionCapability, createAccountController, createChainContext, createDefaultInjectedWalletRegistry, createSessionCapabilityPolicy, createWalletConnectController, createWalletExecutionClient, createWalletExecutionController, describeSessionCapabilityPolicy, discoverEIP6963Providers, findEIP6963Provider, findInjectedProvider, getAllChainDescriptors, getChainDescriptor, getSupportedChainFromEvmChainId, getWalletExecutionCapabilities, isCapabilityPolicyExpired, isSessionExpired, isUnsupportedEvmTransactionSigningError, normalizeEvmTransactionSigningError, sessionStore, sessionSupportsCapability, switchToFallbackFundingChain };
|
|
237
|
+
export { AbstractProvider, BalanceInfo, BitgetProvider, BraveWalletProvider, ChainContext, CoinbaseWalletProvider, type EIP6963ProviderDetail, type EIP6963ProviderInfo, EVM_TRANSACTION_SIGNING_UNSUPPORTED, EvmTransactionRequest, EvmTransactionSigningUnsupportedError, type InjectedEthereumProvider, InjectedEvmProvider, type InjectedWalletConfig, type InjectedWalletRegistryItem, MetaMaskProvider, OKXProvider, PhantomProvider, RabbyProvider, RainbowProvider, SessionCapabilityCheck, SessionCapabilityPolicy, SessionStore, SupportedChain, TrustWalletProvider, WalletAdapter, WalletCapability, WalletConnectArgs, type WalletConnectControllerOptions, WalletConnector, type WalletEvents, type WalletExecutionClient, WalletProvider, WalletProviderRequest, WalletSession, WalletState, ZerionProvider, createAccountController, createDefaultInjectedWalletRegistry, createWalletConnectController, createWalletExecutionClient, createWalletExecutionController, discoverEIP6963Providers, findEIP6963Provider, findInjectedProvider, getWalletExecutionCapabilities, isUnsupportedEvmTransactionSigningError, normalizeEvmTransactionSigningError, sessionStore, switchToFallbackFundingChain };
|