@privy-io/react-auth 1.98.1 → 1.98.2-beta-20241219150436

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 (41) hide show
  1. package/dist/cjs/auth-flows/frame.js +1 -0
  2. package/dist/cjs/client.js +1 -1
  3. package/dist/cjs/connectors/embeddedProvider.js +1 -1
  4. package/dist/cjs/connectors/index.js +1 -1
  5. package/dist/cjs/constants.js +1 -1
  6. package/dist/cjs/embedded-wallets/solana/provider.js +1 -1
  7. package/dist/cjs/farcaster.js +1 -0
  8. package/dist/cjs/hooks/internal-context.js +1 -1
  9. package/dist/cjs/hooks/privy-provider.js +1 -1
  10. package/dist/cjs/hooks/useLoginToFrame.js +1 -0
  11. package/dist/cjs/index.js +1 -1
  12. package/dist/cjs/lib/farcaster.js +1 -0
  13. package/dist/cjs/paths.js +1 -1
  14. package/dist/cjs/{privy-provider-D6EeySLN.js → privy-provider-Dk-ficRA.js} +1 -1
  15. package/dist/dts/farcaster.d.mts +41 -0
  16. package/dist/dts/farcaster.d.ts +41 -0
  17. package/dist/dts/index.d.mts +4 -4
  18. package/dist/dts/index.d.ts +4 -4
  19. package/dist/dts/solana.d.mts +2 -2
  20. package/dist/dts/solana.d.ts +2 -2
  21. package/dist/dts/{types-DLYwr0wq.d.mts → types-BR6iorWt.d.mts} +11 -1
  22. package/dist/dts/{types-DLYwr0wq.d.ts → types-BR6iorWt.d.ts} +11 -1
  23. package/dist/dts/ui.d.mts +1 -1
  24. package/dist/dts/ui.d.ts +1 -1
  25. package/dist/dts/{useFundSolanaWallet-DNaRhc-b.d.ts → useFundSolanaWallet-Dz8nYtDg.d.mts} +1 -1
  26. package/dist/dts/{useFundSolanaWallet-DNaRhc-b.d.mts → useFundSolanaWallet-Dz8nYtDg.d.ts} +1 -1
  27. package/dist/esm/auth-flows/frame.mjs +1 -0
  28. package/dist/esm/client.mjs +1 -1
  29. package/dist/esm/connectors/embeddedProvider.mjs +1 -1
  30. package/dist/esm/connectors/index.mjs +1 -1
  31. package/dist/esm/constants.mjs +1 -1
  32. package/dist/esm/embedded-wallets/solana/provider.mjs +1 -1
  33. package/dist/esm/farcaster.mjs +1 -0
  34. package/dist/esm/hooks/internal-context.mjs +1 -1
  35. package/dist/esm/hooks/privy-provider.mjs +1 -1
  36. package/dist/esm/hooks/useLoginToFrame.mjs +1 -0
  37. package/dist/esm/index.mjs +1 -1
  38. package/dist/esm/lib/farcaster.mjs +1 -0
  39. package/dist/esm/paths.mjs +1 -1
  40. package/dist/esm/{privy-provider-BxaM5Jz7.mjs → privy-provider-BtMxTsT0.mjs} +1 -1
  41. package/package.json +11 -1
@@ -0,0 +1,41 @@
1
+ import { L as LoginToFrame, U as User } from './types-BR6iorWt.js';
2
+ import '@ethersproject/providers';
3
+ import '@solana/wallet-adapter-base';
4
+ import 'react';
5
+ import 'viem';
6
+ import 'web3-core';
7
+ import '@privy-io/js-sdk-core';
8
+ import '@privy-io/public-api';
9
+ import 'eventemitter3';
10
+ import '@metamask/eth-sig-util';
11
+ import '@solana/web3.js';
12
+
13
+ type UseLoginToFrameInterface = {
14
+ /**
15
+ * Initializes the login to farcaster frames email flow.
16
+ *
17
+ * @returns a Promise that resolves to a nonce that must be signed by the Farcaster wallet.
18
+ */
19
+ initLoginToFrame: () => Promise<{
20
+ nonce: string;
21
+ }>;
22
+ /**
23
+ * Logs in a user into a Farcaster frame with the signed nonce message.
24
+ *
25
+ * @param message - the SIWF message which was signed by the Farcaster wallets
26
+ * @param signature - the signature of the message, verifying the user's Farcaster wallets
27
+ * @param fid - the Farcaster user ID
28
+ */
29
+ loginToFrame: ({ message, signature }: LoginToFrame) => Promise<User | null>;
30
+ };
31
+ /**
32
+ * @experimental
33
+ *
34
+ * Use this hook to log a user into a Farcaster frame
35
+ *
36
+ * @returns initLoginToFrame - initializes a Farcaster frame login flow.
37
+ * @returns loginToFrame - authenticates a user into a Farcaster frame.
38
+ */
39
+ declare const useLoginToFrame: () => UseLoginToFrameInterface;
40
+
41
+ export { type UseLoginToFrameInterface, useLoginToFrame };
@@ -0,0 +1,41 @@
1
+ import { L as LoginToFrame, U as User } from './types-BR6iorWt.js';
2
+ import '@ethersproject/providers';
3
+ import '@solana/wallet-adapter-base';
4
+ import 'react';
5
+ import 'viem';
6
+ import 'web3-core';
7
+ import '@privy-io/js-sdk-core';
8
+ import '@privy-io/public-api';
9
+ import 'eventemitter3';
10
+ import '@metamask/eth-sig-util';
11
+ import '@solana/web3.js';
12
+
13
+ type UseLoginToFrameInterface = {
14
+ /**
15
+ * Initializes the login to farcaster frames email flow.
16
+ *
17
+ * @returns a Promise that resolves to a nonce that must be signed by the Farcaster wallet.
18
+ */
19
+ initLoginToFrame: () => Promise<{
20
+ nonce: string;
21
+ }>;
22
+ /**
23
+ * Logs in a user into a Farcaster frame with the signed nonce message.
24
+ *
25
+ * @param message - the SIWF message which was signed by the Farcaster wallets
26
+ * @param signature - the signature of the message, verifying the user's Farcaster wallets
27
+ * @param fid - the Farcaster user ID
28
+ */
29
+ loginToFrame: ({ message, signature }: LoginToFrame) => Promise<User | null>;
30
+ };
31
+ /**
32
+ * @experimental
33
+ *
34
+ * Use this hook to log a user into a Farcaster frame
35
+ *
36
+ * @returns initLoginToFrame - initializes a Farcaster frame login flow.
37
+ * @returns loginToFrame - authenticates a user into a Farcaster frame.
38
+ */
39
+ declare const useLoginToFrame: () => UseLoginToFrameInterface;
40
+
41
+ export { type UseLoginToFrameInterface, useLoginToFrame };
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { MouseEvent } from 'react';
3
- import { c as Chain, f as UserRecoveryMethod, j as PrivyFarcasterSignerInitResponse, k as MfaSubmitArgs, E as EthereumRpcRequestType, l as SolanaRpcRequestType, m as EthereumRpcResponseType, n as SolanaRpcResponseType, U as User, o as PrivyClientConfig, p as EIP1193Provider, q as WalletTimeoutError, r as RpcConfig, s as EntropyIdVerifier$1, u as RequestArguments, v as WalletConnector, B as BaseConnectedEthereumWallet, w as WalletClientType, x as ConnectedWalletMetadata, y as ConnectorType, z as WalletListEntry, A as ExternalWalletsConfig, D as BaseConnectedWallet, S as SolanaWalletConnector, G as ConnectWalletModalOptions, H as LoginModalOptions, h as CreateWalletOptions, W as Wallet, I as SetWalletRecoveryOptions, J as SignMessageModalUIOptions, K as SignTypedDataParams, M as MfaMethod, N as UnsignedTransactionRequest, Q as SendTransactionModalUIOptions, T as FundWalletConfig, V as TransactionReceipt, b as SupportedSolanaTransaction, i as SolanaFundingConfig, a as SolanaTransactionReceipt, X as ConnectedWallet, O as OAuthTokens, Y as CrossAppProviderDetails, Z as OAuthProviderType, _ as MoonpaySignRequest, $ as MoonpaySignResponse, a0 as SmartWalletConfig, a1 as PrivyServerConfig, L as LoginMethod, a2 as SiweWalletMetadata, a3 as TelegramAuthResult, a4 as OAuthUserInfo, a5 as OAuthFlowState, a6 as LoginWithCode, a7 as OtpFlowState, a8 as PasskeyFlowState, a9 as SiweFlowState, aa as UnsignedTransactionRequestWithChainId, ab as BaseConnectedWalletType, C as ConnectedSolanaWallet, ac as CustomAuthFlowState } from './types-DLYwr0wq.js';
4
- export { at as Apple, aD as AppleOAuthWithMetadata, aL as ContractUIOptions, aw as CrossAppAccount, aG as CrossAppAccountWithMetadata, aq as Discord, az as DiscordOAuthWithMetadata, aI as Email, al as EmailWithMetadata, aP as Farcaster, aE as FarcasterWithMetadata, ar as Github, aA as GithubOAuthWithMetadata, ao as Google, ax as GoogleOAuthWithMetadata, d as LinkedAccountWithMetadata, as as LinkedIn, aC as LinkedInOAuthWithMetadata, aR as LoginMethodOrderOption, ae as MessageTypes, af as MoonpayConfig, ag as MoonpayCurrencyCode, aN as MoonpayFundingConfig, ah as MoonpayPaymentMethod, aM as NativeFundingConfig, ak as NonEmptyArray, aQ as Passkey, aH as PasskeyWithMetadata, aJ as Phone, am as PhoneWithMetadata, aO as PriceDisplayOptions, ai as Quantity, g as SolanaCluster, av as Telegram, aF as TelegramWithMetadata, au as Tiktok, aB as TiktokOAuthWithMetadata, aj as TransactionLog, aK as TransactionUIOptions, ap as Twitter, ay as TwitterOAuthWithMetadata, ad as TypedMessage, an as WalletWithMetadata } from './types-DLYwr0wq.js';
3
+ import { c as Chain, g as UserRecoveryMethod, k as PrivyFarcasterSignerInitResponse, l as MfaSubmitArgs, E as EthereumRpcRequestType, m as SolanaRpcRequestType, n as EthereumRpcResponseType, o as SolanaRpcResponseType, U as User, p as PrivyClientConfig, q as EIP1193Provider, r as WalletTimeoutError, s as RpcConfig, u as EntropyIdVerifier$1, v as RequestArguments, w as WalletConnector, B as BaseConnectedEthereumWallet, x as WalletClientType, y as ConnectedWalletMetadata, z as ConnectorType, A as WalletListEntry, D as ExternalWalletsConfig, G as BaseConnectedWallet, S as SolanaWalletConnector, H as ConnectWalletModalOptions, I as LoginModalOptions, i as CreateWalletOptions, W as Wallet, J as SetWalletRecoveryOptions, K as SignMessageModalUIOptions, N as SignTypedDataParams, M as MfaMethod, Q as UnsignedTransactionRequest, T as SendTransactionModalUIOptions, V as FundWalletConfig, X as TransactionReceipt, b as SupportedSolanaTransaction, j as SolanaFundingConfig, a as SolanaTransactionReceipt, Y as ConnectedWallet, O as OAuthTokens, Z as CrossAppProviderDetails, _ as OAuthProviderType, $ as MoonpaySignRequest, a0 as MoonpaySignResponse, a1 as SmartWalletConfig, a2 as PrivyServerConfig, d as LoginMethod, a3 as SiweWalletMetadata, a4 as TelegramAuthResult, a5 as OAuthUserInfo, a6 as OAuthFlowState, a7 as LoginWithCode, a8 as OtpFlowState, a9 as PasskeyFlowState, aa as SiweFlowState, ab as UnsignedTransactionRequestWithChainId, ac as BaseConnectedWalletType, C as ConnectedSolanaWallet, ad as CustomAuthFlowState } from './types-BR6iorWt.js';
4
+ export { au as Apple, aE as AppleOAuthWithMetadata, aM as ContractUIOptions, ax as CrossAppAccount, aH as CrossAppAccountWithMetadata, ar as Discord, aA as DiscordOAuthWithMetadata, aJ as Email, am as EmailWithMetadata, aQ as Farcaster, aF as FarcasterWithMetadata, as as Github, aB as GithubOAuthWithMetadata, ap as Google, ay as GoogleOAuthWithMetadata, e as LinkedAccountWithMetadata, at as LinkedIn, aD as LinkedInOAuthWithMetadata, aS as LoginMethodOrderOption, af as MessageTypes, ag as MoonpayConfig, ah as MoonpayCurrencyCode, aO as MoonpayFundingConfig, ai as MoonpayPaymentMethod, aN as NativeFundingConfig, al as NonEmptyArray, aR as Passkey, aI as PasskeyWithMetadata, aK as Phone, an as PhoneWithMetadata, aP as PriceDisplayOptions, aj as Quantity, h as SolanaCluster, aw as Telegram, aG as TelegramWithMetadata, av as Tiktok, aC as TiktokOAuthWithMetadata, ak as TransactionLog, aL as TransactionUIOptions, aq as Twitter, az as TwitterOAuthWithMetadata, ae as TypedMessage, ao as WalletWithMetadata } from './types-BR6iorWt.js';
5
5
  import { ExternalProvider, StaticJsonRpcProvider, Web3Provider } from '@ethersproject/providers';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { TurnstileProps } from '@marsidev/react-turnstile';
