@privy-io/react-auth 3.5.1 → 3.6.0-beta-20251104233157

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 (48) hide show
  1. package/dist/cjs/{EmbeddedWalletConnectingScreen-i0UDHMDq.js → EmbeddedWalletConnectingScreen-BqfMDyz5.js} +15 -15
  2. package/dist/cjs/{SignRequestScreen-H5r467q6.js → SignRequestScreen-QZ4hrdFs.js} +1 -1
  3. package/dist/cjs/abstract-smart-wallets.js +1 -1
  4. package/dist/cjs/{events-context-Cgq8fGB0.js → events-context-CTzE6voY.js} +1 -1
  5. package/dist/cjs/extended-chains.js +1 -1
  6. package/dist/cjs/index.js +3 -3
  7. package/dist/cjs/internal.js +1 -1
  8. package/dist/cjs/{smart-wallets-B0bTYa6G.js → smart-wallets-Cre72XH9.js} +1 -1
  9. package/dist/cjs/smart-wallets.js +1 -1
  10. package/dist/cjs/solana.js +1 -1
  11. package/dist/cjs/ui.js +1 -1
  12. package/dist/cjs/{use-export-wallet-BhYG6ocQ.js → use-export-wallet-BJWkMs42.js} +1 -1
  13. package/dist/cjs/{useActiveWallet-BoPIudwB.js → useActiveWallet-C6JeGgtY.js} +1 -1
  14. package/dist/cjs/{usePrivy-CLLJiDdU.js → usePrivy-BD7tV097.js} +1 -1
  15. package/dist/dts/{events-context-DB3Pn5Hg.d.mts → events-context-B1q54lAU.d.mts} +1 -1
  16. package/dist/dts/{events-context-DB3Pn5Hg.d.ts → events-context-B1q54lAU.d.ts} +1 -1
  17. package/dist/dts/extended-chains.d.mts +4 -4
  18. package/dist/dts/extended-chains.d.ts +4 -4
  19. package/dist/dts/farcaster.d.mts +2 -2
  20. package/dist/dts/farcaster.d.ts +2 -2
  21. package/dist/dts/index.d.mts +17 -16
  22. package/dist/dts/index.d.ts +17 -16
  23. package/dist/dts/internal.d.mts +2 -2
  24. package/dist/dts/internal.d.ts +2 -2
  25. package/dist/dts/smart-wallets.d.mts +2 -2
  26. package/dist/dts/smart-wallets.d.ts +2 -2
  27. package/dist/dts/solana.d.mts +4 -4
  28. package/dist/dts/solana.d.ts +4 -4
  29. package/dist/dts/{types-C4KyGxEF.d.mts → types-BSeKsLfK.d.mts} +105 -29
  30. package/dist/dts/{types-C4KyGxEF.d.ts → types-BSeKsLfK.d.ts} +105 -29
  31. package/dist/dts/ui.d.mts +2 -2
  32. package/dist/dts/ui.d.ts +2 -2
  33. package/dist/esm/{EmbeddedWalletConnectingScreen-BehtOUIO.mjs → EmbeddedWalletConnectingScreen-65UmFx4m.mjs} +16 -16
  34. package/dist/esm/{SignRequestScreen-W1brL2hg.mjs → SignRequestScreen-C8LUoYDo.mjs} +1 -1
  35. package/dist/esm/abstract-smart-wallets.mjs +1 -1
  36. package/dist/esm/events-context-ClMjzU81.mjs +1 -0
  37. package/dist/esm/extended-chains.mjs +1 -1
  38. package/dist/esm/index.mjs +3 -3
  39. package/dist/esm/internal.mjs +1 -1
  40. package/dist/esm/{smart-wallets-CZ7EzP9s.mjs → smart-wallets-CI9OABOB.mjs} +1 -1
  41. package/dist/esm/smart-wallets.mjs +1 -1
  42. package/dist/esm/solana.mjs +1 -1
  43. package/dist/esm/ui.mjs +1 -1
  44. package/dist/esm/{use-export-wallet-CPxLgKFx.mjs → use-export-wallet-DgqioSGv.mjs} +1 -1
  45. package/dist/esm/{useActiveWallet-Bw1ry9JQ.mjs → useActiveWallet-BZjcL2BV.mjs} +1 -1
  46. package/dist/esm/{usePrivy-BJ3NMQui.mjs → usePrivy-A9QX-DHk.mjs} +1 -1
  47. package/package.json +4 -4
  48. package/dist/esm/events-context-BKqrDYHW.mjs +0 -1
