@privy-io/js-sdk-core 0.40.0 → 0.41.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.
Files changed (55) hide show
  1. package/dist/cjs/action/crossApp/index.js +1 -1
  2. package/dist/cjs/action/crossApp/wallet/index.js +1 -0
  3. package/dist/cjs/action/crossApp/wallet/sendTransaction.js +1 -0
  4. package/dist/cjs/action/crossApp/wallet/signMessage.js +1 -0
  5. package/dist/cjs/action/crossApp/wallet/signTypedData.js +1 -0
  6. package/dist/cjs/action/crossApp/wallet/utils/getCrossAppAccountByWalletAddress.js +1 -0
  7. package/dist/cjs/action/crossApp/wallet/utils/getProviderAccessTokenOrRelink.js +1 -0
  8. package/dist/cjs/action/crossApp/wallet/utils/isCrossAppWalletSmart.js +1 -0
  9. package/dist/cjs/action/crossApp/wallet/utils/sendCrossAppRequest.js +1 -0
  10. package/dist/cjs/action/crossApp/wallet/utils/throwIfNotLoggedIn.js +1 -0
  11. package/dist/cjs/action/index.js +1 -1
  12. package/dist/cjs/client/CrossAppApi.js +1 -1
  13. package/dist/cjs/client/EmbeddedWalletApi.js +1 -1
  14. package/dist/cjs/client/Privy.js +1 -1
  15. package/dist/cjs/client/PrivyInternal.js +1 -1
  16. package/dist/cjs/client/funding/FundingApi.js +1 -1
  17. package/dist/cjs/client/funding/MoonpayOnRampApi.js +1 -1
  18. package/dist/cjs/embedded/EmbeddedBitcoinWalletProvider.js +1 -1
  19. package/dist/cjs/embedded/EmbeddedSolanaWalletProvider.js +1 -1
  20. package/dist/cjs/embedded/EmbeddedWalletProvider.js +1 -1
  21. package/dist/cjs/funding/moonpay.js +1 -1
  22. package/dist/cjs/index-CARkJvRM.js +1 -0
  23. package/dist/cjs/index-DzfqDJJ9.js +1 -0
  24. package/dist/cjs/index.js +1 -1
  25. package/dist/cjs/utils/typedData/generateDomainType.js +1 -0
  26. package/dist/dts/index.d.mts +156 -61
  27. package/dist/dts/index.d.ts +156 -61
  28. package/dist/esm/action/crossApp/index.mjs +1 -1
  29. package/dist/esm/action/crossApp/wallet/index.mjs +1 -0
  30. package/dist/esm/action/crossApp/wallet/sendTransaction.mjs +1 -0
  31. package/dist/esm/action/crossApp/wallet/signMessage.mjs +1 -0
  32. package/dist/esm/action/crossApp/wallet/signTypedData.mjs +1 -0
  33. package/dist/esm/action/crossApp/wallet/utils/getCrossAppAccountByWalletAddress.mjs +1 -0
  34. package/dist/esm/action/crossApp/wallet/utils/getProviderAccessTokenOrRelink.mjs +1 -0
  35. package/dist/esm/action/crossApp/wallet/utils/isCrossAppWalletSmart.mjs +1 -0
  36. package/dist/esm/action/crossApp/wallet/utils/sendCrossAppRequest.mjs +1 -0
  37. package/dist/esm/action/crossApp/wallet/utils/throwIfNotLoggedIn.mjs +1 -0
  38. package/dist/esm/action/index.mjs +1 -1
  39. package/dist/esm/client/CrossAppApi.mjs +1 -1
  40. package/dist/esm/client/EmbeddedWalletApi.mjs +1 -1
  41. package/dist/esm/client/Privy.mjs +1 -1
  42. package/dist/esm/client/PrivyInternal.mjs +1 -1
  43. package/dist/esm/client/funding/FundingApi.mjs +1 -1
  44. package/dist/esm/client/funding/MoonpayOnRampApi.mjs +1 -1
  45. package/dist/esm/embedded/EmbeddedBitcoinWalletProvider.mjs +1 -1
  46. package/dist/esm/embedded/EmbeddedSolanaWalletProvider.mjs +1 -1
  47. package/dist/esm/embedded/EmbeddedWalletProvider.mjs +1 -1
  48. package/dist/esm/funding/moonpay.mjs +1 -1
  49. package/dist/esm/index-Bu3ySxLM.mjs +1 -0
  50. package/dist/esm/index-DTAjYY8z.mjs +1 -0
  51. package/dist/esm/index.mjs +1 -1
  52. package/dist/esm/utils/typedData/generateDomainType.mjs +1 -0
  53. package/package.json +2 -2
  54. package/dist/cjs/index-CaTd1c_7.js +0 -1
  55. package/dist/esm/index-CL5Nuxcp.mjs +0 -1
@@ -12,7 +12,7 @@ import { CountryCode, AsYouType } from 'libphonenumber-js/min';
12
12
  export { CountryCode, getCountryCallingCode } from 'libphonenumber-js/min';
13
13
  import { BigNumber, BigNumberish } from '@ethersproject/bignumber';
14
14
  import { UnsignedTransaction } from '@ethersproject/transactions';