@@ -16,8 +16,8 @@ import * as _solana_web3_js from '@solana/web3.js';
16
16
  import { Connection } from '@solana/web3.js';
17
17
  import { AbstractProvider } from 'web3-core';
18
18
  import { FetchOptions } from 'ofetch';
19
- import { P as PrivyEvents } from './useFundSolanaWallet-DNaRhc-b.js';
20
- export { C as CallbackError, a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, u as useSolanaWallets } from './useFundSolanaWallet-DNaRhc-b.js';
19
+ import { P as PrivyEvents } from './useFundSolanaWallet-Dz8nYtDg.js';
20
+ export { C as CallbackError, a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, u as useSolanaWallets } from './useFundSolanaWallet-Dz8nYtDg.js';
21
21
  import 'viem';
22
22
  import '@privy-io/js-sdk-core';
23
23
  import '@metamask/eth-sig-util';
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { MouseEvent } from 'react';
3
- import { c as Chain, f as UserRecoveryMethod, j as PrivyFarcasterSignerInitResponse, k as MfaSubmitArgs, E as EthereumRpcRequestType, l as SolanaRpcRequestType, m as EthereumRpcResponseType, n as SolanaRpcResponseType, U as User, o as PrivyClientConfig, p as EIP1193Provider, q as WalletTimeoutError, r as RpcConfig, s as EntropyIdVerifier$1, u as RequestArguments, v as WalletConnector, B as BaseConnectedEthereumWallet, w as WalletClientType, x as ConnectedWalletMetadata, y as ConnectorType, z as WalletListEntry, A as ExternalWalletsConfig, D as BaseConnectedWallet, S as SolanaWalletConnector, G as ConnectWalletModalOptions, H as LoginModalOptions, h as CreateWalletOptions, W as Wallet, I as SetWalletRecoveryOptions, J as SignMessageModalUIOptions, K as SignTypedDataParams, M as MfaMethod, N as UnsignedTransactionRequest, Q as SendTransactionModalUIOptions, T as FundWalletConfig, V as TransactionReceipt, b as SupportedSolanaTransaction, i as SolanaFundingConfig, a as SolanaTransactionReceipt, X as ConnectedWallet, O as OAuthTokens, Y as CrossAppProviderDetails, Z as OAuthProviderType, _ as MoonpaySignRequest, $ as MoonpaySignResponse, a0 as SmartWalletConfig, a1 as PrivyServerConfig, L as LoginMethod, a2 as SiweWalletMetadata, a3 as TelegramAuthResult, a4 as OAuthUserInfo, a5 as OAuthFlowState, a6 as LoginWithCode, a7 as OtpFlowState, a8 as PasskeyFlowState, a9 as SiweFlowState, aa as UnsignedTransactionRequestWithChainId, ab as BaseConnectedWalletType, C as ConnectedSolanaWallet, ac as CustomAuthFlowState } from './types-DLYwr0wq.js';
4
- export { at as Apple, aD as AppleOAuthWithMetadata, aL as ContractUIOptions, aw as CrossAppAccount, aG as CrossAppAccountWithMetadata, aq as Discord, az as DiscordOAuthWithMetadata, aI as Email, al as EmailWithMetadata, aP as Farcaster, aE as FarcasterWithMetadata, ar as Github, aA as GithubOAuthWithMetadata, ao as Google, ax as GoogleOAuthWithMetadata, d as LinkedAccountWithMetadata, as as LinkedIn, aC as LinkedInOAuthWithMetadata, aR as LoginMethodOrderOption, ae as MessageTypes, af as MoonpayConfig, ag as MoonpayCurrencyCode, aN as MoonpayFundingConfig, ah as MoonpayPaymentMethod, aM as NativeFundingConfig, ak as NonEmptyArray, aQ as Passkey, aH as PasskeyWithMetadata, aJ as Phone, am as PhoneWithMetadata, aO as PriceDisplayOptions, ai as Quantity, g as SolanaCluster, av as Telegram, aF as TelegramWithMetadata, au as Tiktok, aB as TiktokOAuthWithMetadata, aj as TransactionLog, aK as TransactionUIOptions, ap as Twitter, ay as TwitterOAuthWithMetadata, ad as TypedMessage, an as WalletWithMetadata } from './types-DLYwr0wq.js';
3
+ import { c as Chain, g as UserRecoveryMethod, k as PrivyFarcasterSignerInitResponse, l as MfaSubmitArgs, E as EthereumRpcRequestType, m as SolanaRpcRequestType, n as EthereumRpcResponseType, o as SolanaRpcResponseType, U as User, p as PrivyClientConfig, q as EIP1193Provider, r as WalletTimeoutError, s as RpcConfig, u as EntropyIdVerifier$1, v as RequestArguments, w as WalletConnector, B as BaseConnectedEthereumWallet, x as WalletClientType, y as ConnectedWalletMetadata, z as ConnectorType, A as WalletListEntry, D as ExternalWalletsConfig, G as BaseConnectedWallet, S as SolanaWalletConnector, H as ConnectWalletModalOptions, I as LoginModalOptions, i as CreateWalletOptions, W as Wallet, J as SetWalletRecoveryOptions, K as SignMessageModalUIOptions, N as SignTypedDataParams, M as MfaMethod, Q as UnsignedTransactionRequest, T as SendTransactionModalUIOptions, V as FundWalletConfig, X as TransactionReceipt, b as SupportedSolanaTransaction, j as SolanaFundingConfig, a as SolanaTransactionReceipt, Y as ConnectedWallet, O as OAuthTokens, Z as CrossAppProviderDetails, _ as OAuthProviderType, $ as MoonpaySignRequest, a0 as MoonpaySignResponse, a1 as SmartWalletConfig, a2 as PrivyServerConfig, d as LoginMethod, a3 as SiweWalletMetadata, a4 as TelegramAuthResult, a5 as OAuthUserInfo, a6 as OAuthFlowState, a7 as LoginWithCode, a8 as OtpFlowState, a9 as PasskeyFlowState, aa as SiweFlowState, ab as UnsignedTransactionRequestWithChainId, ac as BaseConnectedWalletType, C as ConnectedSolanaWallet, ad as CustomAuthFlowState } from './types-BR6iorWt.js';
4
+ export { au as Apple, aE as AppleOAuthWithMetadata, aM as ContractUIOptions, ax as CrossAppAccount, aH as CrossAppAccountWithMetadata, ar as Discord, aA as DiscordOAuthWithMetadata, aJ as Email, am as EmailWithMetadata, aQ as Farcaster, aF as FarcasterWithMetadata, as as Github, aB as GithubOAuthWithMetadata, ap as Google, ay as GoogleOAuthWithMetadata, e as LinkedAccountWithMetadata, at as LinkedIn, aD as LinkedInOAuthWithMetadata, aS as LoginMethodOrderOption, af as MessageTypes, ag as MoonpayConfig, ah as MoonpayCurrencyCode, aO as MoonpayFundingConfig, ai as MoonpayPaymentMethod, aN as NativeFundingConfig, al as NonEmptyArray, aR as Passkey, aI as PasskeyWithMetadata, aK as Phone, an as PhoneWithMetadata, aP as PriceDisplayOptions, aj as Quantity, h as SolanaCluster, aw as Telegram, aG as TelegramWithMetadata, av as Tiktok, aC as TiktokOAuthWithMetadata, ak as TransactionLog, aL as TransactionUIOptions, aq as Twitter, az as TwitterOAuthWithMetadata, ae as TypedMessage, ao as WalletWithMetadata } from './types-BR6iorWt.js';
5
5
  import { ExternalProvider, StaticJsonRpcProvider, Web3Provider } from '@ethersproject/providers';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { TurnstileProps } from '@marsidev/react-turnstile';
@@ -16,8 +16,8 @@ import * as _solana_web3_js from '@solana/web3.js';
16
16
  import { Connection } from '@solana/web3.js';
17
17
  import { AbstractProvider } from 'web3-core';
18
18
  import { FetchOptions } from 'ofetch';
19
- import { P as PrivyEvents } from './useFundSolanaWallet-DNaRhc-b.js';
20
- export { C as CallbackError, a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, u as useSolanaWallets } from './useFundSolanaWallet-DNaRhc-b.js';
19
+ import { P as PrivyEvents } from './useFundSolanaWallet-Dz8nYtDg.js';
20
+ export { C as CallbackError, a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, u as useSolanaWallets } from './useFundSolanaWallet-Dz8nYtDg.js';
21
21
  import 'viem';
22
22
  import '@privy-io/js-sdk-core';
23
23
  import '@metamask/eth-sig-util';
@@ -1,5 +1,5 @@
1
- export { C as ConnectedSolanaWallet, S as SolanaAdapterConnector, a as SolanaTransactionReceipt, b as SupportedSolanaTransaction, t as toSolanaWalletConnectors } from './types-DLYwr0wq.js';
2
- export { a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, b as useFundWallet, u as useSolanaWallets } from './useFundSolanaWallet-DNaRhc-b.js';
1
+ export { C as ConnectedSolanaWallet, S as SolanaAdapterConnector, a as SolanaTransactionReceipt, b as SupportedSolanaTransaction, t as toSolanaWalletConnectors } from './types-BR6iorWt.js';
2
+ export { a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, b as useFundWallet, u as useSolanaWallets } from './useFundSolanaWallet-Dz8nYtDg.js';
3
3
  import '@ethersproject/providers';
4
4
  import '@solana/wallet-adapter-base';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- export { C as ConnectedSolanaWallet, S as SolanaAdapterConnector, a as SolanaTransactionReceipt, b as SupportedSolanaTransaction, t as toSolanaWalletConnectors } from './types-DLYwr0wq.js';
2
- export { a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, b as useFundWallet, u as useSolanaWallets } from './useFundSolanaWallet-DNaRhc-b.js';
1
+ export { C as ConnectedSolanaWallet, S as SolanaAdapterConnector, a as SolanaTransactionReceipt, b as SupportedSolanaTransaction, t as toSolanaWalletConnectors } from './types-BR6iorWt.js';
2
+ export { a as UseFundSolanaWalletInterface, U as UseSolanaWalletsInterface, b as useFundWallet, u as useSolanaWallets } from './useFundSolanaWallet-Dz8nYtDg.js';
3
3
  import '@ethersproject/providers';
4
4
  import '@solana/wallet-adapter-base';
5
5
  import 'react';
@@ -2001,6 +2001,16 @@ type CustomAuthFlowState = {
2001
2001
  status: 'error';
2002
2002
  error: Error | null;
2003
2003
  };
2004
+ type LoginToFrame = {
2005
+ /**
2006
+ * The message the Farcaster wallet signed
2007
+ */
2008
+ message: string;
2009
+ /**
2010
+ * The SIWF signature
2011
+ */
2012
+ signature: string;
2013
+ };
2004
2014
 
