@privy-io/js-sdk-core 0.74.0 → 0.76.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.
@@ -1,6 +1,6 @@
1
- import { AuthenticatedUser, CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, LinkedAccount, LinkedAccountBitcoinSegwitEmbeddedWallet, LinkedAccountBitcoinTaprootEmbeddedWallet, LinkedAccountEmbeddedWallet, LinkedAccountEmbeddedWalletWithID, LinkedAccountEthereumEmbeddedWallet, LinkedAccountSmartWallet, LinkedAccountSolanaEmbeddedWallet, MfaPasskeyInitRequestBody, MfaSMSInitRequestBody, MoonpayOnRampSignInput, OAuthProviderID, OAuthProviderID as OAuthProviderID$1, OAuthTokens, PasskeyAuthenticatorVerifyResponse, RawSignResponse, SmartWalletConfiguration, SmartWalletType as SmartWalletType$1, UnsignedEthereumTransaction, User, Wallet, WalletCreateParams, WalletRawSignParams, WalletRpcParams, WalletRpcResponse, WalletUpdateParams } from "@privy-io/api-types";
1
+ import { AuthenticatedUser, CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, LinkedAccount, LinkedAccountBitcoinSegwitEmbeddedWallet, LinkedAccountBitcoinTaprootEmbeddedWallet, LinkedAccountEmbeddedWallet, LinkedAccountEmbeddedWalletWithID, LinkedAccountEthereumEmbeddedWallet, LinkedAccountSmartWallet, LinkedAccountSolanaEmbeddedWallet, MfaPasskeyInitRequestBody, MfaSMSInitRequestBody, MoonpayOnRampSignInput, OAuthProviderID, OAuthProviderID as OAuthProviderID$1, OAuthTokens, PasskeyAuthenticatorVerifyResponse, RawSignResponse, SmartWalletConfiguration, SmartWalletType as SmartWalletType$1, TransferRequestBody, UnsignedEthereumTransaction, User, Wallet, WalletCreateParams, WalletRawSignParams, WalletRpcParams, WalletRpcResponse, WalletUpdateParams, Wallets } from "@privy-io/api-types";
2
2
  import { Chain, RpcConfig } from "@privy-io/chains";
3
- import { Route } from "@privy-io/routes";
3
+ import { CreateCryptoDepositAccountResponse, CryptoDepositAccountConfig, CryptoDepositAccountQuoteResponse, CryptoDepositAddressRoute, CryptoDepositAsset, CryptoDepositAssetFilter, GetCryptoDepositAccountNextOrderResponse, GetCryptoDepositAccountOrderResponse, Route } from "@privy-io/routes";
4
4
  import "@metamask/eth-sig-util";
5
5
  import "viem/account-abstraction";
6
6
  import { StrictUnsignedTempoTransactionRequest, StrictUnsignedTransactionRequest } from "@privy-io/ethereum";
@@ -2835,7 +2835,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
2835
2835
  declare const revokeWallets: (client: Privy) => () => Promise<{
2836
2836
  user: import("@privy-io/api-types").User;
2837
2837
  }>;