@@ -3,14 +3,47 @@ import { PublicKeyCredentialCreationOptionsJSON } from '@simplewebauthn/browser'
3
3
  import { Rpc, SolanaRpcApi, RpcSubscriptions, SolanaRpcSubscriptionsApi } from '@solana/kit';
4
4
  import { ReactElement, ReactNode } from 'react';
5
5
  import { Hex } from 'viem';
6
+ import { OAuthProviderID, AppResponse, PasskeyAuthenticateRequestBody, CustomOAuthProviderID, WalletChainType, SmartWalletType, User as User$1 } from '@privy-io/api-types';
6
7
  import { CountryCode, Chain, ConnectedStandardSolanaWallet, RpcConfig, ChainLikeWithId } from '@privy-io/js-sdk-core';
7
- import { OAuthProviderType, PrivyAppResponse, PasskeyAuthenticateInputType, CustomOAuthProvider, ChainType, SmartWalletType, CustomMetadataType } from '@privy-io/public-api';
8
8
  import { createBaseAccountSDK } from '@base-org/account';
9
9
  import { WalletWithFeatures, Wallet as Wallet$1 } from '@wallet-standard/base';
10
10
  import { SolanaSignMessageFeature, SolanaSignTransactionFeature, SolanaSignAndSendTransactionFeature, SolanaSignInFeature } from '@solana/wallet-standard-features';
11
11
  import { StandardConnectFeature, StandardDisconnectFeature, StandardEventsFeature } from '@wallet-standard/features';
12
12
  import EventEmitter from 'eventemitter3';
13
13
 