15
- import { Hex } from 'viem';
15
+ import { Hex, TypedDataDefinition } from 'viem';
16
16
 
17
17
  /**
18
18
  * These types are fully compatible with WAGMI chain types, in case
@@ -376,7 +376,7 @@ declare class EmbeddedWalletProvider extends EventEmitter implements EIP1193Prov
376
376
 
377
377
  type AuthAction = 'login' | 'link';
378
378
  type Method = 'email' | 'sms' | 'oauth' | 'siwe' | 'passkey' | 'farcaster';
379
- type ClientErrorCode = `failed_to_complete_${AuthAction}_with_oauth` | `${AuthAction}_with_oauth_returned_with_invalid_credentials` | `${AuthAction}_with_oauth_was_cancelled_by_user` | 'attempted_rpc_call_before_logged_in' | 'attempted_submit_otp_before_sending' | 'attempted_to_set_password_before_connected' | 'attempted_to_set_password_but_password_already_set' | `attempted_login_with_${Method}_while_already_logged_in` | `attempted_link_${Method}_before_logged_in` | 'attempted_link_cross_app_before_logged_in' | 'attempted_login_with_cross_app_while_already_logged_in' | `attempted_unlink_siwe_before_logged_in` | 'oauth_session_failed' | 'oauth_session_timeout' | 'embedded_wallet_needs_recovery' | 'embedded_wallet_creation_error' | 'embedded_wallet_recovery_error' | 'embedded_wallet_set_password_error' | 'embedded_wallet_set_recovery_error' | 'unknown_embedded_wallet_error' | 'embedded_wallet_does_not_exist' | 'embedded_wallet_already_exists' | 'embedded_wallet_webview_not_loaded' | 'embedded_wallet_request_error' | 'delegated_actions_before_logged_in' | 'delegated_actions_wallet_not_found' | 'delegated_actions_no_wallet_to_revoke' | 'no_passkey_found_for_challenge' | 'pkce_state_code_mismatch' | 'failed_to_create_passkey' | 'failed_to_generate_farcaster_uri' | 'failed_to_generate_farcaster_channel_token' | 'farcaster_polling_timeout' | 'farcaster_polling_canceled' | 'unsupported_recovery_method' | 'attempted_to_create_guest_account_for_logged_in_user' | 'attempted_to_read_storage_before_client_initialized' | 'third_party_auth_error' | 'invalid_native_app_id' | 'unsupported_mfa_method' | 'unsupported_chain_type' | 'invalid_mfa_code' | 'invalid_passkey_response' | 'storage_error' | 'smart_wallet_client_error' | 'chain_not_supported' | 'mfa_canceled' | 'failed_to_fetch_moonpay_transaction_status';
379
+ type ClientErrorCode = `failed_to_complete_${AuthAction}_with_oauth` | `${AuthAction}_with_oauth_returned_with_invalid_credentials` | `${AuthAction}_with_oauth_was_cancelled_by_user` | 'attempted_rpc_call_before_logged_in' | 'attempted_submit_otp_before_sending' | 'attempted_to_set_password_before_connected' | 'attempted_to_set_password_but_password_already_set' | `attempted_login_with_${Method}_while_already_logged_in` | `attempted_link_${Method}_before_logged_in` | 'attempted_link_cross_app_before_logged_in' | 'attempted_login_with_cross_app_while_already_logged_in' | 'attempted_cross_app_request_before_logged_in' | 'cross_app_invalid_app' | 'cross_app_read_only' | 'cross_app_invalid_wallet' | 'cross_app_request_error' | `attempted_unlink_siwe_before_logged_in` | 'oauth_session_failed' | 'oauth_session_timeout' | 'embedded_wallet_needs_recovery' | 'embedded_wallet_creation_error' | 'embedded_wallet_recovery_error' | 'embedded_wallet_set_password_error' | 'embedded_wallet_set_recovery_error' | 'unknown_embedded_wallet_error' | 'embedded_wallet_does_not_exist' | 'embedded_wallet_already_exists' | 'embedded_wallet_webview_not_loaded' | 'embedded_wallet_request_error' | 'delegated_actions_before_logged_in' | 'delegated_actions_wallet_not_found' | 'delegated_actions_no_wallet_to_revoke' | 'no_passkey_found_for_challenge' | 'pkce_state_code_mismatch' | 'failed_to_create_passkey' | 'failed_to_generate_farcaster_uri' | 'failed_to_generate_farcaster_channel_token' | 'farcaster_polling_timeout' | 'farcaster_polling_canceled' | 'unsupported_recovery_method' | 'attempted_to_create_guest_account_for_logged_in_user' | 'attempted_to_read_storage_before_client_initialized' | 'third_party_auth_error' | 'invalid_native_app_id' | 'unsupported_mfa_method' | 'unsupported_chain_type' | 'invalid_mfa_code' | 'invalid_passkey_response' | 'storage_error' | 'smart_wallet_client_error' | 'chain_not_supported' | 'mfa_canceled' | 'failed_to_fetch_moonpay_transaction_status';
380
380
  type ErrorBody<T extends PrivyErrorCode | ClientErrorCode> = {
381
381
  error: string;
382
382
  code: T;
@@ -544,8 +544,8 @@ interface bitcoin_signTransactionResponse extends BaseBitcoinRpcResponseType {
544
544
  }
545
545
  type BitcoinRpcResponseType = bitcoin_signResponse | bitcoin_signTransactionResponse;
546
546
  type PrivyEventType = 'privy:iframe:ready' | 'privy:wallets:create' | 'privy:wallets:add' | 'privy:wallets:set-recovery' | 'privy:wallets:connect' | 'privy:wallets:recover' | 'privy:wallets:rpc' | 'privy:wallet:create' | 'privy:wallet:connect' | 'privy:wallet:recover' | 'privy:wallet:rpc' | 'privy:solana-wallet:create' | 'privy:solana-wallet:create-additional' | 'privy:solana-wallet:connect' | 'privy:solana-wallet:recover' | 'privy:solana-wallet:rpc' | 'privy:delegated-actions:consent' | 'privy:mfa:verify' | 'privy:mfa:init-enrollment' | 'privy:mfa:submit-enrollment' | 'privy:mfa:unenroll' | 'privy:mfa:clear';
547
- type IEmbeddedWalletRecoveryOptions = 'privy' | 'user-passcode' | 'google-drive' | 'icloud' | 'icloud-native';
548
- type EmbeddedWalletRecoveryOptions = 'privy' | 'user-passcode' | 'google-drive' | 'icloud';
547
+ type IEmbeddedWalletRecoveryOptions = 'privy' | 'user-passcode' | 'google-drive' | 'icloud' | 'icloud-native' | 'recovery-encryption-key';
548
+ type EmbeddedWalletRecoveryOptions = 'privy' | 'user-passcode' | 'google-drive' | 'icloud' | 'recovery-encryption-key';
549
549
  type PasswordRecoveryInput = {
550
550
  recoveryMethod: 'user-passcode';
551
551
  password: string;
@@ -869,6 +869,15 @@ declare class CrossAppApi {
869
869
  * @param tokens should be the result of cross app authentication (be it login or linking).
870
870
  */