2005
2015
  /**
2006
2016
  * We support a subset of the provider methods found here:
@@ -2128,4 +2138,4 @@ type EthereumRpcResponseType = eth_signTransactionResponse | eth_populateTransac
2128
2138
  type SolanaRpcRequestType = solana_signMessage;
2129
2139
  type SolanaRpcResponseType = solana_signMessageResponse;
2130
2140
 
2131
- export { type MoonpaySignResponse as $, type ExternalWalletsConfig as A, type BaseConnectedEthereumWallet as B, type ConnectedSolanaWallet as C, type BaseConnectedWallet as D, type EthereumRpcRequestType as E, type FundingMethod as F, type ConnectWalletModalOptions as G, type LoginModalOptions as H, type SetWalletRecoveryOptions as I, type SignMessageModalUIOptions as J, type SignTypedDataParams as K, type LoginMethod as L, type MfaMethod as M, type UnsignedTransactionRequest as N, type OAuthTokens as O, PrivyErrorCode as P, type SendTransactionModalUIOptions as Q, type RuntimeLoginOverridableOptions as R, SolanaWalletConnector as S, type FundWalletConfig as T, type User as U, type TransactionReceipt as V, type Wallet as W, type ConnectedWallet as X, type CrossAppProviderDetails as Y, type OAuthProviderType as Z, type MoonpaySignRequest as _, type SolanaTransactionReceipt as a, type SmartWalletConfig as a0, type PrivyServerConfig as a1, type SiweWalletMetadata as a2, type TelegramAuthResult as a3, type OAuthUserInfo as a4, type OAuthFlowState as a5, type LoginWithCode as a6, type OtpFlowState as a7, type PasskeyFlowState as a8, type SiweFlowState as a9, type GithubOAuthWithMetadata as aA, type TiktokOAuthWithMetadata as aB, type LinkedInOAuthWithMetadata as aC, type AppleOAuthWithMetadata as aD, type FarcasterWithMetadata as aE, type TelegramWithMetadata as aF, type CrossAppAccountWithMetadata as aG, type PasskeyWithMetadata as aH, type Email as aI, type Phone as aJ, type TransactionUIOptions as aK, type ContractUIOptions as aL, type NativeFundingConfig as aM, type MoonpayFundingConfig as aN, type PriceDisplayOptions as aO, type Farcaster as aP, type Passkey as aQ, type LoginMethodOrderOption as aR, type UnsignedTransactionRequestWithChainId as aa, type BaseConnectedWalletType as ab, type CustomAuthFlowState as ac, type TypedMessage as ad, type MessageTypes as ae, type MoonpayConfig as af, type MoonpayCurrencyCode as ag, type MoonpayPaymentMethod as ah, type Quantity as ai, type TransactionLog as aj, type NonEmptyArray as ak, type EmailWithMetadata as al, type PhoneWithMetadata as am, type WalletWithMetadata as an, type Google as ao, type Twitter as ap, type Discord as aq, type Github as ar, type LinkedIn as as, type Apple as at, type Tiktok as au, type Telegram as av, type CrossAppAccount as aw, type GoogleOAuthWithMetadata as ax, type TwitterOAuthWithMetadata as ay, type DiscordOAuthWithMetadata as az, type SupportedSolanaTransaction as b, type Chain as c, type LinkedAccountWithMetadata as d, type BaseConnectedSolanaWallet as e, type UserRecoveryMethod as f, type SolanaCluster as g, type CreateWalletOptions as h, type SolanaFundingConfig as i, type PrivyFarcasterSignerInitResponse as j, type MfaSubmitArgs as k, type SolanaRpcRequestType as l, type EthereumRpcResponseType as m, type SolanaRpcResponseType as n, type PrivyClientConfig as o, type EIP1193Provider as p, WalletTimeoutError as q, type RpcConfig as r, type EntropyIdVerifier as s, toSolanaWalletConnectors as t, type RequestArguments as u, WalletConnector as v, type WalletClientType as w, type ConnectedWalletMetadata as x, type ConnectorType as y, type WalletListEntry as z };
2141
+ export { type MoonpaySignRequest as $, type WalletListEntry as A, type BaseConnectedEthereumWallet as B, type ConnectedSolanaWallet as C, type ExternalWalletsConfig as D, type EthereumRpcRequestType as E, type FundingMethod as F, type BaseConnectedWallet as G, type ConnectWalletModalOptions as H, type LoginModalOptions as I, type SetWalletRecoveryOptions as J, type SignMessageModalUIOptions as K, type LoginToFrame 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, SolanaWalletConnector as S, type SendTransactionModalUIOptions as T, type User as U, type FundWalletConfig as V, type Wallet as W, type TransactionReceipt as X, type ConnectedWallet as Y, type CrossAppProviderDetails as Z, type OAuthProviderType as _, type SolanaTransactionReceipt as a, type MoonpaySignResponse as a0, type SmartWalletConfig as a1, type PrivyServerConfig as a2, type SiweWalletMetadata as a3, type TelegramAuthResult as a4, type OAuthUserInfo as a5, type OAuthFlowState as a6, type LoginWithCode as a7, type OtpFlowState as a8, type PasskeyFlowState as a9, type DiscordOAuthWithMetadata as aA, type GithubOAuthWithMetadata as aB, type TiktokOAuthWithMetadata as aC, type LinkedInOAuthWithMetadata as aD, type AppleOAuthWithMetadata as aE, type FarcasterWithMetadata as aF, type TelegramWithMetadata as aG, type CrossAppAccountWithMetadata as aH, type PasskeyWithMetadata as aI, type Email as aJ, type Phone as aK, type TransactionUIOptions as aL, type ContractUIOptions as aM, type NativeFundingConfig as aN, type MoonpayFundingConfig as aO, type PriceDisplayOptions as aP, type Farcaster as aQ, type Passkey as aR, type LoginMethodOrderOption as aS, type SiweFlowState as aa, type UnsignedTransactionRequestWithChainId as ab, type BaseConnectedWalletType as ac, type CustomAuthFlowState as ad, type TypedMessage as ae, type MessageTypes as af, type MoonpayConfig as ag, type MoonpayCurrencyCode as ah, type MoonpayPaymentMethod as ai, type Quantity as aj, type TransactionLog 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 Telegram as aw, type CrossAppAccount as ax, type GoogleOAuthWithMetadata as ay, type TwitterOAuthWithMetadata as az, type SupportedSolanaTransaction as b, type Chain as c, type LoginMethod as d, type LinkedAccountWithMetadata as e, type BaseConnectedSolanaWallet as f, type UserRecoveryMethod as g, type SolanaCluster as h, type CreateWalletOptions as i, type SolanaFundingConfig as j, type PrivyFarcasterSignerInitResponse as k, type MfaSubmitArgs as l, type SolanaRpcRequestType as m, type EthereumRpcResponseType as n, type SolanaRpcResponseType as o, type PrivyClientConfig as p, type EIP1193Provider as q, WalletTimeoutError as r, type RpcConfig as s, toSolanaWalletConnectors as t, type EntropyIdVerifier as u, type RequestArguments as v, WalletConnector as w, type WalletClientType as x, type ConnectedWalletMetadata as y, type ConnectorType as z };
@@ -2001,6 +2001,16 @@ type CustomAuthFlowState = {
2001
2001
  status: 'error';
2002
2002
  error: Error | null;
2003
2003
  };
2004
+ type LoginToFrame = {
2005
+ /**
2006
+ * The message the Farcaster wallet signed
2007
+ */
2008
+ message: string;
2009
+ /**
2010
+ * The SIWF signature
2011
+ */
2012
+ signature: string;
2013
+ };
2004
2014
 
