@privy-io/react-auth 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/dist/cjs/client/user.js +1 -1
  2. package/dist/cjs/client.js +1 -1
  3. package/dist/cjs/components/LoginModal.js +1 -1
  4. package/dist/cjs/components/embedded-wallets/PriceDisplay.js +1 -1
  5. package/dist/cjs/components/embedded-wallets/SolanaTransactionDetails.js +1 -1
  6. package/dist/cjs/components/embedded-wallets/TransactionDetails.js +2 -2
  7. package/dist/cjs/components/embedded-wallets/TransactionDetailsWrapper.js +1 -1
  8. package/dist/cjs/components/embedded-wallets/TransactionTotal.js +1 -1
  9. package/dist/cjs/components/embedded-wallets/index.js +1 -1
  10. package/dist/cjs/config.js +1 -1
  11. package/dist/cjs/connectors/embeddedProvider.js +1 -1
  12. package/dist/cjs/connectors/index.js +1 -1
  13. package/dist/cjs/constants.js +1 -1
  14. package/dist/cjs/embedded-wallets/solana/provider.js +1 -1
  15. package/dist/cjs/embedded-wallets/solana/transaction.js +1 -1
  16. package/dist/cjs/hooks/privy-provider.js +1 -1
  17. package/dist/cjs/index.js +1 -1
  18. package/dist/cjs/lib/attempt.js +1 -0
  19. package/dist/cjs/lib/smart-wallets-shared.js +1 -1
  20. package/dist/cjs/lib/smart-wallets.js +1 -1
  21. package/dist/cjs/lib/solana/transaction.js +1 -1
  22. package/dist/cjs/lib/user/shouldCreateEmbeddedEthWallet.js +1 -0
  23. package/dist/cjs/lib/user/shouldCreateEmbeddedSolWallet.js +1 -0
  24. package/dist/cjs/lib/user/shouldProceedtoEmbeddedWalletCreationFlow.js +1 -0
  25. package/dist/cjs/lib/viem/toViemTransactionSerializable.js +1 -1
  26. package/dist/cjs/privy-components/wallets-pill/ConnectWalletView.js +1 -1
  27. package/dist/cjs/privy-components/wallets-pill/WalletsDialog.js +1 -1
  28. package/dist/cjs/privy-provider-CEfM_gA2.js +3 -0
  29. package/dist/cjs/screens/AffirmativeConsentScreen.js +1 -1
  30. package/dist/cjs/screens/AwaitingPasswordlessCodeScreen.js +2 -2
  31. package/dist/cjs/screens/ConnectOnlyStatusScreen.js +1 -1
  32. package/dist/cjs/screens/ConnectionStatusScreen.js +2 -2
  33. package/dist/cjs/screens/CrossAppAuthScreen.js +1 -1
  34. package/dist/cjs/screens/EmbeddedWalletCreatedScreen.js +1 -1
  35. package/dist/cjs/screens/EmbeddedWalletOnAccountCreateScreen.js +1 -1
  36. package/dist/cjs/screens/FarcasterConnectStatusScreen.js +2 -2
  37. package/dist/cjs/screens/Funding/AwaitingEvmToSolBridgingScreen.js +1 -1
  38. package/dist/cjs/screens/Funding/AwaitingExternalSolanaTransferScreen.js +1 -1
  39. package/dist/cjs/screens/Funding/ManualTransferScreen.js +1 -1
  40. package/dist/cjs/screens/MfaScreens/MfaVerifyFlowScreen.js +1 -1
  41. package/dist/cjs/screens/MfaScreens/VerifyWithPasskey.js +1 -1
  42. package/dist/cjs/screens/OAuthStatusScreen.js +1 -1
  43. package/dist/cjs/screens/PasskeyStatusScreen.js +1 -1
  44. package/dist/cjs/screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.js +1 -1
  45. package/dist/cjs/screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.js +1 -1
  46. package/dist/cjs/screens/SendTransactionScreen/SendTransactionScreen.js +1 -1
  47. package/dist/cjs/screens/SendTransactionScreen/TransactionReceiptView.js +1 -1
  48. package/dist/cjs/screens/SendTransactionScreen/index.js +1 -1
  49. package/dist/cjs/screens/TelegramAuthScreen.js +1 -1
  50. package/dist/cjs/ui.js +1 -1
  51. package/dist/dts/farcaster.d.mts +1 -1
  52. package/dist/dts/farcaster.d.ts +1 -1
  53. package/dist/dts/index.d.mts +4 -4
  54. package/dist/dts/index.d.ts +4 -4
  55. package/dist/dts/smart-wallets.d.mts +4 -4
  56. package/dist/dts/smart-wallets.d.ts +4 -4
  57. package/dist/dts/solana.d.mts +4 -4
  58. package/dist/dts/solana.d.ts +4 -4
  59. package/dist/dts/{types-Do6eK2EI.d.mts → types-Cj9jWnPs.d.mts} +41 -1
  60. package/dist/dts/{types-Do6eK2EI.d.ts → types-Cj9jWnPs.d.ts} +41 -1
  61. package/dist/dts/ui.d.mts +1 -1
  62. package/dist/dts/ui.d.ts +1 -1
  63. package/dist/dts/{useSolanaWallets-CtSHyXUi.d.ts → useSolanaWallets-CFdCg_zF.d.mts} +1 -1
  64. package/dist/dts/{useSolanaWallets-CtSHyXUi.d.mts → useSolanaWallets-CFdCg_zF.d.ts} +1 -1
  65. package/dist/esm/client/user.mjs +1 -1
  66. package/dist/esm/client.mjs +1 -1
  67. package/dist/esm/components/LoginModal.mjs +1 -1
  68. package/dist/esm/components/embedded-wallets/PriceDisplay.mjs +1 -1
  69. package/dist/esm/components/embedded-wallets/SolanaTransactionDetails.mjs +1 -1
  70. package/dist/esm/components/embedded-wallets/TransactionDetails.mjs +2 -2
  71. package/dist/esm/components/embedded-wallets/TransactionDetailsWrapper.mjs +1 -1
  72. package/dist/esm/components/embedded-wallets/TransactionTotal.mjs +1 -1
  73. package/dist/esm/components/embedded-wallets/index.mjs +1 -1
  74. package/dist/esm/config.mjs +1 -1
  75. package/dist/esm/connectors/embeddedProvider.mjs +1 -1
  76. package/dist/esm/connectors/index.mjs +1 -1
  77. package/dist/esm/constants.mjs +1 -1
  78. package/dist/esm/embedded-wallets/solana/provider.mjs +1 -1
  79. package/dist/esm/embedded-wallets/solana/transaction.mjs +1 -1
  80. package/dist/esm/hooks/privy-provider.mjs +1 -1
  81. package/dist/esm/index.mjs +1 -1
  82. package/dist/esm/lib/attempt.mjs +1 -0
  83. package/dist/esm/lib/smart-wallets-shared.mjs +1 -1
  84. package/dist/esm/lib/smart-wallets.mjs +1 -1
  85. package/dist/esm/lib/solana/transaction.mjs +1 -1
  86. package/dist/esm/lib/user/shouldCreateEmbeddedEthWallet.mjs +1 -0
  87. package/dist/esm/lib/user/shouldCreateEmbeddedSolWallet.mjs +1 -0
  88. package/dist/esm/lib/user/shouldProceedtoEmbeddedWalletCreationFlow.mjs +1 -0
  89. package/dist/esm/lib/viem/toViemTransactionSerializable.mjs +1 -1
  90. package/dist/esm/privy-components/wallets-pill/ConnectWalletView.mjs +1 -1
  91. package/dist/esm/privy-components/wallets-pill/WalletsDialog.mjs +1 -1
  92. package/dist/esm/privy-provider-Dsr4yi3k.mjs +3 -0
  93. package/dist/esm/screens/AffirmativeConsentScreen.mjs +1 -1
  94. package/dist/esm/screens/AwaitingPasswordlessCodeScreen.mjs +2 -2
  95. package/dist/esm/screens/ConnectOnlyStatusScreen.mjs +1 -1
  96. package/dist/esm/screens/ConnectionStatusScreen.mjs +2 -2
  97. package/dist/esm/screens/CrossAppAuthScreen.mjs +1 -1
  98. package/dist/esm/screens/EmbeddedWalletCreatedScreen.mjs +1 -1
  99. package/dist/esm/screens/EmbeddedWalletOnAccountCreateScreen.mjs +1 -1
  100. package/dist/esm/screens/FarcasterConnectStatusScreen.mjs +2 -2
  101. package/dist/esm/screens/Funding/AwaitingEvmToSolBridgingScreen.mjs +1 -1
  102. package/dist/esm/screens/Funding/AwaitingExternalSolanaTransferScreen.mjs +1 -1
  103. package/dist/esm/screens/Funding/ManualTransferScreen.mjs +1 -1
  104. package/dist/esm/screens/MfaScreens/MfaVerifyFlowScreen.mjs +1 -1
  105. package/dist/esm/screens/MfaScreens/VerifyWithPasskey.mjs +1 -1
  106. package/dist/esm/screens/OAuthStatusScreen.mjs +1 -1
  107. package/dist/esm/screens/PasskeyStatusScreen.mjs +1 -1
  108. package/dist/esm/screens/SendSolanaTransactionScreen/SendSolanaTransactionScreen.mjs +1 -1
  109. package/dist/esm/screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs +1 -1
  110. package/dist/esm/screens/SendTransactionScreen/SendTransactionScreen.mjs +1 -1
  111. package/dist/esm/screens/SendTransactionScreen/TransactionReceiptView.mjs +1 -1
  112. package/dist/esm/screens/SendTransactionScreen/index.mjs +1 -1
  113. package/dist/esm/screens/TelegramAuthScreen.mjs +1 -1
  114. package/dist/esm/ui.mjs +1 -1
  115. package/package.json +3 -3
  116. package/dist/cjs/privy-provider-Cq1Y-Omj.js +0 -3
  117. package/dist/esm/privy-provider-C-cTZKVr.mjs +0 -3