871
871
  updateOnCrossAppAuthentication(providerAppId: string, tokens: OAuthTokens): Promise<void>;
872
+ /**
873
+ * Returns the last known access token for a given cross-app provider.
874
+ * @param providerAppId the Privy app ID on which you want to act.
875
+ */
876
+ getProviderAccessToken(providerAppId: string): Promise<string | null>;
877
+ /**
878
+ * Fetches the metadata of all cross-app connections for the current app.
879
+ */
880
+ getCrossAppConnections(): Promise<_privy_io_public_api.PrivyCrossAppConnectionsResponse>;
872
881
  }
873
882
  type OAuthTokens = NonNullable<PrivyAuthenticatedUser['oauth_tokens']>;
874
883
 
@@ -1136,7 +1145,7 @@ declare class EmbeddedWalletApi {
1136
1145
  connector_type: "embedded";
1137
1146
  imported: boolean;
1138
1147
  delegated: boolean;
1139
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1148
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1140
1149
  } | {
1141
1150
  type: "wallet";
1142
1151
  address: string;
@@ -1152,7 +1161,7 @@ declare class EmbeddedWalletApi {
1152
1161
  connector_type: "embedded";
1153
1162
  imported: boolean;
1154
1163
  delegated: boolean;
1155
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1164
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1156
1165
  } | {
1157
1166
  type: "wallet";
1158
1167
  address: string;
@@ -1168,7 +1177,7 @@ declare class EmbeddedWalletApi {
1168
1177
  connector_type: "embedded";
1169
1178
  imported: boolean;
1170
1179
  delegated: boolean;
1171
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1180
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1172
1181
  } | {
1173
1182
  type: "wallet";
1174
1183
  address: string;
@@ -1184,7 +1193,7 @@ declare class EmbeddedWalletApi {
1184
1193
  connector_type: "embedded";
1185
1194
  imported: boolean;
1186
1195
  delegated: boolean;
1187
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1196
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1188
1197
  } | {
1189
1198
  type: "google_oauth";
1190
1199
  name: string | null;
@@ -1307,10 +1316,11 @@ declare class EmbeddedWalletApi {
1307
1316
  *
1308
1317
  * @returns the updated user
1309
1318
  */
1310
- create({ password, recoveryMethod, recoveryToken, recoverySecretOverride, iCloudRecordNameOverride, solanaAccount, skipCallbacks, }: {
1319
+ create({ password, recoveryMethod, recoveryToken, recoveryKey, recoverySecretOverride, iCloudRecordNameOverride, solanaAccount, skipCallbacks, }: {
1311
1320
  password?: string;
1312
1321
  recoveryMethod?: IEmbeddedWalletRecoveryOptions;
1313
1322
  recoveryToken?: string;
1323
+ recoveryKey?: string;
1314
1324
  recoverySecretOverride?: string;
1315
1325
  iCloudRecordNameOverride?: string;
1316
1326
  solanaAccount?: PrivySolanaEmbeddedWalletAccount$1;
@@ -1336,7 +1346,7 @@ declare class EmbeddedWalletApi {
1336
1346
  * @param password Recovery password for the embedded wallet
1337
1347
  * @returns EmbeddedWalletProvider implementing EIP1193Provider
1338
1348
  */
1339
- getProvider(wallet: PrivyEthereumEmbeddedWalletAccount$1, recoveryPassword?: string, recoveryAccessToken?: string, recoverySecretOverride?: string): Promise<EmbeddedWalletProvider>;
1349
+ getProvider(wallet: PrivyEthereumEmbeddedWalletAccount$1, recoveryPassword?: string, recoveryAccessToken?: string, recoverySecretOverride?: string, recoveryKey?: string): Promise<EmbeddedWalletProvider>;
1340
1350
  /**
1341
1351
  * Retrieve this users embedded Solana wallet.
1342
1352
  * If the wallet has never been used on this device recover.
@@ -1494,7 +1504,7 @@ declare class UserApi {
1494
1504
  connector_type: "embedded";
1495
1505
  imported: boolean;
1496
1506
  delegated: boolean;
1497
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1507
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1498
1508
  } | {
1499
1509
  type: "wallet";
1500
1510
  address: string;
@@ -1510,7 +1520,7 @@ declare class UserApi {
1510
1520
  connector_type: "embedded";
1511
1521
  imported: boolean;
1512
1522
  delegated: boolean;
1513
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1523
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1514
1524
  } | {
1515
1525
  type: "wallet";
1516
1526
  address: string;
@@ -1526,7 +1536,7 @@ declare class UserApi {
1526
1536
  connector_type: "embedded";
1527
1537
  imported: boolean;
1528
1538
  delegated: boolean;
1529
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1539
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1530
1540
  } | {
1531
1541
  type: "wallet";
1532
1542
  address: string;
@@ -1542,7 +1552,7 @@ declare class UserApi {
1542
1552
  connector_type: "embedded";
1543
1553
  imported: boolean;
1544
1554
  delegated: boolean;
1545
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1555
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1546
1556
  } | {
1547
1557
  type: "google_oauth";
1548
1558
  name: string | null;
@@ -1644,7 +1654,7 @@ declare class UserApi {
1644
1654
  }>;
1645
1655
  }
1646
1656
 
1647
- type CreateOnLogin = 'off' | 'user-without-wallets' | 'all-users';
1657
+ type CreateOnLogin = 'off' | 'users-without-wallets' | 'all-users';
1648
1658
  type EmbeddedWalletConfig = {
1649
1659
  createOnLogin: CreateOnLogin;
1650
1660
  };
@@ -1789,7 +1799,7 @@ declare class EmailApi {
1789
1799
  connector_type: "embedded";
1790
1800
  imported: boolean;
1791
1801
  delegated: boolean;
1792
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1802
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1793
1803
  } | {
1794
1804
  type: "wallet";
1795
1805
  address: string;
@@ -1805,7 +1815,7 @@ declare class EmailApi {
1805
1815
  connector_type: "embedded";
1806
1816
  imported: boolean;
1807
1817
  delegated: boolean;
1808
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1818
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1809
1819
  } | {
1810
1820
  type: "wallet";
1811
1821
  address: string;
@@ -1821,7 +1831,7 @@ declare class EmailApi {
1821
1831
  connector_type: "embedded";
1822
1832
  imported: boolean;
1823
1833
  delegated: boolean;
1824
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1834
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1825
1835
  } | {
1826
1836
  type: "wallet";
1827
1837
  address: string;
@@ -1837,7 +1847,7 @@ declare class EmailApi {
1837
1847
  connector_type: "embedded";
1838
1848
  imported: boolean;
1839
1849
  delegated: boolean;
1840
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
1850
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
1841
1851
  } | {
1842
1852
  type: "google_oauth";
1843
1853
  name: string | null;
@@ -2039,7 +2049,7 @@ declare class EmailApi {
2039
2049
  connector_type: "embedded";
2040
2050
  imported: boolean;
2041
2051
  delegated: boolean;
2042
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2052
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2043
2053
  } | {
2044
2054
  type: "wallet";
2045
2055
  address: string;
@@ -2055,7 +2065,7 @@ declare class EmailApi {
2055
2065
  connector_type: "embedded";
2056
2066
  imported: boolean;
2057
2067
  delegated: boolean;
2058
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2068
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2059
2069
  } | {
2060
2070
  type: "wallet";
2061
2071
  address: string;
@@ -2071,7 +2081,7 @@ declare class EmailApi {
2071
2081
  connector_type: "embedded";
2072
2082
  imported: boolean;
2073
2083
  delegated: boolean;
2074
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2084
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2075
2085
  } | {
2076
2086
  type: "wallet";
2077
2087
  address: string;
@@ -2087,7 +2097,7 @@ declare class EmailApi {
2087
2097
  connector_type: "embedded";
2088
2098
  imported: boolean;
2089
2099
  delegated: boolean;
2090
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2100
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2091
2101
  } | {
2092
2102
  type: "google_oauth";
2093
2103
  name: string | null;
@@ -2324,7 +2334,7 @@ declare class FarcasterApi {
2324
2334
  connector_type: "embedded";
2325
2335
  imported: boolean;
2326
2336
  delegated: boolean;
2327
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2337
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2328
2338
  } | {
2329
2339
  type: "wallet";
2330
2340
  address: string;
@@ -2340,7 +2350,7 @@ declare class FarcasterApi {
2340
2350
  connector_type: "embedded";
2341
2351
  imported: boolean;
2342
2352
  delegated: boolean;
2343
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2353
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2344
2354
  } | {
2345
2355
  type: "wallet";
2346
2356
  address: string;
@@ -2356,7 +2366,7 @@ declare class FarcasterApi {
2356
2366
  connector_type: "embedded";
2357
2367
  imported: boolean;
2358
2368
  delegated: boolean;
2359
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2369
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2360
2370
  } | {
2361
2371
  type: "wallet";
2362
2372
  address: string;
@@ -2372,7 +2382,7 @@ declare class FarcasterApi {
2372
2382
  connector_type: "embedded";
2373
2383
  imported: boolean;
2374
2384
  delegated: boolean;
2375
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2385
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2376
2386
  } | {
2377
2387
  type: "google_oauth";
2378
2388
  name: string | null;
@@ -2579,7 +2589,7 @@ declare class FarcasterApi {
2579
2589
  connector_type: "embedded";
2580
2590
  imported: boolean;
2581
2591
  delegated: boolean;
2582
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2592
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2583
2593
  } | {
2584
2594
  type: "wallet";
2585
2595
  address: string;
@@ -2595,7 +2605,7 @@ declare class FarcasterApi {
2595
2605
  connector_type: "embedded";
2596
2606
  imported: boolean;
2597
2607
  delegated: boolean;
2598
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2608
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2599
2609
  } | {
2600
2610
  type: "wallet";
2601
2611
  address: string;
@@ -2611,7 +2621,7 @@ declare class FarcasterApi {
2611
2621
  connector_type: "embedded";
2612
2622
  imported: boolean;
2613
2623
  delegated: boolean;
2614
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2624
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2615
2625
  } | {
2616
2626
  type: "wallet";
2617
2627
  address: string;
@@ -2627,7 +2637,7 @@ declare class FarcasterApi {
2627
2637
  connector_type: "embedded";
2628
2638
  imported: boolean;
2629
2639
  delegated: boolean;
2630
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2640
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2631
2641
  } | {
2632
2642
  type: "google_oauth";
2633
2643
  name: string | null;
@@ -2882,7 +2892,7 @@ declare class OAuthApi {
2882
2892
  connector_type: "embedded";
2883
2893
  imported: boolean;
2884
2894
  delegated: boolean;
2885
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2895
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2886
2896
  } | {
2887
2897
  type: "wallet";
2888
2898
  address: string;
@@ -2898,7 +2908,7 @@ declare class OAuthApi {
2898
2908
  connector_type: "embedded";
2899
2909
  imported: boolean;
2900
2910
  delegated: boolean;
2901
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2911
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2902
2912
  } | {
2903
2913
  type: "wallet";
2904
2914
  address: string;
@@ -2914,7 +2924,7 @@ declare class OAuthApi {
2914
2924
  connector_type: "embedded";
2915
2925
  imported: boolean;
2916
2926
  delegated: boolean;
2917
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2927
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2918
2928
  } | {
2919
2929
  type: "wallet";
2920
2930
  address: string;
@@ -2930,7 +2940,7 @@ declare class OAuthApi {
2930
2940
  connector_type: "embedded";
2931
2941
  imported: boolean;
2932
2942
  delegated: boolean;
2933
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
2943
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
2934
2944
  } | {
2935
2945
  type: "google_oauth";
2936
2946
  name: string | null;
@@ -3138,7 +3148,7 @@ declare class OAuthApi {
3138
3148
  connector_type: "embedded";
3139
3149
  imported: boolean;
3140
3150
  delegated: boolean;
3141
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3151
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3142
3152
  } | {
3143
3153
  type: "wallet";
3144
3154
  address: string;
@@ -3154,7 +3164,7 @@ declare class OAuthApi {
3154
3164
  connector_type: "embedded";
3155
3165
  imported: boolean;
3156
3166
  delegated: boolean;
3157
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3167
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3158
3168
  } | {
3159
3169
  type: "wallet";
3160
3170
  address: string;
@@ -3170,7 +3180,7 @@ declare class OAuthApi {
3170
3180
  connector_type: "embedded";
3171
3181
  imported: boolean;
3172
3182
  delegated: boolean;
3173
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3183
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3174
3184
  } | {
3175
3185
  type: "wallet";
3176
3186
  address: string;
@@ -3186,7 +3196,7 @@ declare class OAuthApi {
3186
3196
  connector_type: "embedded";
3187
3197
  imported: boolean;
3188
3198
  delegated: boolean;
3189
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3199
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3190
3200
  } | {
3191
3201
  type: "google_oauth";
3192
3202
  name: string | null;
@@ -3541,7 +3551,7 @@ declare class PhoneApi {
3541
3551
  connector_type: "embedded";
3542
3552
  imported: boolean;
3543
3553
  delegated: boolean;
3544
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3554
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3545
3555
  } | {
3546
3556
  type: "wallet";
3547
3557
  address: string;
@@ -3557,7 +3567,7 @@ declare class PhoneApi {
3557
3567
  connector_type: "embedded";
3558
3568
  imported: boolean;
3559
3569
  delegated: boolean;
3560
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3570
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3561
3571
  } | {
3562
3572
  type: "wallet";
3563
3573
  address: string;
@@ -3573,7 +3583,7 @@ declare class PhoneApi {
3573
3583
  connector_type: "embedded";
3574
3584
  imported: boolean;
3575
3585
  delegated: boolean;
3576
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3586
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3577
3587
  } | {
3578
3588
  type: "wallet";
3579
3589
  address: string;
@@ -3589,7 +3599,7 @@ declare class PhoneApi {
3589
3599
  connector_type: "embedded";
3590
3600
  imported: boolean;
3591
3601
  delegated: boolean;
3592
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3602
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3593
3603
  } | {
3594
3604
  type: "google_oauth";
3595
3605
  name: string | null;
@@ -3791,7 +3801,7 @@ declare class PhoneApi {
3791
3801
  connector_type: "embedded";
3792
3802
  imported: boolean;
3793
3803
  delegated: boolean;
3794
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3804
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3795
3805
  } | {
3796
3806
  type: "wallet";
3797
3807
  address: string;
@@ -3807,7 +3817,7 @@ declare class PhoneApi {
3807
3817
  connector_type: "embedded";
3808
3818
  imported: boolean;
3809
3819
  delegated: boolean;
3810
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3820
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3811
3821
  } | {
3812
3822
  type: "wallet";
3813
3823
  address: string;
@@ -3823,7 +3833,7 @@ declare class PhoneApi {
3823
3833
  connector_type: "embedded";
3824
3834
  imported: boolean;
3825
3835
  delegated: boolean;
3826
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3836
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3827
3837
  } | {
3828
3838
  type: "wallet";
3829
3839
  address: string;
@@ -3839,7 +3849,7 @@ declare class PhoneApi {
3839
3849
  connector_type: "embedded";
3840
3850
  imported: boolean;
3841
3851
  delegated: boolean;
3842
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
3852
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
3843
3853
  } | {
3844
3854
  type: "google_oauth";
3845
3855
  name: string | null;
@@ -4902,7 +4912,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
4902
4912
  connector_type: "embedded";
4903
4913
  imported: boolean;
4904
4914
  delegated: boolean;
4905
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
4915
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
4906
4916
  } | {
4907
4917
  type: "wallet";
4908
4918
  address: string;
@@ -4918,7 +4928,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
4918
4928
  connector_type: "embedded";
4919
4929
  imported: boolean;
4920
4930
  delegated: boolean;
4921
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
4931
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
4922
4932
  } | {
4923
4933
  type: "wallet";
4924
4934
  address: string;
@@ -4934,7 +4944,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
4934
4944
  connector_type: "embedded";
4935
4945
  imported: boolean;
4936
4946
  delegated: boolean;
4937
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
4947
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
4938
4948
  } | {
4939
4949
  type: "wallet";
4940
4950
  address: string;
@@ -4950,7 +4960,7 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
4950
4960
  connector_type: "embedded";
4951
4961
  imported: boolean;
4952
4962
  delegated: boolean;
4953
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
4963
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
4954
4964
  } | {
4955
4965
  type: "google_oauth";
4956
4966
  name: string | null;
@@ -5163,7 +5173,7 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
5163
5173
  connector_type: "embedded";
5164
5174
  imported: boolean;
5165
5175
  delegated: boolean;
5166
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
5176
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
5167
5177
  } | {
5168
5178
  type: "wallet";
5169
5179
  address: string;
@@ -5179,7 +5189,7 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
5179
5189
  connector_type: "embedded";
5180
5190
  imported: boolean;
5181
5191
  delegated: boolean;
5182
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
5192
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
5183
5193
  } | {
5184
5194
  type: "wallet";
5185
5195
  address: string;
@@ -5195,7 +5205,7 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
5195
5205
  connector_type: "embedded";
5196
5206
  imported: boolean;
5197
5207
  delegated: boolean;
5198
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
5208
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
5199
5209
  } | {
5200
5210
  type: "wallet";
5201
5211
  address: string;
@@ -5211,7 +5221,7 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
5211
5221
  connector_type: "embedded";
5212
5222
  imported: boolean;
5213
5223
  delegated: boolean;
5214
- recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy";
5224
+ recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key";
5215
5225
  } | {
5216
5226
  type: "google_oauth";
5217
5227
  name: string | null;
@@ -5312,10 +5322,10 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
5312
5322
  };
5313
5323
  }>;
5314
5324
 
5315
- declare const index$1_delegateWallet: typeof delegateWallet;
5316
- declare const index$1_revokeWallets: typeof revokeWallets;
5317
- declare namespace index$1 {
5318
- export { index$1_delegateWallet as delegateWallet, index$1_revokeWallets as revokeWallets };
5325
+ declare const index$2_delegateWallet: typeof delegateWallet;
5326
+ declare const index$2_revokeWallets: typeof revokeWallets;
5327
+ declare namespace index$2 {
5328
+ export { index$2_delegateWallet as delegateWallet, index$2_revokeWallets as revokeWallets };
5319
5329
  }
5320
5330
 
5321
5331
  interface LoginWithCrossAppAuthDependencies {
@@ -5354,6 +5364,91 @@ type LinkWithCrossAppAuthOutput = PrivyUser;
5354
5364
  */
5355
5365
  declare const linkWithCrossAppAuth: ({ client, openAuthSession }: LinkWithCrossAppAuthDependencies) => ({ providerAppId, redirectUrl, }: LinkWithCrossAppAuthInput) => Promise<LinkWithCrossAppAuthOutput>;
5356
5366
 
5367
+ interface SignMessageDependencies {
5368
+ client: Privy;
5369
+ openAuthSession: (url: string) => Promise<Record<string, string>>;
5370
+ }
5371
+ interface SignMessageInput {
5372
+ /** The logged in user object */
5373
+ user: PrivyUser | null;
5374
+ /** An arbitrary message to be signed */
5375
+ message: string;
5376
+ /** Wallet address of the cross-app wallet to sign the message with */
5377
+ address: string;
5378
+ /** Return url for the auth session */
5379
+ redirectUrl: string;
5380
+ }
5381
+ interface SignMessageOutput {
5382
+ /** The resulting signature of the provided message */
5383
+ signature: string;
5384
+ }
5385
+ /**
5386
+ * Requests a cross-app wallet to sign a message, returning the resulting signature.
5387
+ */
5388
+ declare const signMessage: ({ client, openAuthSession }: SignMessageDependencies) => ({ user, address, message, redirectUrl, }: SignMessageInput) => Promise<SignMessageOutput>;
5389
+
5390
+ interface SignTypedDataDependencies {
5391
+ client: Privy;
5392
+ openAuthSession: (url: string) => Promise<Record<string, string>>;
5393
+ }
5394
+ interface SignTypedDataInput {
5395
+ /** The logged in user object */
5396
+ user: PrivyUser | null;
5397
+ /** The typed data to be signed */
5398
+ typedData: TypedDataDefinition;
5399
+ /** Wallet address of the cross-app wallet to sign the message with */
5400
+ address: string;
5401
+ /** Return url for the auth session */
5402
+ redirectUrl: string;
5403
+ }
5404
+ interface SignTypedDataOutput {
5405
+ /** The resulting signature of the provided typed data */
5406
+ signature: string;
5407
+ }
5408
+ /**
5409
+ * Requests a cross-app wallet to sign a typed data object, returning the resulting signature.
5410
+ */
5411
+ declare const signTypedData: ({ client, openAuthSession }: SignTypedDataDependencies) => ({ user, typedData, address, redirectUrl, }: SignTypedDataInput) => Promise<SignTypedDataOutput>;
5412
+
5413
+ interface SendTransactionDependencies {
5414
+ client: Privy;
5415
+ openAuthSession: (url: string) => Promise<Record<string, string>>;
5416
+ }
5417
+ interface SendTransactionInput {
5418
+ /** The logged in user object */
5419
+ user: PrivyUser | null;
5420
+ /** The transaction to execute */
5421
+ transaction: UnsignedTransactionRequest;
5422
+ /** Wallet address of the cross-app wallet to make the transaction with */
5423
+ address: string;
5424
+ /** Return url for the auth session */
5425
+ redirectUrl: string;
5426
+ }
5427
+ interface SendTransactionOutput {
5428
+ /** The hash of the resulting transaction */
5429
+ transactionHash: string;
5430
+ }
5431
+ /**
5432
+ * Requests a cross-app wallet to send a transaction, returning the resulting transaction hash.
5433
+ */
5434
+ declare const sendTransaction: ({ client, openAuthSession }: SendTransactionDependencies) => ({ user, transaction, address, redirectUrl, }: SendTransactionInput) => Promise<SendTransactionOutput>;
5435
+
5436
+ type index$1_SendTransactionDependencies = SendTransactionDependencies;
5437
+ type index$1_SendTransactionInput = SendTransactionInput;
5438
+ type index$1_SendTransactionOutput = SendTransactionOutput;
5439
+ type index$1_SignMessageDependencies = SignMessageDependencies;
5440
+ type index$1_SignMessageInput = SignMessageInput;
5441
+ type index$1_SignMessageOutput = SignMessageOutput;
5442
+ type index$1_SignTypedDataDependencies = SignTypedDataDependencies;
5443
+ type index$1_SignTypedDataInput = SignTypedDataInput;
5444
+ type index$1_SignTypedDataOutput = SignTypedDataOutput;
5445
+ declare const index$1_sendTransaction: typeof sendTransaction;
5446
+ declare const index$1_signMessage: typeof signMessage;
5447
+ declare const index$1_signTypedData: typeof signTypedData;
5448
+ declare namespace index$1 {
5449
+ export { type index$1_SendTransactionDependencies as SendTransactionDependencies, type index$1_SendTransactionInput as SendTransactionInput, type index$1_SendTransactionOutput as SendTransactionOutput, type index$1_SignMessageDependencies as SignMessageDependencies, type index$1_SignMessageInput as SignMessageInput, type index$1_SignMessageOutput as SignMessageOutput, type index$1_SignTypedDataDependencies as SignTypedDataDependencies, type index$1_SignTypedDataInput as SignTypedDataInput, type index$1_SignTypedDataOutput as SignTypedDataOutput, index$1_sendTransaction as sendTransaction, index$1_signMessage as signMessage, index$1_signTypedData as signTypedData };
5450
+ }
5451
+
5357
5452
  type index_LinkWithCrossAppAuthDependencies = LinkWithCrossAppAuthDependencies;
5358
5453
  type index_LinkWithCrossAppAuthInput = LinkWithCrossAppAuthInput;
5359
5454
  type index_LinkWithCrossAppAuthOutput = LinkWithCrossAppAuthOutput;
@@ -5363,7 +5458,7 @@ type index_LoginWithCrossAppAuthOutput = LoginWithCrossAppAuthOutput;
5363
5458
  declare const index_linkWithCrossAppAuth: typeof linkWithCrossAppAuth;
5364
5459
  declare const index_loginWithCrossAppAuth: typeof loginWithCrossAppAuth;
5365
5460
  declare namespace index {
5366
- export { type index_LinkWithCrossAppAuthDependencies as LinkWithCrossAppAuthDependencies, type index_LinkWithCrossAppAuthInput as LinkWithCrossAppAuthInput, type index_LinkWithCrossAppAuthOutput as LinkWithCrossAppAuthOutput, type index_LoginWithCrossAppAuthDependencies as LoginWithCrossAppAuthDependencies, type index_LoginWithCrossAppAuthInput as LoginWithCrossAppAuthInput, type index_LoginWithCrossAppAuthOutput as LoginWithCrossAppAuthOutput, index_linkWithCrossAppAuth as linkWithCrossAppAuth, index_loginWithCrossAppAuth as loginWithCrossAppAuth };
5461
+ export { type index_LinkWithCrossAppAuthDependencies as LinkWithCrossAppAuthDependencies, type index_LinkWithCrossAppAuthInput as LinkWithCrossAppAuthInput, type index_LinkWithCrossAppAuthOutput as LinkWithCrossAppAuthOutput, type index_LoginWithCrossAppAuthDependencies as LoginWithCrossAppAuthDependencies, type index_LoginWithCrossAppAuthInput as LoginWithCrossAppAuthInput, type index_LoginWithCrossAppAuthOutput as LoginWithCrossAppAuthOutput, index_linkWithCrossAppAuth as linkWithCrossAppAuth, index_loginWithCrossAppAuth as loginWithCrossAppAuth, index$1 as wallet };
5367
5462
  }
5368
5463
 
5369
- export { ALL_WALLET_CLIENT_TYPES, type Chain, type Cluster, type CoinbaseAssetId, type CoinbaseWalletClientType, type ConnectorType, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type EIP1193Provider, EmbeddedBitcoinWalletProvider, EmbeddedProviderError, type EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, type ExternalWallet, type ExternalWalletMetadata, type FundingMethod, type FundingProvider, InMemoryCache, type InjectedWalletClientType, LocalStorage, type LogLevel, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, type PaymentOption, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, type PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, type PrivyEmbeddedWalletProvider, PrivyProviderRpcError, ProviderErrors, type Quantity, QuantityToBigNumber, type RpcConfig, SUPPORTED_CONNECTOR_TYPES, type SetRecoveryInput, SolanaClient, type SolanaCluster, type Storage, type Unit, type UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WalletBranding, type WalletClientType, type WalletConnectWalletClientType, calculateTotalGasEstimate, chainDefs, chainToMoonpayCurrency, convertBigNumberish, countryCodesAndNumbers, createErrorFormatter, index as crossApp, Privy as default, index$1 as delegatedActions, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getSupportedChainById, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, lastFourDigits, phoneNumberTypingFormatter, populateTransactionRequest, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toEthersUnsignedTransaction, toObjectKeys, validatePhoneNumber };
5464
+ export { ALL_WALLET_CLIENT_TYPES, type Chain, type Cluster, type CoinbaseAssetId, type CoinbaseWalletClientType, type ConnectorType, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type EIP1193Provider, EmbeddedBitcoinWalletProvider, EmbeddedProviderError, type EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, type ExternalWallet, type ExternalWalletMetadata, type FundingMethod, type FundingProvider, InMemoryCache, type InjectedWalletClientType, LocalStorage, type LogLevel, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, type PaymentOption, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, type PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, type PrivyEmbeddedWalletProvider, PrivyProviderRpcError, ProviderErrors, type Quantity, QuantityToBigNumber, type RpcConfig, SUPPORTED_CONNECTOR_TYPES, type SetRecoveryInput, SolanaClient, type SolanaCluster, type Storage, type Unit, type UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WalletBranding, type WalletClientType, type WalletConnectWalletClientType, calculateTotalGasEstimate, chainDefs, chainToMoonpayCurrency, convertBigNumberish, countryCodesAndNumbers, createErrorFormatter, index as crossApp, Privy as default, index$2 as delegatedActions, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getSupportedChainById, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, lastFourDigits, phoneNumberTypingFormatter, populateTransactionRequest, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toEthersUnsignedTransaction, toObjectKeys, validatePhoneNumber };