14
+ /**
15
+ * Internationalization strings for Privy UI components.
16
+ *
17
+ * Keys follow the pattern: `component.semanticDescription`
18
+ */
19
+ type PrivyI18nStrings = {
20
+ 'connectionStatus.successfullyConnected': string;
21
+ 'connectionStatus.errorTitle': string;
22
+ 'connectionStatus.connecting': string;
23
+ 'connectionStatus.connectOneWallet': string;
24
+ 'connectionStatus.checkOtherWindows': string;
25
+ 'connectionStatus.stillHere': string;
26
+ 'connectionStatus.tryConnectingAgain': string;
27
+ 'connectionStatus.or': string;
28
+ 'connectionStatus.useDifferentLink': string;
29
+ 'connectWallet.connectYourWallet': string;
30
+ 'connectWallet.waitingForWallet': string;
31
+ 'connectWallet.connectToAccount': string;
32
+ 'connectWallet.installAndConnect': string;
33
+ 'connectWallet.tryConnectingAgain': string;
34
+ 'connectWallet.openInApp': string;
35
+ 'connectWallet.copyLink': string;
36
+ 'connectWallet.retry': string;
37
+ 'connectWallet.searchPlaceholder': string;
38
+ 'connectWallet.noWalletsFound': string;
39
+ 'connectWallet.lastUsed': string;
40
+ 'connectWallet.selectYourWallet': string;
41
+ 'connectWallet.selectNetwork': string;
42
+ 'connectWallet.goToWallet': string;
43
+ 'connectWallet.scanToConnect': string;
44
+ 'connectWallet.openOrInstall': string;
45
+ };
46
+
14
47
  interface ConnectorEvents {
15
48
  walletsUpdated(): void;
16
49
  initialized(): void;
@@ -384,12 +417,13 @@ type AlchemyPaymasterContextClient = {
384
417
  policyId: string;
385
418
  };
386
419
 
420
+ type CustomMetadataType = User$1['custom_metadata'];
387
421
  declare const SUPPORTED_RECOVERY_PROVIDERS: readonly ["google-drive", "icloud"];
388
422
  declare const SUPPORTED_MFA_METHODS: readonly ["sms", "totp", "passkey"];
389
423
  type MfaMethod = (typeof SUPPORTED_MFA_METHODS)[number];
390
424
  type MfaSubmitArgs = {
391
425
  mfaMethod: MfaMethod;
392
- mfaCode: string | PasskeyAuthenticateInputType['authenticator_response'];
426
+ mfaCode: string | PasskeyAuthenticateRequestBody['authenticator_response'];
393
427
  relyingParty: string;
394
428
  };
395
429
  type EntropyIdVerifier = 'ethereum-address-verifier' | 'solana-address-verifier';
@@ -397,7 +431,7 @@ type EntropyIdVerifier = 'ethereum-address-verifier' | 'solana-address-verifier'
397
431
  * Supported OAuth providers for the recovery flow. Can be `'google-drive'`
398
432
  */
399
433
  type RecoveryProviderType = (typeof SUPPORTED_RECOVERY_PROVIDERS)[number];
400
- type LoginMethod = 'email' | 'sms' | 'siwe' | 'siws' | 'farcaster' | OAuthProviderType | 'passkey' | 'telegram' | 'custom' | 'guest';
434
+ type LoginMethod = 'email' | 'sms' | 'siwe' | 'siws' | 'farcaster' | OAuthProviderID | 'passkey' | 'telegram' | 'custom' | 'guest';
401
435
  type LoginWithCode = {
402
436
  /**
403
437
  * One-time password _([OTP](https://en.wikipedia.org/wiki/One-time_password))_ that was sent to user during first login step
@@ -426,7 +460,7 @@ type WalletBranding = {
426
460
  id: string;
427
461
  icon?: string | EmbeddedSVG;
428
462
  };
429
- type LinkedAccountType = 'wallet' | 'smart_wallet' | 'email' | 'phone' | 'google_oauth' | 'twitter_oauth' | 'discord_oauth' | 'github_oauth' | 'spotify_oauth' | 'instagram_oauth' | 'tiktok_oauth' | 'line_oauth' | 'twitch_oauth' | 'linkedin_oauth' | 'apple_oauth' | 'custom_auth' | 'farcaster' | 'passkey' | 'telegram' | 'cross_app' | 'authorization_key' | CustomOAuthProvider | 'guest';
463
+ type LinkedAccountType = 'wallet' | 'smart_wallet' | 'email' | 'phone' | 'google_oauth' | 'twitter_oauth' | 'discord_oauth' | 'github_oauth' | 'spotify_oauth' | 'instagram_oauth' | 'tiktok_oauth' | 'line_oauth' | 'twitch_oauth' | 'linkedin_oauth' | 'apple_oauth' | 'custom_auth' | 'farcaster' | 'passkey' | 'telegram' | 'cross_app' | 'authorization_key' | CustomOAuthProviderID | 'guest';
430
464
  /** @ignore */
431
465
  interface LinkMetadata {
432
466
  /** Account type, most commonly useful when filtering through linkedAccounts */
@@ -516,7 +550,7 @@ interface Wallet {
516
550
  /**
517
551
  * Chain type of the wallet address.
518
552
  */
519
- chainType: ChainType;
553
+ chainType: WalletChainType;
520
554
  /**
521
555
  * The wallet client used for this wallet during the most recent verification.
522
556
  *
@@ -959,7 +993,7 @@ interface AppleOAuthWithMetadata extends LinkMetadata, Apple {
959
993
  /** Object representation of a user's Custom OAuth Account, with additional metadata for advanced use cases. */
960
994
  interface CustomOAuthWithMetadata extends LinkMetadata, CustomOAuth {
961
995
  /** Denotes that this is a Custom OAuth account. */
962
- type: CustomOAuthProvider;
996
+ type: CustomOAuthProviderID;
963
997
  }
964
998
  /** Object representation of a user's Custom JWT Account, with additional metadata for advanced use cases. */
965
999
  interface CustomJwtAccountWithMetadata extends LinkMetadata, CustomJwtAccount {
@@ -1051,7 +1085,7 @@ interface User {
1051
1085
  }
1052
1086
  type OAuthTokens = {
1053
1087
  /** The OAuth provider. */
1054
- provider: OAuthProviderType;
1088
+ provider: OAuthProviderID;
1055
1089
  /** The OAuth access token. */
1056
1090
  accessToken: string;
1057
1091
  /** The number of seconds until the OAuth access token expires. */
@@ -1084,7 +1118,7 @@ type WalletListEntry = 'metamask' | 'coinbase_wallet' | 'base_account' | 'rainbo
1084
1118
  /** @deprecated Use `detected_ethereum_wallets` or `detected_solana_wallets` instead */
1085
1119
  | 'detected_wallets' | 'detected_solana_wallets' | 'detected_ethereum_wallets' | 'wallet_connect' | 'wallet_connect_qr' | 'wallet_connect_qr_solana' | 'rabby_wallet' | 'bybit_wallet' | 'ronin_wallet' | 'haha_wallet' | 'safe' | 'solflare' | 'backpack' | 'binance' | 'binanceus' | 'bitget_wallet';
1086
1120
  type NonEmptyArray<T> = [T, ...T[]];
1087
- type LoginMethodOrderOption = 'email' | 'sms' | WalletListEntry | OAuthProviderType | `privy:${string}` | 'farcaster' | 'telegram';
1121
+ type LoginMethodOrderOption = 'email' | 'sms' | WalletListEntry | OAuthProviderID | `privy:${string}` | 'farcaster' | 'telegram';
1088
1122
  type ExternalWalletsConfig = {
1089
1123
  /**
1090
1124
  * Options to configure connections to the Coinbase Wallet (browser extension wallet, mobile wallet, and
@@ -1252,6 +1286,34 @@ interface PrivyClientConfig {
1252
1286
  * @default 'US'
1253
1287
  */
1254
1288
  defaultCountry: CountryCode;
1289
+ /**
1290
+ * Custom localization strings for Privy UI components.
1291
+ *
1292
+ * Pass a partial object with only the strings you want to override.
1293
+ * All other strings will fall back to default English values.
1294
+ *
1295
+ * Supports simple template interpolation with {variableName} syntax.
1296
+ *
1297
+ * @experimental This feature is experimental and may change in future releases.
1298
+ *
1299
+ * @example
1300
+ * ```typescript
1301
+ * <PrivyProvider
1302
+ * appId="your-app-id"
1303
+ * config={{
1304
+ * intl: {
1305
+ * textLocalization: {
1306
+ * 'connectWallet.connectYourWallet': 'Connecter un portefeuille',
1307
+ * 'connectionStatus.successfullyConnected': 'Connexion réussie avec {walletName}',
1308
+ * }
1309
+ * }
1310
+ * }}
1311
+ * >
1312
+ * {children}
1313
+ * </PrivyProvider>
1314
+ * ```
1315
+ */
1316
+ textLocalization?: Partial<PrivyI18nStrings>;
1255
1317
  };
1256
1318
  /**
1257
1319
  * This property is only required for apps that use a third-party authentication provider.
@@ -1328,6 +1390,18 @@ interface PrivyClientConfig {
1328
1390
  * and add it to your app's allowed URL schemes in the Privy dashboard.
1329
1391
  */
1330
1392
  customOAuthRedirectUrl?: string;
1393
+ /**
1394
+ * If true, allows OAuth login in React Native WebViews and other embedded browsers.
1395
+ * By default, OAuth (particularly Google) is blocked in these environments because
1396
+ * OAuth providers typically reject authentication requests from embedded webviews.
1397
+ *
1398
+ * Only enable this if you have a specific use case and have confirmed OAuth works
1399
+ * in your WebView environment.
1400
+ *
1401
+ * @default false
1402
+ * @experimental This is an experimental config that is subject to breaking changes without a major version bump of the SDK.
1403
+ */
1404
+ allowOAuthInEmbeddedBrowsers?: boolean;
1331
1405
  /**
1332
1406
  * A list of supported chains, used to specify which chains should be used throughout the application.
1333
1407
  *
@@ -1607,16 +1681,16 @@ type LoginGroupPriority = 'web2-first' | 'web3-first';
1607
1681
  * This is a composition of the server config and client config, and contains data used throughout the app.
1608
1682
  * This is just used internally - changes to this don't count as breaking API changes. */
1609
1683
  type AppConfig = {
1610
- id: PrivyAppResponse['id'];
1684
+ id: AppResponse['id'];
1611
1685
  appClientId: string | undefined;
1612
- name: PrivyAppResponse['name'];
1686
+ name: AppResponse['name'];
1613
1687
  allowlistConfig: {
1614
1688
  errorTitle: string | null;
1615
1689
  errorDetail: string | null;
1616
1690
  errorCtaText: string | null;
1617
1691
  errorCtaLink: string | null;
1618
1692
  };
1619
- legacyWalletUiConfig: PrivyAppResponse['legacy_wallet_ui_config'];
1693
+ legacyWalletUiConfig: AppResponse['legacy_wallet_ui_config'];
1620
1694
  appearance: {
1621
1695
  logo?: NonNullable<PrivyClientConfig['appearance']>['logo'];
1622
1696
  landingHeader: NonNullable<PrivyClientConfig['appearance']>['landingHeader'];
@@ -1647,21 +1721,22 @@ type AppConfig = {
1647
1721
  passkey?: boolean;
1648
1722
  telegram?: boolean;
1649
1723
  };
1650
- disablePlusEmails: PrivyAppResponse['disable_plus_emails'];
1724
+ disablePlusEmails: AppResponse['disable_plus_emails'];
1651
1725
  loginMethodsAndOrder?: PrivyClientConfig['loginMethodsAndOrder'];
1652
1726
  legal: {
1653
- termsAndConditionsUrl: PrivyAppResponse['terms_and_conditions_url'];
1654
- privacyPolicyUrl: PrivyAppResponse['privacy_policy_url'];
1655
- requireUsersAcceptTerms: NonNullable<PrivyAppResponse['require_users_accept_terms']>;
1727
+ termsAndConditionsUrl: AppResponse['terms_and_conditions_url'];
1728
+ privacyPolicyUrl: AppResponse['privacy_policy_url'];
1729
+ requireUsersAcceptTerms: NonNullable<AppResponse['require_users_accept_terms']>;
1656
1730
  };
1657
- walletConnectCloudProjectId: NonNullable<PrivyAppResponse['wallet_connect_cloud_project_id']>;
1731
+ walletConnectCloudProjectId: NonNullable<AppResponse['wallet_connect_cloud_project_id']>;
1658
1732
  rpcConfig: RpcConfig;
1659
1733
  chains: Chain[];
1660
1734
  defaultChain: Chain;
1661
1735
  intl: {
1662
1736
  defaultCountry: CountryCode;
1737
+ textLocalization?: Partial<PrivyI18nStrings>;
1663
1738
  };
1664
- customOAuthProviders: PrivyAppResponse['custom_oauth_providers'];
1739
+ customOAuthProviders: AppResponse['custom_oauth_providers'];
1665
1740
  /**
1666
1741
  * Whether the `defaultChain` in the internal config should be enforced on connection requests. This
1667
1742
  * gets set to true if the app has explicitly set a `defaultChain`, and false otherwise.
@@ -1670,8 +1745,8 @@ type AppConfig = {
1670
1745
  * the default chain in the required chains namespace for WalletConnect.
1671
1746
  */
1672
1747
  shouldEnforceDefaultChainOnConnect: boolean;
1673
- captchaEnabled: NonNullable<PrivyAppResponse['captcha_enabled']>;
1674
- captchaSiteKey: NonNullable<PrivyAppResponse['captcha_site_key']>;
1748
+ captchaEnabled: NonNullable<AppResponse['captcha_enabled']>;
1749
+ captchaSiteKey: NonNullable<AppResponse['captcha_site_key']>;
1675
1750
  externalWallets: {
1676
1751
  coinbaseWallet: {
1677
1752
  config: NonNullable<NonNullable<NonNullable<PrivyClientConfig['externalWallets']>['coinbaseWallet']>['config']>;
@@ -1689,14 +1764,14 @@ type AppConfig = {
1689
1764
  };
1690
1765
  embeddedWallets: {
1691
1766
  ethereum: {
1692
- createOnLogin: NonNullable<PrivyAppResponse['embedded_wallet_config']>['ethereum']['create_on_login'];
1767
+ createOnLogin: NonNullable<AppResponse['embedded_wallet_config']>['ethereum']['create_on_login'];
1693
1768
  };
1694
1769
  solana: {
1695
- createOnLogin: NonNullable<PrivyAppResponse['embedded_wallet_config']>['solana']['create_on_login'];
1770
+ createOnLogin: NonNullable<AppResponse['embedded_wallet_config']>['solana']['create_on_login'];
1696
1771
  };
1697
1772
  disableAutomaticMigration: NonNullable<NonNullable<PrivyClientConfig['embeddedWallets']>['disableAutomaticMigration']>;
1698
- requireUserOwnedRecoveryOnCreate: NonNullable<PrivyAppResponse['embedded_wallet_config']>['require_user_owned_recovery_on_create'];
1699
- userOwnedRecoveryOptions: NonNullable<PrivyAppResponse['embedded_wallet_config']>['user_owned_recovery_options'];
1773
+ requireUserOwnedRecoveryOnCreate: NonNullable<AppResponse['embedded_wallet_config']>['require_user_owned_recovery_on_create'];
1774
+ userOwnedRecoveryOptions: NonNullable<AppResponse['embedded_wallet_config']>['user_owned_recovery_options'];
1700
1775
  mode: 'legacy-embedded-wallets-only' | 'user-controlled-server-wallets-only';
1701
1776
  priceDisplay: NonNullable<NonNullable<PrivyClientConfig['embeddedWallets']>['priceDisplay']>;
1702
1777
  showWalletUIs: NonNullable<NonNullable<PrivyClientConfig['embeddedWallets']>['showWalletUIs']>;
@@ -1707,7 +1782,7 @@ type AppConfig = {
1707
1782
  };
1708
1783
  };
1709
1784
  mfa: {
1710
- methods: NonNullable<PrivyAppResponse['mfa_methods']>;
1785
+ methods: NonNullable<AppResponse['mfa_methods']>;
1711
1786
  noPromptOnMfaRequired?: NonNullable<PrivyClientConfig['mfa']>['noPromptOnMfaRequired'];
1712
1787
  };
1713
1788
  passkeys: {
@@ -1730,20 +1805,21 @@ type AppConfig = {
1730
1805
  linkEnabled: boolean;
1731
1806
  seamlessAuthEnabled: boolean;
1732
1807
  };
1733
- passkeysForSignupEnabled: PrivyAppResponse['passkeys_for_signup_enabled'];
1808
+ passkeysForSignupEnabled: AppResponse['passkeys_for_signup_enabled'];
1734
1809
  };
1735
1810
  headless: boolean;
1736
1811
  fundingConfig?: {
1737
- methods: NonNullable<PrivyAppResponse['funding_config']>['methods'];
1738
- options: NonNullable<PrivyAppResponse['funding_config']>['options'];
1812
+ methods: NonNullable<AppResponse['funding_config']>['methods'];
1813
+ options: NonNullable<AppResponse['funding_config']>['options'];
1739
1814
  defaultRecommendedAmount: string;
1740
- defaultRecommendedCurrency: NonNullable<PrivyAppResponse['funding_config']>['default_recommended_currency'];
1815
+ defaultRecommendedCurrency: NonNullable<AppResponse['funding_config']>['default_recommended_currency'];
1741
1816
  promptFundingOnWalletCreation: boolean;
1742
1817
  crossChainBridgingEnabled: boolean;
1743
1818
  };
1744
1819
  fundingMethodConfig: NonNullable<PrivyClientConfig['fundingMethodConfig']>;
1745
1820
  whatsAppEnabled: boolean;
1746
1821
  customOAuthRedirectUrl?: string;
1822
+ allowOAuthInEmbeddedBrowsers: boolean;
1747
1823
  solanaRpcs: Record<SolanaChain, {
1748
1824
  rpc: Rpc<SolanaRpcApi>;
1749
1825
  rpcSubscriptions: RpcSubscriptions<SolanaRpcSubscriptionsApi>;
@@ -2311,4 +2387,4 @@ type EthereumRpcResponseType = eth_signTransactionResponse | eth_populateTransac
2311
2387
  type SolanaRpcRequestType = solana_signMessage;
2312
2388
  type SolanaRpcResponseType = solana_signMessageResponse;
2313
2389
 
2314
- export { type SiwsMessageType as $, type WalletListEntry as A, type BaseConnectedEthereumWallet as B, type CreateWalletOptions as C, type AppConfig as D, type EthereumRpcRequestType as E, type FundingMethod as F, type BaseConnectedWallet as G, type HDWalletWithMetadata as H, type ConnectWalletModalOptions as I, type LoginModalOptions as J, type SetWalletRecoveryOptions as K, type LoginMethod as L, type MfaMethod as M, type SignTypedDataParams as N, type OAuthTokens as O, PrivyErrorCode as P, type UnsignedTransactionRequest as Q, type RuntimeLoginOverridableOptions as R, type SolanaChain as S, type FundWalletConfig as T, type User as U, type ConnectedWallet as V, type Wallet as W, type CrossAppProviderDetails as X, type MoonpaySignRequest as Y, type MoonpaySignResponse as Z, type SmartWalletConfig as _, type LinkedAccountWithMetadata as a, type ExternalWalletMetadata as a0, type TelegramAuthResult as a1, type TelegramWebAppData as a2, type OAuthUserInfo as a3, type OAuthFlowState as a4, type LoginWithCode as a5, type OtpFlowState as a6, type PasskeyFlowState as a7, type SiweFlowState as a8, type BaseAccountSdkType as a9, type GoogleOAuthWithMetadata as aA, type TwitterOAuthWithMetadata as aB, type DiscordOAuthWithMetadata as aC, type GithubOAuthWithMetadata as aD, type TiktokOAuthWithMetadata as aE, type LineOAuthWithMetadata as aF, type LinkedInOAuthWithMetadata as aG, type AppleOAuthWithMetadata as aH, type FarcasterWithMetadata as aI, type TelegramWithMetadata as aJ, type CrossAppAccountWithMetadata as aK, type PasskeyWithMetadata as aL, type Email as aM, type Phone as aN, type TransactionUIOptions as aO, type ContractUIOptions as aP, type NativeFundingConfig as aQ, type PriceDisplayOptions as aR, type Farcaster as aS, type Passkey as aT, type LoginMethodOrderOption as aU, type SiwsFlowState as aV, type UnsignedTransactionRequestWithChainId as aa, type BaseConnectedWalletType as ab, type TelegramAuthFlowState as ac, type TypedMessage as ad, type MessageTypes as ae, type SmartWallet as af, type MoonpayCurrencyCode as ag, type MoonpayPaymentMethod as ah, type Quantity as ai, type TransactionLog as aj, type TransactionReceipt as ak, type NonEmptyArray as al, type EmailWithMetadata as am, type PhoneWithMetadata as an, type WalletWithMetadata as ao, type Google as ap, type Twitter as aq, type Discord as ar, type Github as as, type LinkedIn as at, type Apple as au, type Tiktok as av, type Line as aw, type Telegram as ax, type CrossAppAccount as ay, type LinkedAccountType as az, type BaseConnectedSolanaWallet as b, type UserRecoveryMethod as c, type LoginToMiniApp as d, type SendTransactionModalUIOptions as e, type SignMessageModalUIOptions as f, type SessionSignerInput as g, type SolanaStandardWallet as h, type SolanaFundingConfig as i, SolanaWalletConnector as j, type MfaSubmitArgs as k, type SolanaRpcRequestType as l, type EthereumRpcResponseType as m, type SolanaRpcResponseType as n, type PrivyFarcasterSignerInitResponse as o, type EIP1193Provider as p, type EntropyIdVerifier as q, type RequestArguments as r, WalletConnector as s, toSolanaWalletConnectors as t, PrivyProxyProvider as u, type WalletClientType as v, type ConnectedWalletMetadata as w, type PrivyClientConfig as x, type ConnectorType as y, type SetBaseAccountSdkType as z };
2390
+ export { type SiwsMessageType as $, type WalletListEntry as A, type BaseConnectedEthereumWallet as B, type CreateWalletOptions as C, type AppConfig as D, type EthereumRpcRequestType as E, type FundingMethod as F, type BaseConnectedWallet as G, type HDWalletWithMetadata as H, type ConnectWalletModalOptions as I, type LoginModalOptions as J, type SetWalletRecoveryOptions as K, type LoginMethod as L, type MfaMethod as M, type SignTypedDataParams as N, type OAuthTokens as O, PrivyErrorCode as P, type UnsignedTransactionRequest as Q, type RuntimeLoginOverridableOptions as R, type SolanaChain as S, type FundWalletConfig as T, type User as U, type ConnectedWallet as V, type Wallet as W, type CrossAppProviderDetails as X, type MoonpaySignRequest as Y, type MoonpaySignResponse as Z, type SmartWalletConfig as _, type LinkedAccountWithMetadata as a, type ExternalWalletMetadata as a0, type TelegramAuthResult as a1, type TelegramWebAppData as a2, type OAuthUserInfo as a3, type OAuthFlowState as a4, type LoginWithCode as a5, type OtpFlowState as a6, type PasskeyFlowState as a7, type SiweFlowState as a8, type BaseAccountSdkType as a9, type GoogleOAuthWithMetadata as aA, type TwitterOAuthWithMetadata as aB, type DiscordOAuthWithMetadata as aC, type GithubOAuthWithMetadata as aD, type TiktokOAuthWithMetadata as aE, type LineOAuthWithMetadata as aF, type LinkedInOAuthWithMetadata as aG, type AppleOAuthWithMetadata as aH, type FarcasterWithMetadata as aI, type TelegramWithMetadata as aJ, type CrossAppAccountWithMetadata as aK, type PasskeyWithMetadata as aL, type Email as aM, type Phone as aN, type TransactionUIOptions as aO, type ContractUIOptions as aP, type NativeFundingConfig as aQ, type PriceDisplayOptions as aR, type Farcaster as aS, type Passkey as aT, type LoginMethodOrderOption as aU, type SiwsFlowState as aV, type PrivyI18nStrings as aW, type UnsignedTransactionRequestWithChainId as aa, type BaseConnectedWalletType as ab, type TelegramAuthFlowState as ac, type TypedMessage as ad, type MessageTypes as ae, type SmartWallet as af, type MoonpayCurrencyCode as ag, type MoonpayPaymentMethod as ah, type Quantity as ai, type TransactionLog as aj, type TransactionReceipt as ak, type NonEmptyArray as al, type EmailWithMetadata as am, type PhoneWithMetadata as an, type WalletWithMetadata as ao, type Google as ap, type Twitter as aq, type Discord as ar, type Github as as, type LinkedIn as at, type Apple as au, type Tiktok as av, type Line as aw, type Telegram as ax, type CrossAppAccount as ay, type LinkedAccountType as az, type BaseConnectedSolanaWallet as b, type UserRecoveryMethod as c, type LoginToMiniApp as d, type SendTransactionModalUIOptions as e, type SignMessageModalUIOptions as f, type SessionSignerInput as g, type SolanaStandardWallet as h, type SolanaFundingConfig as i, SolanaWalletConnector as j, type MfaSubmitArgs as k, type SolanaRpcRequestType as l, type EthereumRpcResponseType as m, type SolanaRpcResponseType as n, type PrivyFarcasterSignerInitResponse as o, type EIP1193Provider as p, type EntropyIdVerifier as q, type RequestArguments as r, WalletConnector as s, toSolanaWalletConnectors as t, PrivyProxyProvider as u, type WalletClientType as v, type ConnectedWalletMetadata as w, type PrivyClientConfig as x, type ConnectorType as y, type SetBaseAccountSdkType as z };
package/dist/dts/ui.d.mts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-C4KyGxEF.js';
2
+ import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-BSeKsLfK.js';
3
3
  import { Hex } from 'viem';
4
4
  import { Chain } from '@privy-io/js-sdk-core';
5
5
  import '@coinbase/wallet-sdk';
6
6
  import '@simplewebauthn/browser';
7
7
  import '@solana/kit';
8
8
  import 'react';
9
- import '@privy-io/public-api';
9
+ import '@privy-io/api-types';
10
10
  import '@base-org/account';
11
11
  import '@wallet-standard/base';
12
12
  import '@solana/wallet-standard-features';
package/dist/dts/ui.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-C4KyGxEF.js';
2
+ import { R as RuntimeLoginOverridableOptions, S as SolanaChain } from './types-BSeKsLfK.js';
3
3
  import { Hex } from 'viem';
4
4
  import { Chain } from '@privy-io/js-sdk-core';
5
5
  import '@coinbase/wallet-sdk';
6
6
  import '@simplewebauthn/browser';
7
7
  import '@solana/kit';
8
8
  import 'react';
9
- import '@privy-io/public-api';
9
+ import '@privy-io/api-types';
10
10
  import '@base-org/account';
11
11
  import '@wallet-standard/base';
12
12
  import '@solana/wallet-standard-features';