2838
- declare namespace index_d_exports$1 {
2838
+ declare namespace index_d_exports$2 {
2839
2839
  export { delegateWallet, revokeWallets };
2840
2840
  }
2841
2841
  //#endregion
@@ -2948,11 +2948,11 @@ interface SendTransactionOutput {
2948
2948
  * Requests a cross-app wallet to send a transaction, returning the resulting transaction hash.
2949
2949
  */
2950
2950
  declare const sendTransaction: ({ client, openAuthSession }: SendTransactionDependencies) => ({ user, transaction, address, redirectUrl }: SendTransactionInput) => Promise<SendTransactionOutput>;
2951
- declare namespace index_d_exports$3 {
2951
+ declare namespace index_d_exports$4 {
2952
2952
  export { SendTransactionDependencies, SendTransactionInput, SendTransactionOutput, SignMessageDependencies, SignMessageInput, SignMessageOutput, SignTypedDataDependencies, SignTypedDataInput, SignTypedDataOutput, sendTransaction, signMessage, signTypedData };
2953
2953
  }
2954
2954
  declare namespace index_d_exports {
2955
- export { LinkWithCrossAppAuthDependencies, LinkWithCrossAppAuthInput, LinkWithCrossAppAuthOutput, LoginWithCrossAppAuthDependencies, LoginWithCrossAppAuthInput, LoginWithCrossAppAuthOutput, linkWithCrossAppAuth, loginWithCrossAppAuth, index_d_exports$3 as wallet };
2955
+ export { LinkWithCrossAppAuthDependencies, LinkWithCrossAppAuthInput, LinkWithCrossAppAuthOutput, LoginWithCrossAppAuthDependencies, LoginWithCrossAppAuthInput, LoginWithCrossAppAuthOutput, linkWithCrossAppAuth, loginWithCrossAppAuth, index_d_exports$4 as wallet };
2956
2956
  }
2957
2957
  //#endregion
2958
2958
  //#region src/action/depositAddress/types.d.ts
@@ -3080,11 +3080,46 @@ declare function waitForDeposit(opts: WaitForDepositInput & {
3080
3080
  declare function waitForCompletion(opts: WaitForCompletionInput & {
3081
3081
  privy: Privy;
3082
3082
  }): Promise<DepositAddressPollingResult>;
3083
- declare namespace index_d_exports$2 {
3083
+ declare namespace index_d_exports$3 {
3084
3084
  export { CompletedDepositAddressOrder, DepositAddressOrder, DepositAddressPollingResult, DepositAddressQuote, DepositConfig, GenerateDepositAddressInput, GetDepositInput, IncompleteDepositAddressOrder, ResolveRefundAddressError, ResolveRefundAddressResult, WaitForCompletionInput, WaitForDepositInput, generateDepositAddress, getConfig, getDeposit, resolveRefundAddress, waitForCompletion, waitForDeposit };
3085
3085
  }
3086
3086
  declare function getConfig(privy: Privy): Promise<DepositConfig>;
3087
3087
  //#endregion
3088
+ //#region src/action/cryptoDepositAccount/types.d.ts
3089
+ type CryptoDepositAccountQuote = CryptoDepositAccountQuoteResponse;
3090
+ type CreateCryptoDepositAccountWithConfigInput = {
3091
+ walletId: string;
3092
+ type: 'deposit_config';
3093
+ depositConfigId: string;
3094
+ };
3095
+ type CreateCryptoDepositAccountWithRouteInput = {
3096
+ walletId: string;
3097
+ type: 'inline_route';
3098
+ source: CryptoDepositAssetFilter;
3099
+ destination: CryptoDepositAsset;
3100
+ };
3101
+ type CreateCryptoDepositAccountInput = CreateCryptoDepositAccountWithConfigInput | CreateCryptoDepositAccountWithRouteInput;
3102
+ type CryptoDepositAccountQuoteInput = {
3103
+ source: {
3104
+ chain: string;
3105
+ asset: string;
3106
+ };
3107
+ destination: {
3108
+ chain: string;
3109
+ asset: string;
3110
+ };
3111
+ inputAmount?: string;
3112
+ slippageBps?: number;
3113
+ };
3114
+ type GetCryptoDepositAccountOrderInput = {
3115
+ walletId: string;
3116
+ orderId: string;
3117
+ };
3118
+ type GetCryptoDepositAccountNextOrderInput = {
3119
+ walletId: string;
3120
+ after: string;
3121
+ };
3122
+ //#endregion
3088
3123
  //#region src/wallet-api/sign-wallet-request.d.ts
3089
3124
  interface SignWalletRequestInput {
3090
3125
  /**
@@ -3116,6 +3151,74 @@ interface WalletApiActionContext {
3116
3151
  };
3117
3152
  }
3118
3153
  //#endregion
3154
+ //#region src/action/cryptoDepositAccount/create.d.ts
3155
+ /**
3156
+ * Creates crypto deposit source wallets for a destination wallet.
3157
+ *
3158
+ * Requires a dest-owner authorization signature from the user's signer.
3159
+ */
3160
+ declare function createCryptoDepositAccount(context: WalletApiActionContext & Pick<Privy, 'track'>, sign: SignWalletRequest, input: CreateCryptoDepositAccountInput): Promise<CreateCryptoDepositAccountResponse>;
3161
+ //#endregion
3162
+ //#region src/action/cryptoDepositAccount/quote.d.ts
3163
+ /** Fetches an indicative quote for a crypto deposit-account route. */
3164
+ declare function getCryptoDepositAccountQuote(privy: Pick<Privy, 'fetchPrivyRoute' | 'track'>, input: CryptoDepositAccountQuoteInput): Promise<CryptoDepositAccountQuote>;
3165
+ /** Conversion rate as dest-per-source, or undefined when the quote amounts are not usable. */
3166
+ declare function indicativeRateFromQuote(quote: CryptoDepositAccountQuote): string | undefined;
3167
+ //#endregion
3168
+ //#region src/action/cryptoDepositAccount/orders.d.ts
3169
+ /** Fetches a crypto deposit-account sweep by wallet action ID. */
3170
+ declare function getCryptoDepositAccountOrder(privy: Pick<Privy, 'fetchPrivyRoute'>, input: GetCryptoDepositAccountOrderInput): Promise<GetCryptoDepositAccountOrderResponse>;
3171
+ /** Fetches the next crypto deposit-account sweep into the path wallet after `after`. */
3172
+ declare function getCryptoDepositAccountNextOrder(privy: Pick<Privy, 'fetchPrivyRoute'>, input: GetCryptoDepositAccountNextOrderInput): Promise<GetCryptoDepositAccountNextOrderResponse>;
3173
+ //#endregion
3174
+ //#region src/action/cryptoDepositAccount/filter-deposit-config.d.ts
3175
+ /**
3176
+ * Filters the deposit-account catalog by a source include/exclude.
3177
+ * `all` keeps every listed token/chain; include/exclude narrow that list.
3178
+ */
3179
+ declare function filterDepositConfig(config: CryptoDepositAccountConfig, source: CryptoDepositAssetFilter): CryptoDepositAccountConfig;
3180
+ //#endregion
3181
+ //#region src/action/cryptoDepositAccount/pick-deposit-address.d.ts
3182
+ /**
3183
+ * Picks the deposit address that should be shown for a selected source chain.
3184
+ *
3185
+ * Create returns one address per source chain family. Prefer an account whose
3186
+ * source filter mentions that chain, then fall back to address format vs VM.
3187
+ */
3188
+ declare function pickDepositAddressForChain({ accounts, selectedChain }: {
3189
+ accounts: CryptoDepositAddressRoute[];
3190
+ selectedChain: {
3191
+ caip2: string;
3192
+ vmType: string;
3193
+ };
3194
+ }): string | undefined;
3195
+ //#endregion
3196
+ //#region src/action/cryptoDepositAccount/aliases.d.ts
3197
+ /** Resolves an alias, CAIP-2, or numeric chain id to CAIP-2 when known. */
3198
+ declare function resolveChainAlias(chain: string): string;
3199
+ /** True when the asset alias refers to a chain's native token. */
3200
+ declare function isNativeAssetAlias(asset: string): boolean;
3201
+ /**
3202
+ * Quote asset for a selected catalog currency: canonical named id when the
3203
+ * symbol is on the shared asset list, otherwise the chain's token address.
3204
+ */
3205
+ declare function quoteSourceAsset({ symbol, address }: {
3206
+ symbol: string;
3207
+ address: string;
3208
+ }): string;
3209
+ /**
3210
+ * Catalog display symbol for a dest asset/chain (aliases or raw ids).
3211
+ * Falls back to the uppercased param when the dest is not in the catalog.
3212
+ */
3213
+ declare function findCatalogSymbol({ config, chain, asset }: {
3214
+ config: CryptoDepositAccountConfig;
3215
+ chain?: string;
3216
+ asset: string;
3217
+ }): string;
3218
+ declare namespace index_d_exports$1 {
3219
+ export { CreateCryptoDepositAccountInput, CreateCryptoDepositAccountResponse, CreateCryptoDepositAccountWithConfigInput, CreateCryptoDepositAccountWithRouteInput, CryptoDepositAccountConfig, CryptoDepositAccountQuote, CryptoDepositAccountQuoteInput, CryptoDepositAddressRoute, CryptoDepositAsset, CryptoDepositAssetFilter, GetCryptoDepositAccountNextOrderInput, GetCryptoDepositAccountNextOrderResponse, GetCryptoDepositAccountOrderInput, GetCryptoDepositAccountOrderResponse, createCryptoDepositAccount, filterDepositConfig, findCatalogSymbol, getCryptoDepositAccountNextOrder, getCryptoDepositAccountOrder, getCryptoDepositAccountQuote, indicativeRateFromQuote, isNativeAssetAlias, pickDepositAddressForChain, quoteSourceAsset, resolveChainAlias };
3220
+ }
3221
+ //#endregion
3119
3222
  //#region src/wallet-api/generate-authorization-signature.d.ts
3120
3223
  interface GenerateAuthorizationSignatureInput {
3121
3224
  version: 1;
@@ -3149,7 +3252,7 @@ interface GenerateAuthorizationSignatureOutput {
3149
3252
  declare function generateAuthorizationSignature(sign: SignWalletRequest, payload: GenerateAuthorizationSignatureInput | Uint8Array): Promise<GenerateAuthorizationSignatureOutput>;
3150
3253
  //#endregion
3151
3254
  //#region src/wallet-api/create.d.ts
3152
- type Input$3 = {
3255
+ type Input$4 = {
3153
3256
  request: WalletCreateParams;
3154
3257
  headers?: HeadersInit;
3155
3258
  };
@@ -3161,10 +3264,10 @@ type Input$3 = {
3161
3264
  * @param headers Optional headers to include in the request
3162
3265
  * @returns The Response from the Wallet API create request
3163
3266
  */
3164
- declare function create(context: WalletApiActionContext, { request, headers }: Input$3): Promise<Wallet>;
3267
+ declare function create(context: WalletApiActionContext, { request, headers }: Input$4): Promise<Wallet>;
3165
3268
  //#endregion
3166
3269
  //#region src/wallet-api/rpc.d.ts
3167
- type Input$2 = WalletRpcParams & {
3270
+ type Input$3 = WalletRpcParams & {
3168
3271
  wallet_id: string;
3169
3272
  headers?: Record<string, string>;
3170
3273
  };
@@ -3176,10 +3279,10 @@ type Input$2 = WalletRpcParams & {
3176
3279
  * @param input The input to the Wallet API RPC request
3177
3280
  * @returns The response from the Wallet API RPC request
3178
3281
  */
3179
- declare function rpc(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, headers: extraHeaders, ...request }: Input$2): Promise<WalletRpcResponse>;
3282
+ declare function rpc(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, headers: extraHeaders, ...request }: Input$3): Promise<WalletRpcResponse>;
3180
3283
  //#endregion
3181
3284
  //#region src/wallet-api/raw-sign.d.ts
3182
- type Input$1 = WalletRawSignParams & {
3285
+ type Input$2 = WalletRawSignParams & {
3183
3286
  wallet_id: string;
3184
3287
  };
3185
3288
  /**
@@ -3192,7 +3295,7 @@ type Input$1 = WalletRawSignParams & {
3192
3295
  * @param input The input to the Wallet API raw sign request
3193
3296
  * @returns The response from the Wallet API raw sign request
3194
3297
  */
3195
- declare function rawSign(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input$1): Promise<RawSignResponse>;
3298
+ declare function rawSign(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input$2): Promise<RawSignResponse>;
3196
3299
  //#endregion
3197
3300
  //#region src/wallet-api/get-wallet.d.ts
3198
3301
  /**
@@ -3207,7 +3310,7 @@ declare function getWallet(context: WalletApiActionContext, { wallet_id }: {
3207
3310
  }): Promise<Wallet>;
3208
3311
  //#endregion
3209
3312
  //#region src/wallet-api/update-wallet.d.ts
3210
- type Input = Pick<WalletUpdateParams, 'additional_signers'>;
3313
+ type Input$1 = Pick<WalletUpdateParams, 'additional_signers'>;
3211
3314
  /**
3212
3315
  * Updates a wallet through the Wallet API.
3213
3316
  *
@@ -3219,7 +3322,7 @@ type Input = Pick<WalletUpdateParams, 'additional_signers'>;
3219
3322
  */
3220
3323
  declare function updateWallet(context: WalletApiActionContext, { wallet_id }: {
3221
3324
  wallet_id: string;
3222
- }, sign: SignWalletRequest, input: Input): Promise<Wallet>;
3325
+ }, sign: SignWalletRequest, input: Input$1): Promise<Wallet>;
3223
3326
  //#endregion
3224
3327
  //#region src/wallet-api/unified-wallet.d.ts
3225
3328
  /**
@@ -3230,6 +3333,48 @@ declare function updateWallet(context: WalletApiActionContext, { wallet_id }: {
3230
3333
  */
3231
3334
  declare const isUnifiedWallet: (account: LinkedAccountEmbeddedWallet) => account is LinkedAccountEmbeddedWalletWithID;
3232
3335
  //#endregion
3336
+ //#region src/wallet-api/transfer.d.ts
3337
+ type Input = TransferRequestBody & {
3338
+ wallet_id: string;
3339
+ };
3340
+ /**
3341
+ * Executes a Wallet API transfer request. Resolves as soon as the action is created —
3342
+ * the returned action's `status` is `'pending'`. This does not wait for the action to
3343
+ * reach a terminal status.
3344
+ *
3345
+ * @param context The context needed to execute the action
3346
+ * @param sign A function that signs a wallet request
3347
+ * @param input The input to the Wallet API transfer request
3348
+ * @returns The created transfer action
3349
+ */
3350
+ declare function transfer(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input): Promise<Wallets.Actions.TransferActionResponse>;
3351
+ //#endregion
3352
+ //#region src/wallet-api/wallet-actions.d.ts
3353
+ /**
3354
+ * Fetches the current status of a wallet action through the Wallet API.
3355
+ *
3356
+ * @param context The context needed to execute the action
3357
+ * @param wallet_id The ID of the wallet the action belongs to
3358
+ * @param action_id The ID of the action to fetch
3359
+ * @returns The wallet action with its current status
3360
+ */
3361
+ declare function getWalletAction(context: WalletApiActionContext, { wallet_id, action_id }: {
3362
+ wallet_id: string;
3363
+ action_id: string;
3364
+ }): Promise<Wallets.Actions.WalletActionResponse>;
3365
+ /**
3366
+ * Lists wallet actions through the Wallet API, with optional filtering by type and
3367
+ * cursor-based pagination.
3368
+ *
3369
+ * @param context The context needed to execute the action
3370
+ * @param wallet_id The ID of the wallet to list actions for
3371
+ * @param query Optional filtering and pagination parameters
3372
+ * @returns A page of wallet actions
3373
+ */
3374
+ declare function listWalletActions(context: WalletApiActionContext, { wallet_id, ...query }: {
3375
+ wallet_id: string;
3376
+ } & Wallets.Actions.ListWalletActionsQuery): Promise<Wallets.Actions.ListWalletActionsResponse>;
3377
+ //#endregion
3233
3378
  //#region src/embedded/stack/session-signers.d.ts
3234
3379
  interface SessionSigner {
3235
3380
  signer_id: string;
@@ -3368,4 +3513,4 @@ declare const THIRDWEB: "thirdweb";
3368
3513
  /** @deprecated {@link SmartWalletType} is a well-typed union, use the `'nexus'` literal instead */
3369
3514
  declare const NEXUS: "nexus";
3370
3515
  //#endregion
3371
- export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateSiwsMessageOpts, DATA_SUFFIX_PLUGIN_ID, type DataSuffixPlugin, type DepositAddressOrder, type DepositAddressPollingResult, type DepositAddressQuote, type DepositConfig, type EIP1193Provider, type EmbeddedBitcoinWalletProvider, EmbeddedProviderError, EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, ExternalWallet, ExternalWalletMetadata, FundingMethod, FundingProvider, type GenerateAuthorizationSignatureInput, type GenerateAuthorizationSignatureOutput, type GenerateDepositAddressInput, type GetDepositInput, IdentifierString, InMemoryCache, type IncompleteDepositAddressOrder, InjectedWalletClientType, KERNEL, LIGHT_ACCOUNT, LocalStorage, type LogLevel, type Logger, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, NEXUS, type OAuthProviderID, OAuthProviderType, type OnNeedsRecovery, type ParsedSolanaOffchainMessage, PaymentOption, type PollOptions, type PollResult, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, PrivyEmbeddedWalletProvider, type PrivyPlugin, PrivyProviderRpcError, ProviderErrors, type Quantity, type ResolveRefundAddressError, type ResolveRefundAddressResult, SAFE, SUPPORTED_CONNECTOR_TYPES, type SessionSignerInput, type SetRecoveryInput, SmartWalletType, SolanaClient, SolanaCluster, SolanaSignAndSendTransactionInput, SolanaSignAndSendTransactionMode, SolanaSignAndSendTransactionOptions, SolanaSignAndSendTransactionOutput, SolanaSignMessageInput, SolanaSignMessageOutput, SolanaSignTransactionInput, SolanaSignTransactionOptions, SolanaSignTransactionOutput, SolanaStandardWallet, SolanaTransactionCommitment, SolanaUsdcAddressMap, type Storage, THIRDWEB, type TelegramAuthInput, type TelegramAuthResult, type TelegramWebAppData, UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WaitForCompletionInput, type WaitForDepositInput, WalletBranding, WalletClientType, WalletConnectWalletClientType, addSessionSigners, buildSolanaOffchainMessage, chainToMoonpayCurrency, cookies, countryCodesAndNumbers, create, createDataSuffixPlugin, createErrorFormatter, createSiwsMessage, index_d_exports as crossApp, Privy as default, index_d_exports$1 as delegatedActions, index_d_exports$2 as depositAddress, deriveSolanaApplicationDomain, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, generateAuthorizationSignature, generateWalletIdempotencyKey, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getCountryCallingCode, getDataSuffixPlugin, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, getWallet, isEmbeddedWalletAccount, isExtensionContext, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, isUnifiedWallet, lastFourDigits, parseSolanaOffchainMessage, phoneNumberTypingFormatter, poll, rawSign, removeSessionSigners, rpc, shouldWriteSessionCookies, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toE164, toObjectKeys, toWalletApiUnsignedEthTransaction, updateWallet, validatePhoneNumber };
3516
+ export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateCryptoDepositAccountInput, type CreateCryptoDepositAccountResponse, type CreateSiwsMessageOpts, type CryptoDepositAccountConfig, type CryptoDepositAccountQuote, type CryptoDepositAccountQuoteInput, type CryptoDepositAddressRoute, type CryptoDepositAsset, type CryptoDepositAssetFilter, DATA_SUFFIX_PLUGIN_ID, type DataSuffixPlugin, type DepositAddressOrder, type DepositAddressPollingResult, type DepositAddressQuote, type DepositConfig, type EIP1193Provider, type EmbeddedBitcoinWalletProvider, EmbeddedProviderError, EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, ExternalWallet, ExternalWalletMetadata, FundingMethod, FundingProvider, type GenerateAuthorizationSignatureInput, type GenerateAuthorizationSignatureOutput, type GenerateDepositAddressInput, type GetCryptoDepositAccountNextOrderInput, type GetCryptoDepositAccountNextOrderResponse, type GetCryptoDepositAccountOrderInput, type GetCryptoDepositAccountOrderResponse, type GetDepositInput, IdentifierString, InMemoryCache, type IncompleteDepositAddressOrder, InjectedWalletClientType, KERNEL, LIGHT_ACCOUNT, LocalStorage, type LogLevel, type Logger, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, NEXUS, type OAuthProviderID, OAuthProviderType, type OnNeedsRecovery, type ParsedSolanaOffchainMessage, PaymentOption, type PollOptions, type PollResult, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, PrivyEmbeddedWalletProvider, type PrivyPlugin, PrivyProviderRpcError, ProviderErrors, type Quantity, type ResolveRefundAddressError, type ResolveRefundAddressResult, SAFE, SUPPORTED_CONNECTOR_TYPES, type SessionSignerInput, type SetRecoveryInput, SmartWalletType, SolanaClient, SolanaCluster, SolanaSignAndSendTransactionInput, SolanaSignAndSendTransactionMode, SolanaSignAndSendTransactionOptions, SolanaSignAndSendTransactionOutput, SolanaSignMessageInput, SolanaSignMessageOutput, SolanaSignTransactionInput, SolanaSignTransactionOptions, SolanaSignTransactionOutput, SolanaStandardWallet, SolanaTransactionCommitment, SolanaUsdcAddressMap, type Storage, THIRDWEB, type TelegramAuthInput, type TelegramAuthResult, type TelegramWebAppData, UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WaitForCompletionInput, type WaitForDepositInput, WalletBranding, WalletClientType, WalletConnectWalletClientType, addSessionSigners, buildSolanaOffchainMessage, chainToMoonpayCurrency, cookies, countryCodesAndNumbers, create, createDataSuffixPlugin, createErrorFormatter, createSiwsMessage, index_d_exports as crossApp, index_d_exports$1 as cryptoDepositAccount, Privy as default, index_d_exports$2 as delegatedActions, index_d_exports$3 as depositAddress, deriveSolanaApplicationDomain, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, generateAuthorizationSignature, generateWalletIdempotencyKey, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getCountryCallingCode, getDataSuffixPlugin, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, getWallet, getWalletAction, isEmbeddedWalletAccount, isExtensionContext, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, isUnifiedWallet, lastFourDigits, listWalletActions, parseSolanaOffchainMessage, phoneNumberTypingFormatter, poll, rawSign, removeSessionSigners, rpc, shouldWriteSessionCookies, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toE164, toObjectKeys, toWalletApiUnsignedEthTransaction, transfer, updateWallet, validatePhoneNumber };
@@ -1,6 +1,6 @@
1
- import { AuthenticatedUser, CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, LinkedAccount, LinkedAccountBitcoinSegwitEmbeddedWallet, LinkedAccountBitcoinTaprootEmbeddedWallet, LinkedAccountEmbeddedWallet, LinkedAccountEmbeddedWalletWithID, LinkedAccountEthereumEmbeddedWallet, LinkedAccountSmartWallet, LinkedAccountSolanaEmbeddedWallet, MfaPasskeyInitRequestBody, MfaSMSInitRequestBody, MoonpayOnRampSignInput, OAuthProviderID, OAuthProviderID as OAuthProviderID$1, OAuthTokens, PasskeyAuthenticatorVerifyResponse, RawSignResponse, SmartWalletConfiguration, SmartWalletType as SmartWalletType$1, UnsignedEthereumTransaction, User, Wallet, WalletCreateParams, WalletRawSignParams, WalletRpcParams, WalletRpcResponse, WalletUpdateParams } from "@privy-io/api-types";
1
+ import { AuthenticatedUser, CoinbaseOnRampInitInput, CoinbaseOnRampInitResponse, LinkedAccount, LinkedAccountBitcoinSegwitEmbeddedWallet, LinkedAccountBitcoinTaprootEmbeddedWallet, LinkedAccountEmbeddedWallet, LinkedAccountEmbeddedWalletWithID, LinkedAccountEthereumEmbeddedWallet, LinkedAccountSmartWallet, LinkedAccountSolanaEmbeddedWallet, MfaPasskeyInitRequestBody, MfaSMSInitRequestBody, MoonpayOnRampSignInput, OAuthProviderID, OAuthProviderID as OAuthProviderID$1, OAuthTokens, PasskeyAuthenticatorVerifyResponse, RawSignResponse, SmartWalletConfiguration, SmartWalletType as SmartWalletType$1, TransferRequestBody, UnsignedEthereumTransaction, User, Wallet, WalletCreateParams, WalletRawSignParams, WalletRpcParams, WalletRpcResponse, WalletUpdateParams, Wallets } from "@privy-io/api-types";
2
2
  import { Chain, RpcConfig } from "@privy-io/chains";
3
- import { Route } from "@privy-io/routes";
3
+ import { CreateCryptoDepositAccountResponse, CryptoDepositAccountConfig, CryptoDepositAccountQuoteResponse, CryptoDepositAddressRoute, CryptoDepositAsset, CryptoDepositAssetFilter, GetCryptoDepositAccountNextOrderResponse, GetCryptoDepositAccountOrderResponse, Route } from "@privy-io/routes";
4
4
  import "@metamask/eth-sig-util";
5
5
  import "viem/account-abstraction";
6
6
  import { StrictUnsignedTempoTransactionRequest, StrictUnsignedTransactionRequest } from "@privy-io/ethereum";
@@ -2835,7 +2835,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
2835
2835
  declare const revokeWallets: (client: Privy) => () => Promise<{
2836
2836
  user: import("@privy-io/api-types").User;
2837
2837
  }>;
2838
- declare namespace index_d_exports$1 {
2838
+ declare namespace index_d_exports$2 {
2839
2839
  export { delegateWallet, revokeWallets };
2840
2840
  }
2841
2841
  //#endregion
@@ -2948,11 +2948,11 @@ interface SendTransactionOutput {
2948
2948
  * Requests a cross-app wallet to send a transaction, returning the resulting transaction hash.
2949
2949
  */
2950
2950
  declare const sendTransaction: ({ client, openAuthSession }: SendTransactionDependencies) => ({ user, transaction, address, redirectUrl }: SendTransactionInput) => Promise<SendTransactionOutput>;
2951
- declare namespace index_d_exports$3 {
2951
+ declare namespace index_d_exports$4 {
2952
2952
  export { SendTransactionDependencies, SendTransactionInput, SendTransactionOutput, SignMessageDependencies, SignMessageInput, SignMessageOutput, SignTypedDataDependencies, SignTypedDataInput, SignTypedDataOutput, sendTransaction, signMessage, signTypedData };
2953
2953
  }
2954
2954
  declare namespace index_d_exports {
2955
- export { LinkWithCrossAppAuthDependencies, LinkWithCrossAppAuthInput, LinkWithCrossAppAuthOutput, LoginWithCrossAppAuthDependencies, LoginWithCrossAppAuthInput, LoginWithCrossAppAuthOutput, linkWithCrossAppAuth, loginWithCrossAppAuth, index_d_exports$3 as wallet };
2955
+ export { LinkWithCrossAppAuthDependencies, LinkWithCrossAppAuthInput, LinkWithCrossAppAuthOutput, LoginWithCrossAppAuthDependencies, LoginWithCrossAppAuthInput, LoginWithCrossAppAuthOutput, linkWithCrossAppAuth, loginWithCrossAppAuth, index_d_exports$4 as wallet };
2956
2956
  }
2957
2957
  //#endregion
2958
2958
  //#region src/action/depositAddress/types.d.ts
@@ -3080,11 +3080,46 @@ declare function waitForDeposit(opts: WaitForDepositInput & {
3080
3080
  declare function waitForCompletion(opts: WaitForCompletionInput & {
3081
3081
  privy: Privy;
3082
3082
  }): Promise<DepositAddressPollingResult>;
3083
- declare namespace index_d_exports$2 {
3083
+ declare namespace index_d_exports$3 {
3084
3084
  export { CompletedDepositAddressOrder, DepositAddressOrder, DepositAddressPollingResult, DepositAddressQuote, DepositConfig, GenerateDepositAddressInput, GetDepositInput, IncompleteDepositAddressOrder, ResolveRefundAddressError, ResolveRefundAddressResult, WaitForCompletionInput, WaitForDepositInput, generateDepositAddress, getConfig, getDeposit, resolveRefundAddress, waitForCompletion, waitForDeposit };
3085
3085
  }
3086
3086
  declare function getConfig(privy: Privy): Promise<DepositConfig>;
3087
3087
  //#endregion
3088
+ //#region src/action/cryptoDepositAccount/types.d.ts
3089
+ type CryptoDepositAccountQuote = CryptoDepositAccountQuoteResponse;
3090
+ type CreateCryptoDepositAccountWithConfigInput = {
3091
+ walletId: string;
3092
+ type: 'deposit_config';
3093
+ depositConfigId: string;
3094
+ };
3095
+ type CreateCryptoDepositAccountWithRouteInput = {
3096
+ walletId: string;
3097
+ type: 'inline_route';
3098
+ source: CryptoDepositAssetFilter;
3099
+ destination: CryptoDepositAsset;
3100
+ };
3101
+ type CreateCryptoDepositAccountInput = CreateCryptoDepositAccountWithConfigInput | CreateCryptoDepositAccountWithRouteInput;
3102
+ type CryptoDepositAccountQuoteInput = {
3103
+ source: {
3104
+ chain: string;
3105
+ asset: string;
3106
+ };
3107
+ destination: {
3108
+ chain: string;
3109
+ asset: string;
3110
+ };
3111
+ inputAmount?: string;
3112
+ slippageBps?: number;
3113
+ };
3114
+ type GetCryptoDepositAccountOrderInput = {
3115
+ walletId: string;
3116
+ orderId: string;
3117
+ };
3118
+ type GetCryptoDepositAccountNextOrderInput = {
3119
+ walletId: string;
3120
+ after: string;
3121
+ };
3122
+ //#endregion
3088
3123
  //#region src/wallet-api/sign-wallet-request.d.ts
3089
3124
  interface SignWalletRequestInput {
3090
3125
  /**
@@ -3116,6 +3151,74 @@ interface WalletApiActionContext {
3116
3151
  };
3117
3152
  }
3118
3153
  //#endregion
3154
+ //#region src/action/cryptoDepositAccount/create.d.ts
3155
+ /**
3156
+ * Creates crypto deposit source wallets for a destination wallet.
3157
+ *
3158
+ * Requires a dest-owner authorization signature from the user's signer.
3159
+ */
3160
+ declare function createCryptoDepositAccount(context: WalletApiActionContext & Pick<Privy, 'track'>, sign: SignWalletRequest, input: CreateCryptoDepositAccountInput): Promise<CreateCryptoDepositAccountResponse>;
3161
+ //#endregion
3162
+ //#region src/action/cryptoDepositAccount/quote.d.ts
3163
+ /** Fetches an indicative quote for a crypto deposit-account route. */
3164
+ declare function getCryptoDepositAccountQuote(privy: Pick<Privy, 'fetchPrivyRoute' | 'track'>, input: CryptoDepositAccountQuoteInput): Promise<CryptoDepositAccountQuote>;
3165
+ /** Conversion rate as dest-per-source, or undefined when the quote amounts are not usable. */
3166
+ declare function indicativeRateFromQuote(quote: CryptoDepositAccountQuote): string | undefined;
3167
+ //#endregion
3168
+ //#region src/action/cryptoDepositAccount/orders.d.ts
3169
+ /** Fetches a crypto deposit-account sweep by wallet action ID. */
3170
+ declare function getCryptoDepositAccountOrder(privy: Pick<Privy, 'fetchPrivyRoute'>, input: GetCryptoDepositAccountOrderInput): Promise<GetCryptoDepositAccountOrderResponse>;
3171
+ /** Fetches the next crypto deposit-account sweep into the path wallet after `after`. */
3172
+ declare function getCryptoDepositAccountNextOrder(privy: Pick<Privy, 'fetchPrivyRoute'>, input: GetCryptoDepositAccountNextOrderInput): Promise<GetCryptoDepositAccountNextOrderResponse>;
3173
+ //#endregion
3174
+ //#region src/action/cryptoDepositAccount/filter-deposit-config.d.ts
3175
+ /**
3176
+ * Filters the deposit-account catalog by a source include/exclude.
3177
+ * `all` keeps every listed token/chain; include/exclude narrow that list.
3178
+ */
3179
+ declare function filterDepositConfig(config: CryptoDepositAccountConfig, source: CryptoDepositAssetFilter): CryptoDepositAccountConfig;
3180
+ //#endregion
3181
+ //#region src/action/cryptoDepositAccount/pick-deposit-address.d.ts
3182
+ /**
3183
+ * Picks the deposit address that should be shown for a selected source chain.
3184
+ *
3185
+ * Create returns one address per source chain family. Prefer an account whose
3186
+ * source filter mentions that chain, then fall back to address format vs VM.
3187
+ */
3188
+ declare function pickDepositAddressForChain({ accounts, selectedChain }: {
3189
+ accounts: CryptoDepositAddressRoute[];
3190
+ selectedChain: {
3191
+ caip2: string;
3192
+ vmType: string;
3193
+ };
3194
+ }): string | undefined;
3195
+ //#endregion
3196
+ //#region src/action/cryptoDepositAccount/aliases.d.ts
3197
+ /** Resolves an alias, CAIP-2, or numeric chain id to CAIP-2 when known. */
3198
+ declare function resolveChainAlias(chain: string): string;
3199
+ /** True when the asset alias refers to a chain's native token. */
3200
+ declare function isNativeAssetAlias(asset: string): boolean;
3201
+ /**
3202
+ * Quote asset for a selected catalog currency: canonical named id when the
3203
+ * symbol is on the shared asset list, otherwise the chain's token address.
3204
+ */
3205
+ declare function quoteSourceAsset({ symbol, address }: {
3206
+ symbol: string;
3207
+ address: string;
3208
+ }): string;
3209
+ /**
3210
+ * Catalog display symbol for a dest asset/chain (aliases or raw ids).
3211
+ * Falls back to the uppercased param when the dest is not in the catalog.
3212
+ */
3213
+ declare function findCatalogSymbol({ config, chain, asset }: {
3214
+ config: CryptoDepositAccountConfig;
3215
+ chain?: string;
3216
+ asset: string;
3217
+ }): string;
3218
+ declare namespace index_d_exports$1 {
3219
+ export { CreateCryptoDepositAccountInput, CreateCryptoDepositAccountResponse, CreateCryptoDepositAccountWithConfigInput, CreateCryptoDepositAccountWithRouteInput, CryptoDepositAccountConfig, CryptoDepositAccountQuote, CryptoDepositAccountQuoteInput, CryptoDepositAddressRoute, CryptoDepositAsset, CryptoDepositAssetFilter, GetCryptoDepositAccountNextOrderInput, GetCryptoDepositAccountNextOrderResponse, GetCryptoDepositAccountOrderInput, GetCryptoDepositAccountOrderResponse, createCryptoDepositAccount, filterDepositConfig, findCatalogSymbol, getCryptoDepositAccountNextOrder, getCryptoDepositAccountOrder, getCryptoDepositAccountQuote, indicativeRateFromQuote, isNativeAssetAlias, pickDepositAddressForChain, quoteSourceAsset, resolveChainAlias };
3220
+ }
3221
+ //#endregion
3119
3222
  //#region src/wallet-api/generate-authorization-signature.d.ts
3120
3223
  interface GenerateAuthorizationSignatureInput {
3121
3224
  version: 1;
@@ -3149,7 +3252,7 @@ interface GenerateAuthorizationSignatureOutput {
3149
3252
  declare function generateAuthorizationSignature(sign: SignWalletRequest, payload: GenerateAuthorizationSignatureInput | Uint8Array): Promise<GenerateAuthorizationSignatureOutput>;
3150
3253
  //#endregion
3151
3254
  //#region src/wallet-api/create.d.ts
3152
- type Input$3 = {
3255
+ type Input$4 = {
3153
3256
  request: WalletCreateParams;
3154
3257
  headers?: HeadersInit;
3155
3258
  };
@@ -3161,10 +3264,10 @@ type Input$3 = {
3161
3264
  * @param headers Optional headers to include in the request
3162
3265
  * @returns The Response from the Wallet API create request
3163
3266
  */
3164
- declare function create(context: WalletApiActionContext, { request, headers }: Input$3): Promise<Wallet>;
3267
+ declare function create(context: WalletApiActionContext, { request, headers }: Input$4): Promise<Wallet>;
3165
3268
  //#endregion
3166
3269
  //#region src/wallet-api/rpc.d.ts
3167
- type Input$2 = WalletRpcParams & {
3270
+ type Input$3 = WalletRpcParams & {
3168
3271
  wallet_id: string;
3169
3272
  headers?: Record<string, string>;
3170
3273
  };
@@ -3176,10 +3279,10 @@ type Input$2 = WalletRpcParams & {
3176
3279
  * @param input The input to the Wallet API RPC request
3177
3280
  * @returns The response from the Wallet API RPC request
3178
3281
  */
3179
- declare function rpc(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, headers: extraHeaders, ...request }: Input$2): Promise<WalletRpcResponse>;
3282
+ declare function rpc(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, headers: extraHeaders, ...request }: Input$3): Promise<WalletRpcResponse>;
3180
3283
  //#endregion
3181
3284
  //#region src/wallet-api/raw-sign.d.ts
3182
- type Input$1 = WalletRawSignParams & {
3285
+ type Input$2 = WalletRawSignParams & {
3183
3286
  wallet_id: string;
3184
3287
  };
3185
3288
  /**
@@ -3192,7 +3295,7 @@ type Input$1 = WalletRawSignParams & {
3192
3295
  * @param input The input to the Wallet API raw sign request
3193
3296
  * @returns The response from the Wallet API raw sign request
3194
3297
  */
3195
- declare function rawSign(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input$1): Promise<RawSignResponse>;
3298
+ declare function rawSign(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input$2): Promise<RawSignResponse>;
3196
3299
  //#endregion
3197
3300
  //#region src/wallet-api/get-wallet.d.ts
3198
3301
  /**
@@ -3207,7 +3310,7 @@ declare function getWallet(context: WalletApiActionContext, { wallet_id }: {
3207
3310
  }): Promise<Wallet>;
3208
3311
  //#endregion
3209
3312
  //#region src/wallet-api/update-wallet.d.ts
3210
- type Input = Pick<WalletUpdateParams, 'additional_signers'>;
3313
+ type Input$1 = Pick<WalletUpdateParams, 'additional_signers'>;
3211
3314
  /**
3212
3315
  * Updates a wallet through the Wallet API.
3213
3316
  *
@@ -3219,7 +3322,7 @@ type Input = Pick<WalletUpdateParams, 'additional_signers'>;
3219
3322
  */
3220
3323
  declare function updateWallet(context: WalletApiActionContext, { wallet_id }: {
3221
3324
  wallet_id: string;
3222
- }, sign: SignWalletRequest, input: Input): Promise<Wallet>;
3325
+ }, sign: SignWalletRequest, input: Input$1): Promise<Wallet>;
3223
3326
  //#endregion
3224
3327
  //#region src/wallet-api/unified-wallet.d.ts
3225
3328
  /**
@@ -3230,6 +3333,48 @@ declare function updateWallet(context: WalletApiActionContext, { wallet_id }: {
3230
3333
  */
3231
3334
  declare const isUnifiedWallet: (account: LinkedAccountEmbeddedWallet) => account is LinkedAccountEmbeddedWalletWithID;
3232
3335
  //#endregion
3336
+ //#region src/wallet-api/transfer.d.ts
3337
+ type Input = TransferRequestBody & {
3338
+ wallet_id: string;
3339
+ };
3340
+ /**
3341
+ * Executes a Wallet API transfer request. Resolves as soon as the action is created —
3342
+ * the returned action's `status` is `'pending'`. This does not wait for the action to
3343
+ * reach a terminal status.
3344
+ *
3345
+ * @param context The context needed to execute the action
3346
+ * @param sign A function that signs a wallet request
3347
+ * @param input The input to the Wallet API transfer request
3348
+ * @returns The created transfer action
3349
+ */
3350
+ declare function transfer(context: WalletApiActionContext, sign: SignWalletRequest, { wallet_id, ...request }: Input): Promise<Wallets.Actions.TransferActionResponse>;
3351
+ //#endregion
3352
+ //#region src/wallet-api/wallet-actions.d.ts
3353
+ /**
3354
+ * Fetches the current status of a wallet action through the Wallet API.
3355
+ *
3356
+ * @param context The context needed to execute the action
3357
+ * @param wallet_id The ID of the wallet the action belongs to
3358
+ * @param action_id The ID of the action to fetch
3359
+ * @returns The wallet action with its current status
3360
+ */
3361
+ declare function getWalletAction(context: WalletApiActionContext, { wallet_id, action_id }: {
3362
+ wallet_id: string;
3363
+ action_id: string;
3364
+ }): Promise<Wallets.Actions.WalletActionResponse>;
3365
+ /**
3366
+ * Lists wallet actions through the Wallet API, with optional filtering by type and
3367
+ * cursor-based pagination.
3368
+ *
3369
+ * @param context The context needed to execute the action
3370
+ * @param wallet_id The ID of the wallet to list actions for
3371
+ * @param query Optional filtering and pagination parameters
3372
+ * @returns A page of wallet actions
3373
+ */
3374
+ declare function listWalletActions(context: WalletApiActionContext, { wallet_id, ...query }: {
3375
+ wallet_id: string;
3376
+ } & Wallets.Actions.ListWalletActionsQuery): Promise<Wallets.Actions.ListWalletActionsResponse>;
3377
+ //#endregion
3233
3378
  //#region src/embedded/stack/session-signers.d.ts
3234
3379
  interface SessionSigner {
3235
3380
  signer_id: string;
@@ -3368,4 +3513,4 @@ declare const THIRDWEB: "thirdweb";
3368
3513
  /** @deprecated {@link SmartWalletType} is a well-typed union, use the `'nexus'` literal instead */
3369
3514
  declare const NEXUS: "nexus";
3370
3515
  //#endregion
3371
- export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateSiwsMessageOpts, DATA_SUFFIX_PLUGIN_ID, type DataSuffixPlugin, type DepositAddressOrder, type DepositAddressPollingResult, type DepositAddressQuote, type DepositConfig, type EIP1193Provider, type EmbeddedBitcoinWalletProvider, EmbeddedProviderError, EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, ExternalWallet, ExternalWalletMetadata, FundingMethod, FundingProvider, type GenerateAuthorizationSignatureInput, type GenerateAuthorizationSignatureOutput, type GenerateDepositAddressInput, type GetDepositInput, IdentifierString, InMemoryCache, type IncompleteDepositAddressOrder, InjectedWalletClientType, KERNEL, LIGHT_ACCOUNT, LocalStorage, type LogLevel, type Logger, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, NEXUS, type OAuthProviderID, OAuthProviderType, type OnNeedsRecovery, type ParsedSolanaOffchainMessage, PaymentOption, type PollOptions, type PollResult, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, PrivyEmbeddedWalletProvider, type PrivyPlugin, PrivyProviderRpcError, ProviderErrors, type Quantity, type ResolveRefundAddressError, type ResolveRefundAddressResult, SAFE, SUPPORTED_CONNECTOR_TYPES, type SessionSignerInput, type SetRecoveryInput, SmartWalletType, SolanaClient, SolanaCluster, SolanaSignAndSendTransactionInput, SolanaSignAndSendTransactionMode, SolanaSignAndSendTransactionOptions, SolanaSignAndSendTransactionOutput, SolanaSignMessageInput, SolanaSignMessageOutput, SolanaSignTransactionInput, SolanaSignTransactionOptions, SolanaSignTransactionOutput, SolanaStandardWallet, SolanaTransactionCommitment, SolanaUsdcAddressMap, type Storage, THIRDWEB, type TelegramAuthInput, type TelegramAuthResult, type TelegramWebAppData, UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WaitForCompletionInput, type WaitForDepositInput, WalletBranding, WalletClientType, WalletConnectWalletClientType, addSessionSigners, buildSolanaOffchainMessage, chainToMoonpayCurrency, cookies, countryCodesAndNumbers, create, createDataSuffixPlugin, createErrorFormatter, createSiwsMessage, index_d_exports as crossApp, Privy as default, index_d_exports$1 as delegatedActions, index_d_exports$2 as depositAddress, deriveSolanaApplicationDomain, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, generateAuthorizationSignature, generateWalletIdempotencyKey, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getCountryCallingCode, getDataSuffixPlugin, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, getWallet, isEmbeddedWalletAccount, isExtensionContext, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, isUnifiedWallet, lastFourDigits, parseSolanaOffchainMessage, phoneNumberTypingFormatter, poll, rawSign, removeSessionSigners, rpc, shouldWriteSessionCookies, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toE164, toObjectKeys, toWalletApiUnsignedEthTransaction, updateWallet, validatePhoneNumber };
3516
+ export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateCryptoDepositAccountInput, type CreateCryptoDepositAccountResponse, type CreateSiwsMessageOpts, type CryptoDepositAccountConfig, type CryptoDepositAccountQuote, type CryptoDepositAccountQuoteInput, type CryptoDepositAddressRoute, type CryptoDepositAsset, type CryptoDepositAssetFilter, DATA_SUFFIX_PLUGIN_ID, type DataSuffixPlugin, type DepositAddressOrder, type DepositAddressPollingResult, type DepositAddressQuote, type DepositConfig, type EIP1193Provider, type EmbeddedBitcoinWalletProvider, EmbeddedProviderError, EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, ExternalWallet, ExternalWalletMetadata, FundingMethod, FundingProvider, type GenerateAuthorizationSignatureInput, type GenerateAuthorizationSignatureOutput, type GenerateDepositAddressInput, type GetCryptoDepositAccountNextOrderInput, type GetCryptoDepositAccountNextOrderResponse, type GetCryptoDepositAccountOrderInput, type GetCryptoDepositAccountOrderResponse, type GetDepositInput, IdentifierString, InMemoryCache, type IncompleteDepositAddressOrder, InjectedWalletClientType, KERNEL, LIGHT_ACCOUNT, LocalStorage, type LogLevel, type Logger, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, NEXUS, type OAuthProviderID, OAuthProviderType, type OnNeedsRecovery, type ParsedSolanaOffchainMessage, PaymentOption, type PollOptions, type PollResult, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, PrivyEmbeddedWalletProvider, type PrivyPlugin, PrivyProviderRpcError, ProviderErrors, type Quantity, type ResolveRefundAddressError, type ResolveRefundAddressResult, SAFE, SUPPORTED_CONNECTOR_TYPES, type SessionSignerInput, type SetRecoveryInput, SmartWalletType, SolanaClient, SolanaCluster, SolanaSignAndSendTransactionInput, SolanaSignAndSendTransactionMode, SolanaSignAndSendTransactionOptions, SolanaSignAndSendTransactionOutput, SolanaSignMessageInput, SolanaSignMessageOutput, SolanaSignTransactionInput, SolanaSignTransactionOptions, SolanaSignTransactionOutput, SolanaStandardWallet, SolanaTransactionCommitment, SolanaUsdcAddressMap, type Storage, THIRDWEB, type TelegramAuthInput, type TelegramAuthResult, type TelegramWebAppData, UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WaitForCompletionInput, type WaitForDepositInput, WalletBranding, WalletClientType, WalletConnectWalletClientType, addSessionSigners, buildSolanaOffchainMessage, chainToMoonpayCurrency, cookies, countryCodesAndNumbers, create, createDataSuffixPlugin, createErrorFormatter, createSiwsMessage, index_d_exports as crossApp, index_d_exports$1 as cryptoDepositAccount, Privy as default, index_d_exports$2 as delegatedActions, index_d_exports$3 as depositAddress, deriveSolanaApplicationDomain, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, generateAuthorizationSignature, generateWalletIdempotencyKey, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getCountryCallingCode, getDataSuffixPlugin, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, getWallet, getWalletAction, isEmbeddedWalletAccount, isExtensionContext, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, isUnifiedWallet, lastFourDigits, listWalletActions, parseSolanaOffchainMessage, phoneNumberTypingFormatter, poll, rawSign, removeSessionSigners, rpc, shouldWriteSessionCookies, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toE164, toObjectKeys, toWalletApiUnsignedEthTransaction, transfer, updateWallet, validatePhoneNumber };