2005
2015
  /**
2006
2016
  * We support a subset of the provider methods found here:
@@ -2128,4 +2138,4 @@ type EthereumRpcResponseType = eth_signTransactionResponse | eth_populateTransac
2128
2138
  type SolanaRpcRequestType = solana_signMessage;
2129
2139
  type SolanaRpcResponseType = solana_signMessageResponse;
2130
2140
 
2131
- export { type MoonpaySignResponse as $, type ExternalWalletsConfig as A, type BaseConnectedEthereumWallet as B, type ConnectedSolanaWallet as C, type BaseConnectedWallet as D, type EthereumRpcRequestType as E, type FundingMethod as F, type ConnectWalletModalOptions as G, type LoginModalOptions as H, type SetWalletRecoveryOptions as I, type SignMessageModalUIOptions as J, type SignTypedDataParams as K, type LoginMethod as L, type MfaMethod as M, type UnsignedTransactionRequest as N, type OAuthTokens as O, PrivyErrorCode as P, type SendTransactionModalUIOptions as Q, type RuntimeLoginOverridableOptions as R, SolanaWalletConnector as S, type FundWalletConfig as T, type User as U, type TransactionReceipt as V, type Wallet as W, type ConnectedWallet as X, type CrossAppProviderDetails as Y, type OAuthProviderType as Z, type MoonpaySignRequest as _, type SolanaTransactionReceipt as a, type SmartWalletConfig as a0, type PrivyServerConfig as a1, type SiweWalletMetadata as a2, type TelegramAuthResult as a3, type OAuthUserInfo as a4, type OAuthFlowState as a5, type LoginWithCode as a6, type OtpFlowState as a7, type PasskeyFlowState as a8, type SiweFlowState as a9, type GithubOAuthWithMetadata as aA, type TiktokOAuthWithMetadata as aB, type LinkedInOAuthWithMetadata as aC, type AppleOAuthWithMetadata as aD, type FarcasterWithMetadata as aE, type TelegramWithMetadata as aF, type CrossAppAccountWithMetadata as aG, type PasskeyWithMetadata as aH, type Email as aI, type Phone as aJ, type TransactionUIOptions as aK, type ContractUIOptions as aL, type NativeFundingConfig as aM, type MoonpayFundingConfig as aN, type PriceDisplayOptions as aO, type Farcaster as aP, type Passkey as aQ, type LoginMethodOrderOption as aR, type UnsignedTransactionRequestWithChainId as aa, type BaseConnectedWalletType as ab, type CustomAuthFlowState as ac, type TypedMessage as ad, type MessageTypes as ae, type MoonpayConfig as af, type MoonpayCurrencyCode as ag, type MoonpayPaymentMethod as ah, type Quantity as ai, type TransactionLog as aj, type NonEmptyArray as ak, type EmailWithMetadata as al, type PhoneWithMetadata as am, type WalletWithMetadata as an, type Google as ao, type Twitter as ap, type Discord as aq, type Github as ar, type LinkedIn as as, type Apple as at, type Tiktok as au, type Telegram as av, type CrossAppAccount as aw, type GoogleOAuthWithMetadata as ax, type TwitterOAuthWithMetadata as ay, type DiscordOAuthWithMetadata as az, type SupportedSolanaTransaction as b, type Chain as c, type LinkedAccountWithMetadata as d, type BaseConnectedSolanaWallet as e, type UserRecoveryMethod as f, type SolanaCluster as g, type CreateWalletOptions as h, type SolanaFundingConfig as i, type PrivyFarcasterSignerInitResponse as j, type MfaSubmitArgs as k, type SolanaRpcRequestType as l, type EthereumRpcResponseType as m, type SolanaRpcResponseType as n, type PrivyClientConfig as o, type EIP1193Provider as p, WalletTimeoutError as q, type RpcConfig as r, type EntropyIdVerifier as s, toSolanaWalletConnectors as t, type RequestArguments as u, WalletConnector as v, type WalletClientType as w, type ConnectedWalletMetadata as x, type ConnectorType as y, type WalletListEntry as z };
2141
+ export { type MoonpaySignRequest as $, type WalletListEntry as A, type BaseConnectedEthereumWallet as B, type ConnectedSolanaWallet as C, type ExternalWalletsConfig as D, type EthereumRpcRequestType as E, type FundingMethod as F, type BaseConnectedWallet as G, type ConnectWalletModalOptions as H, type LoginModalOptions as I, type SetWalletRecoveryOptions as J, type SignMessageModalUIOptions as K, type LoginToFrame 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, SolanaWalletConnector as S, type SendTransactionModalUIOptions as T, type User as U, type FundWalletConfig as V, type Wallet as W, type TransactionReceipt as X, type ConnectedWallet as Y, type CrossAppProviderDetails as Z, type OAuthProviderType as _, type SolanaTransactionReceipt as a, type MoonpaySignResponse as a0, type SmartWalletConfig as a1, type PrivyServerConfig as a2, type SiweWalletMetadata as a3, type TelegramAuthResult as a4, type OAuthUserInfo as a5, type OAuthFlowState as a6, type LoginWithCode as a7, type OtpFlowState as a8, type PasskeyFlowState as a9, type DiscordOAuthWithMetadata as aA, type GithubOAuthWithMetadata as aB, type TiktokOAuthWithMetadata as aC, type LinkedInOAuthWithMetadata as aD, type AppleOAuthWithMetadata as aE, type FarcasterWithMetadata as aF, type TelegramWithMetadata as aG, type CrossAppAccountWithMetadata as aH, type PasskeyWithMetadata as aI, type Email as aJ, type Phone as aK, type TransactionUIOptions as aL, type ContractUIOptions as aM, type NativeFundingConfig as aN, type MoonpayFundingConfig as aO, type PriceDisplayOptions as aP, type Farcaster as aQ, type Passkey as aR, type LoginMethodOrderOption as aS, type SiweFlowState as aa, type UnsignedTransactionRequestWithChainId as ab, type BaseConnectedWalletType as ac, type CustomAuthFlowState as ad, type TypedMessage as ae, type MessageTypes as af, type MoonpayConfig as ag, type MoonpayCurrencyCode as ah, type MoonpayPaymentMethod as ai, type Quantity as aj, type TransactionLog 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 Telegram as aw, type CrossAppAccount as ax, type GoogleOAuthWithMetadata as ay, type TwitterOAuthWithMetadata as az, type SupportedSolanaTransaction as b, type Chain as c, type LoginMethod as d, type LinkedAccountWithMetadata as e, type BaseConnectedSolanaWallet as f, type UserRecoveryMethod as g, type SolanaCluster as h, type CreateWalletOptions as i, type SolanaFundingConfig as j, type PrivyFarcasterSignerInitResponse as k, type MfaSubmitArgs as l, type SolanaRpcRequestType as m, type EthereumRpcResponseType as n, type SolanaRpcResponseType as o, type PrivyClientConfig as p, type EIP1193Provider as q, WalletTimeoutError as r, type RpcConfig as s, toSolanaWalletConnectors as t, type EntropyIdVerifier as u, type RequestArguments as v, WalletConnector as w, type WalletClientType as x, type ConnectedWalletMetadata as y, type ConnectorType as z };
package/dist/dts/ui.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as RuntimeLoginOverridableOptions, c as Chain } from './types-DLYwr0wq.js';
2
+ import { R as RuntimeLoginOverridableOptions, c as Chain } from './types-BR6iorWt.js';
3
3
  import { Hex } from 'viem';
4
4
  import { Cluster } from '@privy-io/js-sdk-core';
5
5
  import '@ethersproject/providers';
package/dist/dts/ui.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as RuntimeLoginOverridableOptions, c as Chain } from './types-DLYwr0wq.js';
2
+ import { R as RuntimeLoginOverridableOptions, c as Chain } from './types-BR6iorWt.js';
3
3
  import { Hex } from 'viem';
4
4
  import { Cluster } from '@privy-io/js-sdk-core';
5
5
  import '@ethersproject/providers';
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { P as PrivyErrorCode, U as User, L as LoginMethod, d as LinkedAccountWithMetadata, O as OAuthTokens, B as BaseConnectedEthereumWallet, e as BaseConnectedSolanaWallet, W as Wallet, M as MfaMethod, f as UserRecoveryMethod, a as SolanaTransactionReceipt, c as Chain, F as FundingMethod, g as SolanaCluster, C as ConnectedSolanaWallet, h as CreateWalletOptions, i as SolanaFundingConfig } from './types-DLYwr0wq.js';
2
+ import { P as PrivyErrorCode, U as User, d as LoginMethod, e as LinkedAccountWithMetadata, O as OAuthTokens, B as BaseConnectedEthereumWallet, f as BaseConnectedSolanaWallet, W as Wallet, M as MfaMethod, g as UserRecoveryMethod, a as SolanaTransactionReceipt, c as Chain, F as FundingMethod, h as SolanaCluster, C as ConnectedSolanaWallet, i as CreateWalletOptions, j as SolanaFundingConfig } from './types-BR6iorWt.js';
3
3
  import { TransactionResponse } from '@ethersproject/providers';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { P as PrivyErrorCode, U as User, L as LoginMethod, d as LinkedAccountWithMetadata, O as OAuthTokens, B as BaseConnectedEthereumWallet, e as BaseConnectedSolanaWallet, W as Wallet, M as MfaMethod, f as UserRecoveryMethod, a as SolanaTransactionReceipt, c as Chain, F as FundingMethod, g as SolanaCluster, C as ConnectedSolanaWallet, h as CreateWalletOptions, i as SolanaFundingConfig } from './types-DLYwr0wq.js';
2
+ import { P as PrivyErrorCode, U as User, d as LoginMethod, e as LinkedAccountWithMetadata, O as OAuthTokens, B as BaseConnectedEthereumWallet, f as BaseConnectedSolanaWallet, W as Wallet, M as MfaMethod, g as UserRecoveryMethod, a as SolanaTransactionReceipt, c as Chain, F as FundingMethod, h as SolanaCluster, C as ConnectedSolanaWallet, i as CreateWalletOptions, j as SolanaFundingConfig } from './types-BR6iorWt.js';
3
3
  import { TransactionResponse } from '@ethersproject/providers';
4
4
 
5
5
  /**
@@ -0,0 +1 @@
1
+ import{PrivyClientError as t,formatApiError as s}from"../errors.mjs";import{initFarcasterV2Path as i,authenticateFarcasterV2Path as e}from"../paths.mjs";import"ofetch";class a{async init(){if(!this.api)throw new t("Auth flow has no API instance");let{nonce:s}=await this.api.post(i,{});return{nonce:s}}async authenticate(){if(!this.message||!this.signature||!this.fid)throw new t("Auth flow has no message, signature, or fid");if(!this.api)throw new t("Auth flow has no API instance");try{let s=await this.api.post(e,{message:this.message,signature:this.signature,fid:this.fid});if(!s)throw new t("No response from authentication");return s}catch(t){throw s(t)}}async link(){throw Error("Not implemented")}setAuthData({message:t,signature:s,fid:i}){this.message=t,this.signature=s,this.fid=i}constructor(){this.meta={}}}export{a as FarcasterFramesFlow};
@@ -1 +1 @@
1
- import"uuid";import"./accessToken.mjs";import"./client/user.mjs";export{a as PrivyClient}from"./privy-provider-BxaM5Jz7.mjs";import"./constants.mjs";import"./errors.mjs";import"./http.mjs";import"./lib/smart-wallet-helpers.mjs";import"./passkeys/transformOptionsToCamelCase.mjs";import"./paths.mjs";import"./session.mjs";import"./storage.mjs";import"./token.mjs";import"jose";import"@ethersproject/address";import"react/jsx-runtime";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"./auth-flows/custom-jwt-account.mjs";import"ofetch";import"./auth-flows/email.mjs";import"./auth-flows/getUiHeader.mjs";import"./auth-flows/farcaster.mjs";import"./connectors/walletconnect-registry.mjs";import"./utils/index.mjs";import"./connectors/get-legacy-injected-providers.mjs";import"./connectors/is-wallet-installed.mjs";import"./effect.mjs";import"./auth-flows/guest.mjs";import"./crypto.mjs";import"./auth-flows/passkey.mjs";import"./auth-flows/siwe.mjs";import"./lib/siwe.mjs";import"./auth-flows/siws.mjs";import"./lib/siws.mjs";import"./auth-flows/sms.mjs";import"./auth-flows/telegram.mjs";import"./hooks/captcha-context.mjs";import"./hooks/index.mjs";import"eventemitter3";import"./connectors/coinbase.mjs";import"@coinbase/wallet-sdk";import"./svg/coinbase-wallet.mjs";import"./connectors/chains/index.mjs";import"./connectors/chains/arbitrum.mjs";import"./connectors/chains/arbitrumSepolia.mjs";import"./connectors/chains/avalanche.mjs";import"./connectors/chains/avalancheFuji.mjs";import"./connectors/chains/base.mjs";import"./connectors/chains/baseSepolia.mjs";import"./connectors/chains/berachainArtio.mjs";import"./connectors/chains/celo.mjs";import"./connectors/chains/celoAlfajores.mjs";import"./connectors/chains/filecoin.mjs";import"./connectors/chains/filecoinCalibration.mjs";import"./connectors/chains/garnetHolesky.mjs";import"./connectors/chains/holesky.mjs";import"./connectors/chains/linea.mjs";import"./connectors/chains/lineaTestnet.mjs";import"./connectors/chains/lukso.mjs";import"./connectors/chains/mainnet.mjs";import"./connectors/chains/optimism.mjs";import"./connectors/chains/optimismSepolia.mjs";import"./connectors/chains/polygon.mjs";import"./connectors/chains/polygonAmoy.mjs";import"./connectors/chains/redstone.mjs";import"./connectors/chains/sepolia.mjs";import"./connectors/chains/zora.mjs";import"./connectors/chains/zoraSepolia.mjs";import"./connectors/chains/zoraTestnet.mjs";import"./connectors/errors.mjs";import"@ethersproject/logger";import"./errors-9ucGZPEs.mjs";import"./connectors/ethereum/index.mjs";import"./connectors/areWalletArraysEqual.mjs";import"./connectors/isBaseConnectedEthereumWallet.mjs";import"./connectors/base.mjs";import"./connectors/getRpcTimeout.mjs";import"./connectors/privyProxyProvider.mjs";import"./connectors/embedded.mjs";import"./svg/blobby.mjs";import"./embedded-wallets/rpc/types.mjs";import"./components/Captcha.mjs";import"@marsidev/react-turnstile";import"./components/LoginModal.mjs";import"styled-components";import"./configuration/context.mjs";import"./config.mjs";import"./configuration/defaultClientConfig.mjs";import"./configuration/login-methods.mjs";import"./configuration/wallets.mjs";import"./connectors/chains/utils.mjs";import"./lib/solana/index.mjs";import"./theme.mjs";import"tinycolor2";import"./lib/cybr53.mjs";import"./hooks/internal-context.mjs";import"./hooks/modal-context.mjs";import"./components/PrefetchedImage.mjs";import"./screens/index.mjs";import"./hooks/privy-context.mjs";import"./hooks/useElementHeight.mjs";import"./hooks/useRegisterMfaListener.mjs";import"./hooks/events-context.mjs";import"./screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./components/Button.mjs";import"./components/Loader.mjs";import"./components/CircleBackground.mjs";import"./components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./components/layout/StackedContainer.mjs";import"./screens/LandingScreen/styles.mjs";import"./screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./components/CircleBorder.mjs";import"./components/ModalFooter.mjs";import"./svg/protected-by-privy.mjs";import"./components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"./lib/capitalizeFirstLetter.mjs";import"./screens/AccountTransferScreen/AccountTransferButton.mjs";import"./screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"./screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"./screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"./screens/MfaScreens/StyledComponents.mjs";import"./screens/AllowlistRejectionScreen.mjs";import"./svg/lock-closed.mjs";import"./screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"./components/Layouts.mjs";import"./components/ScreenHeader.mjs";import"./screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./components/WrappedLoader.mjs";import"./screens/ConnectOnlyAuthenticatedScreen.mjs";import"./screens/LandingScreen/WalletButtonList.mjs";import"./screens/LandingScreen/EmptyWalletView.mjs";import"./screens/LandingScreen/WalletButton.mjs";import"./components/external-wallets/InjectedWalletIcon.mjs";import"./components/ui/chips/Chip.mjs";import"./components/ui/animation/LoadingSkeleton.mjs";import"./lib/external-wallets/displayHelpers.mjs";import"./svg/brave-browser-icon.mjs";import"./svg/bybit.mjs";import"./svg/cryptocom.mjs";import"./svg/metamask.mjs";import"./svg/phantom.mjs";import"./svg/rabby.mjs";import"./svg/rainbow.mjs";import"./svg/safe.mjs";import"./svg/uniswap.mjs";import"./svg/universal-profile.mjs";import"./svg/wallet-connect.mjs";import"./svg/zerion.mjs";import"./lib/isEmbeddedWebview.mjs";import"./recent-login/context.mjs";import"./screens/ConnectOnlyLandingScreen.mjs";import"./screens/ConnectOnlyStatusScreen.mjs";import"./svg/browser-extension-wallet-icon.mjs";import"./screens/ConnectionStatusScreen.mjs";import"./connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"./hook-utils/useInterval.mjs";import"./lib/useHasTabbedAway.mjs";import"./screens/CrossAppAuthScreen.mjs";import"./components/ProviderAppLogo.mjs";import"./hooks/useLogout.mjs";import"./screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"@heroicons/react/24/outline/CloudArrowUpIcon";import"./components/ui/wallet/WalletInfoCard.mjs";import"./components/ui/layout/Column.mjs";import"./components/ui/typography/ErrorMessage.mjs";import"./components/ui/typography/LabelXs.mjs";import"./components/ui/wallet/shared.mjs";import"./screens/DelegatedActionsRevokeScreen.mjs";import"@heroicons/react/24/outline/NoSymbolIcon";import"./screens/EmbeddedWalletConnectingScreen.mjs";import"./components/primitives/LoadingSpinner/index.mjs";import"./embedded-wallets/errors.mjs";import"./embedded-wallets/types.mjs";import"./lib/embeddedWalletRecovery.mjs";import"./lib/pkce.mjs";import"./screens/EmbeddedWalletCreatedScreen.mjs";import"./screens/EmbeddedWalletKeyExportScreen.mjs";import"./components/ui/banners/WarningBanner.mjs";import"./components/ui/typography/Subtitle.mjs";import"./components/ui/typography/Title.mjs";import"./screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"./hooks/useEmbeddedWalletCreate.mjs";import"./screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"./password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./components/Checkbox.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"./screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./screens/ErrorScreen.mjs";import"./screens/FarcasterConnectStatusScreen.mjs";import"./components/CopyToClipboard.mjs";import"./svg/checkmark.mjs";import"./svg/copy.mjs";import"./components/OpenLink.mjs";import"./components/QrCode.mjs";import"qrcode";import"./svg/black-rounded-square.mjs";import"./svg/farcaster.mjs";import"./screens/FarcasterSignerStatusScreen.mjs";import"./screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"./components/embedded-wallets/FundWalletMethodHeader.mjs";import"./components/primitives/NeutralSpinner/index.mjs";import"./hooks/useGetTokenPrice.mjs";import"./hooks/useGetSolPrice.mjs";import"./hooks/useWallets.mjs";import"./lib/funding/analytics.mjs";import"./lib/funding/reservoir.mjs";import"./lib/solana/transaction.mjs";import"./utils/buffer/readBigInt64LE.mjs";import"./lib/wallets/actions/getBalanceForChains.mjs";import"./plugins/context/PrivyPluginContext.mjs";import"./plugins/solana-funding/id.mjs";import"./screens/Funding/BridgeNetworkSelectionView.mjs";import"./components/ui/layout/Row.mjs";import"./components/ui/typography/LabelSm.mjs";import"./components/ui/wallet/NetworkBalanceCard.mjs";import"./components/ui/typography/Value.mjs";import"./components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./components/ui/icons/Arbitum.mjs";import"./components/ui/icons/Avalanche.mjs";import"./components/ui/icons/Base.mjs";import"./components/ui/icons/Celo.mjs";import"./components/ui/icons/Linea.mjs";import"./components/ui/icons/Mainnnet.mjs";import"./components/ui/icons/Optimism.mjs";import"./components/ui/icons/Polygon.mjs";import"./components/ui/icons/Solana.mjs";import"./components/ui/icons/Zora.mjs";import"./components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"./lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"./ethers-Cz-frLvN.mjs";import"./screens/Funding/styles.mjs";import"./screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"./svg/face-id.mjs";import"./svg/fingerprint.mjs";import"./formatters--YjgN2Dw.mjs";import"./screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"./screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./hooks/useSolanaWallets.mjs";import"./screens/Funding/AwaitingExternalTransferScreen.mjs";import"./lib/erc20/actions/abis/transfer.mjs";import"./lib/erc20/formatErc20TokenAmount.mjs";import"./lib/wallets/actions/getErc20Balance.mjs";import"./screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"./screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"./screens/Funding/FundingEditAmountScreen.mjs";import"./screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./components/ui/banners/ErrorBanner.mjs";import"./components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./components/ui/icons/ApplePay.mjs";import"./components/ui/icons/GooglePay.mjs";import"./hook-utils/useAsyncValue.mjs";import"./icons/WalletCards.mjs";import"./lib/erc20/actions/getErc20TokenInfo.mjs";import"./lib/funding/prepareFundingMethods.mjs";import"./lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"./lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"./lib/popup/triggerPopup.mjs";import"./lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"./lib/funding/moonpay/index.mjs";import"./lib/funding/moonpay/triggerMoonpayFlow.mjs";import"./payment-request/isPaymentRequestAvailable.mjs";import"./screens/Funding/ManualTransferScreen.mjs";import"./hooks/useWalletBalance.mjs";import"./screens/Funding/MoonpayStatusScreen.mjs";import"./svg/moonpay.mjs";import"./screens/Funding/TransferFromWalletScreen.mjs";import"./screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./screens/InAppBrowserLoginNotPossible.mjs";import"./screens/InstallPhantomScreen.mjs";import"./components/TodoList.mjs";import"./svg/check-badge.mjs";import"./screens/LandingScreen/ConnectOrCreateScreen.mjs";import"./screens/LandingScreen/CustomLandingScreenView.mjs";import"./lib/toDisplayFromAccountType.mjs";import"./screens/LandingScreen/AppLogoHeader.mjs";import"./components/AppLogo.mjs";import"./screens/LandingScreen/CrossAppButton.mjs";import"./screens/LandingScreen/EmailButton.mjs";import"./components/ConnectEmailForm.mjs";import"./components/ui/forms/EmailInputForm.mjs";import"./screens/LandingScreen/FarcasterButton.mjs";import"./screens/LandingScreen/PasskeyLink.mjs";import"./screens/LandingScreen/SmsButton.mjs";import"./components/ConnectPhoneForm.mjs";import"./PhoneCountryDropdown-BXDwBRL5.mjs";import"./screens/LandingScreen/SocialButton.mjs";import"./svg/apple.mjs";import"./svg/discord.mjs";import"./svg/github.mjs";import"./svg/google.mjs";import"./svg/instagram.mjs";import"./svg/linkedin.mjs";import"./svg/spotify.mjs";import"./svg/tiktok.mjs";import"./svg/twitter.mjs";import"./screens/LandingScreen/TelegramButton.mjs";import"./svg/telegram.mjs";import"./screens/LandingScreen/Web2OverflowButton.mjs";import"./screens/LandingScreen/LandingScreenView.mjs";import"./svg/email-or-phone.mjs";import"./screens/LandingScreen/LandingScreen.mjs";import"./screens/LinkEmailScreen.mjs";import"./screens/LinkPhoneScreen.mjs";import"./screens/LinkWalletScreen.mjs";import"./screens/LoginFailedScreen.mjs";import"./svg/error-circle.mjs";import"./screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"./hooks/useMfa.mjs";import"./hooks/useMfaEnrollment.mjs";import"./svg/mfa-shield.mjs";import"./screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"./screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"./screens/MfaScreens/EnrollSms.mjs";import"./components/PinInput.mjs";import"./screens/MfaScreens/EnrollTotp.mjs";import"./svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"./components/embedded-wallets/TransactionDetailsWrapper.mjs";import"./index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./components/embedded-wallets/TransactionDetails.mjs";import"./components/embedded-wallets/DisplayInfoItem.mjs";import"./components/embedded-wallets/PriceDisplay.mjs";import"./components/embedded-wallets/TransactionTotal.mjs";import"./components/primitives/Accordion/index.mjs";import"./components/primitives/Accordion/AccordionContext.mjs";import"./components/embedded-wallets/WalletLink.mjs";import"./screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"./screens/OAuthStatusScreen.mjs";import"./auth-flows/oauth/getDisplayForProvider.mjs";import"./svg/globe.mjs";import"./auth-flows/oauth/getOAuthErrorMessage.mjs";import"./auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"./screens/PasskeyStatusScreen.mjs";import"./screens/PhantomInterstitialScreen.mjs";import"./connectors/phantom-redirect.mjs";import"./screens/Recovery/PasswordRecoveryScreen.mjs";import"./screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"./svg/apple-icloud.mjs";import"./svg/google-drive.mjs";import"./screens/Recovery/styles.mjs";import"./screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"./screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"./components/ui/icons/WithCircleBorder.mjs";import"./screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"./embedded-wallets/solana/transaction.mjs";import"./screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"./screens/SendTransactionScreen/TransactionDetail.mjs";import"./screens/SendTransactionScreen/useTransactionDetails.mjs";import"./screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"./screens/SendTransactionScreen/EthersTransactionError.mjs";import"./screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./components/embedded-wallets/SolanaTransactionDetails.mjs";import"./screens/SendTransactionScreen/SendTransactionScreen.mjs";import"./embedded-wallets/rpc/index.mjs";import"./screens/SendTransactionScreen/TransactionReceiptView.mjs";import"./screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"./lib/deployAccount/actions/abis/deployAccount.mjs";import"./lib/erc20/actions/abis/approve.mjs";import"./lib/erc721/actions/abis/mint.mjs";import"./lib/erc721/actions/abis/safeTransferFrom.mjs";import"./lib/erc721/actions/abis/setApprovalForAll.mjs";import"./lib/erc721/actions/abis/transferFrom.mjs";import"./lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"./lib/erc1155/actions/abis/safeTransferFrom.mjs";import"./screens/SendTransactionScreen/usePrepareTransaction.mjs";import"./screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./components/embedded-wallets/StyledLogo.mjs";import"./screens/TelegramAuthScreen.mjs";import"./screens/UpdateEmailScreen.mjs";import"./components/UpdateEmailForm.mjs";import"./screens/UpdatePhoneScreen.mjs";import"./screens/UserLimitReachedScreen.mjs";import"./svg/alert-circle.mjs";import"./styles.mjs";import"./cssNormalize.mjs";import"./components/Dialog.mjs";import"./components/TelegramLoginButton.mjs";import"./connectors/solana/index.mjs";import"./types.mjs";import"./embedded-wallets/EmbeddedWalletIframe.mjs";import"./embedded-wallets/eventCallbacksQueue.mjs";import"./embedded-wallets/invokeWithMfa.mjs";import"./embedded-wallets/delegated-actions.mjs";import"./lib/caip2.mjs";import"./lib/cross-app/index.mjs";import"./lib/cross-app/authFlow.mjs";import"./auth-flows/cross-app.mjs";import"./lib/cross-app/popupCrossAppAuthFlow.mjs";import"./lib/cross-app/sendCrossAppRequest.mjs";import"./lib/funding/index.mjs";import"./lib/funding/prepareFundingModalData.mjs";import"./lib/funding/filterSupportedOptions.mjs";import"./lib/funding/usdc.mjs";import"./lib/funding/isFundingEnabled.mjs";import"./lib/popupOAuthFlow.mjs";import"./passkeys/transformResponseToSnakeCase.mjs";import"./auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"./auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"./auth-flows/oauth/OAuthFlow.mjs";import"./connectors/providerTypes.mjs";import"./connectors/injected.mjs";import"./connectors/metamask.mjs";import"./connectors/phantom.mjs";import"./connectors/ethereum/EthereumNullConnector.mjs";import"./connectors/phantom-solana.mjs";import"./connectors/solana/SolanaNullConnector.mjs";import"js-cookie";import"./auth-flows/authFlowToAuthenticateMethod.mjs";import"./cookies.mjs";
1
+ import"uuid";import"./accessToken.mjs";import"./client/user.mjs";export{a as PrivyClient}from"./privy-provider-BtMxTsT0.mjs";import"./constants.mjs";import"./errors.mjs";import"./http.mjs";import"./lib/smart-wallet-helpers.mjs";import"./passkeys/transformOptionsToCamelCase.mjs";import"./paths.mjs";import"./session.mjs";import"./storage.mjs";import"./token.mjs";import"jose";import"@ethersproject/address";import"react/jsx-runtime";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"./auth-flows/custom-jwt-account.mjs";import"ofetch";import"./auth-flows/email.mjs";import"./auth-flows/getUiHeader.mjs";import"./auth-flows/farcaster.mjs";import"./connectors/walletconnect-registry.mjs";import"./utils/index.mjs";import"./connectors/get-legacy-injected-providers.mjs";import"./connectors/is-wallet-installed.mjs";import"./effect.mjs";import"./auth-flows/guest.mjs";import"./crypto.mjs";import"./auth-flows/passkey.mjs";import"./auth-flows/siwe.mjs";import"./lib/siwe.mjs";import"./auth-flows/siws.mjs";import"./lib/siws.mjs";import"./auth-flows/sms.mjs";import"./auth-flows/telegram.mjs";import"./hooks/captcha-context.mjs";import"./hooks/index.mjs";import"eventemitter3";import"./connectors/coinbase.mjs";import"@coinbase/wallet-sdk";import"./svg/coinbase-wallet.mjs";import"./connectors/chains/index.mjs";import"./connectors/chains/arbitrum.mjs";import"./connectors/chains/arbitrumSepolia.mjs";import"./connectors/chains/avalanche.mjs";import"./connectors/chains/avalancheFuji.mjs";import"./connectors/chains/base.mjs";import"./connectors/chains/baseSepolia.mjs";import"./connectors/chains/berachainArtio.mjs";import"./connectors/chains/celo.mjs";import"./connectors/chains/celoAlfajores.mjs";import"./connectors/chains/filecoin.mjs";import"./connectors/chains/filecoinCalibration.mjs";import"./connectors/chains/garnetHolesky.mjs";import"./connectors/chains/holesky.mjs";import"./connectors/chains/linea.mjs";import"./connectors/chains/lineaTestnet.mjs";import"./connectors/chains/lukso.mjs";import"./connectors/chains/mainnet.mjs";import"./connectors/chains/optimism.mjs";import"./connectors/chains/optimismSepolia.mjs";import"./connectors/chains/polygon.mjs";import"./connectors/chains/polygonAmoy.mjs";import"./connectors/chains/redstone.mjs";import"./connectors/chains/sepolia.mjs";import"./connectors/chains/zora.mjs";import"./connectors/chains/zoraSepolia.mjs";import"./connectors/chains/zoraTestnet.mjs";import"./connectors/errors.mjs";import"@ethersproject/logger";import"./errors-9ucGZPEs.mjs";import"./connectors/ethereum/index.mjs";import"./connectors/areWalletArraysEqual.mjs";import"./connectors/isBaseConnectedEthereumWallet.mjs";import"./connectors/base.mjs";import"./connectors/getRpcTimeout.mjs";import"./connectors/privyProxyProvider.mjs";import"./connectors/embedded.mjs";import"./svg/blobby.mjs";import"./embedded-wallets/rpc/types.mjs";import"./components/Captcha.mjs";import"@marsidev/react-turnstile";import"./components/LoginModal.mjs";import"styled-components";import"./configuration/context.mjs";import"./config.mjs";import"./configuration/defaultClientConfig.mjs";import"./configuration/login-methods.mjs";import"./configuration/wallets.mjs";import"./connectors/chains/utils.mjs";import"./lib/solana/index.mjs";import"./theme.mjs";import"tinycolor2";import"./lib/cybr53.mjs";import"./hooks/internal-context.mjs";import"./hooks/modal-context.mjs";import"./components/PrefetchedImage.mjs";import"./screens/index.mjs";import"./hooks/privy-context.mjs";import"./hooks/useElementHeight.mjs";import"./hooks/useRegisterMfaListener.mjs";import"./hooks/events-context.mjs";import"./screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"./components/Button.mjs";import"./components/Loader.mjs";import"./components/CircleBackground.mjs";import"./components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"./components/layout/StackedContainer.mjs";import"./screens/LandingScreen/styles.mjs";import"./screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"./components/CircleBorder.mjs";import"./components/ModalFooter.mjs";import"./svg/protected-by-privy.mjs";import"./components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"./lib/capitalizeFirstLetter.mjs";import"./screens/AccountTransferScreen/AccountTransferButton.mjs";import"./screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"./screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"./screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"./screens/MfaScreens/StyledComponents.mjs";import"./screens/AllowlistRejectionScreen.mjs";import"./svg/lock-closed.mjs";import"./screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"./components/Layouts.mjs";import"./components/ScreenHeader.mjs";import"./screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"./components/WrappedLoader.mjs";import"./screens/ConnectOnlyAuthenticatedScreen.mjs";import"./screens/LandingScreen/WalletButtonList.mjs";import"./screens/LandingScreen/EmptyWalletView.mjs";import"./screens/LandingScreen/WalletButton.mjs";import"./components/external-wallets/InjectedWalletIcon.mjs";import"./components/ui/chips/Chip.mjs";import"./components/ui/animation/LoadingSkeleton.mjs";import"./lib/external-wallets/displayHelpers.mjs";import"./svg/brave-browser-icon.mjs";import"./svg/bybit.mjs";import"./svg/cryptocom.mjs";import"./svg/metamask.mjs";import"./svg/phantom.mjs";import"./svg/rabby.mjs";import"./svg/rainbow.mjs";import"./svg/safe.mjs";import"./svg/uniswap.mjs";import"./svg/universal-profile.mjs";import"./svg/wallet-connect.mjs";import"./svg/zerion.mjs";import"./lib/isEmbeddedWebview.mjs";import"./recent-login/context.mjs";import"./screens/ConnectOnlyLandingScreen.mjs";import"./screens/ConnectOnlyStatusScreen.mjs";import"./svg/browser-extension-wallet-icon.mjs";import"./screens/ConnectionStatusScreen.mjs";import"./connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./connectors/walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"./hook-utils/useInterval.mjs";import"./lib/useHasTabbedAway.mjs";import"./screens/CrossAppAuthScreen.mjs";import"./components/ProviderAppLogo.mjs";import"./hooks/useLogout.mjs";import"./screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"@heroicons/react/24/outline/CloudArrowUpIcon";import"./components/ui/wallet/WalletInfoCard.mjs";import"./components/ui/layout/Column.mjs";import"./components/ui/typography/ErrorMessage.mjs";import"./components/ui/typography/LabelXs.mjs";import"./components/ui/wallet/shared.mjs";import"./screens/DelegatedActionsRevokeScreen.mjs";import"@heroicons/react/24/outline/NoSymbolIcon";import"./screens/EmbeddedWalletConnectingScreen.mjs";import"./components/primitives/LoadingSpinner/index.mjs";import"./embedded-wallets/errors.mjs";import"./embedded-wallets/types.mjs";import"./lib/embeddedWalletRecovery.mjs";import"./lib/pkce.mjs";import"./screens/EmbeddedWalletCreatedScreen.mjs";import"./screens/EmbeddedWalletKeyExportScreen.mjs";import"./components/ui/banners/WarningBanner.mjs";import"./components/ui/typography/Subtitle.mjs";import"./components/ui/typography/Title.mjs";import"./screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"./hooks/useEmbeddedWalletCreate.mjs";import"./screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"./password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"./components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"./components/Checkbox.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"./components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"./components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"./screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"./screens/ErrorScreen.mjs";import"./screens/FarcasterConnectStatusScreen.mjs";import"./components/CopyToClipboard.mjs";import"./svg/checkmark.mjs";import"./svg/copy.mjs";import"./components/OpenLink.mjs";import"./components/QrCode.mjs";import"qrcode";import"./svg/black-rounded-square.mjs";import"./svg/farcaster.mjs";import"./screens/FarcasterSignerStatusScreen.mjs";import"./screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"./components/embedded-wallets/FundWalletMethodHeader.mjs";import"./components/primitives/NeutralSpinner/index.mjs";import"./hooks/useGetTokenPrice.mjs";import"./hooks/useGetSolPrice.mjs";import"./hooks/useWallets.mjs";import"./lib/funding/analytics.mjs";import"./lib/funding/reservoir.mjs";import"./lib/solana/transaction.mjs";import"./utils/buffer/readBigInt64LE.mjs";import"./lib/wallets/actions/getBalanceForChains.mjs";import"./plugins/context/PrivyPluginContext.mjs";import"./plugins/solana-funding/id.mjs";import"./screens/Funding/BridgeNetworkSelectionView.mjs";import"./components/ui/layout/Row.mjs";import"./components/ui/typography/LabelSm.mjs";import"./components/ui/wallet/NetworkBalanceCard.mjs";import"./components/ui/typography/Value.mjs";import"./components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"./components/ui/icons/Arbitum.mjs";import"./components/ui/icons/Avalanche.mjs";import"./components/ui/icons/Base.mjs";import"./components/ui/icons/Celo.mjs";import"./components/ui/icons/Linea.mjs";import"./components/ui/icons/Mainnnet.mjs";import"./components/ui/icons/Optimism.mjs";import"./components/ui/icons/Polygon.mjs";import"./components/ui/icons/Solana.mjs";import"./components/ui/icons/Zora.mjs";import"./components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"./lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"./ethers-Cz-frLvN.mjs";import"./screens/Funding/styles.mjs";import"./screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"./svg/face-id.mjs";import"./svg/fingerprint.mjs";import"./formatters--YjgN2Dw.mjs";import"./screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"./screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./hooks/useSolanaWallets.mjs";import"./screens/Funding/AwaitingExternalTransferScreen.mjs";import"./lib/erc20/actions/abis/transfer.mjs";import"./lib/erc20/formatErc20TokenAmount.mjs";import"./lib/wallets/actions/getErc20Balance.mjs";import"./screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"./screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"./screens/Funding/FundingEditAmountScreen.mjs";import"./screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"./components/ui/banners/ErrorBanner.mjs";import"./components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"./components/ui/icons/ApplePay.mjs";import"./components/ui/icons/GooglePay.mjs";import"./hook-utils/useAsyncValue.mjs";import"./icons/WalletCards.mjs";import"./lib/erc20/actions/getErc20TokenInfo.mjs";import"./lib/funding/prepareFundingMethods.mjs";import"./lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"./lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"./lib/popup/triggerPopup.mjs";import"./lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"./lib/funding/moonpay/index.mjs";import"./lib/funding/moonpay/triggerMoonpayFlow.mjs";import"./payment-request/isPaymentRequestAvailable.mjs";import"./screens/Funding/ManualTransferScreen.mjs";import"./hooks/useWalletBalance.mjs";import"./screens/Funding/MoonpayStatusScreen.mjs";import"./svg/moonpay.mjs";import"./screens/Funding/TransferFromWalletScreen.mjs";import"./screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"./screens/InAppBrowserLoginNotPossible.mjs";import"./screens/InstallPhantomScreen.mjs";import"./components/TodoList.mjs";import"./svg/check-badge.mjs";import"./screens/LandingScreen/ConnectOrCreateScreen.mjs";import"./screens/LandingScreen/CustomLandingScreenView.mjs";import"./lib/toDisplayFromAccountType.mjs";import"./screens/LandingScreen/AppLogoHeader.mjs";import"./components/AppLogo.mjs";import"./screens/LandingScreen/CrossAppButton.mjs";import"./screens/LandingScreen/EmailButton.mjs";import"./components/ConnectEmailForm.mjs";import"./components/ui/forms/EmailInputForm.mjs";import"./screens/LandingScreen/FarcasterButton.mjs";import"./screens/LandingScreen/PasskeyLink.mjs";import"./screens/LandingScreen/SmsButton.mjs";import"./components/ConnectPhoneForm.mjs";import"./PhoneCountryDropdown-BXDwBRL5.mjs";import"./screens/LandingScreen/SocialButton.mjs";import"./svg/apple.mjs";import"./svg/discord.mjs";import"./svg/github.mjs";import"./svg/google.mjs";import"./svg/instagram.mjs";import"./svg/linkedin.mjs";import"./svg/spotify.mjs";import"./svg/tiktok.mjs";import"./svg/twitter.mjs";import"./screens/LandingScreen/TelegramButton.mjs";import"./svg/telegram.mjs";import"./screens/LandingScreen/Web2OverflowButton.mjs";import"./screens/LandingScreen/LandingScreenView.mjs";import"./svg/email-or-phone.mjs";import"./screens/LandingScreen/LandingScreen.mjs";import"./screens/LinkEmailScreen.mjs";import"./screens/LinkPhoneScreen.mjs";import"./screens/LinkWalletScreen.mjs";import"./screens/LoginFailedScreen.mjs";import"./svg/error-circle.mjs";import"./screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"./hooks/useMfa.mjs";import"./hooks/useMfaEnrollment.mjs";import"./svg/mfa-shield.mjs";import"./screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"./screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"./screens/MfaScreens/EnrollSms.mjs";import"./components/PinInput.mjs";import"./screens/MfaScreens/EnrollTotp.mjs";import"./svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"./screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"./components/embedded-wallets/TransactionDetailsWrapper.mjs";import"./index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"./components/embedded-wallets/TransactionDetails.mjs";import"./components/embedded-wallets/DisplayInfoItem.mjs";import"./components/embedded-wallets/PriceDisplay.mjs";import"./components/embedded-wallets/TransactionTotal.mjs";import"./components/primitives/Accordion/index.mjs";import"./components/primitives/Accordion/AccordionContext.mjs";import"./components/embedded-wallets/WalletLink.mjs";import"./screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"./screens/OAuthStatusScreen.mjs";import"./auth-flows/oauth/getDisplayForProvider.mjs";import"./svg/globe.mjs";import"./auth-flows/oauth/getOAuthErrorMessage.mjs";import"./auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"./screens/PasskeyStatusScreen.mjs";import"./screens/PhantomInterstitialScreen.mjs";import"./connectors/phantom-redirect.mjs";import"./screens/Recovery/PasswordRecoveryScreen.mjs";import"./screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"./svg/apple-icloud.mjs";import"./svg/google-drive.mjs";import"./screens/Recovery/styles.mjs";import"./screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"./screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"./screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"./components/ui/icons/WithCircleBorder.mjs";import"./screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"./embedded-wallets/solana/transaction.mjs";import"./screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"./screens/SendTransactionScreen/TransactionDetail.mjs";import"./screens/SendTransactionScreen/useTransactionDetails.mjs";import"./screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"./screens/SendTransactionScreen/EthersTransactionError.mjs";import"./screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"./components/embedded-wallets/SolanaTransactionDetails.mjs";import"./screens/SendTransactionScreen/SendTransactionScreen.mjs";import"./embedded-wallets/rpc/index.mjs";import"./screens/SendTransactionScreen/TransactionReceiptView.mjs";import"./screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"./lib/deployAccount/actions/abis/deployAccount.mjs";import"./lib/erc20/actions/abis/approve.mjs";import"./lib/erc721/actions/abis/mint.mjs";import"./lib/erc721/actions/abis/safeTransferFrom.mjs";import"./lib/erc721/actions/abis/setApprovalForAll.mjs";import"./lib/erc721/actions/abis/transferFrom.mjs";import"./lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"./lib/erc1155/actions/abis/safeTransferFrom.mjs";import"./screens/SendTransactionScreen/usePrepareTransaction.mjs";import"./screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"./components/embedded-wallets/StyledLogo.mjs";import"./screens/TelegramAuthScreen.mjs";import"./screens/UpdateEmailScreen.mjs";import"./components/UpdateEmailForm.mjs";import"./screens/UpdatePhoneScreen.mjs";import"./screens/UserLimitReachedScreen.mjs";import"./svg/alert-circle.mjs";import"./styles.mjs";import"./cssNormalize.mjs";import"./components/Dialog.mjs";import"./components/TelegramLoginButton.mjs";import"./connectors/solana/index.mjs";import"./types.mjs";import"./embedded-wallets/EmbeddedWalletIframe.mjs";import"./embedded-wallets/eventCallbacksQueue.mjs";import"./embedded-wallets/invokeWithMfa.mjs";import"./embedded-wallets/delegated-actions.mjs";import"./lib/caip2.mjs";import"./lib/cross-app/index.mjs";import"./lib/cross-app/authFlow.mjs";import"./auth-flows/cross-app.mjs";import"./lib/cross-app/popupCrossAppAuthFlow.mjs";import"./lib/cross-app/sendCrossAppRequest.mjs";import"./lib/funding/index.mjs";import"./lib/funding/prepareFundingModalData.mjs";import"./lib/funding/filterSupportedOptions.mjs";import"./lib/funding/usdc.mjs";import"./lib/funding/isFundingEnabled.mjs";import"./lib/popupOAuthFlow.mjs";import"./passkeys/transformResponseToSnakeCase.mjs";import"./auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"./auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"./auth-flows/oauth/OAuthFlow.mjs";import"./connectors/providerTypes.mjs";import"./connectors/injected.mjs";import"./connectors/metamask.mjs";import"./connectors/phantom.mjs";import"./connectors/ethereum/EthereumNullConnector.mjs";import"./connectors/phantom-solana.mjs";import"./connectors/solana/SolanaNullConnector.mjs";import"js-cookie";import"./auth-flows/authFlowToAuthenticateMethod.mjs";import"./cookies.mjs";
@@ -1 +1 @@
1
- import"eventemitter3";import"../embedded-wallets/rpc/types.mjs";export{E as Embedded1193Provider}from"../privy-provider-BxaM5Jz7.mjs";import"../utils/index.mjs";import"./getRpcTimeout.mjs";import"./providerTypes.mjs";import"react/jsx-runtime";import"@ethersproject/address";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../errors.mjs";import"ofetch";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../storage.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";import"../constants.mjs";import"../crypto.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";import"../hooks/captcha-context.mjs";import"../hooks/index.mjs";import"uuid";import"../accessToken.mjs";import"../token.mjs";import"../client/user.mjs";import"./coinbase.mjs";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"./chains/index.mjs";import"./chains/arbitrum.mjs";import"./chains/arbitrumSepolia.mjs";import"./chains/avalanche.mjs";import"./chains/avalancheFuji.mjs";import"./chains/base.mjs";import"./chains/baseSepolia.mjs";import"./chains/berachainArtio.mjs";import"./chains/celo.mjs";import"./chains/celoAlfajores.mjs";import"./chains/filecoin.mjs";import"./chains/filecoinCalibration.mjs";import"./chains/garnetHolesky.mjs";import"./chains/holesky.mjs";import"./chains/linea.mjs";import"./chains/lineaTestnet.mjs";import"./chains/lukso.mjs";import"./chains/mainnet.mjs";import"./chains/optimism.mjs";import"./chains/optimismSepolia.mjs";import"./chains/polygon.mjs";import"./chains/polygonAmoy.mjs";import"./chains/redstone.mjs";import"./chains/sepolia.mjs";import"./chains/zora.mjs";import"./chains/zoraSepolia.mjs";import"./chains/zoraTestnet.mjs";import"./errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"./ethereum/index.mjs";import"./areWalletArraysEqual.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./base.mjs";import"./privyProxyProvider.mjs";import"./embedded.mjs";import"../svg/blobby.mjs";import"../components/Captcha.mjs";import"@marsidev/react-turnstile";import"../components/LoginModal.mjs";import"styled-components";import"../configuration/context.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"./chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/internal-context.mjs";import"../hooks/modal-context.mjs";import"../components/PrefetchedImage.mjs";import"../screens/index.mjs";import"../hooks/privy-context.mjs";import"../hooks/useElementHeight.mjs";import"../hooks/useRegisterMfaListener.mjs";import"../hooks/events-context.mjs";import"../screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"../components/Button.mjs";import"../components/Loader.mjs";import"../components/CircleBackground.mjs";import"../components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"../components/layout/StackedContainer.mjs";import"../screens/LandingScreen/styles.mjs";import"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"../components/CircleBorder.mjs";import"../components/ModalFooter.mjs";import"../svg/protected-by-privy.mjs";import"../components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"../screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../screens/MfaScreens/StyledComponents.mjs";import"../screens/AllowlistRejectionScreen.mjs";import"../svg/lock-closed.mjs";import"../screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"../components/Layouts.mjs";import"../components/ScreenHeader.mjs";import"../screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"../components/WrappedLoader.mjs";import"../screens/ConnectOnlyAuthenticatedScreen.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/EmptyWalletView.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"../components/external-wallets/InjectedWalletIcon.mjs";import"../components/ui/chips/Chip.mjs";import"../components/ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"../screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"@heroicons/react/24/outline/CloudArrowUpIcon";import"../components/ui/wallet/WalletInfoCard.mjs";import"../components/ui/layout/Column.mjs";import"../components/ui/typography/ErrorMessage.mjs";import"../components/ui/typography/LabelXs.mjs";import"../components/ui/wallet/shared.mjs";import"../screens/DelegatedActionsRevokeScreen.mjs";import"@heroicons/react/24/outline/NoSymbolIcon";import"../screens/EmbeddedWalletConnectingScreen.mjs";import"../components/primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/pkce.mjs";import"../screens/EmbeddedWalletCreatedScreen.mjs";import"../screens/EmbeddedWalletKeyExportScreen.mjs";import"../components/ui/banners/WarningBanner.mjs";import"../components/ui/typography/Subtitle.mjs";import"../components/ui/typography/Title.mjs";import"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"../components/Checkbox.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"../screens/ErrorScreen.mjs";import"../screens/FarcasterConnectStatusScreen.mjs";import"../components/CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"../components/OpenLink.mjs";import"../components/QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"../screens/FarcasterSignerStatusScreen.mjs";import"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"../components/embedded-wallets/FundWalletMethodHeader.mjs";import"../components/primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../plugins/context/PrivyPluginContext.mjs";import"../plugins/solana-funding/id.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"../components/ui/layout/Row.mjs";import"../components/ui/typography/LabelSm.mjs";import"../components/ui/wallet/NetworkBalanceCard.mjs";import"../components/ui/typography/Value.mjs";import"../components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"../components/ui/icons/Arbitum.mjs";import"../components/ui/icons/Avalanche.mjs";import"../components/ui/icons/Base.mjs";import"../components/ui/icons/Celo.mjs";import"../components/ui/icons/Linea.mjs";import"../components/ui/icons/Mainnnet.mjs";import"../components/ui/icons/Optimism.mjs";import"../components/ui/icons/Polygon.mjs";import"../components/ui/icons/Solana.mjs";import"../components/ui/icons/Zora.mjs";import"../components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../formatters--YjgN2Dw.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../screens/Funding/AwaitingExternalTransferScreen.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"../screens/Funding/FundingEditAmountScreen.mjs";import"../screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"../components/ui/banners/ErrorBanner.mjs";import"../components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"../components/ui/icons/ApplePay.mjs";import"../components/ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"../hooks/useWalletBalance.mjs";import"../screens/Funding/MoonpayStatusScreen.mjs";import"../svg/moonpay.mjs";import"../screens/Funding/TransferFromWalletScreen.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"../screens/InAppBrowserLoginNotPossible.mjs";import"../screens/InstallPhantomScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"../components/AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"../components/ConnectEmailForm.mjs";import"../components/ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/LandingScreen.mjs";import"../screens/LinkEmailScreen.mjs";import"../screens/LinkPhoneScreen.mjs";import"../screens/LinkWalletScreen.mjs";import"../screens/LoginFailedScreen.mjs";import"../svg/error-circle.mjs";import"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"../components/PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"../components/embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"../components/embedded-wallets/TransactionDetails.mjs";import"../components/embedded-wallets/DisplayInfoItem.mjs";import"../components/embedded-wallets/PriceDisplay.mjs";import"../components/embedded-wallets/TransactionTotal.mjs";import"../components/primitives/Accordion/index.mjs";import"../components/primitives/Accordion/AccordionContext.mjs";import"../components/embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../screens/OAuthStatusScreen.mjs";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../screens/PasskeyStatusScreen.mjs";import"../screens/PhantomInterstitialScreen.mjs";import"./phantom-redirect.mjs";import"../screens/Recovery/PasswordRecoveryScreen.mjs";import"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"../screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"../components/ui/icons/WithCircleBorder.mjs";import"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"../components/embedded-wallets/StyledLogo.mjs";import"../screens/TelegramAuthScreen.mjs";import"../screens/UpdateEmailScreen.mjs";import"../components/UpdateEmailForm.mjs";import"../screens/UpdatePhoneScreen.mjs";import"../screens/UserLimitReachedScreen.mjs";import"../svg/alert-circle.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.mjs";import"./solana/index.mjs";import"../types.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../auth-flows/cross-app.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/funding/index.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/popupOAuthFlow.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"./injected.mjs";import"./metamask.mjs";import"./phantom.mjs";import"./ethereum/EthereumNullConnector.mjs";import"./phantom-solana.mjs";import"./solana/SolanaNullConnector.mjs";import"../http.mjs";import"../lib/smart-wallet-helpers.mjs";import"../passkeys/transformOptionsToCamelCase.mjs";import"../session.mjs";import"js-cookie";import"../auth-flows/authFlowToAuthenticateMethod.mjs";import"../cookies.mjs";
1
+ import"eventemitter3";import"../embedded-wallets/rpc/types.mjs";export{E as Embedded1193Provider}from"../privy-provider-BtMxTsT0.mjs";import"../utils/index.mjs";import"./getRpcTimeout.mjs";import"./providerTypes.mjs";import"react/jsx-runtime";import"@ethersproject/address";import"@ethersproject/providers";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../errors.mjs";import"ofetch";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../storage.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";import"../constants.mjs";import"../crypto.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../lib/siwe.mjs";import"../auth-flows/siws.mjs";import"../lib/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";import"../hooks/captcha-context.mjs";import"../hooks/index.mjs";import"uuid";import"../accessToken.mjs";import"../token.mjs";import"../client/user.mjs";import"./coinbase.mjs";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"./chains/index.mjs";import"./chains/arbitrum.mjs";import"./chains/arbitrumSepolia.mjs";import"./chains/avalanche.mjs";import"./chains/avalancheFuji.mjs";import"./chains/base.mjs";import"./chains/baseSepolia.mjs";import"./chains/berachainArtio.mjs";import"./chains/celo.mjs";import"./chains/celoAlfajores.mjs";import"./chains/filecoin.mjs";import"./chains/filecoinCalibration.mjs";import"./chains/garnetHolesky.mjs";import"./chains/holesky.mjs";import"./chains/linea.mjs";import"./chains/lineaTestnet.mjs";import"./chains/lukso.mjs";import"./chains/mainnet.mjs";import"./chains/optimism.mjs";import"./chains/optimismSepolia.mjs";import"./chains/polygon.mjs";import"./chains/polygonAmoy.mjs";import"./chains/redstone.mjs";import"./chains/sepolia.mjs";import"./chains/zora.mjs";import"./chains/zoraSepolia.mjs";import"./chains/zoraTestnet.mjs";import"./errors.mjs";import"@ethersproject/logger";import"../errors-9ucGZPEs.mjs";import"./ethereum/index.mjs";import"./areWalletArraysEqual.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./base.mjs";import"./privyProxyProvider.mjs";import"./embedded.mjs";import"../svg/blobby.mjs";import"../components/Captcha.mjs";import"@marsidev/react-turnstile";import"../components/LoginModal.mjs";import"styled-components";import"../configuration/context.mjs";import"../config.mjs";import"../configuration/defaultClientConfig.mjs";import"../configuration/login-methods.mjs";import"../configuration/wallets.mjs";import"./chains/utils.mjs";import"../lib/solana/index.mjs";import"../theme.mjs";import"tinycolor2";import"../lib/cybr53.mjs";import"../hooks/internal-context.mjs";import"../hooks/modal-context.mjs";import"../components/PrefetchedImage.mjs";import"../screens/index.mjs";import"../hooks/privy-context.mjs";import"../hooks/useElementHeight.mjs";import"../hooks/useRegisterMfaListener.mjs";import"../hooks/events-context.mjs";import"../screens/AccountNotFoundScreen.mjs";import"@heroicons/react/24/outline/QuestionMarkCircleIcon";import"../components/Button.mjs";import"../components/Loader.mjs";import"../components/CircleBackground.mjs";import"../components/ModalHeader.mjs";import"@heroicons/react/24/outline/ArrowLeftIcon";import"@heroicons/react/24/outline/ArrowRightIcon";import"@heroicons/react/24/outline/XMarkIcon";import"../components/layout/StackedContainer.mjs";import"../screens/LandingScreen/styles.mjs";import"../screens/AccountTransferScreen/LinkConflictScreen.mjs";import"@heroicons/react/24/outline/ExclamationTriangleIcon";import"@heroicons/react/24/outline/WalletIcon";import"../components/CircleBorder.mjs";import"../components/ModalFooter.mjs";import"../svg/protected-by-privy.mjs";import"../components/ui/wallet/Address.mjs";import"@heroicons/react/24/outline/CheckIcon";import"@heroicons/react/24/outline/Square2StackIcon";import"../lib/capitalizeFirstLetter.mjs";import"../screens/AccountTransferScreen/AccountTransferButton.mjs";import"../screens/AccountTransferScreen/EmbeddedWalletInfoView.mjs";import"../screens/AccountTransferScreen/styled.mjs";import"@heroicons/react/24/outline/ExclamationCircleIcon";import"../screens/AffirmativeConsentScreen.mjs";import"@heroicons/react/24/outline/ArrowTopRightOnSquareIcon";import"@heroicons/react/24/solid/DocumentCheckIcon";import"../screens/MfaScreens/StyledComponents.mjs";import"../screens/AllowlistRejectionScreen.mjs";import"../svg/lock-closed.mjs";import"../screens/AwaitingPasswordlessCodeScreen.mjs";import"@heroicons/react/20/solid/CheckIcon";import"@heroicons/react/24/outline/EnvelopeIcon";import"@heroicons/react/24/outline/PhoneIcon";import"../components/Layouts.mjs";import"../components/ScreenHeader.mjs";import"../screens/CaptchaScreen.mjs";import"@heroicons/react/24/solid/CheckCircleIcon";import"@heroicons/react/24/solid/XCircleIcon";import"../components/WrappedLoader.mjs";import"../screens/ConnectOnlyAuthenticatedScreen.mjs";import"../screens/LandingScreen/WalletButtonList.mjs";import"../screens/LandingScreen/EmptyWalletView.mjs";import"../screens/LandingScreen/WalletButton.mjs";import"../components/external-wallets/InjectedWalletIcon.mjs";import"../components/ui/chips/Chip.mjs";import"../components/ui/animation/LoadingSkeleton.mjs";import"../lib/external-wallets/displayHelpers.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../lib/isEmbeddedWebview.mjs";import"../recent-login/context.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"viem";import"./walletconnect-v2.mjs";import"@walletconnect/ethereum-provider";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"../hooks/useLogout.mjs";import"../screens/DelegatedActionsConsentScreen.mjs";import"@heroicons/react/24/outline/CheckCircleIcon";import"@heroicons/react/24/outline/CloudArrowUpIcon";import"../components/ui/wallet/WalletInfoCard.mjs";import"../components/ui/layout/Column.mjs";import"../components/ui/typography/ErrorMessage.mjs";import"../components/ui/typography/LabelXs.mjs";import"../components/ui/wallet/shared.mjs";import"../screens/DelegatedActionsRevokeScreen.mjs";import"@heroicons/react/24/outline/NoSymbolIcon";import"../screens/EmbeddedWalletConnectingScreen.mjs";import"../components/primitives/LoadingSpinner/index.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/types.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/pkce.mjs";import"../screens/EmbeddedWalletCreatedScreen.mjs";import"../screens/EmbeddedWalletKeyExportScreen.mjs";import"../components/ui/banners/WarningBanner.mjs";import"../components/ui/typography/Subtitle.mjs";import"../components/ui/typography/Title.mjs";import"../screens/EmbeddedWalletOnAccountCreateScreen.mjs";import"../hooks/useEmbeddedWalletCreate.mjs";import"../screens/EmbeddedWalletPasswordUpdateScreen.mjs";import"../password.mjs";import"fast-password-entropy";import"secure-password-utilities";import"secure-password-utilities/wordlists";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordForm.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/shared.mjs";import"@heroicons/react/24/outline/ArrowPathIcon";import"@heroicons/react/24/outline/EyeIcon";import"@heroicons/react/24/outline/EyeSlashIcon";import"../components/embedded-wallets/SetWalletPasswordForm/ConfimWalletPasswordSaved.mjs";import"../components/Checkbox.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/CreateWalletPassword.mjs";import"@heroicons/react/24/outline/KeyIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SaveWalletPassword.mjs";import"@heroicons/react/24/outline/ArrowDownTrayIcon";import"@heroicons/react/24/outline/ClipboardDocumentCheckIcon";import"@heroicons/react/24/outline/DocumentDuplicateIcon";import"../components/embedded-wallets/SetWalletPasswordForm/SetWalletPasswordComplete.mjs";import"../components/embedded-wallets/SetWalletPasswordForm/setWalletPassword.hooks.mjs";import"../screens/EmbeddedWalletPasswordUpdateSplashScreen.mjs";import"@heroicons/react/24/outline/UserCircleIcon";import"@heroicons/react/24/solid/LockClosedIcon";import"../screens/ErrorScreen.mjs";import"../screens/FarcasterConnectStatusScreen.mjs";import"../components/CopyToClipboard.mjs";import"../svg/checkmark.mjs";import"../svg/copy.mjs";import"../components/OpenLink.mjs";import"../components/QrCode.mjs";import"qrcode";import"../svg/black-rounded-square.mjs";import"../svg/farcaster.mjs";import"../screens/FarcasterSignerStatusScreen.mjs";import"../screens/Funding/AwaitingEvmToSolBridgingScreen.mjs";import"../components/embedded-wallets/FundWalletMethodHeader.mjs";import"../components/primitives/NeutralSpinner/index.mjs";import"../hooks/useGetTokenPrice.mjs";import"../hooks/useGetSolPrice.mjs";import"../hooks/useWallets.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/solana/transaction.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/wallets/actions/getBalanceForChains.mjs";import"../plugins/context/PrivyPluginContext.mjs";import"../plugins/solana-funding/id.mjs";import"../screens/Funding/BridgeNetworkSelectionView.mjs";import"../components/ui/layout/Row.mjs";import"../components/ui/typography/LabelSm.mjs";import"../components/ui/wallet/NetworkBalanceCard.mjs";import"../components/ui/typography/Value.mjs";import"../components/ui/wallet/NetworkIcon.mjs";import"@heroicons/react/24/outline/GlobeAltIcon";import"../components/ui/icons/Arbitum.mjs";import"../components/ui/icons/Avalanche.mjs";import"../components/ui/icons/Base.mjs";import"../components/ui/icons/Celo.mjs";import"../components/ui/icons/Linea.mjs";import"../components/ui/icons/Mainnnet.mjs";import"../components/ui/icons/Optimism.mjs";import"../components/ui/icons/Polygon.mjs";import"../components/ui/icons/Solana.mjs";import"../components/ui/icons/Zora.mjs";import"../components/ui/wallet/NetworkSelectorPanel.mjs";import"@headlessui/react";import"@heroicons/react/24/outline/ChevronDownIcon";import"../lib/ethers.mjs";import"@ethersproject/bignumber";import"@ethersproject/units";import"../ethers-Cz-frLvN.mjs";import"../screens/Funding/styles.mjs";import"../screens/LinkPasskeyScreen.mjs";import"@heroicons/react/24/outline/ClockIcon";import"@heroicons/react/24/outline/TrashIcon";import"@heroicons/react/24/solid/CheckBadgeIcon";import"../svg/face-id.mjs";import"../svg/fingerprint.mjs";import"../formatters--YjgN2Dw.mjs";import"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/useSolanaWallets.mjs";import"../screens/Funding/AwaitingExternalTransferScreen.mjs";import"../lib/erc20/actions/abis/transfer.mjs";import"../lib/erc20/formatErc20TokenAmount.mjs";import"../lib/wallets/actions/getErc20Balance.mjs";import"../screens/Funding/AwaitingSolToEvmBridgingScreen.mjs";import"../screens/Funding/CoinbaseOnrampStatusScreen.mjs";import"@heroicons/react/24/solid/ArrowsRightLeftIcon";import"../screens/Funding/FundingEditAmountScreen.mjs";import"../screens/Funding/FundingMethodSelectionScreen.mjs";import"@heroicons/react/24/outline/CreditCardIcon";import"@heroicons/react/24/outline/QrCodeIcon";import"../components/ui/banners/ErrorBanner.mjs";import"../components/ui/banners/InfoBanner.mjs";import"@heroicons/react/24/outline/InformationCircleIcon";import"../components/ui/icons/ApplePay.mjs";import"../components/ui/icons/GooglePay.mjs";import"../hook-utils/useAsyncValue.mjs";import"../icons/WalletCards.mjs";import"../lib/erc20/actions/getErc20TokenInfo.mjs";import"../lib/funding/prepareFundingMethods.mjs";import"../lib/funding/coinbase/isSupportedChainIdForCoinbaseOnramp.mjs";import"../lib/funding/coinbase/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/index.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"../hooks/useWalletBalance.mjs";import"../screens/Funding/MoonpayStatusScreen.mjs";import"../svg/moonpay.mjs";import"../screens/Funding/TransferFromWalletScreen.mjs";import"../screens/LandingScreen/WalletOverflowButton.mjs";import"@heroicons/react/24/outline/ChevronRightIcon";import"../screens/InAppBrowserLoginNotPossible.mjs";import"../screens/InstallPhantomScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../screens/LandingScreen/AppLogoHeader.mjs";import"../components/AppLogo.mjs";import"../screens/LandingScreen/CrossAppButton.mjs";import"../screens/LandingScreen/EmailButton.mjs";import"../components/ConnectEmailForm.mjs";import"../components/ui/forms/EmailInputForm.mjs";import"../screens/LandingScreen/FarcasterButton.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../PhoneCountryDropdown-BXDwBRL5.mjs";import"../screens/LandingScreen/SocialButton.mjs";import"../svg/apple.mjs";import"../svg/discord.mjs";import"../svg/github.mjs";import"../svg/google.mjs";import"../svg/instagram.mjs";import"../svg/linkedin.mjs";import"../svg/spotify.mjs";import"../svg/tiktok.mjs";import"../svg/twitter.mjs";import"../screens/LandingScreen/TelegramButton.mjs";import"../svg/telegram.mjs";import"../screens/LandingScreen/Web2OverflowButton.mjs";import"../screens/LandingScreen/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/LandingScreen.mjs";import"../screens/LinkEmailScreen.mjs";import"../screens/LinkPhoneScreen.mjs";import"../screens/LinkWalletScreen.mjs";import"../screens/LoginFailedScreen.mjs";import"../svg/error-circle.mjs";import"../screens/MfaScreens/MfaEnrollmentFlowScreen.mjs";import"@heroicons/react/24/outline/ShieldCheckIcon";import"@heroicons/react/24/solid/IdentificationIcon";import"../hooks/useMfa.mjs";import"../hooks/useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";import"@heroicons/react/24/outline/FingerPrintIcon";import"@heroicons/react/24/outline/MinusCircleIcon";import"../screens/MfaScreens/EnrollPasskey.mjs";import"@heroicons/react/24/outline/ArrowRightEndOnRectangleIcon";import"../screens/MfaScreens/EnrollSms.mjs";import"../components/PinInput.mjs";import"../screens/MfaScreens/EnrollTotp.mjs";import"../svg/qr-codes.mjs";import"@heroicons/react/24/solid/ShieldCheckIcon";import"../screens/MfaScreens/MfaVerifyFlowScreen.mjs";import"../components/embedded-wallets/TransactionDetailsWrapper.mjs";import"../index-B3QfI7v9.mjs";import"@ethersproject/abstract-signer";import"@ethersproject/contracts";import"@ethersproject/transactions";import"fetch-retry";import"../components/embedded-wallets/TransactionDetails.mjs";import"../components/embedded-wallets/DisplayInfoItem.mjs";import"../components/embedded-wallets/PriceDisplay.mjs";import"../components/embedded-wallets/TransactionTotal.mjs";import"../components/primitives/Accordion/index.mjs";import"../components/primitives/Accordion/AccordionContext.mjs";import"../components/embedded-wallets/WalletLink.mjs";import"../screens/MfaScreens/VerifyWithPasskey.mjs";import"@heroicons/react/24/outline/CalendarIcon";import"../screens/OAuthStatusScreen.mjs";import"../auth-flows/oauth/getDisplayForProvider.mjs";import"../svg/globe.mjs";import"../auth-flows/oauth/getOAuthErrorMessage.mjs";import"../auth-flows/oauth/stripUrlOAuthParamsAndRemoveStateCode.mjs";import"../screens/PasskeyStatusScreen.mjs";import"../screens/PhantomInterstitialScreen.mjs";import"./phantom-redirect.mjs";import"../screens/Recovery/PasswordRecoveryScreen.mjs";import"../screens/Recovery/RecoveryOAuthStatusScreen.mjs";import"../svg/apple-icloud.mjs";import"../svg/google-drive.mjs";import"../screens/Recovery/styles.mjs";import"../screens/Recovery/RecoveryPasswordCreateScreen.mjs";import"../screens/Recovery/RecoverySelectionScreen.mjs";import"@heroicons/react/24/outline/LockClosedIcon";import"@heroicons/react/24/outline/PencilSquareIcon";import"../screens/Recovery/SetAutomaticRecoveryScreen.mjs";import"../components/ui/icons/WithCircleBorder.mjs";import"../screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendTransactionScreen/EthersTransactionError.mjs";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../embedded-wallets/rpc/index.mjs";import"../screens/SendTransactionScreen/TransactionReceiptView.mjs";import"../screens/SendTransactionScreen/getStaticTransactionMetadata.mjs";import"../lib/deployAccount/actions/abis/deployAccount.mjs";import"../lib/erc20/actions/abis/approve.mjs";import"../lib/erc721/actions/abis/mint.mjs";import"../lib/erc721/actions/abis/safeTransferFrom.mjs";import"../lib/erc721/actions/abis/setApprovalForAll.mjs";import"../lib/erc721/actions/abis/transferFrom.mjs";import"../lib/erc1155/actions/abis/safeBatchTransferFrom.mjs";import"../lib/erc1155/actions/abis/safeTransferFrom.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";import"@ethersproject/bytes";import"@ethersproject/strings";import"../components/embedded-wallets/StyledLogo.mjs";import"../screens/TelegramAuthScreen.mjs";import"../screens/UpdateEmailScreen.mjs";import"../components/UpdateEmailForm.mjs";import"../screens/UpdatePhoneScreen.mjs";import"../screens/UserLimitReachedScreen.mjs";import"../svg/alert-circle.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.mjs";import"./solana/index.mjs";import"../types.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../auth-flows/cross-app.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/funding/index.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/popupOAuthFlow.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"./injected.mjs";import"./metamask.mjs";import"./phantom.mjs";import"./ethereum/EthereumNullConnector.mjs";import"./phantom-solana.mjs";import"./solana/SolanaNullConnector.mjs";import"../http.mjs";import"../lib/smart-wallet-helpers.mjs";import"../passkeys/transformOptionsToCamelCase.mjs";import"../session.mjs";import"js-cookie";import"../auth-flows/authFlowToAuthenticateMethod.mjs";import"../cookies.mjs";