@@ -1 +1 @@
1
- import"eventemitter3";import"viem/utils";import"../client/user.mjs";import"../constants.mjs";import"../storage.mjs";import"../utils/index.mjs";import"./coinbase.mjs";import"./embedded.mjs";export{C as ConnectorManager}from"../privy-provider-C-cTZKVr.mjs";import"./ethereum/index.mjs";import"./ethereum/EthereumNullConnector.mjs";import"./injected.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./metamask.mjs";import"./mobile-wallets.mjs";import"./privyProxyProvider.mjs";import"./solana/index.mjs";import"./solana/SolanaNullConnector.mjs";import"./stored-connection.mjs";import"./walletconnect-v2.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../errors.mjs";import"ofetch";import"../utils/eth/getPublicClient.mjs";import"viem";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"react/jsx-runtime";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"@privy-io/js-sdk-core";import"./areWalletArraysEqual.mjs";import"./base.mjs";import"./getRpcTimeout.mjs";import"../svg/blobby.mjs";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";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"../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"./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"../svg/circle-alert.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/backpack.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/okx-wallet.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/solflare.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"../types.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"@walletconnect/ethereum-provider";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"../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"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/solana/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/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../lib/funding/moonpay/index.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/InstallWalletScreen.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/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../components/PhoneCountryDropdown.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/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/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"../lib/viem/prepareTransactionRequest.mjs";import"../lib/viem/toViemTransactionSerializable.mjs";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/PasskeySelectSignupOrLogin.mjs";import"../screens/PasskeyStatusScreen.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"../components/primitives/InteractiveLabel.mjs";import"../screens/SendTransactionScreen/TokenDescription.mjs";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/TransactionValidation.mjs";import"../components/Pill.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";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/ScanDetails.mjs";import"../components/primitives/JsonTree.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/lib.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";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"../screens/WalletInterstitialScreen.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.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"./providerTypes.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";import"../hooks/useIdentityToken.mjs";import"zustand";
1
+ import"eventemitter3";import"viem/utils";import"../client/user.mjs";import"../constants.mjs";import"../storage.mjs";import"../utils/index.mjs";import"./coinbase.mjs";import"./embedded.mjs";export{C as ConnectorManager}from"../privy-provider-Dsr4yi3k.mjs";import"./ethereum/index.mjs";import"./ethereum/EthereumNullConnector.mjs";import"./injected.mjs";import"./isBaseConnectedEthereumWallet.mjs";import"./metamask.mjs";import"./mobile-wallets.mjs";import"./privyProxyProvider.mjs";import"./solana/index.mjs";import"./solana/SolanaNullConnector.mjs";import"./stored-connection.mjs";import"./walletconnect-v2.mjs";import"./get-legacy-injected-providers.mjs";import"./is-wallet-installed.mjs";import"../errors.mjs";import"ofetch";import"../utils/eth/getPublicClient.mjs";import"viem";import"@coinbase/wallet-sdk";import"../svg/coinbase-wallet.mjs";import"react/jsx-runtime";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"@privy-io/js-sdk-core";import"./areWalletArraysEqual.mjs";import"./base.mjs";import"./getRpcTimeout.mjs";import"../svg/blobby.mjs";import"mipd";import"react";import"react-device-detect";import"../auth-flows/custom-jwt-account.mjs";import"../paths.mjs";import"../auth-flows/email.mjs";import"../auth-flows/getUiHeader.mjs";import"../auth-flows/farcaster.mjs";import"./walletconnect-registry.mjs";import"../effect.mjs";import"../auth-flows/guest.mjs";import"jose";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"../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"./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"../svg/circle-alert.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"../lib/user/shouldProceedtoEmbeddedWalletCreationFlow.mjs";import"../lib/user/shouldCreateEmbeddedEthWallet.mjs";import"../lib/user/shouldCreateEmbeddedSolWallet.mjs";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/backpack.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/metamask.mjs";import"../svg/okx-wallet.mjs";import"../svg/phantom.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/solflare.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"../types.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../screens/ConnectionStatusScreen.mjs";import"./userAlreadyHasConnectedCoinbaseWallet.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"@walletconnect/ethereum-provider";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/attempt.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"../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"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../hooks/solana/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/triggerCoinbaseFlow.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../lib/funding/moonpay/index.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/InstallWalletScreen.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/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../components/PhoneCountryDropdown.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/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/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"../lib/viem/prepareTransactionRequest.mjs";import"../lib/viem/toViemTransactionSerializable.mjs";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/PasskeySelectSignupOrLogin.mjs";import"../screens/PasskeyStatusScreen.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"../components/primitives/InteractiveLabel.mjs";import"../screens/SendTransactionScreen/TokenDescription.mjs";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/TransactionValidation.mjs";import"../components/Pill.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";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/ScanDetails.mjs";import"../components/primitives/JsonTree.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/lib.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";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"../screens/WalletInterstitialScreen.mjs";import"../styles.mjs";import"../cssNormalize.mjs";import"../components/Dialog.mjs";import"../components/TelegramLoginButton.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"./providerTypes.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";import"../hooks/useIdentityToken.mjs";import"zustand";
@@ -1 +1 @@
1
- const e="34357d3c125c2bcf2ce2bc3309d98715",i="https://auth.privy.io",r=2e4,t=1400,p=2500,o=4e3,v="2.1.0",s="ES256",n="privy.io",y="privy:token",c="privy-token",a="privy:refresh_token",_="privy-refresh-token",d="privy:pat",l="privy:id_token",h="privy-id-token",k="privy-session",f="privy:session_transfer_token",u="privy:wallet",b="privy:caid",m=e=>`privy:guest:${e}`,w=e=>`privy:cross-app:${e}`,j="privy:state_code",x="privy:code_verifier",F="privy:headless_oauth",g="privy:oauth_disable_signup",L=e=>`privy:wallet:${e}`,S="privy:connectors",$="privy:connections",q="walletconnect",H=3e4,J=12e4,X=1,z="0x1",C=3e4,E="https://api.moonpay.com/v1",I="https://api.moonpay.com/v1",M="pk_live_hirbpu0cVcLHrjktC9l7fbc9ctjv0SL",R="pk_test_fqWjXZMSFwloh7orvJsRfjiUHXJqFzI",U="0x420000000000000000000000000000000000000F",V=["function getL1Fee(bytes memory _data) external view returns (uint256)"],W="deprecated";export{X as CHAIN_ID_MAINNET,b as CLIENT_ANALYTICS_ID_KEY,x as CODE_VERIFIER_KEY,$ as CONNECTIONS_HISTORY_KEY,S as CONNECTORS_STATE_KEY,c as CUSTOMER_ACCESS_TOKEN_COOKIE_KEY,y as CUSTOMER_ACCESS_TOKEN_STORAGE_KEY,r as DEFAULT_API_TIMEOUT_MS,z as DEFAULT_NETWORK,i as DEFAULT_PRIVY_API_URL,J as DEFAULT_RPC_TIMEOUT,t as DEFAULT_SUCCESS_SCREEN_DURATION_MS,o as DEFAULT_SUCCESS_SCREEN_EXTRA_LONG_DURATION_MS,p as DEFAULT_SUCCESS_SCREEN_LONG_DURATION_MS,W as DEPRECATED_REFRESH_TOKEN,f as FORKED_TOKEN_STORAGE_KEY,F as HEADLESS_OAUTH_KEY,h as IDENTITY_TOKEN_COOKIE_KEY,l as IDENTITY_TOKEN_STORAGE_KEY,s as JWT_ALGORITHM,n as JWT_ISSUER,E as MOONPAY_API_URL,I as MOONPAY_API_URL_SANDBOX,M as MOONPAY_PUBLIC_KEY,R as MOONPAY_PUBLIC_KEY_SANDBOX,g as OAUTH_DISABLE_SIGNUP_KEY,V as OPTIMISM_STACK_GAS_PRICE_ORACLE_ABI,U as OPTIMISM_STACK_GAS_PRICE_ORACLE_ADDRESS,d as PRIVY_ACCESS_TOKEN_STORAGE_KEY,e as PRIVY_WALLETCONNECT_CLOUD_ID,u as PRIVY_WALLET_KEY_PREFIX,_ as REFRESH_TOKEN_COOKIE_KEY,a as REFRESH_TOKEN_STORAGE_KEY,k as SESSION_COOKIE_KEY,j as STATE_CODE_KEY,v as VERSION,H as WALLET_CONNECT_INFURA_POLLING_INTERVAL,q as WALLET_CONNECT_STORAGE_KEY,C as WALLET_PROXY_TIMEOUT,m as getGuestCredentialStorageKey,L as getPrivyWalletKey,w as getProviderAccessTokenStorageKey};
1
+ const e="34357d3c125c2bcf2ce2bc3309d98715",i="https://auth.privy.io",r=2e4,t=1400,p=2500,o=4e3,v="2.2.0",s="ES256",n="privy.io",y="privy:token",c="privy-token",a="privy:refresh_token",_="privy-refresh-token",d="privy:pat",l="privy:id_token",h="privy-id-token",k="privy-session",f="privy:session_transfer_token",u="privy:wallet",b="privy:caid",m=e=>`privy:guest:${e}`,w=e=>`privy:cross-app:${e}`,j="privy:state_code",x="privy:code_verifier",F="privy:headless_oauth",g="privy:oauth_disable_signup",L=e=>`privy:wallet:${e}`,S="privy:connectors",$="privy:connections",q="walletconnect",H=3e4,J=12e4,X=1,z="0x1",C=3e4,E="https://api.moonpay.com/v1",I="https://api.moonpay.com/v1",M="pk_live_hirbpu0cVcLHrjktC9l7fbc9ctjv0SL",R="pk_test_fqWjXZMSFwloh7orvJsRfjiUHXJqFzI",U="0x420000000000000000000000000000000000000F",V=["function getL1Fee(bytes memory _data) external view returns (uint256)"],W="deprecated";export{X as CHAIN_ID_MAINNET,b as CLIENT_ANALYTICS_ID_KEY,x as CODE_VERIFIER_KEY,$ as CONNECTIONS_HISTORY_KEY,S as CONNECTORS_STATE_KEY,c as CUSTOMER_ACCESS_TOKEN_COOKIE_KEY,y as CUSTOMER_ACCESS_TOKEN_STORAGE_KEY,r as DEFAULT_API_TIMEOUT_MS,z as DEFAULT_NETWORK,i as DEFAULT_PRIVY_API_URL,J as DEFAULT_RPC_TIMEOUT,t as DEFAULT_SUCCESS_SCREEN_DURATION_MS,o as DEFAULT_SUCCESS_SCREEN_EXTRA_LONG_DURATION_MS,p as DEFAULT_SUCCESS_SCREEN_LONG_DURATION_MS,W as DEPRECATED_REFRESH_TOKEN,f as FORKED_TOKEN_STORAGE_KEY,F as HEADLESS_OAUTH_KEY,h as IDENTITY_TOKEN_COOKIE_KEY,l as IDENTITY_TOKEN_STORAGE_KEY,s as JWT_ALGORITHM,n as JWT_ISSUER,E as MOONPAY_API_URL,I as MOONPAY_API_URL_SANDBOX,M as MOONPAY_PUBLIC_KEY,R as MOONPAY_PUBLIC_KEY_SANDBOX,g as OAUTH_DISABLE_SIGNUP_KEY,V as OPTIMISM_STACK_GAS_PRICE_ORACLE_ABI,U as OPTIMISM_STACK_GAS_PRICE_ORACLE_ADDRESS,d as PRIVY_ACCESS_TOKEN_STORAGE_KEY,e as PRIVY_WALLETCONNECT_CLOUD_ID,u as PRIVY_WALLET_KEY_PREFIX,_ as REFRESH_TOKEN_COOKIE_KEY,a as REFRESH_TOKEN_STORAGE_KEY,k as SESSION_COOKIE_KEY,j as STATE_CODE_KEY,v as VERSION,H as WALLET_CONNECT_INFURA_POLLING_INTERVAL,q as WALLET_CONNECT_STORAGE_KEY,C as WALLET_PROXY_TIMEOUT,m as getGuestCredentialStorageKey,L as getPrivyWalletKey,w as getProviderAccessTokenStorageKey};
@@ -1 +1 @@
1
- import"../../errors.mjs";export{b as EmbeddedSolanaProvider}from"../../privy-provider-C-cTZKVr.mjs";import"ofetch";import"react/jsx-runtime";import"mipd";import"react";import"react-device-detect";import"viem/utils";import"../../auth-flows/custom-jwt-account.mjs";import"../../paths.mjs";import"../../auth-flows/email.mjs";import"../../auth-flows/getUiHeader.mjs";import"../../auth-flows/farcaster.mjs";import"../../connectors/walletconnect-registry.mjs";import"../../storage.mjs";import"../../utils/index.mjs";import"../../connectors/get-legacy-injected-providers.mjs";import"../../connectors/is-wallet-installed.mjs";import"../../utils/eth/getPublicClient.mjs";import"viem";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"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"@privy-io/js-sdk-core";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"../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"../../svg/circle-alert.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"../../connectors/mobile-wallets.mjs";import"../../svg/backpack.mjs";import"../../svg/okx-wallet.mjs";import"../../svg/phantom.mjs";import"../../svg/solflare.mjs";import"../../types.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/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"../../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"../errors.mjs";import"../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"../../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"../../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../../hooks/solana/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/triggerCoinbaseFlow.mjs";import"../../lib/popup/triggerPopup.mjs";import"../../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../../lib/funding/moonpay/index.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/InstallWalletScreen.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/LandingScreenView.mjs";import"../../svg/email-or-phone.mjs";import"../../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../../screens/LandingScreen/SmsButton.mjs";import"../../components/ConnectPhoneForm.mjs";import"../../components/PhoneCountryDropdown.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/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/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"../../lib/viem/prepareTransactionRequest.mjs";import"../../lib/viem/toViemTransactionSerializable.mjs";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/PasskeySelectSignupOrLogin.mjs";import"../../screens/PasskeyStatusScreen.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"./transaction.mjs";import"../../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../../components/primitives/InteractiveLabel.mjs";import"../../screens/SendTransactionScreen/TokenDescription.mjs";import"../../screens/SendTransactionScreen/TransactionDetail.mjs";import"../../screens/SendTransactionScreen/TransactionValidation.mjs";import"../../components/Pill.mjs";import"../../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../rpc/index.mjs";import"../../screens/SendTransactionScreen/ScanDetails.mjs";import"../../components/primitives/JsonTree.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/lib.mjs";import"../../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../../screens/SignRequestScreen.mjs";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"../../screens/WalletInterstitialScreen.mjs";import"../../styles.mjs";import"../../cssNormalize.mjs";import"../../components/Dialog.mjs";import"../../components/TelegramLoginButton.mjs";import"../../connectors/solana/index.mjs";import"../../connectors/stored-connection.mjs";import"../EmbeddedWalletIframe.mjs";import"../eventCallbacksQueue.mjs";import"../invokeWithMfa.mjs";import"../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/ethereum/EthereumNullConnector.mjs";import"../../connectors/injected.mjs";import"../../connectors/metamask.mjs";import"../../connectors/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";import"../../hooks/useIdentityToken.mjs";import"zustand";
1
+ import"../../errors.mjs";export{b as EmbeddedSolanaProvider}from"../../privy-provider-Dsr4yi3k.mjs";import"ofetch";import"react/jsx-runtime";import"mipd";import"react";import"react-device-detect";import"viem/utils";import"../../auth-flows/custom-jwt-account.mjs";import"../../paths.mjs";import"../../auth-flows/email.mjs";import"../../auth-flows/getUiHeader.mjs";import"../../auth-flows/farcaster.mjs";import"../../connectors/walletconnect-registry.mjs";import"../../storage.mjs";import"../../utils/index.mjs";import"../../connectors/get-legacy-injected-providers.mjs";import"../../connectors/is-wallet-installed.mjs";import"../../utils/eth/getPublicClient.mjs";import"viem";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"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"@privy-io/js-sdk-core";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"../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"../../svg/circle-alert.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"../../lib/user/shouldProceedtoEmbeddedWalletCreationFlow.mjs";import"../../lib/user/shouldCreateEmbeddedEthWallet.mjs";import"../../lib/user/shouldCreateEmbeddedSolWallet.mjs";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"../../connectors/mobile-wallets.mjs";import"../../svg/backpack.mjs";import"../../svg/okx-wallet.mjs";import"../../svg/phantom.mjs";import"../../svg/solflare.mjs";import"../../types.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/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"../../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"../errors.mjs";import"../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/attempt.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"../../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"../../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"../../hooks/solana/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/triggerCoinbaseFlow.mjs";import"../../lib/popup/triggerPopup.mjs";import"../../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../../lib/funding/moonpay/index.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/InstallWalletScreen.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/LandingScreenView.mjs";import"../../svg/email-or-phone.mjs";import"../../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../../screens/LandingScreen/SmsButton.mjs";import"../../components/ConnectPhoneForm.mjs";import"../../components/PhoneCountryDropdown.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/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/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"../../lib/viem/prepareTransactionRequest.mjs";import"../../lib/viem/toViemTransactionSerializable.mjs";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/PasskeySelectSignupOrLogin.mjs";import"../../screens/PasskeyStatusScreen.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"./transaction.mjs";import"../../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../../components/primitives/InteractiveLabel.mjs";import"../../screens/SendTransactionScreen/TokenDescription.mjs";import"../../screens/SendTransactionScreen/TransactionDetail.mjs";import"../../screens/SendTransactionScreen/TransactionValidation.mjs";import"../../components/Pill.mjs";import"../../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../rpc/index.mjs";import"../../screens/SendTransactionScreen/ScanDetails.mjs";import"../../components/primitives/JsonTree.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/lib.mjs";import"../../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../../screens/SignRequestScreen.mjs";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"../../screens/WalletInterstitialScreen.mjs";import"../../styles.mjs";import"../../cssNormalize.mjs";import"../../components/Dialog.mjs";import"../../components/TelegramLoginButton.mjs";import"../../connectors/solana/index.mjs";import"../../connectors/stored-connection.mjs";import"../EmbeddedWalletIframe.mjs";import"../eventCallbacksQueue.mjs";import"../invokeWithMfa.mjs";import"../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/ethereum/EthereumNullConnector.mjs";import"../../connectors/injected.mjs";import"../../connectors/metamask.mjs";import"../../connectors/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";import"../../hooks/useIdentityToken.mjs";import"zustand";
@@ -1 +1 @@
1
- import{getWalletPublicKeyFromTransaction as e,isVersionedTransaction as a}from"../../lib/solana/transaction.mjs";import"../../lib/solana/index.mjs";import"../../utils/buffer/readBigInt64LE.mjs";async function t({tx:t,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l}){let c=e(t,o),d=a(t)?Buffer.from(t.message.serialize()):t.serializeMessage(),{response:p}=await n.rpc({accessToken:r,entropyId:s,entropyIdVerifier:i,chainType:"solana",hdWalletIndex:l,request:{method:"signMessage",params:{message:d.toString("base64")}}}),f=p.data.signature;t.addSignature(c,Buffer.from(f,"base64"))}async function r({tx:e,connection:a,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l,transactionOptions:c}){let d;try{await t({tx:e,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l});let p=e.serialize();d=await a.sendRawTransaction(p,c);let f=await a.confirmTransaction(d);if(f.value.err||f.value.err){let e=f.value.err||f.value.err;if("string"==typeof e)throw Error(e);throw e}return{signature:d,receipt:await a.getParsedTransaction(d,{maxSupportedTransactionVersion:0})}}catch(e){throw e.txSignature=d,e}}export{r as sendSolanaTransaction,t as signSolanaTransaction};
1
+ import{getWalletPublicKeyFromTransaction as e,isVersionedTransaction as t}from"../../lib/solana/transaction.mjs";import"../../lib/solana/index.mjs";import"../../utils/buffer/readBigInt64LE.mjs";import"../../lib/attempt.mjs";async function a({tx:a,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l}){let c=e(a,o),d=t(a)?Buffer.from(a.message.serialize()):a.serializeMessage(),{response:p}=await n.rpc({accessToken:r,entropyId:s,entropyIdVerifier:i,chainType:"solana",hdWalletIndex:l,request:{method:"signMessage",params:{message:d.toString("base64")}}}),f=p.data.signature;a.addSignature(c,Buffer.from(f,"base64"))}async function r({tx:e,connection:t,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l,transactionOptions:c}){let d;try{await a({tx:e,accessToken:r,walletProxy:n,entropyId:s,entropyIdVerifier:i,transactingWalletAddress:o,transactingWalletIndex:l});let p=e.serialize();d=await t.sendRawTransaction(p,c);let f=await t.confirmTransaction(d);if(f.value.err||f.value.err){let e=f.value.err||f.value.err;if("string"==typeof e)throw Error(e);throw e}return{signature:d,receipt:await t.getParsedTransaction(d,{maxSupportedTransactionVersion:0})}}catch(e){throw e.txSignature=d,e}}export{r as sendSolanaTransaction,a as signSolanaTransaction};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"mipd";import"react";import"react-device-detect";import"viem/utils";import"../auth-flows/custom-jwt-account.mjs";import"../auth-flows/email.mjs";import"../auth-flows/farcaster.mjs";import"../auth-flows/guest.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../auth-flows/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";export{P as PrivyProvider,c as getAccessToken,g as getCustomerAccessToken,i as globalRecoverEthereumModal,j as globalRecoverSolanaModal,d as globalSignMessageModal,k as globalSignSolanaModal,f as globalSignTransactionModal,e as globalSignTypedDataModal,h as globalTransactModal}from"../privy-provider-C-cTZKVr.mjs";import"../client/user.mjs";import"../components/Captcha.mjs";import"../components/LoginModal.mjs";import"../components/TelegramLoginButton.mjs";import"../configuration/context.mjs";import"../connectors/areWalletArraysEqual.mjs";import"../connectors/errors.mjs";import"../connectors/isBaseConnectedEthereumWallet.mjs";import"../connectors/mobile-wallets.mjs";import"../connectors/solana/index.mjs";import"../connectors/walletconnect-v2.mjs";import"../constants.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/rpc/index.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../errors.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/funding/index.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/isEmbeddedWebview.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/popupOAuthFlow.mjs";import"../lib/siwe.mjs";import"../lib/solana/transaction.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../lib/viem/prepareTransactionRequest.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../plugins/context/PrivyPluginContext.mjs";import"../plugins/solana-funding/id.mjs";import"../recent-login/context.mjs";import"../screens/index.mjs";import"../screens/LandingScreen/styles.mjs";import"../storage.mjs";import"../styles.mjs";import"../utils/index.mjs";import"../utils/eth/getPublicClient.mjs";import"./index.mjs";import"./captcha-context.mjs";import"./events-context.mjs";import"./internal-context.mjs";import"./modal-context.mjs";import"./privy-context.mjs";import"./useWallets.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"../paths.mjs";import"ofetch";import"../auth-flows/getUiHeader.mjs";import"../connectors/walletconnect-registry.mjs";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"viem";import"../effect.mjs";import"jose";import"../crypto.mjs";import"../lib/siws.mjs";import"uuid";import"../accessToken.mjs";import"../token.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/ethereum/index.mjs";import"../connectors/base.mjs";import"../connectors/getRpcTimeout.mjs";import"../connectors/privyProxyProvider.mjs";import"@privy-io/js-sdk-core";import"../connectors/embedded.mjs";import"../svg/blobby.mjs";import"../embedded-wallets/rpc/types.mjs";import"../lib/viem/toViemTransactionSerializable.mjs";import"../connectors/providerTypes.mjs";import"../connectors/ethereum/EthereumNullConnector.mjs";import"../connectors/injected.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../connectors/metamask.mjs";import"../connectors/solana/SolanaNullConnector.mjs";import"../connectors/stored-connection.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"../lib/pkce.mjs";import"../cookies.mjs";import"./useIdentityToken.mjs";import"zustand";import"@marsidev/react-turnstile";import"styled-components";import"./useElementHeight.mjs";import"./useRegisterMfaListener.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"../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"../components/layout/StackedContainer.mjs";import"../components/PrefetchedImage.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"../svg/circle-alert.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/backpack.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/okx-wallet.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/solflare.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../types.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../screens/ConnectionStatusScreen.mjs";import"../connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"@walletconnect/ethereum-provider";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"./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/types.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"./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"./useGetTokenPrice.mjs";import"./useGetSolPrice.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/wallets/actions/getBalanceForChains.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"../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"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./solana/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/triggerCoinbaseFlow.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../lib/funding/moonpay/index.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"./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/InstallWalletScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.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/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../components/PhoneCountryDropdown.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/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"./useMfa.mjs";import"./useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";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"../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/PasskeySelectSignupOrLogin.mjs";import"../screens/PasskeyStatusScreen.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"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../components/primitives/InteractiveLabel.mjs";import"../screens/SendTransactionScreen/TokenDescription.mjs";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/TransactionValidation.mjs";import"../components/Pill.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../screens/SendTransactionScreen/ScanDetails.mjs";import"../components/primitives/JsonTree.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/lib.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";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"../screens/WalletInterstitialScreen.mjs";import"../components/Dialog.mjs";import"../cssNormalize.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../auth-flows/cross-app.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";
1
+ import"react/jsx-runtime";import"mipd";import"react";import"react-device-detect";import"viem/utils";import"../auth-flows/custom-jwt-account.mjs";import"../auth-flows/email.mjs";import"../auth-flows/farcaster.mjs";import"../auth-flows/guest.mjs";import"../auth-flows/passkey.mjs";import"../auth-flows/siwe.mjs";import"../auth-flows/siws.mjs";import"../auth-flows/sms.mjs";import"../auth-flows/telegram.mjs";export{P as PrivyProvider,c as getAccessToken,g as getCustomerAccessToken,i as globalRecoverEthereumModal,j as globalRecoverSolanaModal,d as globalSignMessageModal,k as globalSignSolanaModal,f as globalSignTransactionModal,e as globalSignTypedDataModal,h as globalTransactModal}from"../privy-provider-Dsr4yi3k.mjs";import"../client/user.mjs";import"../components/Captcha.mjs";import"../components/LoginModal.mjs";import"../components/TelegramLoginButton.mjs";import"../configuration/context.mjs";import"../connectors/areWalletArraysEqual.mjs";import"../connectors/errors.mjs";import"../connectors/isBaseConnectedEthereumWallet.mjs";import"../connectors/mobile-wallets.mjs";import"../connectors/solana/index.mjs";import"../connectors/walletconnect-v2.mjs";import"../constants.mjs";import"../embedded-wallets/EmbeddedWalletIframe.mjs";import"../embedded-wallets/delegated-actions.mjs";import"../embedded-wallets/errors.mjs";import"../embedded-wallets/rpc/index.mjs";import"../embedded-wallets/solana/transaction.mjs";import"../errors.mjs";import"../lib/caip2.mjs";import"../lib/cross-app/index.mjs";import"../lib/cross-app/authFlow.mjs";import"../lib/cross-app/popupCrossAppAuthFlow.mjs";import"../lib/cross-app/sendCrossAppRequest.mjs";import"../lib/embeddedWalletRecovery.mjs";import"../lib/funding/index.mjs";import"../lib/funding/isFundingEnabled.mjs";import"../lib/isEmbeddedWebview.mjs";import"../lib/popup/triggerPopup.mjs";import"../lib/popupOAuthFlow.mjs";import"../lib/siwe.mjs";import"../lib/solana/transaction.mjs";import"../lib/toDisplayFromAccountType.mjs";import"../lib/user/shouldCreateEmbeddedEthWallet.mjs";import"../lib/user/shouldCreateEmbeddedSolWallet.mjs";import"../lib/viem/prepareTransactionRequest.mjs";import"../passkeys/transformResponseToSnakeCase.mjs";import"../plugins/context/PrivyPluginContext.mjs";import"../plugins/solana-funding/id.mjs";import"../recent-login/context.mjs";import"../screens/index.mjs";import"../screens/LandingScreen/styles.mjs";import"../storage.mjs";import"../styles.mjs";import"../utils/index.mjs";import"../utils/eth/getPublicClient.mjs";import"./index.mjs";import"./captcha-context.mjs";import"./events-context.mjs";import"./internal-context.mjs";import"./modal-context.mjs";import"./privy-context.mjs";import"./useWallets.mjs";import"../lib/funding/prepareFundingModalData.mjs";import"../auth-flows/oauth/detectCompletingOAuthFlow.mjs";import"../auth-flows/oauth/OAuthFlow.mjs";import"../paths.mjs";import"ofetch";import"../auth-flows/getUiHeader.mjs";import"../connectors/walletconnect-registry.mjs";import"../connectors/get-legacy-injected-providers.mjs";import"../connectors/is-wallet-installed.mjs";import"viem";import"../effect.mjs";import"jose";import"../crypto.mjs";import"../lib/siws.mjs";import"uuid";import"../accessToken.mjs";import"../token.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/ethereum/index.mjs";import"../connectors/base.mjs";import"../connectors/getRpcTimeout.mjs";import"../connectors/privyProxyProvider.mjs";import"@privy-io/js-sdk-core";import"../connectors/embedded.mjs";import"../svg/blobby.mjs";import"../embedded-wallets/rpc/types.mjs";import"../lib/viem/toViemTransactionSerializable.mjs";import"../connectors/providerTypes.mjs";import"../connectors/ethereum/EthereumNullConnector.mjs";import"../connectors/injected.mjs";import"../svg/browser-extension-wallet-icon.mjs";import"../svg/metamask.mjs";import"../svg/phantom.mjs";import"../connectors/metamask.mjs";import"../connectors/solana/SolanaNullConnector.mjs";import"../connectors/stored-connection.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"../lib/pkce.mjs";import"../cookies.mjs";import"./useIdentityToken.mjs";import"zustand";import"@marsidev/react-turnstile";import"styled-components";import"./useElementHeight.mjs";import"./useRegisterMfaListener.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"../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"../components/layout/StackedContainer.mjs";import"../components/PrefetchedImage.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"../svg/circle-alert.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"../lib/user/shouldProceedtoEmbeddedWalletCreationFlow.mjs";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/backpack.mjs";import"../svg/brave-browser-icon.mjs";import"../svg/bybit.mjs";import"../svg/cryptocom.mjs";import"../svg/okx-wallet.mjs";import"../svg/rabby.mjs";import"../svg/rainbow.mjs";import"../svg/safe.mjs";import"../svg/solflare.mjs";import"../svg/uniswap.mjs";import"../svg/universal-profile.mjs";import"../svg/wallet-connect.mjs";import"../svg/zerion.mjs";import"../types.mjs";import"../screens/ConnectOnlyLandingScreen.mjs";import"../screens/ConnectOnlyStatusScreen.mjs";import"../screens/ConnectionStatusScreen.mjs";import"../connectors/userAlreadyHasConnectedCoinbaseWallet.mjs";import"../hook-utils/useInterval.mjs";import"../lib/useHasTabbedAway.mjs";import"@walletconnect/ethereum-provider";import"../screens/CrossAppAuthScreen.mjs";import"../components/ProviderAppLogo.mjs";import"./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/types.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"./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"./useGetTokenPrice.mjs";import"./useGetSolPrice.mjs";import"../lib/funding/analytics.mjs";import"../lib/funding/reservoir.mjs";import"../lib/wallets/actions/getBalanceForChains.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"../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"../screens/Funding/TransferOrBridgeLoadingScreen.mjs";import"../utils/buffer/readBigInt64LE.mjs";import"../lib/attempt.mjs";import"../screens/Funding/AwaitingExternalSolanaTransferScreen.mjs";import"./solana/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/triggerCoinbaseFlow.mjs";import"../lib/funding/coinbase/toCoinbaseBlockchainFromChainId.mjs";import"../lib/funding/moonpay/triggerMoonpayFlow.mjs";import"../lib/funding/moonpay/index.mjs";import"../payment-request/isPaymentRequestAvailable.mjs";import"../screens/Funding/ManualTransferScreen.mjs";import"./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/InstallWalletScreen.mjs";import"../components/TodoList.mjs";import"../svg/check-badge.mjs";import"../screens/LandingScreen/ConnectOrCreateScreen.mjs";import"../screens/LandingScreen/CustomLandingScreenView.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/LandingScreenView.mjs";import"../svg/email-or-phone.mjs";import"../screens/LandingScreen/PasskeyLink.mjs";import"@heroicons/react/24/outline/FingerPrintIcon";import"../screens/LandingScreen/SmsButton.mjs";import"../components/ConnectPhoneForm.mjs";import"../components/PhoneCountryDropdown.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/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"./useMfa.mjs";import"./useMfaEnrollment.mjs";import"../svg/mfa-shield.mjs";import"../screens/MfaScreens/EnrollLandingScreen.mjs";import"@heroicons/react/24/outline/DevicePhoneMobileIcon";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"../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/PasskeySelectSignupOrLogin.mjs";import"../screens/PasskeyStatusScreen.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"../screens/SendTransactionScreen/SendTransactionScreenView.mjs";import"@heroicons/react/24/outline";import"../components/primitives/InteractiveLabel.mjs";import"../screens/SendTransactionScreen/TokenDescription.mjs";import"../screens/SendTransactionScreen/TransactionDetail.mjs";import"../screens/SendTransactionScreen/TransactionValidation.mjs";import"../components/Pill.mjs";import"../screens/SendTransactionScreen/useTransactionDetails.mjs";import"../screens/SendTransactionScreen/TransactionErrorView.mjs";import"@heroicons/react/24/outline/ClipboardDocumentIcon";import"../screens/SendSolanaTransactionScreen/SolanaTransactionReceiptView.mjs";import"../components/embedded-wallets/SolanaTransactionDetails.mjs";import"../screens/SendTransactionScreen/SendTransactionScreen.mjs";import"../screens/SendTransactionScreen/ScanDetails.mjs";import"../components/primitives/JsonTree.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/lib.mjs";import"../screens/SendTransactionScreen/usePrepareTransaction.mjs";import"../screens/SignRequestScreen.mjs";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"../screens/WalletInterstitialScreen.mjs";import"../components/Dialog.mjs";import"../cssNormalize.mjs";import"../embedded-wallets/eventCallbacksQueue.mjs";import"../embedded-wallets/invokeWithMfa.mjs";import"../auth-flows/cross-app.mjs";import"../lib/funding/filterSupportedOptions.mjs";import"../lib/funding/usdc.mjs";import"../auth-flows/oauth/getIsHeadlessOAuthFlowInProgress.mjs";