@privy-io/js-sdk-core 0.73.0 → 0.74.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/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/dts/index.d.mts +32 -2
- package/dist/dts/index.d.ts +32 -2
- package/dist/esm/index.mjs +4 -4
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/dts/index.d.mts
CHANGED
|
@@ -306,6 +306,7 @@ type OnNeedsRecovery = (input: {
|
|
|
306
306
|
}) => Promise<void> | void;
|
|
307
307
|
declare class EmbeddedWalletProvider extends EventEmitter implements EIP1193Provider {
|
|
308
308
|
request(request: RequestArguments): Promise<any>;
|
|
309
|
+
private applyDataSuffix;
|
|
309
310
|
/**
|
|
310
311
|
* Backfills a transaction that may not specify a `chainId` with the provider's `this._chainId`
|
|
311
312
|
* and switches the provider to that chain. Works for both standard EVM and
|
|
@@ -774,6 +775,31 @@ type PreparedTransactionRequestTempo = UnsignedTransactionRequest & {
|
|
|
774
775
|
};
|
|
775
776
|
type PreparedTransactionRequest = PreparedTransactionRequestEIP1559 | PreparedTransactionRequestLegacy | PreparedTransactionRequestTempo;
|
|
776
777
|
//#endregion
|
|
778
|
+
//#region src/plugins/data-suffix.d.ts
|
|
779
|
+
/** Unique identifier for the data suffix plugin. */
|
|
780
|
+
declare const DATA_SUFFIX_PLUGIN_ID: unique symbol;
|
|
781
|
+
/** Plugin that appends attribution data to EVM transaction data. */
|
|
782
|
+
type DataSuffixPlugin = {
|
|
783
|
+
readonly id: typeof DATA_SUFFIX_PLUGIN_ID;
|
|
784
|
+
/** The normalized suffix value with a `0x` prefix. */
|
|
785
|
+
readonly suffix: `0x${string}`;
|
|
786
|
+
/** Appends the configured suffix to transaction data. */
|
|
787
|
+
appendDataSuffix: (opts: {
|
|
788
|
+
data: `0x${string}`;
|
|
789
|
+
}) => `0x${string}`;
|
|
790
|
+
};
|
|
791
|
+
/** Plugin supported by the Privy client. */
|
|
792
|
+
type PrivyPlugin = DataSuffixPlugin;
|
|
793
|
+
/** Returns the configured data suffix plugin, if present. */
|
|
794
|
+
declare function getDataSuffixPlugin(plugins?: readonly PrivyPlugin[]): DataSuffixPlugin | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* Creates a plugin that appends a hex-encoded suffix to transaction data.
|
|
797
|
+
*
|
|
798
|
+
* @param suffix - Hex suffix with or without a `0x` prefix.
|
|
799
|
+
* @returns A data suffix plugin with a normalized suffix.
|
|
800
|
+
*/
|
|
801
|
+
declare function createDataSuffixPlugin(suffix: string): DataSuffixPlugin;
|
|
802
|
+
//#endregion
|
|
777
803
|
//#region src/storage/Storage.d.ts
|
|
778
804
|
interface Storage {
|
|
779
805
|
get(key: string): unknown | Promise<unknown>;
|
|
@@ -2133,6 +2159,8 @@ type PrivyOptions = {
|
|
|
2133
2159
|
appId: string;
|
|
2134
2160
|
/** The client ID */
|
|
2135
2161
|
clientId?: string;
|
|
2162
|
+
/** Plugins that extend Privy client behavior. */
|
|
2163
|
+
plugins?: readonly PrivyPlugin[];
|
|
2136
2164
|
/** A reference the the embedded wallet iframe content window */
|
|
2137
2165
|
embeddedWalletMessagePoster?: EmbeddedWalletMessagePoster;
|
|
2138
2166
|
/**
|
|
@@ -2175,6 +2203,8 @@ type PrivyOptions = {
|
|
|
2175
2203
|
* Privy API Client SDK
|
|
2176
2204
|
*/
|
|
2177
2205
|
declare class Privy {
|
|
2206
|
+
/** Plugins configured for this client instance. */
|
|
2207
|
+
readonly plugins: readonly PrivyPlugin[];
|
|
2178
2208
|
/**
|
|
2179
2209
|
* APIs for interacting with a user's embedded wallet
|
|
2180
2210
|
*/
|
|
@@ -2222,7 +2252,7 @@ declare class Privy {
|
|
|
2222
2252
|
*/
|
|
2223
2253
|
readonly isMultiUserModeEnabled: boolean;
|
|
2224
2254
|
/** Create a new `Privy` Client */
|
|
2225
|
-
constructor({ clientId, sessions, ...o }: PrivyOptions);
|
|
2255
|
+
constructor({ clientId, sessions, plugins, ...o }: PrivyOptions);
|
|
2226
2256
|
/**
|
|
2227
2257
|
* Initialize the SDK
|
|
2228
2258
|
*
|
|
@@ -3338,4 +3368,4 @@ declare const THIRDWEB: "thirdweb";
|
|
|
3338
3368
|
/** @deprecated {@link SmartWalletType} is a well-typed union, use the `'nexus'` literal instead */
|
|
3339
3369
|
declare const NEXUS: "nexus";
|
|
3340
3370
|
//#endregion
|
|
3341
|
-
export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateSiwsMessageOpts, 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, 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, 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, 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 };
|
|
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 };
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ type OnNeedsRecovery = (input: {
|
|
|
306
306
|
}) => Promise<void> | void;
|
|
307
307
|
declare class EmbeddedWalletProvider extends EventEmitter implements EIP1193Provider {
|
|
308
308
|
request(request: RequestArguments): Promise<any>;
|
|
309
|
+
private applyDataSuffix;
|
|
309
310
|
/**
|
|
310
311
|
* Backfills a transaction that may not specify a `chainId` with the provider's `this._chainId`
|
|
311
312
|
* and switches the provider to that chain. Works for both standard EVM and
|
|
@@ -774,6 +775,31 @@ type PreparedTransactionRequestTempo = UnsignedTransactionRequest & {
|
|
|
774
775
|
};
|
|
775
776
|
type PreparedTransactionRequest = PreparedTransactionRequestEIP1559 | PreparedTransactionRequestLegacy | PreparedTransactionRequestTempo;
|
|
776
777
|
//#endregion
|
|
778
|
+
//#region src/plugins/data-suffix.d.ts
|
|
779
|
+
/** Unique identifier for the data suffix plugin. */
|
|
780
|
+
declare const DATA_SUFFIX_PLUGIN_ID: unique symbol;
|
|
781
|
+
/** Plugin that appends attribution data to EVM transaction data. */
|
|
782
|
+
type DataSuffixPlugin = {
|
|
783
|
+
readonly id: typeof DATA_SUFFIX_PLUGIN_ID;
|
|
784
|
+
/** The normalized suffix value with a `0x` prefix. */
|
|
785
|
+
readonly suffix: `0x${string}`;
|
|
786
|
+
/** Appends the configured suffix to transaction data. */
|
|
787
|
+
appendDataSuffix: (opts: {
|
|
788
|
+
data: `0x${string}`;
|
|
789
|
+
}) => `0x${string}`;
|
|
790
|
+
};
|
|
791
|
+
/** Plugin supported by the Privy client. */
|
|
792
|
+
type PrivyPlugin = DataSuffixPlugin;
|
|
793
|
+
/** Returns the configured data suffix plugin, if present. */
|
|
794
|
+
declare function getDataSuffixPlugin(plugins?: readonly PrivyPlugin[]): DataSuffixPlugin | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* Creates a plugin that appends a hex-encoded suffix to transaction data.
|
|
797
|
+
*
|
|
798
|
+
* @param suffix - Hex suffix with or without a `0x` prefix.
|
|
799
|
+
* @returns A data suffix plugin with a normalized suffix.
|
|
800
|
+
*/
|
|
801
|
+
declare function createDataSuffixPlugin(suffix: string): DataSuffixPlugin;
|
|
802
|
+
//#endregion
|
|
777
803
|
//#region src/storage/Storage.d.ts
|
|
778
804
|
interface Storage {
|
|
779
805
|
get(key: string): unknown | Promise<unknown>;
|
|
@@ -2133,6 +2159,8 @@ type PrivyOptions = {
|
|
|
2133
2159
|
appId: string;
|
|
2134
2160
|
/** The client ID */
|
|
2135
2161
|
clientId?: string;
|
|
2162
|
+
/** Plugins that extend Privy client behavior. */
|
|
2163
|
+
plugins?: readonly PrivyPlugin[];
|
|
2136
2164
|
/** A reference the the embedded wallet iframe content window */
|
|
2137
2165
|
embeddedWalletMessagePoster?: EmbeddedWalletMessagePoster;
|
|
2138
2166
|
/**
|
|
@@ -2175,6 +2203,8 @@ type PrivyOptions = {
|
|
|
2175
2203
|
* Privy API Client SDK
|
|
2176
2204
|
*/
|
|
2177
2205
|
declare class Privy {
|
|
2206
|
+
/** Plugins configured for this client instance. */
|
|
2207
|
+
readonly plugins: readonly PrivyPlugin[];
|
|
2178
2208
|
/**
|
|
2179
2209
|
* APIs for interacting with a user's embedded wallet
|
|
2180
2210
|
*/
|
|
@@ -2222,7 +2252,7 @@ declare class Privy {
|
|
|
2222
2252
|
*/
|
|
2223
2253
|
readonly isMultiUserModeEnabled: boolean;
|
|
2224
2254
|
/** Create a new `Privy` Client */
|
|
2225
|
-
constructor({ clientId, sessions, ...o }: PrivyOptions);
|
|
2255
|
+
constructor({ clientId, sessions, plugins, ...o }: PrivyOptions);
|
|
2226
2256
|
/**
|
|
2227
2257
|
* Initialize the SDK
|
|
2228
2258
|
*
|
|
@@ -3338,4 +3368,4 @@ declare const THIRDWEB: "thirdweb";
|
|
|
3338
3368
|
/** @deprecated {@link SmartWalletType} is a well-typed union, use the `'nexus'` literal instead */
|
|
3339
3369
|
declare const NEXUS: "nexus";
|
|
3340
3370
|
//#endregion
|
|
3341
|
-
export { ALL_WALLET_CLIENT_TYPES, BICONOMY, COINBASE_SMART_WALLET, Cluster, type CoinbaseAssetId, CoinbaseWalletClientType, type CompletedDepositAddressOrder, ConnectedStandardSolanaWallet, ConnectorType, CookieWriteBehavior, type CountryCallingCode, type CountryCode, type CreateSiwsMessageOpts, 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, 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, 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, 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 };
|
|
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 };
|