@privy-io/react-auth 3.49.1 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AccountNotFoundScreen-CMupMl_J.js +2 -0
- package/dist/cjs/AccountNotFoundScreen-CMupMl_J.js.map +1 -0
- package/dist/cjs/AddFundsSelectionScreen-DurarVeA.js +8 -0
- package/dist/cjs/AddFundsSelectionScreen-DurarVeA.js.map +1 -0
- package/dist/cjs/Address-DULJWtMi.js +18 -0
- package/dist/cjs/Address-DULJWtMi.js.map +1 -0
- package/dist/cjs/AffirmativeConsentScreen-CvGaggdX.js +7 -0
- package/dist/cjs/AffirmativeConsentScreen-CvGaggdX.js.map +1 -0
- package/dist/cjs/AllowlistRejectionScreen-Cgr52HC_.js +2 -0
- package/dist/cjs/AllowlistRejectionScreen-Cgr52HC_.js.map +1 -0
- package/dist/cjs/AuthenticateWithWalletScreen-D8boyRpk.js +2 -0
- package/dist/cjs/AuthenticateWithWalletScreen-D8boyRpk.js.map +1 -0
- package/dist/cjs/AwaitingEvmToSolBridgingScreen-CM1Q6wFe.js +3 -0
- package/dist/cjs/AwaitingEvmToSolBridgingScreen-CM1Q6wFe.js.map +1 -0
- package/dist/cjs/AwaitingExternalEthereumTransferScreen-C3fz3Bxc.js +3 -0
- package/dist/cjs/AwaitingExternalEthereumTransferScreen-C3fz3Bxc.js.map +1 -0
- package/dist/cjs/AwaitingPasswordlessCodeScreen-B_M0aOUa.js +104 -0
- package/dist/cjs/AwaitingPasswordlessCodeScreen-B_M0aOUa.js.map +1 -0
- package/dist/cjs/AwaitingSolToEvmBridgingScreen-CA0PdBBq.js +3 -0
- package/dist/cjs/AwaitingSolToEvmBridgingScreen-CA0PdBBq.js.map +1 -0
- package/dist/cjs/BridgeNetworkSelectionView-CQc1TGws.js +69 -0
- package/dist/cjs/BridgeNetworkSelectionView-CQc1TGws.js.map +1 -0
- package/dist/cjs/CaptchaScreen-Cd6izBso.js +2 -0
- package/dist/cjs/CaptchaScreen-Cd6izBso.js.map +1 -0
- package/dist/cjs/CoinbaseOnrampStatusScreen-Dx608EYF.js +17 -0
- package/dist/cjs/CoinbaseOnrampStatusScreen-Dx608EYF.js.map +1 -0
- package/dist/cjs/ConnectEmailForm-CoqWqb-d.js +4 -0
- package/dist/cjs/ConnectEmailForm-CoqWqb-d.js.map +1 -0
- package/dist/cjs/ConnectLedgerScreen-D07C3N3N.js +10 -0
- package/dist/cjs/ConnectLedgerScreen-D07C3N3N.js.map +1 -0
- package/dist/cjs/ConnectOnlyLandingScreen-BDa_p3Lg.js +2 -0
- package/dist/cjs/ConnectOnlyLandingScreen-BDa_p3Lg.js.map +1 -0
- package/dist/cjs/ConnectOnlyStatusScreen-DBtQSrzu.js +2 -0
- package/dist/cjs/ConnectOnlyStatusScreen-DBtQSrzu.js.map +1 -0
- package/dist/cjs/ConnectOrCreateScreen-DR6ccPrH.js +2 -0
- package/dist/cjs/ConnectOrCreateScreen-DR6ccPrH.js.map +1 -0
- package/dist/cjs/ConnectPhoneForm-CEDpQlzQ.js +96 -0
- package/dist/cjs/ConnectPhoneForm-CEDpQlzQ.js.map +1 -0
- package/dist/cjs/ConnectWalletView-ykby7pL6.js +75 -0
- package/dist/cjs/ConnectWalletView-ykby7pL6.js.map +1 -0
- package/dist/cjs/ConnectionStatusScreen-BDATg07V.js +8 -0
- package/dist/cjs/ConnectionStatusScreen-BDATg07V.js.map +1 -0
- package/dist/cjs/CrossAppAuthScreen-BzfcCiXc.js +2 -0
- package/dist/cjs/CrossAppAuthScreen-BzfcCiXc.js.map +1 -0
- package/dist/cjs/CustomLandingScreenView-Dwljm8c_.js +24 -0
- package/dist/cjs/CustomLandingScreenView-Dwljm8c_.js.map +1 -0
- package/dist/cjs/DelegatedActionsConsentScreen-99yl9OME.js +2 -0
- package/dist/cjs/DelegatedActionsConsentScreen-99yl9OME.js.map +1 -0
- package/dist/cjs/DelegatedActionsRevokeScreen-BkqaqW7T.js +2 -0
- package/dist/cjs/DelegatedActionsRevokeScreen-BkqaqW7T.js.map +1 -0
- package/dist/cjs/DepositAddressAddressStepView-C9JaLiPJ.js +188 -0
- package/dist/cjs/DepositAddressAddressStepView-C9JaLiPJ.js.map +1 -0
- package/dist/cjs/DepositAddressScreen-CfIA4C_b.js +9 -0
- package/dist/cjs/DepositAddressScreen-CfIA4C_b.js.map +1 -0
- package/dist/cjs/DepositAddressV3Screen-K94Eq40R.js +2 -0
- package/dist/cjs/DepositAddressV3Screen-K94Eq40R.js.map +1 -0
- package/dist/cjs/EmbeddedWalletConnectingScreen-B49G6G8R.js +2 -0
- package/dist/cjs/EmbeddedWalletConnectingScreen-B49G6G8R.js.map +1 -0
- package/dist/cjs/EmbeddedWalletCreatedScreen-Br_AOfml.js +2 -0
- package/dist/cjs/EmbeddedWalletCreatedScreen-Br_AOfml.js.map +1 -0
- package/dist/cjs/EmbeddedWalletKeyExportScreen-CHg5xG-E.js +25 -0
- package/dist/cjs/EmbeddedWalletKeyExportScreen-CHg5xG-E.js.map +1 -0
- package/dist/cjs/EmbeddedWalletOnAccountCreateScreen-DwIrtw9P.js +2 -0
- package/dist/cjs/EmbeddedWalletOnAccountCreateScreen-DwIrtw9P.js.map +1 -0
- package/dist/cjs/EmbeddedWalletPasswordUpdateScreen-BuAetm0e.js +2 -0
- package/dist/cjs/EmbeddedWalletPasswordUpdateScreen-BuAetm0e.js.map +1 -0
- package/dist/cjs/EmbeddedWalletPasswordUpdateSplashScreen-Dzm111Oc.js +2 -0
- package/dist/cjs/EmbeddedWalletPasswordUpdateSplashScreen-Dzm111Oc.js.map +1 -0
- package/dist/cjs/EnrollTotp-BGHPCAJa.js +64 -0
- package/dist/cjs/EnrollTotp-BGHPCAJa.js.map +1 -0
- package/dist/cjs/ErrorScreen-HRekMiza.js +5 -0
- package/dist/cjs/ErrorScreen-HRekMiza.js.map +1 -0
- package/dist/cjs/FarcasterConnectStatusScreen-BGE7t2Sr.js +77 -0
- package/dist/cjs/FarcasterConnectStatusScreen-BGE7t2Sr.js.map +1 -0
- package/dist/cjs/FarcasterSignerStatusScreen-CD0v2a_W.js +30 -0
- package/dist/cjs/FarcasterSignerStatusScreen-CD0v2a_W.js.map +1 -0
- package/dist/cjs/FiatOnrampScreen-CMRNMkmW.js +579 -0
- package/dist/cjs/FiatOnrampScreen-CMRNMkmW.js.map +1 -0
- package/dist/cjs/FundSolWalletWithExternalSolanaWallet-BtBUn8ul.js +3 -0
- package/dist/cjs/FundSolWalletWithExternalSolanaWallet-BtBUn8ul.js.map +1 -0
- package/dist/cjs/FundWalletMethodHeader-B_89sVKx.js +2 -0
- package/dist/cjs/FundWalletMethodHeader-B_89sVKx.js.map +1 -0
- package/dist/cjs/FundWithBankDepositScreen-BkB3I7yk.js +59 -0
- package/dist/cjs/FundWithBankDepositScreen-BkB3I7yk.js.map +1 -0
- package/dist/cjs/FundingEditAmountScreen-CjZoQOcF.js +2 -0
- package/dist/cjs/FundingEditAmountScreen-CjZoQOcF.js.map +1 -0
- package/dist/cjs/FundingMethodSelectionScreen-BHkXNSe-.js +2 -0
- package/dist/cjs/FundingMethodSelectionScreen-BHkXNSe-.js.map +1 -0
- package/dist/cjs/InAppBrowserLoginNotPossible-C5z9xr6L.js +2 -0
- package/dist/cjs/InAppBrowserLoginNotPossible-C5z9xr6L.js.map +1 -0
- package/dist/cjs/InstallWalletScreen-Qkufwe_Q.js +2 -0
- package/dist/cjs/InstallWalletScreen-Qkufwe_Q.js.map +1 -0
- package/dist/cjs/LandingScreen-yqMU67aC.js +2 -0
- package/dist/cjs/LandingScreen-yqMU67aC.js.map +1 -0
- package/dist/cjs/LinkConflictScreen-DqbOX5We.js +78 -0
- package/dist/cjs/LinkConflictScreen-DqbOX5We.js.map +1 -0
- package/dist/cjs/LinkEmailScreen-TwwswcOz.js +2 -0
- package/dist/cjs/LinkEmailScreen-TwwswcOz.js.map +1 -0
- package/dist/cjs/LinkPasskeyScreen-BtCLioai.js +118 -0
- package/dist/cjs/LinkPasskeyScreen-BtCLioai.js.map +1 -0
- package/dist/cjs/LinkPhoneScreen-BMyuJkw8.js +2 -0
- package/dist/cjs/LinkPhoneScreen-BMyuJkw8.js.map +1 -0
- package/dist/cjs/LoginFailedScreen-CVy8lGMx.js +2 -0
- package/dist/cjs/LoginFailedScreen-CVy8lGMx.js.map +1 -0
- package/dist/cjs/ManualTransferScreen-BVruIedY.js +2 -0
- package/dist/cjs/ManualTransferScreen-BVruIedY.js.map +1 -0
- package/dist/cjs/MfaAuthEnrollmentFlowScreen-DAmHsQ32.js +2 -0
- package/dist/cjs/MfaAuthEnrollmentFlowScreen-DAmHsQ32.js.map +1 -0
- package/dist/cjs/MfaAuthVerifyFlowScreen-D47lOEMX.js +2 -0
- package/dist/cjs/MfaAuthVerifyFlowScreen-D47lOEMX.js.map +1 -0
- package/dist/cjs/MfaEnrollmentFlowScreen-DZLL1EV6.js +2 -0
- package/dist/cjs/MfaEnrollmentFlowScreen-DZLL1EV6.js.map +1 -0
- package/dist/cjs/MfaVerifyFlowScreen-LFEii_AN.js +2 -0
- package/dist/cjs/MfaVerifyFlowScreen-LFEii_AN.js.map +1 -0
- package/dist/cjs/ModalFooter-BgMnMsF2.js +40 -0
- package/dist/cjs/ModalFooter-BgMnMsF2.js.map +1 -0
- package/dist/cjs/ModalHeader-Bc3PKhfn.js +369 -0
- package/dist/cjs/ModalHeader-Bc3PKhfn.js.map +1 -0
- package/dist/cjs/MoonpayStatusScreen-BmG5KcRp.js +17 -0
- package/dist/cjs/MoonpayStatusScreen-BmG5KcRp.js.map +1 -0
- package/dist/cjs/OAuthStatusScreen-BfOq1Ib7.js +2 -0
- package/dist/cjs/OAuthStatusScreen-BfOq1Ib7.js.map +1 -0
- package/dist/cjs/PasskeySelectSignupOrLogin-DOIzg1R1.js +2 -0
- package/dist/cjs/PasskeySelectSignupOrLogin-DOIzg1R1.js.map +1 -0
- package/dist/cjs/PasskeyStatusScreen-BrnFciSR.js +4 -0
- package/dist/cjs/PasskeyStatusScreen-BrnFciSR.js.map +1 -0
- package/dist/cjs/PasswordRecoveryScreen-0jXf_twg.js +21 -0
- package/dist/cjs/PasswordRecoveryScreen-0jXf_twg.js.map +1 -0
- package/dist/cjs/QrCode-CNUCia65.js +17 -0
- package/dist/cjs/QrCode-CNUCia65.js.map +1 -0
- package/dist/cjs/RecoveryOAuthStatusScreen-BiuTvj9B.js +2 -0
- package/dist/cjs/RecoveryOAuthStatusScreen-BiuTvj9B.js.map +1 -0
- package/dist/cjs/RecoveryPasswordCreateScreen-BLGjzezC.js +2 -0
- package/dist/cjs/RecoveryPasswordCreateScreen-BLGjzezC.js.map +1 -0
- package/dist/cjs/RecoverySelectionScreen-Cza3UXP2.js +8 -0
- package/dist/cjs/RecoverySelectionScreen-Cza3UXP2.js.map +1 -0
- package/dist/cjs/Screen-D1sj5niD.js +184 -0
- package/dist/cjs/Screen-D1sj5niD.js.map +1 -0
- package/dist/cjs/ScreenLayout-3KUVo4Ix.js +2 -0
- package/dist/cjs/ScreenLayout-3KUVo4Ix.js.map +1 -0
- package/dist/cjs/SelectSourceAsset-CWoNzPve.js +141 -0
- package/dist/cjs/SelectSourceAsset-CWoNzPve.js.map +1 -0
- package/dist/cjs/SetAutomaticRecoveryScreen-QQzCbwdP.js +15 -0
- package/dist/cjs/SetAutomaticRecoveryScreen-QQzCbwdP.js.map +1 -0
- package/dist/cjs/SetWalletPasswordForm-ltTqFzJp.js +13 -0
- package/dist/cjs/SetWalletPasswordForm-ltTqFzJp.js.map +1 -0
- package/dist/cjs/SignRequestScreen-C80OwDpO.js +27 -0
- package/dist/cjs/SignRequestScreen-C80OwDpO.js.map +1 -0
- package/dist/cjs/SkeuomorphicDebitCard-4m1bTyk9.js +150 -0
- package/dist/cjs/SkeuomorphicDebitCard-4m1bTyk9.js.map +1 -0
- package/dist/cjs/SolanaWalletConnector-imh1f1O7.js +2 -0
- package/dist/cjs/SolanaWalletConnector-imh1f1O7.js.map +1 -0
- package/dist/cjs/StandardSignAndSendTransactionScreen-5Dw37X6U.js +21 -0
- package/dist/cjs/StandardSignAndSendTransactionScreen-5Dw37X6U.js.map +1 -0
- package/dist/cjs/TelegramAuthScreen-Cf31MWA8.js +2 -0
- package/dist/cjs/TelegramAuthScreen-Cf31MWA8.js.map +1 -0
- package/dist/cjs/TransactionDetails-DYCZU0Uw.js +112 -0
- package/dist/cjs/TransactionDetails-DYCZU0Uw.js.map +1 -0
- package/dist/cjs/TransactionErrorView-BS218COv.js +165 -0
- package/dist/cjs/TransactionErrorView-BS218COv.js.map +1 -0
- package/dist/cjs/TransferFromWalletScreen-B3hKf2rt.js +32 -0
- package/dist/cjs/TransferFromWalletScreen-B3hKf2rt.js.map +1 -0
- package/dist/cjs/TransferOrBridgeLoadingScreen-8pjTakRr.js +7 -0
- package/dist/cjs/TransferOrBridgeLoadingScreen-8pjTakRr.js.map +1 -0
- package/dist/cjs/TurnstileWrapper-CTvfqHZb.js +2 -0
- package/dist/cjs/TurnstileWrapper-CTvfqHZb.js.map +1 -0
- package/dist/cjs/UpdateEmailScreen-CTs0lLrr.js +2 -0
- package/dist/cjs/UpdateEmailScreen-CTs0lLrr.js.map +1 -0
- package/dist/cjs/UpdatePhoneScreen-CvfaBTZq.js +2 -0
- package/dist/cjs/UpdatePhoneScreen-CvfaBTZq.js.map +1 -0
- package/dist/cjs/UserLimitReachedScreen-DX1c2GqS.js +2 -0
- package/dist/cjs/UserLimitReachedScreen-DX1c2GqS.js.map +1 -0
- package/dist/cjs/WalletInfoCard-Cw5Yuu3a.js +30 -0
- package/dist/cjs/WalletInfoCard-Cw5Yuu3a.js.map +1 -0
- package/dist/cjs/WalletInterstitialScreen-BlCkNbLI.js +2 -0
- package/dist/cjs/WalletInterstitialScreen-BlCkNbLI.js.map +1 -0
- package/dist/cjs/WalletOverflowButton-mat6URUh.js +2 -0
- package/dist/cjs/WalletOverflowButton-mat6URUh.js.map +1 -0
- package/dist/cjs/abstract-smart-wallets.js +1 -1
- package/dist/cjs/cards.js +1 -1
- package/dist/cjs/coinbase-BhXnnBSt.js +2 -0
- package/dist/cjs/coinbase-BhXnnBSt.js.map +1 -0
- package/dist/cjs/extended-chains.js +1 -1
- package/dist/cjs/get-entropy-details-for-user-D_yhS3Gk.js +2 -0
- package/dist/cjs/get-entropy-details-for-user-D_yhS3Gk.js.map +1 -0
- package/dist/cjs/guards-D6UGy3Bp.js +2 -0
- package/dist/cjs/guards-D6UGy3Bp.js.map +1 -0
- package/dist/cjs/index-BWl7nr5h.js +13 -0
- package/dist/cjs/index-BWl7nr5h.js.map +1 -0
- package/dist/cjs/index-C-6HsgMm.js +2 -0
- package/dist/cjs/index-C-6HsgMm.js.map +1 -0
- package/dist/cjs/index-Td80PtYW.js +34 -0
- package/dist/cjs/index-Td80PtYW.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/internal.js +1 -1
- package/dist/cjs/internal.js.map +1 -1
- package/dist/cjs/modal-context-DmGSIDdt.js +2 -0
- package/dist/cjs/modal-context-DmGSIDdt.js.map +1 -0
- package/dist/cjs/pkce-Cw19dp-5.js +2 -0
- package/dist/cjs/pkce-Cw19dp-5.js.map +1 -0
- package/dist/cjs/privy-context-mB9GoUl0.js +2 -0
- package/dist/cjs/privy-context-mB9GoUl0.js.map +1 -0
- package/dist/cjs/shared-B9N5n0h0.js +194 -0
- package/dist/cjs/shared-B9N5n0h0.js.map +1 -0
- package/dist/cjs/shouldProceedtoEmbeddedWalletCreationFlow-DhoFo_DK.js +2 -0
- package/dist/cjs/shouldProceedtoEmbeddedWalletCreationFlow-DhoFo_DK.js.map +1 -0
- package/dist/cjs/simulateTransaction-Dx1_Eesd.js +2 -0
- package/dist/cjs/simulateTransaction-Dx1_Eesd.js.map +1 -0
- package/dist/cjs/smart-wallets-BaerY1yH.js +2 -0
- package/dist/cjs/smart-wallets-BaerY1yH.js.map +1 -0
- package/dist/cjs/smart-wallets.js +1 -1
- package/dist/cjs/solana.js +1 -1
- package/dist/cjs/styles-1Z6W_j-z.js +93 -0
- package/dist/cjs/styles-1Z6W_j-z.js.map +1 -0
- package/dist/cjs/styles-Dq4vQEUw.js +192 -0
- package/dist/cjs/styles-Dq4vQEUw.js.map +1 -0
- package/dist/cjs/tempo.js +1 -1
- package/dist/cjs/to-ui-error-Dj0KX24v.js +5 -0
- package/dist/cjs/to-ui-error-Dj0KX24v.js.map +1 -0
- package/dist/cjs/toViemAccount-BjvzgzOO.js +2 -0
- package/dist/cjs/toViemAccount-BjvzgzOO.js.map +1 -0
- package/dist/cjs/ui.js +1 -1
- package/dist/cjs/use-export-wallet-BBnoMTBO.js +2 -0
- package/dist/cjs/use-export-wallet-BBnoMTBO.js.map +1 -0
- package/dist/cjs/use-headless-crypto-deposit-DPfQ4jba.js +2 -0
- package/dist/cjs/use-headless-crypto-deposit-DPfQ4jba.js.map +1 -0
- package/dist/cjs/use-sign-with-user-signer-DXxJhpE3.js +2 -0
- package/dist/cjs/use-sign-with-user-signer-DXxJhpE3.js.map +1 -0
- package/dist/cjs/use-unlink-wallet-KAheJ8tJ.js +2 -0
- package/dist/cjs/use-unlink-wallet-KAheJ8tJ.js.map +1 -0
- package/dist/cjs/useActiveWallet-BXuHh-Oa.js +124 -0
- package/dist/cjs/useActiveWallet-BXuHh-Oa.js.map +1 -0
- package/dist/cjs/useGetTokenPrice-M56kBE9r.js +2 -0
- package/dist/cjs/useGetTokenPrice-M56kBE9r.js.map +1 -0
- package/dist/cjs/useI18n-Ch9BxdSB.js +2 -0
- package/dist/cjs/useI18n-Ch9BxdSB.js.map +1 -0
- package/dist/cjs/useSendTransaction-BCr5mws2.js +402 -0
- package/dist/cjs/useSendTransaction-BCr5mws2.js.map +1 -0
- package/dist/cjs/useWallets-DpObzPwa.js +2 -0
- package/dist/cjs/useWallets-DpObzPwa.js.map +1 -0
- package/dist/cjs/wallet-connect-Bbw__Pks.js +2 -0
- package/dist/cjs/wallet-connect-Bbw__Pks.js.map +1 -0
- package/dist/cjs/walletconnect-v2-BJFVQx5-.js +2 -0
- package/dist/cjs/walletconnect-v2-BJFVQx5-.js.map +1 -0
- package/dist/dts/events-context-bL_o3tyT.d.mts +328 -0
- package/dist/dts/events-context-bL_o3tyT.d.ts +328 -0
- package/dist/dts/extended-chains.d.mts +1 -1
- package/dist/dts/extended-chains.d.ts +1 -1
- package/dist/dts/farcaster.d.mts +1 -1
- package/dist/dts/farcaster.d.ts +1 -1
- package/dist/dts/importWallet-S0Q9M93s.d.mts +12 -0
- package/dist/dts/importWallet-S0Q9M93s.d.ts +12 -0
- package/dist/dts/index.d.mts +25 -11
- package/dist/dts/index.d.ts +25 -11
- package/dist/dts/internal.d.mts +1 -1
- package/dist/dts/internal.d.ts +1 -1
- package/dist/dts/smart-wallets.d.mts +1 -1
- package/dist/dts/smart-wallets.d.ts +1 -1
- package/dist/dts/solana.d.mts +4 -4
- package/dist/dts/solana.d.ts +4 -4
- package/dist/dts/tempo.d.mts +2 -2
- package/dist/dts/tempo.d.ts +2 -2
- package/dist/dts/toViemAccount-Cozo6DeZ.d.mts +27 -0
- package/dist/dts/toViemAccount-Cozo6DeZ.d.ts +27 -0
- package/dist/dts/types-CoijvGho.d.mts +2840 -0
- package/dist/dts/types-CoijvGho.d.ts +2840 -0
- package/dist/dts/ui.d.mts +3 -3
- package/dist/dts/ui.d.ts +3 -3
- package/dist/dts/useUpdateAccount-w3wLzDiW.d.mts +27 -0
- package/dist/dts/useUpdateAccount-w3wLzDiW.d.ts +27 -0
- package/dist/esm/AccountNotFoundScreen-DmCu584z.mjs +2 -0
- package/dist/esm/AccountNotFoundScreen-DmCu584z.mjs.map +1 -0
- package/dist/esm/AddFundsSelectionScreen-CvdQ9APw.mjs +8 -0
- package/dist/esm/AddFundsSelectionScreen-CvdQ9APw.mjs.map +1 -0
- package/dist/esm/Address-D-hKSBMc.mjs +18 -0
- package/dist/esm/Address-D-hKSBMc.mjs.map +1 -0
- package/dist/esm/AffirmativeConsentScreen-Cm3ilbFM.mjs +7 -0
- package/dist/esm/AffirmativeConsentScreen-Cm3ilbFM.mjs.map +1 -0
- package/dist/esm/AllowlistRejectionScreen-94CrH44E.mjs +2 -0
- package/dist/esm/AllowlistRejectionScreen-94CrH44E.mjs.map +1 -0
- package/dist/esm/AuthenticateWithWalletScreen-DOlqqtwf.mjs +2 -0
- package/dist/esm/AuthenticateWithWalletScreen-DOlqqtwf.mjs.map +1 -0
- package/dist/esm/AwaitingEvmToSolBridgingScreen-BAwgpv6z.mjs +3 -0
- package/dist/esm/AwaitingEvmToSolBridgingScreen-BAwgpv6z.mjs.map +1 -0
- package/dist/esm/AwaitingExternalEthereumTransferScreen-CrmoLkyM.mjs +3 -0
- package/dist/esm/AwaitingExternalEthereumTransferScreen-CrmoLkyM.mjs.map +1 -0
- package/dist/esm/AwaitingPasswordlessCodeScreen-PG8R_qZ7.mjs +104 -0
- package/dist/esm/AwaitingPasswordlessCodeScreen-PG8R_qZ7.mjs.map +1 -0
- package/dist/esm/AwaitingSolToEvmBridgingScreen-CfxbsY2V.mjs +3 -0
- package/dist/esm/AwaitingSolToEvmBridgingScreen-CfxbsY2V.mjs.map +1 -0
- package/dist/esm/BridgeNetworkSelectionView-CyWjJLLL.mjs +69 -0
- package/dist/esm/BridgeNetworkSelectionView-CyWjJLLL.mjs.map +1 -0
- package/dist/esm/CaptchaScreen-Di6DawY1.mjs +2 -0
- package/dist/esm/CaptchaScreen-Di6DawY1.mjs.map +1 -0
- package/dist/esm/CoinbaseOnrampStatusScreen-CQ5wJdhR.mjs +17 -0
- package/dist/esm/CoinbaseOnrampStatusScreen-CQ5wJdhR.mjs.map +1 -0
- package/dist/esm/ConnectEmailForm-VvzLeAu_.mjs +4 -0
- package/dist/esm/ConnectEmailForm-VvzLeAu_.mjs.map +1 -0
- package/dist/esm/ConnectLedgerScreen-PcSk3bj3.mjs +10 -0
- package/dist/esm/ConnectLedgerScreen-PcSk3bj3.mjs.map +1 -0
- package/dist/esm/ConnectOnlyLandingScreen-CzsS1KUE.mjs +2 -0
- package/dist/esm/ConnectOnlyLandingScreen-CzsS1KUE.mjs.map +1 -0
- package/dist/esm/ConnectOnlyStatusScreen-DAnXdxMc.mjs +2 -0
- package/dist/esm/ConnectOnlyStatusScreen-DAnXdxMc.mjs.map +1 -0
- package/dist/esm/ConnectOrCreateScreen-B13RFu4y.mjs +2 -0
- package/dist/esm/ConnectOrCreateScreen-B13RFu4y.mjs.map +1 -0
- package/dist/esm/ConnectPhoneForm-CgvF9lfY.mjs +96 -0
- package/dist/esm/ConnectPhoneForm-CgvF9lfY.mjs.map +1 -0
- package/dist/esm/ConnectWalletView-CVcmCUWx.mjs +75 -0
- package/dist/esm/ConnectWalletView-CVcmCUWx.mjs.map +1 -0
- package/dist/esm/ConnectionStatusScreen-CkZB3A-v.mjs +8 -0
- package/dist/esm/ConnectionStatusScreen-CkZB3A-v.mjs.map +1 -0
- package/dist/esm/CrossAppAuthScreen-55ctQxf7.mjs +2 -0
- package/dist/esm/CrossAppAuthScreen-55ctQxf7.mjs.map +1 -0
- package/dist/esm/CustomLandingScreenView-DCKHF9M9.mjs +24 -0
- package/dist/esm/CustomLandingScreenView-DCKHF9M9.mjs.map +1 -0
- package/dist/esm/DelegatedActionsConsentScreen-B-NoZ7KR.mjs +2 -0
- package/dist/esm/DelegatedActionsConsentScreen-B-NoZ7KR.mjs.map +1 -0
- package/dist/esm/DelegatedActionsRevokeScreen-HnrbzfZN.mjs +2 -0
- package/dist/esm/DelegatedActionsRevokeScreen-HnrbzfZN.mjs.map +1 -0
- package/dist/esm/DepositAddressAddressStepView-BBRl-QpO.mjs +188 -0
- package/dist/esm/DepositAddressAddressStepView-BBRl-QpO.mjs.map +1 -0
- package/dist/esm/DepositAddressScreen-BB3v4rHj.mjs +9 -0
- package/dist/esm/DepositAddressScreen-BB3v4rHj.mjs.map +1 -0
- package/dist/esm/DepositAddressV3Screen-DvnJDngM.mjs +2 -0
- package/dist/esm/DepositAddressV3Screen-DvnJDngM.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletConnectingScreen-DVkAbpWM.mjs +2 -0
- package/dist/esm/EmbeddedWalletConnectingScreen-DVkAbpWM.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletCreatedScreen-Dh97ZcWk.mjs +2 -0
- package/dist/esm/EmbeddedWalletCreatedScreen-Dh97ZcWk.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletKeyExportScreen-Dfd_ipkl.mjs +25 -0
- package/dist/esm/EmbeddedWalletKeyExportScreen-Dfd_ipkl.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletOnAccountCreateScreen-JY3xQL2B.mjs +2 -0
- package/dist/esm/EmbeddedWalletOnAccountCreateScreen-JY3xQL2B.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletPasswordUpdateScreen-CiseufAK.mjs +2 -0
- package/dist/esm/EmbeddedWalletPasswordUpdateScreen-CiseufAK.mjs.map +1 -0
- package/dist/esm/EmbeddedWalletPasswordUpdateSplashScreen-CaQbsSTp.mjs +2 -0
- package/dist/esm/EmbeddedWalletPasswordUpdateSplashScreen-CaQbsSTp.mjs.map +1 -0
- package/dist/esm/EnrollTotp-CTpF3OWX.mjs +64 -0
- package/dist/esm/EnrollTotp-CTpF3OWX.mjs.map +1 -0
- package/dist/esm/ErrorScreen-f2o266cj.mjs +5 -0
- package/dist/esm/ErrorScreen-f2o266cj.mjs.map +1 -0
- package/dist/esm/FarcasterConnectStatusScreen-2-_iV769.mjs +76 -0
- package/dist/esm/FarcasterConnectStatusScreen-2-_iV769.mjs.map +1 -0
- package/dist/esm/FarcasterSignerStatusScreen-YTSx8zuE.mjs +29 -0
- package/dist/esm/FarcasterSignerStatusScreen-YTSx8zuE.mjs.map +1 -0
- package/dist/esm/FiatOnrampScreen-Cn4FmpB5.mjs +579 -0
- package/dist/esm/FiatOnrampScreen-Cn4FmpB5.mjs.map +1 -0
- package/dist/esm/FundSolWalletWithExternalSolanaWallet-dK67dE7B.mjs +2 -0
- package/dist/esm/FundSolWalletWithExternalSolanaWallet-dK67dE7B.mjs.map +1 -0
- package/dist/esm/FundWalletMethodHeader-CZzBi5cW.mjs +2 -0
- package/dist/esm/FundWalletMethodHeader-CZzBi5cW.mjs.map +1 -0
- package/dist/esm/FundWithBankDepositScreen-BKg4LaM0.mjs +59 -0
- package/dist/esm/FundWithBankDepositScreen-BKg4LaM0.mjs.map +1 -0
- package/dist/esm/FundingEditAmountScreen-gVCDz2hc.mjs +2 -0
- package/dist/esm/FundingEditAmountScreen-gVCDz2hc.mjs.map +1 -0
- package/dist/esm/FundingMethodSelectionScreen-Dwg5HAn9.mjs +2 -0
- package/dist/esm/FundingMethodSelectionScreen-Dwg5HAn9.mjs.map +1 -0
- package/dist/esm/InAppBrowserLoginNotPossible-D4EeEdze.mjs +2 -0
- package/dist/esm/InAppBrowserLoginNotPossible-D4EeEdze.mjs.map +1 -0
- package/dist/esm/InstallWalletScreen-B1yxNHgg.mjs +2 -0
- package/dist/esm/InstallWalletScreen-B1yxNHgg.mjs.map +1 -0
- package/dist/esm/LandingScreen-zRwMN0po.mjs +2 -0
- package/dist/esm/LandingScreen-zRwMN0po.mjs.map +1 -0
- package/dist/esm/LinkConflictScreen-YklPsTUx.mjs +78 -0
- package/dist/esm/LinkConflictScreen-YklPsTUx.mjs.map +1 -0
- package/dist/esm/LinkEmailScreen-Bqb5fKMB.mjs +2 -0
- package/dist/esm/LinkEmailScreen-Bqb5fKMB.mjs.map +1 -0
- package/dist/esm/LinkPasskeyScreen-DCzXkdBR.mjs +118 -0
- package/dist/esm/LinkPasskeyScreen-DCzXkdBR.mjs.map +1 -0
- package/dist/esm/LinkPhoneScreen-WC5uerRR.mjs +2 -0
- package/dist/esm/LinkPhoneScreen-WC5uerRR.mjs.map +1 -0
- package/dist/esm/LoginFailedScreen-DtjHCXGc.mjs +2 -0
- package/dist/esm/LoginFailedScreen-DtjHCXGc.mjs.map +1 -0
- package/dist/esm/ManualTransferScreen-CXxMG6Ri.mjs +2 -0
- package/dist/esm/ManualTransferScreen-CXxMG6Ri.mjs.map +1 -0
- package/dist/esm/MfaAuthEnrollmentFlowScreen-D5JeOLgJ.mjs +2 -0
- package/dist/esm/MfaAuthEnrollmentFlowScreen-D5JeOLgJ.mjs.map +1 -0
- package/dist/esm/MfaAuthVerifyFlowScreen--aCJotEK.mjs +2 -0
- package/dist/esm/MfaAuthVerifyFlowScreen--aCJotEK.mjs.map +1 -0
- package/dist/esm/MfaEnrollmentFlowScreen-DaOfZDQL.mjs +2 -0
- package/dist/esm/MfaEnrollmentFlowScreen-DaOfZDQL.mjs.map +1 -0
- package/dist/esm/MfaVerifyFlowScreen-8VhJP8xn.mjs +2 -0
- package/dist/esm/MfaVerifyFlowScreen-8VhJP8xn.mjs.map +1 -0
- package/dist/esm/ModalFooter-CmGY3GN5.mjs +40 -0
- package/dist/esm/ModalFooter-CmGY3GN5.mjs.map +1 -0
- package/dist/esm/ModalHeader-BM7kFZd5.mjs +369 -0
- package/dist/esm/ModalHeader-BM7kFZd5.mjs.map +1 -0
- package/dist/esm/MoonpayStatusScreen-B-JeyK9J.mjs +17 -0
- package/dist/esm/MoonpayStatusScreen-B-JeyK9J.mjs.map +1 -0
- package/dist/esm/OAuthStatusScreen-zos_nuFY.mjs +2 -0
- package/dist/esm/OAuthStatusScreen-zos_nuFY.mjs.map +1 -0
- package/dist/esm/PasskeySelectSignupOrLogin-CQaGUKP3.mjs +2 -0
- package/dist/esm/PasskeySelectSignupOrLogin-CQaGUKP3.mjs.map +1 -0
- package/dist/esm/PasskeyStatusScreen-CgVPBiep.mjs +4 -0
- package/dist/esm/PasskeyStatusScreen-CgVPBiep.mjs.map +1 -0
- package/dist/esm/PasswordRecoveryScreen-D45ttCfH.mjs +21 -0
- package/dist/esm/PasswordRecoveryScreen-D45ttCfH.mjs.map +1 -0
- package/dist/esm/QrCode-HPSrpHat.mjs +17 -0
- package/dist/esm/QrCode-HPSrpHat.mjs.map +1 -0
- package/dist/esm/RecoveryOAuthStatusScreen-Cyp2Aysv.mjs +2 -0
- package/dist/esm/RecoveryOAuthStatusScreen-Cyp2Aysv.mjs.map +1 -0
- package/dist/esm/RecoveryPasswordCreateScreen-u_ReAEBk.mjs +2 -0
- package/dist/esm/RecoveryPasswordCreateScreen-u_ReAEBk.mjs.map +1 -0
- package/dist/esm/RecoverySelectionScreen-cIVUHy8G.mjs +8 -0
- package/dist/esm/RecoverySelectionScreen-cIVUHy8G.mjs.map +1 -0
- package/dist/esm/Screen-DZNhZC2N.mjs +183 -0
- package/dist/esm/Screen-DZNhZC2N.mjs.map +1 -0
- package/dist/esm/ScreenLayout-nGD4p5K0.mjs +2 -0
- package/dist/esm/ScreenLayout-nGD4p5K0.mjs.map +1 -0
- package/dist/esm/SelectSourceAsset-BsJpnIhX.mjs +141 -0
- package/dist/esm/SelectSourceAsset-BsJpnIhX.mjs.map +1 -0
- package/dist/esm/SetAutomaticRecoveryScreen-qsezmY6k.mjs +15 -0
- package/dist/esm/SetAutomaticRecoveryScreen-qsezmY6k.mjs.map +1 -0
- package/dist/esm/SetWalletPasswordForm-4DYPfyfF.mjs +13 -0
- package/dist/esm/SetWalletPasswordForm-4DYPfyfF.mjs.map +1 -0
- package/dist/esm/SignRequestScreen-Dxq0VV3k.mjs +27 -0
- package/dist/esm/SignRequestScreen-Dxq0VV3k.mjs.map +1 -0
- package/dist/esm/SkeuomorphicDebitCard-Dl-LsbX5.mjs +150 -0
- package/dist/esm/SkeuomorphicDebitCard-Dl-LsbX5.mjs.map +1 -0
- package/dist/esm/SolanaWalletConnector-CtU87Bd6.mjs +2 -0
- package/dist/esm/SolanaWalletConnector-CtU87Bd6.mjs.map +1 -0
- package/dist/esm/StandardSignAndSendTransactionScreen-Ctm2LJ6Q.mjs +21 -0
- package/dist/esm/StandardSignAndSendTransactionScreen-Ctm2LJ6Q.mjs.map +1 -0
- package/dist/esm/TelegramAuthScreen-DR6Kx8-e.mjs +2 -0
- package/dist/esm/TelegramAuthScreen-DR6Kx8-e.mjs.map +1 -0
- package/dist/esm/TransactionDetails-VWpLHxjh.mjs +112 -0
- package/dist/esm/TransactionDetails-VWpLHxjh.mjs.map +1 -0
- package/dist/esm/TransactionErrorView-il1lrcrS.mjs +165 -0
- package/dist/esm/TransactionErrorView-il1lrcrS.mjs.map +1 -0
- package/dist/esm/TransferFromWalletScreen-Bmo-zEL9.mjs +32 -0
- package/dist/esm/TransferFromWalletScreen-Bmo-zEL9.mjs.map +1 -0
- package/dist/esm/TransferOrBridgeLoadingScreen-P3MtaLJD.mjs +7 -0
- package/dist/esm/TransferOrBridgeLoadingScreen-P3MtaLJD.mjs.map +1 -0
- package/dist/esm/TurnstileWrapper-2aABXboj.mjs +2 -0
- package/dist/esm/TurnstileWrapper-2aABXboj.mjs.map +1 -0
- package/dist/esm/UpdateEmailScreen-06S1peZD.mjs +2 -0
- package/dist/esm/UpdateEmailScreen-06S1peZD.mjs.map +1 -0
- package/dist/esm/UpdatePhoneScreen-DaD_xBHP.mjs +2 -0
- package/dist/esm/UpdatePhoneScreen-DaD_xBHP.mjs.map +1 -0
- package/dist/esm/UserLimitReachedScreen-BZwtgVqf.mjs +2 -0
- package/dist/esm/UserLimitReachedScreen-BZwtgVqf.mjs.map +1 -0
- package/dist/esm/WalletInfoCard-C92pgPpt.mjs +30 -0
- package/dist/esm/WalletInfoCard-C92pgPpt.mjs.map +1 -0
- package/dist/esm/WalletInterstitialScreen-BCI6eGCA.mjs +2 -0
- package/dist/esm/WalletInterstitialScreen-BCI6eGCA.mjs.map +1 -0
- package/dist/esm/WalletOverflowButton-D56qnL73.mjs +2 -0
- package/dist/esm/WalletOverflowButton-D56qnL73.mjs.map +1 -0
- package/dist/esm/abstract-smart-wallets.mjs +1 -1
- package/dist/esm/cards.mjs +1 -1
- package/dist/esm/coinbase-CEeA7Gup.mjs +2 -0
- package/dist/esm/coinbase-CEeA7Gup.mjs.map +1 -0
- package/dist/esm/extended-chains.mjs +1 -1
- package/dist/esm/get-entropy-details-for-user-BNFL8oGV.mjs +2 -0
- package/dist/esm/get-entropy-details-for-user-BNFL8oGV.mjs.map +1 -0
- package/dist/esm/guards-B2s3KemH.mjs +2 -0
- package/dist/esm/guards-B2s3KemH.mjs.map +1 -0
- package/dist/esm/index-AF7PM1lf.mjs +2 -0
- package/dist/esm/index-AF7PM1lf.mjs.map +1 -0
- package/dist/esm/index-BcQq0_SC.mjs +13 -0
- package/dist/esm/index-BcQq0_SC.mjs.map +1 -0
- package/dist/esm/index-CqvyXQur.mjs +34 -0
- package/dist/esm/index-CqvyXQur.mjs.map +1 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal.mjs +1 -1
- package/dist/esm/internal.mjs.map +1 -1
- package/dist/esm/modal-context-CzyPCE1h.mjs +2 -0
- package/dist/esm/modal-context-CzyPCE1h.mjs.map +1 -0
- package/dist/esm/pkce-DOaTOlfX.mjs +2 -0
- package/dist/esm/pkce-DOaTOlfX.mjs.map +1 -0
- package/dist/esm/privy-context-Bxv3Wh-5.mjs +2 -0
- package/dist/esm/privy-context-Bxv3Wh-5.mjs.map +1 -0
- package/dist/esm/shared-CFJrjgWW.mjs +194 -0
- package/dist/esm/shared-CFJrjgWW.mjs.map +1 -0
- package/dist/esm/shouldProceedtoEmbeddedWalletCreationFlow-C1J2jbcH.mjs +2 -0
- package/dist/esm/shouldProceedtoEmbeddedWalletCreationFlow-C1J2jbcH.mjs.map +1 -0
- package/dist/esm/simulateTransaction-B_Cn6cXf.mjs +2 -0
- package/dist/esm/simulateTransaction-B_Cn6cXf.mjs.map +1 -0
- package/dist/esm/smart-wallets-B3P0tORe.mjs +2 -0
- package/dist/esm/smart-wallets-B3P0tORe.mjs.map +1 -0
- package/dist/esm/smart-wallets.mjs +1 -1
- package/dist/esm/solana.mjs +1 -1
- package/dist/esm/styles-BRWlD4eG.mjs +192 -0
- package/dist/esm/styles-BRWlD4eG.mjs.map +1 -0
- package/dist/esm/styles-SlRcHdFL.mjs +93 -0
- package/dist/esm/styles-SlRcHdFL.mjs.map +1 -0
- package/dist/esm/tempo.mjs +1 -1
- package/dist/esm/to-ui-error-n8KhkP0u.mjs +5 -0
- package/dist/esm/to-ui-error-n8KhkP0u.mjs.map +1 -0
- package/dist/esm/toViemAccount-CxoAwoGG.mjs +2 -0
- package/dist/esm/toViemAccount-CxoAwoGG.mjs.map +1 -0
- package/dist/esm/ui.mjs +1 -1
- package/dist/esm/use-export-wallet-CPVKuHh4.mjs +2 -0
- package/dist/esm/use-export-wallet-CPVKuHh4.mjs.map +1 -0
- package/dist/esm/use-headless-crypto-deposit-DXuA2PzO.mjs +2 -0
- package/dist/esm/use-headless-crypto-deposit-DXuA2PzO.mjs.map +1 -0
- package/dist/esm/use-sign-with-user-signer-aF_Sckfb.mjs +2 -0
- package/dist/esm/use-sign-with-user-signer-aF_Sckfb.mjs.map +1 -0
- package/dist/esm/use-unlink-wallet-DlfnbLSB.mjs +2 -0
- package/dist/esm/use-unlink-wallet-DlfnbLSB.mjs.map +1 -0
- package/dist/esm/useActiveWallet-B5NoYzzn.mjs +124 -0
- package/dist/esm/useActiveWallet-B5NoYzzn.mjs.map +1 -0
- package/dist/esm/useGetTokenPrice-D8Cb3tFH.mjs +2 -0
- package/dist/esm/useGetTokenPrice-D8Cb3tFH.mjs.map +1 -0
- package/dist/esm/useI18n-BIWeTVK5.mjs +2 -0
- package/dist/esm/useI18n-BIWeTVK5.mjs.map +1 -0
- package/dist/esm/useSendTransaction-CIgGD-IR.mjs +402 -0
- package/dist/esm/useSendTransaction-CIgGD-IR.mjs.map +1 -0
- package/dist/esm/useWallets-Cy8VgsCY.mjs +2 -0
- package/dist/esm/useWallets-Cy8VgsCY.mjs.map +1 -0
- package/dist/esm/wallet-connect-DasLtN-l.mjs +2 -0
- package/dist/esm/wallet-connect-DasLtN-l.mjs.map +1 -0
- package/dist/esm/walletconnect-v2-miav_NoG.mjs +2 -0
- package/dist/esm/walletconnect-v2-miav_NoG.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/cjs/AccountNotFoundScreen-Dhtas35w.js +0 -2
- package/dist/cjs/AccountNotFoundScreen-Dhtas35w.js.map +0 -1
- package/dist/cjs/AddFundsSelectionScreen-HJUqT9zr.js +0 -8
- package/dist/cjs/AddFundsSelectionScreen-HJUqT9zr.js.map +0 -1
- package/dist/cjs/Address-CwJymk63.js +0 -18
- package/dist/cjs/Address-CwJymk63.js.map +0 -1
- package/dist/cjs/AffirmativeConsentScreen-Cnj9dENZ.js +0 -7
- package/dist/cjs/AffirmativeConsentScreen-Cnj9dENZ.js.map +0 -1
- package/dist/cjs/AllowlistRejectionScreen-D0FWJ1hu.js +0 -2
- package/dist/cjs/AllowlistRejectionScreen-D0FWJ1hu.js.map +0 -1
- package/dist/cjs/AuthenticateWithWalletScreen-BkqDQ8kx.js +0 -2
- package/dist/cjs/AuthenticateWithWalletScreen-BkqDQ8kx.js.map +0 -1
- package/dist/cjs/AwaitingEvmToSolBridgingScreen-jjrybIDu.js +0 -3
- package/dist/cjs/AwaitingEvmToSolBridgingScreen-jjrybIDu.js.map +0 -1
- package/dist/cjs/AwaitingExternalEthereumTransferScreen-BnlvRd3w.js +0 -3
- package/dist/cjs/AwaitingExternalEthereumTransferScreen-BnlvRd3w.js.map +0 -1
- package/dist/cjs/AwaitingPasswordlessCodeScreen-CphmZLDK.js +0 -104
- package/dist/cjs/AwaitingPasswordlessCodeScreen-CphmZLDK.js.map +0 -1
- package/dist/cjs/AwaitingSolToEvmBridgingScreen-C9e_1kV-.js +0 -3
- package/dist/cjs/AwaitingSolToEvmBridgingScreen-C9e_1kV-.js.map +0 -1
- package/dist/cjs/BridgeNetworkSelectionView-DhPw9ZzM.js +0 -69
- package/dist/cjs/BridgeNetworkSelectionView-DhPw9ZzM.js.map +0 -1
- package/dist/cjs/CaptchaScreen-5E4YGPF8.js +0 -2
- package/dist/cjs/CaptchaScreen-5E4YGPF8.js.map +0 -1
- package/dist/cjs/CoinbaseOnrampStatusScreen-B5PnQxF_.js +0 -17
- package/dist/cjs/CoinbaseOnrampStatusScreen-B5PnQxF_.js.map +0 -1
- package/dist/cjs/ConnectEmailForm-BFNYbDgo.js +0 -4
- package/dist/cjs/ConnectEmailForm-BFNYbDgo.js.map +0 -1
- package/dist/cjs/ConnectLedgerScreen-1k4I3b7t.js +0 -10
- package/dist/cjs/ConnectLedgerScreen-1k4I3b7t.js.map +0 -1
- package/dist/cjs/ConnectOnlyLandingScreen-CcOjakfr.js +0 -2
- package/dist/cjs/ConnectOnlyLandingScreen-CcOjakfr.js.map +0 -1
- package/dist/cjs/ConnectOnlyStatusScreen-LNr2NMen.js +0 -2
- package/dist/cjs/ConnectOnlyStatusScreen-LNr2NMen.js.map +0 -1
- package/dist/cjs/ConnectOrCreateScreen-1ChBDnYs.js +0 -2
- package/dist/cjs/ConnectOrCreateScreen-1ChBDnYs.js.map +0 -1
- package/dist/cjs/ConnectPhoneForm-BUMEDmbj.js +0 -96
- package/dist/cjs/ConnectPhoneForm-BUMEDmbj.js.map +0 -1
- package/dist/cjs/ConnectWalletView-DvMHTZTE.js +0 -75
- package/dist/cjs/ConnectWalletView-DvMHTZTE.js.map +0 -1
- package/dist/cjs/ConnectionStatusScreen-C_jA7-jK.js +0 -8
- package/dist/cjs/ConnectionStatusScreen-C_jA7-jK.js.map +0 -1
- package/dist/cjs/CrossAppAuthScreen-io6MZsGz.js +0 -2
- package/dist/cjs/CrossAppAuthScreen-io6MZsGz.js.map +0 -1
- package/dist/cjs/CustomLandingScreenView-CefOs2Pz.js +0 -24
- package/dist/cjs/CustomLandingScreenView-CefOs2Pz.js.map +0 -1
- package/dist/cjs/DelegatedActionsConsentScreen-CtMLGISl.js +0 -2
- package/dist/cjs/DelegatedActionsConsentScreen-CtMLGISl.js.map +0 -1
- package/dist/cjs/DelegatedActionsRevokeScreen-hNLotGIZ.js +0 -2
- package/dist/cjs/DelegatedActionsRevokeScreen-hNLotGIZ.js.map +0 -1
- package/dist/cjs/DepositAddressAddressStepView-Cvt47EWB.js +0 -188
- package/dist/cjs/DepositAddressAddressStepView-Cvt47EWB.js.map +0 -1
- package/dist/cjs/DepositAddressScreen-hwmrV8Zb.js +0 -9
- package/dist/cjs/DepositAddressScreen-hwmrV8Zb.js.map +0 -1
- package/dist/cjs/DepositAddressV3Screen-DBQBnc6e.js +0 -2
- package/dist/cjs/DepositAddressV3Screen-DBQBnc6e.js.map +0 -1
- package/dist/cjs/EmbeddedWalletConnectingScreen-DhxTgMJ9.js +0 -2
- package/dist/cjs/EmbeddedWalletConnectingScreen-DhxTgMJ9.js.map +0 -1
- package/dist/cjs/EmbeddedWalletCreatedScreen-BfSvst6g.js +0 -2
- package/dist/cjs/EmbeddedWalletCreatedScreen-BfSvst6g.js.map +0 -1
- package/dist/cjs/EmbeddedWalletKeyExportScreen-CKccV5ru.js +0 -25
- package/dist/cjs/EmbeddedWalletKeyExportScreen-CKccV5ru.js.map +0 -1
- package/dist/cjs/EmbeddedWalletOnAccountCreateScreen-BTs6Qo8D.js +0 -2
- package/dist/cjs/EmbeddedWalletOnAccountCreateScreen-BTs6Qo8D.js.map +0 -1
- package/dist/cjs/EmbeddedWalletPasswordUpdateScreen-Bqug2_0v.js +0 -2
- package/dist/cjs/EmbeddedWalletPasswordUpdateScreen-Bqug2_0v.js.map +0 -1
- package/dist/cjs/EmbeddedWalletPasswordUpdateSplashScreen-DsQyulCt.js +0 -2
- package/dist/cjs/EmbeddedWalletPasswordUpdateSplashScreen-DsQyulCt.js.map +0 -1
- package/dist/cjs/EnrollTotp-poPXWf8s.js +0 -64
- package/dist/cjs/EnrollTotp-poPXWf8s.js.map +0 -1
- package/dist/cjs/ErrorScreen-Q1o9ydSN.js +0 -5
- package/dist/cjs/ErrorScreen-Q1o9ydSN.js.map +0 -1
- package/dist/cjs/FarcasterConnectStatusScreen-WWa2cxGD.js +0 -77
- package/dist/cjs/FarcasterConnectStatusScreen-WWa2cxGD.js.map +0 -1
- package/dist/cjs/FarcasterSignerStatusScreen-DTxpiNhe.js +0 -30
- package/dist/cjs/FarcasterSignerStatusScreen-DTxpiNhe.js.map +0 -1
- package/dist/cjs/FiatOnrampScreen-C7Nr40-V.js +0 -579
- package/dist/cjs/FiatOnrampScreen-C7Nr40-V.js.map +0 -1
- package/dist/cjs/FundSolWalletWithExternalSolanaWallet-D5fQrTNY.js +0 -3
- package/dist/cjs/FundSolWalletWithExternalSolanaWallet-D5fQrTNY.js.map +0 -1
- package/dist/cjs/FundWalletMethodHeader-EEdRcCcc.js +0 -2
- package/dist/cjs/FundWalletMethodHeader-EEdRcCcc.js.map +0 -1
- package/dist/cjs/FundWithBankDepositScreen-quzljPdA.js +0 -59
- package/dist/cjs/FundWithBankDepositScreen-quzljPdA.js.map +0 -1
- package/dist/cjs/FundingEditAmountScreen-BweZGhT7.js +0 -2
- package/dist/cjs/FundingEditAmountScreen-BweZGhT7.js.map +0 -1
- package/dist/cjs/FundingMethodSelectionScreen-Dcare7qQ.js +0 -2
- package/dist/cjs/FundingMethodSelectionScreen-Dcare7qQ.js.map +0 -1
- package/dist/cjs/InAppBrowserLoginNotPossible-ywxDLypQ.js +0 -2
- package/dist/cjs/InAppBrowserLoginNotPossible-ywxDLypQ.js.map +0 -1
- package/dist/cjs/InstallWalletScreen-BnBvzMGD.js +0 -2
- package/dist/cjs/InstallWalletScreen-BnBvzMGD.js.map +0 -1
- package/dist/cjs/LandingScreen-BP4dQiBY.js +0 -2
- package/dist/cjs/LandingScreen-BP4dQiBY.js.map +0 -1
- package/dist/cjs/LinkConflictScreen-0_TI5GLv.js +0 -78
- package/dist/cjs/LinkConflictScreen-0_TI5GLv.js.map +0 -1
- package/dist/cjs/LinkEmailScreen-BBscS6n7.js +0 -2
- package/dist/cjs/LinkEmailScreen-BBscS6n7.js.map +0 -1
- package/dist/cjs/LinkPasskeyScreen-BtwFnyot.js +0 -118
- package/dist/cjs/LinkPasskeyScreen-BtwFnyot.js.map +0 -1
- package/dist/cjs/LinkPhoneScreen-DMA_VW7q.js +0 -2
- package/dist/cjs/LinkPhoneScreen-DMA_VW7q.js.map +0 -1
- package/dist/cjs/LoginFailedScreen-C3K3ExGy.js +0 -2
- package/dist/cjs/LoginFailedScreen-C3K3ExGy.js.map +0 -1
- package/dist/cjs/ManualTransferScreen-DPS3IVZD.js +0 -2
- package/dist/cjs/ManualTransferScreen-DPS3IVZD.js.map +0 -1
- package/dist/cjs/MfaAuthEnrollmentFlowScreen-DFWCN2g5.js +0 -2
- package/dist/cjs/MfaAuthEnrollmentFlowScreen-DFWCN2g5.js.map +0 -1
- package/dist/cjs/MfaAuthVerifyFlowScreen-BDXCCDOa.js +0 -2
- package/dist/cjs/MfaAuthVerifyFlowScreen-BDXCCDOa.js.map +0 -1
- package/dist/cjs/MfaEnrollmentFlowScreen-UFJXiSp5.js +0 -2
- package/dist/cjs/MfaEnrollmentFlowScreen-UFJXiSp5.js.map +0 -1
- package/dist/cjs/MfaVerifyFlowScreen-BxUTxjGS.js +0 -2
- package/dist/cjs/MfaVerifyFlowScreen-BxUTxjGS.js.map +0 -1
- package/dist/cjs/ModalFooter-BOIM9AZ5.js +0 -40
- package/dist/cjs/ModalFooter-BOIM9AZ5.js.map +0 -1
- package/dist/cjs/ModalHeader-C_6Ek-fK.js +0 -369
- package/dist/cjs/ModalHeader-C_6Ek-fK.js.map +0 -1
- package/dist/cjs/MoonpayStatusScreen-DDz0Ridp.js +0 -17
- package/dist/cjs/MoonpayStatusScreen-DDz0Ridp.js.map +0 -1
- package/dist/cjs/OAuthStatusScreen-BnJoujHA.js +0 -2
- package/dist/cjs/OAuthStatusScreen-BnJoujHA.js.map +0 -1
- package/dist/cjs/PasskeySelectSignupOrLogin-UgU_NKKr.js +0 -2
- package/dist/cjs/PasskeySelectSignupOrLogin-UgU_NKKr.js.map +0 -1
- package/dist/cjs/PasskeyStatusScreen-DE6sjDKd.js +0 -4
- package/dist/cjs/PasskeyStatusScreen-DE6sjDKd.js.map +0 -1
- package/dist/cjs/PasswordRecoveryScreen-6E_iyu53.js +0 -21
- package/dist/cjs/PasswordRecoveryScreen-6E_iyu53.js.map +0 -1
- package/dist/cjs/QrCode-B-Z2xvZC.js +0 -17
- package/dist/cjs/QrCode-B-Z2xvZC.js.map +0 -1
- package/dist/cjs/RecoveryOAuthStatusScreen-eS8G3SRs.js +0 -2
- package/dist/cjs/RecoveryOAuthStatusScreen-eS8G3SRs.js.map +0 -1
- package/dist/cjs/RecoveryPasswordCreateScreen-CRactPUw.js +0 -2
- package/dist/cjs/RecoveryPasswordCreateScreen-CRactPUw.js.map +0 -1
- package/dist/cjs/RecoverySelectionScreen-Cz9v2TDU.js +0 -8
- package/dist/cjs/RecoverySelectionScreen-Cz9v2TDU.js.map +0 -1
- package/dist/cjs/Screen-CdFyq77v.js +0 -184
- package/dist/cjs/Screen-CdFyq77v.js.map +0 -1
- package/dist/cjs/ScreenLayout-CEEmfO5n.js +0 -2
- package/dist/cjs/ScreenLayout-CEEmfO5n.js.map +0 -1
- package/dist/cjs/SelectSourceAsset-DIKXQDjc.js +0 -141
- package/dist/cjs/SelectSourceAsset-DIKXQDjc.js.map +0 -1
- package/dist/cjs/SetAutomaticRecoveryScreen-rbK-BCOG.js +0 -15
- package/dist/cjs/SetAutomaticRecoveryScreen-rbK-BCOG.js.map +0 -1
- package/dist/cjs/SetWalletPasswordForm-BQhRkIYY.js +0 -13
- package/dist/cjs/SetWalletPasswordForm-BQhRkIYY.js.map +0 -1
- package/dist/cjs/SignRequestScreen-DLjmvCCO.js +0 -27
- package/dist/cjs/SignRequestScreen-DLjmvCCO.js.map +0 -1
- package/dist/cjs/SkeuomorphicDebitCard-BicXguJX.js +0 -150
- package/dist/cjs/SkeuomorphicDebitCard-BicXguJX.js.map +0 -1
- package/dist/cjs/SolanaWalletConnector-Bu5UFy_o.js +0 -2
- package/dist/cjs/SolanaWalletConnector-Bu5UFy_o.js.map +0 -1
- package/dist/cjs/StandardSignAndSendTransactionScreen-D2FfEVZ4.js +0 -21
- package/dist/cjs/StandardSignAndSendTransactionScreen-D2FfEVZ4.js.map +0 -1
- package/dist/cjs/TelegramAuthScreen-B-PZemjc.js +0 -2
- package/dist/cjs/TelegramAuthScreen-B-PZemjc.js.map +0 -1
- package/dist/cjs/TransactionDetails-DQWhjsCO.js +0 -112
- package/dist/cjs/TransactionDetails-DQWhjsCO.js.map +0 -1
- package/dist/cjs/TransactionErrorView-BcuUh71Z.js +0 -165
- package/dist/cjs/TransactionErrorView-BcuUh71Z.js.map +0 -1
- package/dist/cjs/TransferFromWalletScreen-RRSLNY2G.js +0 -32
- package/dist/cjs/TransferFromWalletScreen-RRSLNY2G.js.map +0 -1
- package/dist/cjs/TransferOrBridgeLoadingScreen-C7TDgimw.js +0 -7
- package/dist/cjs/TransferOrBridgeLoadingScreen-C7TDgimw.js.map +0 -1
- package/dist/cjs/TurnstileWrapper-SJ5j6oqy.js +0 -2
- package/dist/cjs/TurnstileWrapper-SJ5j6oqy.js.map +0 -1
- package/dist/cjs/UpdateEmailScreen-BKTUnLTP.js +0 -2
- package/dist/cjs/UpdateEmailScreen-BKTUnLTP.js.map +0 -1
- package/dist/cjs/UpdatePhoneScreen-Gel63lWp.js +0 -2
- package/dist/cjs/UpdatePhoneScreen-Gel63lWp.js.map +0 -1
- package/dist/cjs/UserLimitReachedScreen-BX9A3fdz.js +0 -2
- package/dist/cjs/UserLimitReachedScreen-BX9A3fdz.js.map +0 -1
- package/dist/cjs/WalletInfoCard-B8IVg4lI.js +0 -30
- package/dist/cjs/WalletInfoCard-B8IVg4lI.js.map +0 -1
- package/dist/cjs/WalletInterstitialScreen-Cfr25f30.js +0 -2
- package/dist/cjs/WalletInterstitialScreen-Cfr25f30.js.map +0 -1
- package/dist/cjs/WalletOverflowButton-DMWZKCRU.js +0 -2
- package/dist/cjs/WalletOverflowButton-DMWZKCRU.js.map +0 -1
- package/dist/cjs/coinbase-BSzGLxLr.js +0 -2
- package/dist/cjs/coinbase-BSzGLxLr.js.map +0 -1
- package/dist/cjs/get-entropy-details-for-user-Cw-zhyRt.js +0 -2
- package/dist/cjs/get-entropy-details-for-user-Cw-zhyRt.js.map +0 -1
- package/dist/cjs/guards-CLHfkH_I.js +0 -2
- package/dist/cjs/guards-CLHfkH_I.js.map +0 -1
- package/dist/cjs/index-C5VGxe6W.js +0 -34
- package/dist/cjs/index-C5VGxe6W.js.map +0 -1
- package/dist/cjs/index-CQ8NY-am.js +0 -2
- package/dist/cjs/index-CQ8NY-am.js.map +0 -1
- package/dist/cjs/index-CnvoDA8W.js +0 -13
- package/dist/cjs/index-CnvoDA8W.js.map +0 -1
- package/dist/cjs/modal-context-BTqOAaIB.js +0 -2
- package/dist/cjs/modal-context-BTqOAaIB.js.map +0 -1
- package/dist/cjs/pkce-CUemOh0p.js +0 -2
- package/dist/cjs/pkce-CUemOh0p.js.map +0 -1
- package/dist/cjs/privy-context-B3mFaq7a.js +0 -2
- package/dist/cjs/privy-context-B3mFaq7a.js.map +0 -1
- package/dist/cjs/shared-IWXAPL81.js +0 -194
- package/dist/cjs/shared-IWXAPL81.js.map +0 -1
- package/dist/cjs/shouldProceedtoEmbeddedWalletCreationFlow-CiQCh5Xu.js +0 -2
- package/dist/cjs/shouldProceedtoEmbeddedWalletCreationFlow-CiQCh5Xu.js.map +0 -1
- package/dist/cjs/simulateTransaction-DY2Ms7ol.js +0 -2
- package/dist/cjs/simulateTransaction-DY2Ms7ol.js.map +0 -1
- package/dist/cjs/smart-wallets-BTicf-G4.js +0 -2
- package/dist/cjs/smart-wallets-BTicf-G4.js.map +0 -1
- package/dist/cjs/styles-BAo9vngG.js +0 -93
- package/dist/cjs/styles-BAo9vngG.js.map +0 -1
- package/dist/cjs/styles-FWvnh3ex.js +0 -192
- package/dist/cjs/styles-FWvnh3ex.js.map +0 -1
- package/dist/cjs/to-ui-error-D-rFS1IP.js +0 -5
- package/dist/cjs/to-ui-error-D-rFS1IP.js.map +0 -1
- package/dist/cjs/toViemAccount-Bwd08eim.js +0 -2
- package/dist/cjs/toViemAccount-Bwd08eim.js.map +0 -1
- package/dist/cjs/use-export-wallet-DF0wFnTg.js +0 -2
- package/dist/cjs/use-export-wallet-DF0wFnTg.js.map +0 -1
- package/dist/cjs/use-headless-crypto-deposit-a3WSYjTU.js +0 -2
- package/dist/cjs/use-headless-crypto-deposit-a3WSYjTU.js.map +0 -1
- package/dist/cjs/use-sign-with-user-signer-ZiiO2AuR.js +0 -2
- package/dist/cjs/use-sign-with-user-signer-ZiiO2AuR.js.map +0 -1
- package/dist/cjs/use-unlink-wallet-7oHv7HB2.js +0 -2
- package/dist/cjs/use-unlink-wallet-7oHv7HB2.js.map +0 -1
- package/dist/cjs/useActiveWallet-nM0vl9DI.js +0 -124
- package/dist/cjs/useActiveWallet-nM0vl9DI.js.map +0 -1
- package/dist/cjs/useGetTokenPrice-JPS5Zg1r.js +0 -2
- package/dist/cjs/useGetTokenPrice-JPS5Zg1r.js.map +0 -1
- package/dist/cjs/useI18n-6AkuD1m_.js +0 -2
- package/dist/cjs/useI18n-6AkuD1m_.js.map +0 -1
- package/dist/cjs/useSendTransaction-C1y5AT8E.js +0 -402
- package/dist/cjs/useSendTransaction-C1y5AT8E.js.map +0 -1
- package/dist/cjs/useWallets-DuyLoTNF.js +0 -2
- package/dist/cjs/useWallets-DuyLoTNF.js.map +0 -1
- package/dist/cjs/wallet-connect-DhlGPk-3.js +0 -2
- package/dist/cjs/wallet-connect-DhlGPk-3.js.map +0 -1
- package/dist/cjs/walletconnect-v2-DueGwtPW.js +0 -2
- package/dist/cjs/walletconnect-v2-DueGwtPW.js.map +0 -1
- package/dist/dts/events-context-D_XQ2Qxr.d.mts +0 -328
- package/dist/dts/events-context-D_XQ2Qxr.d.ts +0 -328
- package/dist/dts/importWallet-DdlcXOFn.d.mts +0 -12
- package/dist/dts/importWallet-DdlcXOFn.d.ts +0 -12
- package/dist/dts/toViemAccount-CKai_9Xf.d.mts +0 -27
- package/dist/dts/toViemAccount-CKai_9Xf.d.ts +0 -27
- package/dist/dts/types-CMDNG5O5.d.mts +0 -2840
- package/dist/dts/types-CMDNG5O5.d.ts +0 -2840
- package/dist/dts/useUpdateAccount-Bz1pgonU.d.mts +0 -27
- package/dist/dts/useUpdateAccount-Bz1pgonU.d.ts +0 -27
- package/dist/esm/AccountNotFoundScreen-Hk17kgtp.mjs +0 -2
- package/dist/esm/AccountNotFoundScreen-Hk17kgtp.mjs.map +0 -1
- package/dist/esm/AddFundsSelectionScreen-DMmtwKfL.mjs +0 -8
- package/dist/esm/AddFundsSelectionScreen-DMmtwKfL.mjs.map +0 -1
- package/dist/esm/Address-BWcW3kMM.mjs +0 -18
- package/dist/esm/Address-BWcW3kMM.mjs.map +0 -1
- package/dist/esm/AffirmativeConsentScreen-Cq1Xt7yI.mjs +0 -7
- package/dist/esm/AffirmativeConsentScreen-Cq1Xt7yI.mjs.map +0 -1
- package/dist/esm/AllowlistRejectionScreen-DuDI_mOT.mjs +0 -2
- package/dist/esm/AllowlistRejectionScreen-DuDI_mOT.mjs.map +0 -1
- package/dist/esm/AuthenticateWithWalletScreen-iHudZWZ1.mjs +0 -2
- package/dist/esm/AuthenticateWithWalletScreen-iHudZWZ1.mjs.map +0 -1
- package/dist/esm/AwaitingEvmToSolBridgingScreen-DtZcT_T9.mjs +0 -3
- package/dist/esm/AwaitingEvmToSolBridgingScreen-DtZcT_T9.mjs.map +0 -1
- package/dist/esm/AwaitingExternalEthereumTransferScreen-Ys-7QbY8.mjs +0 -3
- package/dist/esm/AwaitingExternalEthereumTransferScreen-Ys-7QbY8.mjs.map +0 -1
- package/dist/esm/AwaitingPasswordlessCodeScreen-XE7C5Whb.mjs +0 -104
- package/dist/esm/AwaitingPasswordlessCodeScreen-XE7C5Whb.mjs.map +0 -1
- package/dist/esm/AwaitingSolToEvmBridgingScreen-DxfcxAQe.mjs +0 -3
- package/dist/esm/AwaitingSolToEvmBridgingScreen-DxfcxAQe.mjs.map +0 -1
- package/dist/esm/BridgeNetworkSelectionView-OXgPlvYh.mjs +0 -69
- package/dist/esm/BridgeNetworkSelectionView-OXgPlvYh.mjs.map +0 -1
- package/dist/esm/CaptchaScreen-BWHbvsIq.mjs +0 -2
- package/dist/esm/CaptchaScreen-BWHbvsIq.mjs.map +0 -1
- package/dist/esm/CoinbaseOnrampStatusScreen-Dd40lj4-.mjs +0 -17
- package/dist/esm/CoinbaseOnrampStatusScreen-Dd40lj4-.mjs.map +0 -1
- package/dist/esm/ConnectEmailForm-CGzoCz_R.mjs +0 -4
- package/dist/esm/ConnectEmailForm-CGzoCz_R.mjs.map +0 -1
- package/dist/esm/ConnectLedgerScreen-BrKwCwpg.mjs +0 -10
- package/dist/esm/ConnectLedgerScreen-BrKwCwpg.mjs.map +0 -1
- package/dist/esm/ConnectOnlyLandingScreen-Btpd9Q-D.mjs +0 -2
- package/dist/esm/ConnectOnlyLandingScreen-Btpd9Q-D.mjs.map +0 -1
- package/dist/esm/ConnectOnlyStatusScreen-DcF4w957.mjs +0 -2
- package/dist/esm/ConnectOnlyStatusScreen-DcF4w957.mjs.map +0 -1
- package/dist/esm/ConnectOrCreateScreen-Bt1ixLTl.mjs +0 -2
- package/dist/esm/ConnectOrCreateScreen-Bt1ixLTl.mjs.map +0 -1
- package/dist/esm/ConnectPhoneForm-DGmxoQlh.mjs +0 -96
- package/dist/esm/ConnectPhoneForm-DGmxoQlh.mjs.map +0 -1
- package/dist/esm/ConnectWalletView-D6c9OrF8.mjs +0 -75
- package/dist/esm/ConnectWalletView-D6c9OrF8.mjs.map +0 -1
- package/dist/esm/ConnectionStatusScreen-DBTP0AL4.mjs +0 -8
- package/dist/esm/ConnectionStatusScreen-DBTP0AL4.mjs.map +0 -1
- package/dist/esm/CrossAppAuthScreen-D2WT6bls.mjs +0 -2
- package/dist/esm/CrossAppAuthScreen-D2WT6bls.mjs.map +0 -1
- package/dist/esm/CustomLandingScreenView-BPCkDm-v.mjs +0 -24
- package/dist/esm/CustomLandingScreenView-BPCkDm-v.mjs.map +0 -1
- package/dist/esm/DelegatedActionsConsentScreen-Q912yrnT.mjs +0 -2
- package/dist/esm/DelegatedActionsConsentScreen-Q912yrnT.mjs.map +0 -1
- package/dist/esm/DelegatedActionsRevokeScreen-BaCoqHof.mjs +0 -2
- package/dist/esm/DelegatedActionsRevokeScreen-BaCoqHof.mjs.map +0 -1
- package/dist/esm/DepositAddressAddressStepView-aJB6R_gZ.mjs +0 -188
- package/dist/esm/DepositAddressAddressStepView-aJB6R_gZ.mjs.map +0 -1
- package/dist/esm/DepositAddressScreen-BEA6Kb0Q.mjs +0 -9
- package/dist/esm/DepositAddressScreen-BEA6Kb0Q.mjs.map +0 -1
- package/dist/esm/DepositAddressV3Screen-DugUdefD.mjs +0 -2
- package/dist/esm/DepositAddressV3Screen-DugUdefD.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletConnectingScreen-4xxkPhpl.mjs +0 -2
- package/dist/esm/EmbeddedWalletConnectingScreen-4xxkPhpl.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletCreatedScreen-CsxHbNyE.mjs +0 -2
- package/dist/esm/EmbeddedWalletCreatedScreen-CsxHbNyE.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletKeyExportScreen-BYd7eGFj.mjs +0 -25
- package/dist/esm/EmbeddedWalletKeyExportScreen-BYd7eGFj.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletOnAccountCreateScreen-uDvGLN61.mjs +0 -2
- package/dist/esm/EmbeddedWalletOnAccountCreateScreen-uDvGLN61.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletPasswordUpdateScreen-BQ409t0j.mjs +0 -2
- package/dist/esm/EmbeddedWalletPasswordUpdateScreen-BQ409t0j.mjs.map +0 -1
- package/dist/esm/EmbeddedWalletPasswordUpdateSplashScreen-B-ctJtlN.mjs +0 -2
- package/dist/esm/EmbeddedWalletPasswordUpdateSplashScreen-B-ctJtlN.mjs.map +0 -1
- package/dist/esm/EnrollTotp-Bc7cjRnR.mjs +0 -64
- package/dist/esm/EnrollTotp-Bc7cjRnR.mjs.map +0 -1
- package/dist/esm/ErrorScreen-Y1ZkbOeN.mjs +0 -5
- package/dist/esm/ErrorScreen-Y1ZkbOeN.mjs.map +0 -1
- package/dist/esm/FarcasterConnectStatusScreen-DA5oIDMx.mjs +0 -76
- package/dist/esm/FarcasterConnectStatusScreen-DA5oIDMx.mjs.map +0 -1
- package/dist/esm/FarcasterSignerStatusScreen-13Iuyzrj.mjs +0 -29
- package/dist/esm/FarcasterSignerStatusScreen-13Iuyzrj.mjs.map +0 -1
- package/dist/esm/FiatOnrampScreen-CedI1Y7i.mjs +0 -579
- package/dist/esm/FiatOnrampScreen-CedI1Y7i.mjs.map +0 -1
- package/dist/esm/FundSolWalletWithExternalSolanaWallet-C1PB4bxX.mjs +0 -2
- package/dist/esm/FundSolWalletWithExternalSolanaWallet-C1PB4bxX.mjs.map +0 -1
- package/dist/esm/FundWalletMethodHeader-ClxMih5F.mjs +0 -2
- package/dist/esm/FundWalletMethodHeader-ClxMih5F.mjs.map +0 -1
- package/dist/esm/FundWithBankDepositScreen-BDOsneGI.mjs +0 -59
- package/dist/esm/FundWithBankDepositScreen-BDOsneGI.mjs.map +0 -1
- package/dist/esm/FundingEditAmountScreen-BWh-54by.mjs +0 -2
- package/dist/esm/FundingEditAmountScreen-BWh-54by.mjs.map +0 -1
- package/dist/esm/FundingMethodSelectionScreen-BI9bzFEK.mjs +0 -2
- package/dist/esm/FundingMethodSelectionScreen-BI9bzFEK.mjs.map +0 -1
- package/dist/esm/InAppBrowserLoginNotPossible-CrWxnKej.mjs +0 -2
- package/dist/esm/InAppBrowserLoginNotPossible-CrWxnKej.mjs.map +0 -1
- package/dist/esm/InstallWalletScreen-Dio4epua.mjs +0 -2
- package/dist/esm/InstallWalletScreen-Dio4epua.mjs.map +0 -1
- package/dist/esm/LandingScreen-DI1iowtc.mjs +0 -2
- package/dist/esm/LandingScreen-DI1iowtc.mjs.map +0 -1
- package/dist/esm/LinkConflictScreen-Duqdwi_M.mjs +0 -78
- package/dist/esm/LinkConflictScreen-Duqdwi_M.mjs.map +0 -1
- package/dist/esm/LinkEmailScreen-DBk3sRKH.mjs +0 -2
- package/dist/esm/LinkEmailScreen-DBk3sRKH.mjs.map +0 -1
- package/dist/esm/LinkPasskeyScreen-b67s712l.mjs +0 -118
- package/dist/esm/LinkPasskeyScreen-b67s712l.mjs.map +0 -1
- package/dist/esm/LinkPhoneScreen-B13lRxoH.mjs +0 -2
- package/dist/esm/LinkPhoneScreen-B13lRxoH.mjs.map +0 -1
- package/dist/esm/LoginFailedScreen-DLWRVnWH.mjs +0 -2
- package/dist/esm/LoginFailedScreen-DLWRVnWH.mjs.map +0 -1
- package/dist/esm/ManualTransferScreen-Cep2IVz6.mjs +0 -2
- package/dist/esm/ManualTransferScreen-Cep2IVz6.mjs.map +0 -1
- package/dist/esm/MfaAuthEnrollmentFlowScreen-BjdSUOLz.mjs +0 -2
- package/dist/esm/MfaAuthEnrollmentFlowScreen-BjdSUOLz.mjs.map +0 -1
- package/dist/esm/MfaAuthVerifyFlowScreen-qtxSUJFR.mjs +0 -2
- package/dist/esm/MfaAuthVerifyFlowScreen-qtxSUJFR.mjs.map +0 -1
- package/dist/esm/MfaEnrollmentFlowScreen-rbzmHzag.mjs +0 -2
- package/dist/esm/MfaEnrollmentFlowScreen-rbzmHzag.mjs.map +0 -1
- package/dist/esm/MfaVerifyFlowScreen-C-nkzFjL.mjs +0 -2
- package/dist/esm/MfaVerifyFlowScreen-C-nkzFjL.mjs.map +0 -1
- package/dist/esm/ModalFooter-wxyiVBus.mjs +0 -40
- package/dist/esm/ModalFooter-wxyiVBus.mjs.map +0 -1
- package/dist/esm/ModalHeader-BYtBrqZ8.mjs +0 -369
- package/dist/esm/ModalHeader-BYtBrqZ8.mjs.map +0 -1
- package/dist/esm/MoonpayStatusScreen-Db3G7VEv.mjs +0 -17
- package/dist/esm/MoonpayStatusScreen-Db3G7VEv.mjs.map +0 -1
- package/dist/esm/OAuthStatusScreen-ClZWuVSQ.mjs +0 -2
- package/dist/esm/OAuthStatusScreen-ClZWuVSQ.mjs.map +0 -1
- package/dist/esm/PasskeySelectSignupOrLogin-Dg55U4Xt.mjs +0 -2
- package/dist/esm/PasskeySelectSignupOrLogin-Dg55U4Xt.mjs.map +0 -1
- package/dist/esm/PasskeyStatusScreen-nedMH96Q.mjs +0 -4
- package/dist/esm/PasskeyStatusScreen-nedMH96Q.mjs.map +0 -1
- package/dist/esm/PasswordRecoveryScreen-Bi2RVmNb.mjs +0 -21
- package/dist/esm/PasswordRecoveryScreen-Bi2RVmNb.mjs.map +0 -1
- package/dist/esm/QrCode-La2F-fNp.mjs +0 -17
- package/dist/esm/QrCode-La2F-fNp.mjs.map +0 -1
- package/dist/esm/RecoveryOAuthStatusScreen-C9t9JNQ2.mjs +0 -2
- package/dist/esm/RecoveryOAuthStatusScreen-C9t9JNQ2.mjs.map +0 -1
- package/dist/esm/RecoveryPasswordCreateScreen-D75LsnRn.mjs +0 -2
- package/dist/esm/RecoveryPasswordCreateScreen-D75LsnRn.mjs.map +0 -1
- package/dist/esm/RecoverySelectionScreen-BoyQGpAX.mjs +0 -8
- package/dist/esm/RecoverySelectionScreen-BoyQGpAX.mjs.map +0 -1
- package/dist/esm/Screen-DmdSrbMD.mjs +0 -183
- package/dist/esm/Screen-DmdSrbMD.mjs.map +0 -1
- package/dist/esm/ScreenLayout--i2oHiBU.mjs +0 -2
- package/dist/esm/ScreenLayout--i2oHiBU.mjs.map +0 -1
- package/dist/esm/SelectSourceAsset-CLzH8V5J.mjs +0 -141
- package/dist/esm/SelectSourceAsset-CLzH8V5J.mjs.map +0 -1
- package/dist/esm/SetAutomaticRecoveryScreen-Jv8ymmpo.mjs +0 -15
- package/dist/esm/SetAutomaticRecoveryScreen-Jv8ymmpo.mjs.map +0 -1
- package/dist/esm/SetWalletPasswordForm-BptclzJ9.mjs +0 -13
- package/dist/esm/SetWalletPasswordForm-BptclzJ9.mjs.map +0 -1
- package/dist/esm/SignRequestScreen-B4B0Zog8.mjs +0 -27
- package/dist/esm/SignRequestScreen-B4B0Zog8.mjs.map +0 -1
- package/dist/esm/SkeuomorphicDebitCard-DC5ZOnaX.mjs +0 -150
- package/dist/esm/SkeuomorphicDebitCard-DC5ZOnaX.mjs.map +0 -1
- package/dist/esm/SolanaWalletConnector-DlyutzAs.mjs +0 -2
- package/dist/esm/SolanaWalletConnector-DlyutzAs.mjs.map +0 -1
- package/dist/esm/StandardSignAndSendTransactionScreen-BAeQQs2i.mjs +0 -21
- package/dist/esm/StandardSignAndSendTransactionScreen-BAeQQs2i.mjs.map +0 -1
- package/dist/esm/TelegramAuthScreen-Cr2HIeuQ.mjs +0 -2
- package/dist/esm/TelegramAuthScreen-Cr2HIeuQ.mjs.map +0 -1
- package/dist/esm/TransactionDetails-BXj5F3gi.mjs +0 -112
- package/dist/esm/TransactionDetails-BXj5F3gi.mjs.map +0 -1
- package/dist/esm/TransactionErrorView-DkvvO9-3.mjs +0 -165
- package/dist/esm/TransactionErrorView-DkvvO9-3.mjs.map +0 -1
- package/dist/esm/TransferFromWalletScreen-C2XX2ALC.mjs +0 -32
- package/dist/esm/TransferFromWalletScreen-C2XX2ALC.mjs.map +0 -1
- package/dist/esm/TransferOrBridgeLoadingScreen-DWLQfOyu.mjs +0 -7
- package/dist/esm/TransferOrBridgeLoadingScreen-DWLQfOyu.mjs.map +0 -1
- package/dist/esm/TurnstileWrapper-DMvZ1JxN.mjs +0 -2
- package/dist/esm/TurnstileWrapper-DMvZ1JxN.mjs.map +0 -1
- package/dist/esm/UpdateEmailScreen-Dr1NgKUB.mjs +0 -2
- package/dist/esm/UpdateEmailScreen-Dr1NgKUB.mjs.map +0 -1
- package/dist/esm/UpdatePhoneScreen-CEGwQgET.mjs +0 -2
- package/dist/esm/UpdatePhoneScreen-CEGwQgET.mjs.map +0 -1
- package/dist/esm/UserLimitReachedScreen-ABboqBZu.mjs +0 -2
- package/dist/esm/UserLimitReachedScreen-ABboqBZu.mjs.map +0 -1
- package/dist/esm/WalletInfoCard-CCfjdRyS.mjs +0 -30
- package/dist/esm/WalletInfoCard-CCfjdRyS.mjs.map +0 -1
- package/dist/esm/WalletInterstitialScreen-DRrhg0as.mjs +0 -2
- package/dist/esm/WalletInterstitialScreen-DRrhg0as.mjs.map +0 -1
- package/dist/esm/WalletOverflowButton-DS3XMBJ1.mjs +0 -2
- package/dist/esm/WalletOverflowButton-DS3XMBJ1.mjs.map +0 -1
- package/dist/esm/coinbase-BPbNhMzf.mjs +0 -2
- package/dist/esm/coinbase-BPbNhMzf.mjs.map +0 -1
- package/dist/esm/get-entropy-details-for-user-D2Ow_bTK.mjs +0 -2
- package/dist/esm/get-entropy-details-for-user-D2Ow_bTK.mjs.map +0 -1
- package/dist/esm/guards-C5L8uimE.mjs +0 -2
- package/dist/esm/guards-C5L8uimE.mjs.map +0 -1
- package/dist/esm/index-BbTBi4U5.mjs +0 -34
- package/dist/esm/index-BbTBi4U5.mjs.map +0 -1
- package/dist/esm/index-Bydm4cpL.mjs +0 -2
- package/dist/esm/index-Bydm4cpL.mjs.map +0 -1
- package/dist/esm/index-C6nGQIIq.mjs +0 -13
- package/dist/esm/index-C6nGQIIq.mjs.map +0 -1
- package/dist/esm/modal-context-BPfZIWOm.mjs +0 -2
- package/dist/esm/modal-context-BPfZIWOm.mjs.map +0 -1
- package/dist/esm/pkce-D10g1vFW.mjs +0 -2
- package/dist/esm/pkce-D10g1vFW.mjs.map +0 -1
- package/dist/esm/privy-context-CGYR5ey7.mjs +0 -2
- package/dist/esm/privy-context-CGYR5ey7.mjs.map +0 -1
- package/dist/esm/shared-DB6PJ3Cb.mjs +0 -194
- package/dist/esm/shared-DB6PJ3Cb.mjs.map +0 -1
- package/dist/esm/shouldProceedtoEmbeddedWalletCreationFlow-CJUugdYd.mjs +0 -2
- package/dist/esm/shouldProceedtoEmbeddedWalletCreationFlow-CJUugdYd.mjs.map +0 -1
- package/dist/esm/simulateTransaction-D3_jVpWn.mjs +0 -2
- package/dist/esm/simulateTransaction-D3_jVpWn.mjs.map +0 -1
- package/dist/esm/smart-wallets-BENW9iOL.mjs +0 -2
- package/dist/esm/smart-wallets-BENW9iOL.mjs.map +0 -1
- package/dist/esm/styles-NnzmKm8V.mjs +0 -93
- package/dist/esm/styles-NnzmKm8V.mjs.map +0 -1
- package/dist/esm/styles-_GOCr4l3.mjs +0 -192
- package/dist/esm/styles-_GOCr4l3.mjs.map +0 -1
- package/dist/esm/to-ui-error-CmD2lHCU.mjs +0 -5
- package/dist/esm/to-ui-error-CmD2lHCU.mjs.map +0 -1
- package/dist/esm/toViemAccount-D6SWeFgB.mjs +0 -2
- package/dist/esm/toViemAccount-D6SWeFgB.mjs.map +0 -1
- package/dist/esm/use-export-wallet-DcZNBtqM.mjs +0 -2
- package/dist/esm/use-export-wallet-DcZNBtqM.mjs.map +0 -1
- package/dist/esm/use-headless-crypto-deposit-Dc9lFKf6.mjs +0 -2
- package/dist/esm/use-headless-crypto-deposit-Dc9lFKf6.mjs.map +0 -1
- package/dist/esm/use-sign-with-user-signer-DGa_8Goc.mjs +0 -2
- package/dist/esm/use-sign-with-user-signer-DGa_8Goc.mjs.map +0 -1
- package/dist/esm/use-unlink-wallet-DR2U_RNq.mjs +0 -2
- package/dist/esm/use-unlink-wallet-DR2U_RNq.mjs.map +0 -1
- package/dist/esm/useActiveWallet-D7SCMMU3.mjs +0 -124
- package/dist/esm/useActiveWallet-D7SCMMU3.mjs.map +0 -1
- package/dist/esm/useGetTokenPrice-DHIUZwCZ.mjs +0 -2
- package/dist/esm/useGetTokenPrice-DHIUZwCZ.mjs.map +0 -1
- package/dist/esm/useI18n-Dek9VZ_A.mjs +0 -2
- package/dist/esm/useI18n-Dek9VZ_A.mjs.map +0 -1
- package/dist/esm/useSendTransaction-CedqjtRZ.mjs +0 -402
- package/dist/esm/useSendTransaction-CedqjtRZ.mjs.map +0 -1
- package/dist/esm/useWallets-G4slvEFn.mjs +0 -2
- package/dist/esm/useWallets-G4slvEFn.mjs.map +0 -1
- package/dist/esm/wallet-connect-NfOcilwU.mjs +0 -2
- package/dist/esm/wallet-connect-NfOcilwU.mjs.map +0 -1
- package/dist/esm/walletconnect-v2-CFjSfLoq.mjs +0 -2
- package/dist/esm/walletconnect-v2-CFjSfLoq.mjs.map +0 -1
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import{styled as r}from"styled-components";import{L as e}from"./Loader-UAZqxsnw.mjs";import{S as o}from"./ScreenLayout-nGD4p5K0.mjs";const i=r(o)`
|
|
2
|
+
#privy-content-footer-container {
|
|
3
|
+
margin-top: 0;
|
|
4
|
+
}
|
|
5
|
+
`,n=r.p`
|
|
6
|
+
font-size: 0.875rem;
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
line-height: 1.375rem;
|
|
9
|
+
color: var(--privy-color-foreground-3);
|
|
10
|
+
margin: 0.25rem 0 0;
|
|
11
|
+
`,a=r.img`
|
|
12
|
+
width: 2rem;
|
|
13
|
+
height: 2rem;
|
|
14
|
+
border-radius: var(--privy-border-radius-full);
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
`,t=r.img`
|
|
18
|
+
width: 2rem;
|
|
19
|
+
height: 2rem;
|
|
20
|
+
border-radius: 4px;
|
|
21
|
+
object-fit: cover;
|
|
22
|
+
flex-shrink: 0;
|
|
23
|
+
`,l=r.span`
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
`,s=r.span`
|
|
26
|
+
font-size: 0.875rem;
|
|
27
|
+
color: var(--privy-color-foreground-3);
|
|
28
|
+
margin-left: auto;
|
|
29
|
+
`,d=r.span`
|
|
30
|
+
width: 2rem;
|
|
31
|
+
height: 2rem;
|
|
32
|
+
border-radius: var(--privy-border-radius-full);
|
|
33
|
+
background-color: var(--privy-color-background-2);
|
|
34
|
+
color: var(--privy-color-icon-muted);
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
|
|
41
|
+
svg {
|
|
42
|
+
width: 1.125rem;
|
|
43
|
+
height: 1.125rem;
|
|
44
|
+
}
|
|
45
|
+
`,c=r.span`
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
align-items: flex-start;
|
|
49
|
+
`,m=r.span`
|
|
50
|
+
font-size: 0.875rem;
|
|
51
|
+
line-height: 1.25rem;
|
|
52
|
+
color: var(--privy-color-foreground-3);
|
|
53
|
+
`;r.div`
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
gap: 0.5rem;
|
|
57
|
+
padding: 0.5rem 1rem;
|
|
58
|
+
min-height: 2.25rem;
|
|
59
|
+
border-radius: 6.25rem;
|
|
60
|
+
border: none;
|
|
61
|
+
background-color: var(--privy-color-background-2);
|
|
62
|
+
|
|
63
|
+
input {
|
|
64
|
+
flex: 1;
|
|
65
|
+
border: none;
|
|
66
|
+
outline: none;
|
|
67
|
+
box-shadow: none;
|
|
68
|
+
font-size: 0.875rem;
|
|
69
|
+
line-height: 1.25rem;
|
|
70
|
+
background: transparent;
|
|
71
|
+
color: var(--privy-color-foreground);
|
|
72
|
+
|
|
73
|
+
&:focus {
|
|
74
|
+
outline: none;
|
|
75
|
+
box-shadow: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&::placeholder {
|
|
79
|
+
color: var(--privy-color-foreground-3);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;const g=r.button`
|
|
83
|
+
&& {
|
|
84
|
+
position: relative;
|
|
85
|
+
width: 100%;
|
|
86
|
+
display: flex;
|
|
87
|
+
gap: 0.75rem;
|
|
88
|
+
align-items: center;
|
|
89
|
+
padding: 0.625rem 0.75rem;
|
|
90
|
+
min-height: 3.5rem;
|
|
91
|
+
border: 1px solid
|
|
92
|
+
${r=>r.$selected?"var(--privy-color-icon-interactive)":"var(--privy-color-foreground-4)"};
|
|
93
|
+
border-radius: var(--privy-border-radius-md);
|
|
94
|
+
background-color: ${r=>r.$selected?"var(--privy-color-info-bg)":"transparent"};
|
|
95
|
+
color: var(--privy-color-foreground);
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
line-height: 1.5rem;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
outline: none;
|
|
100
|
+
box-shadow: none;
|
|
101
|
+
transition:
|
|
102
|
+
background-color 200ms ease,
|
|
103
|
+
border-color 200ms ease;
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
background-color: var(--privy-color-background-2);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&:disabled {
|
|
110
|
+
opacity: ${r=>r.$selected?1:.5};
|
|
111
|
+
cursor: not-allowed;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:focus {
|
|
115
|
+
outline: none;
|
|
116
|
+
box-shadow: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:focus-visible {
|
|
120
|
+
box-shadow: var(--privy-shadow-focus-ring);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`,p=r.div`
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
gap: 0.75rem;
|
|
129
|
+
padding: 3rem 0;
|
|
130
|
+
`,v=r.div`
|
|
131
|
+
display: flex;
|
|
132
|
+
flex-direction: column;
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
padding: 0.5rem 0;
|
|
135
|
+
`,f=r.div`
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
gap: 0.75rem;
|
|
139
|
+
`,u=r.div`
|
|
140
|
+
width: 1.5rem;
|
|
141
|
+
height: 1.5rem;
|
|
142
|
+
border-radius: var(--privy-border-radius-full);
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
flex-shrink: 0;
|
|
147
|
+
background-color: ${r=>"done"===r.$status?"var(--privy-color-success-light)":"var(--privy-color-background-2)"};
|
|
148
|
+
`,h=r.div`
|
|
149
|
+
width: 2px;
|
|
150
|
+
height: 1rem;
|
|
151
|
+
background-color: var(--privy-color-background-2);
|
|
152
|
+
margin-left: 0.6875rem;
|
|
153
|
+
`,b=r.span`
|
|
154
|
+
font-size: 0.875rem;
|
|
155
|
+
color: var(--privy-color-foreground);
|
|
156
|
+
`;r.div`
|
|
157
|
+
display: flex;
|
|
158
|
+
align-items: flex-start;
|
|
159
|
+
gap: 0.75rem;
|
|
160
|
+
padding: 0.75rem 1rem;
|
|
161
|
+
border-radius: var(--privy-border-radius-md);
|
|
162
|
+
background-color: var(--privy-color-background-2);
|
|
163
|
+
font-size: 0.8125rem;
|
|
164
|
+
line-height: 1.25rem;
|
|
165
|
+
color: var(--privy-color-foreground-3);
|
|
166
|
+
`;const y=r.div`
|
|
167
|
+
display: flex;
|
|
168
|
+
justify-content: space-between;
|
|
169
|
+
align-items: center;
|
|
170
|
+
font-size: 0.8125rem;
|
|
171
|
+
line-height: 1.25rem;
|
|
172
|
+
`,x=r.span`
|
|
173
|
+
color: var(--privy-color-foreground);
|
|
174
|
+
font-weight: 400;
|
|
175
|
+
`,w=r.span`
|
|
176
|
+
color: var(--privy-color-foreground);
|
|
177
|
+
font-weight: 500;
|
|
178
|
+
text-align: right;
|
|
179
|
+
max-width: 60%;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
text-overflow: ellipsis;
|
|
182
|
+
white-space: nowrap;
|
|
183
|
+
`,k=r(e)`
|
|
184
|
+
&& {
|
|
185
|
+
margin-left: auto;
|
|
186
|
+
height: 1.5rem;
|
|
187
|
+
width: 1.5rem;
|
|
188
|
+
border-width: 2px;
|
|
189
|
+
flex-shrink: 0;
|
|
190
|
+
}
|
|
191
|
+
`;export{i as C,p as L,d as M,t as N,g as O,n as S,a as T,c as a,l as b,m as c,k as d,s as e,v as f,f as g,u as h,b as i,h as j,y as k,x as l,w as m};
|
|
192
|
+
//# sourceMappingURL=styles-BRWlD4eG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles-BRWlD4eG.mjs","sources":["../../src/screens/DepositAddress/shared/styles.tsx"],"names":["CompactScreenLayout","styled","ScreenLayout","Subtitle","p","TokenIcon","img","NetworkIcon","OptionLabel","span","OptionMeta","MethodIconContainer","MethodCopy","MethodSubtitle","div","OptionButton","button","r","$selected","LoadingContainer","Timeline","TimelineStep","TimelineDot","$status","TimelineBar","TimelineLabel","ConfigRow","ConfigLabel","ConfigValue","OptionLoader","Loader"],"mappings":"qIAUO,MAAMA,EAAsBC,EAAOC,EAAa;;;;EAM1CC,EAAWF,EAAOG,CAAC;;;;;;EAQnBC,EAAYJ,EAAOK,GAAG;;;;;;EAQtBC,EAAcN,EAAOK,GAAG;;;;;;EAQxBE,EAAcP,EAAOQ,IAAI;;EAIzBC,EAAaT,EAAOQ,IAAI;;;;EAMxBE,EAAsBV,EAAOQ,IAAI;;;;;;;;;;;;;;;;EAkBjCG,EAAaX,EAAOQ,IAAI;;;;EAMxBI,EAAiBZ,EAAOQ,IAAI;;;;EAMhBR,EAAOa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5B,MAAMC,EAAed,EAAOe,MAAM;;;;;;;;;;QAUjCC,GACAb,EAAEc,UAAY,sCAAwC;;wBAEtCD,GAAQb,EAAEc,UAAY,6BAA+B;;;;;;;;;;;;;;;;iBAgB5DD,GAAQb,EAAEc,UAAY,EAAI;;;;;;;;;;;;;EAe9BC,EAAmBlB,EAAOa,GAAG;;;;;;;EAS7BM,EAAWnB,EAAOa,GAAG;;;;;EAOrBO,EAAepB,EAAOa,GAAG;;;;EAMzBQ,EAAcrB,EAAOa,GAAG;;;;;;;;sBAQdV,GACnBA,SAAAA,EAAEmB,QAAqB,mCAAqC;EAGnDC,EAAcvB,EAAOa,GAAG;;;;;EAOxBW,EAAgBxB,EAAOQ,IAAI;;;EAKZR,EAAOa,GAAG;;;;;;;;;;QAYzBY,EAAYzB,EAAOa,GAAG;;;;;;EAQtBa,EAAc1B,EAAOQ,IAAI;;;EAKzBmB,EAAc3B,EAAOQ,IAAI;;;;;;;;EAUzBoB,EAAe5B,EAAO6B,EAAO;;;;;;;;"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import{styled as o,keyframes as t}from"styled-components";import{c as i}from"./ModalHeader-BM7kFZd5.mjs";import{LinkButton as r}from"./LinkPasskeyScreen-DCzXkdBR.mjs";const e=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
padding-top: 24px;
|
|
6
|
+
padding-bottom: 24px;
|
|
7
|
+
`,n=o.div`
|
|
8
|
+
width: 24px;
|
|
9
|
+
height: 24px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
border-radius: var(--privy-border-radius-sm);
|
|
16
|
+
}
|
|
17
|
+
`,a=o.div`
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: flex-start;
|
|
22
|
+
gap: 8px;
|
|
23
|
+
`,p=o.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 4px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
padding: 0 16px;
|
|
29
|
+
border-width: 1px !important;
|
|
30
|
+
border-radius: 12px;
|
|
31
|
+
cursor: text;
|
|
32
|
+
|
|
33
|
+
&:focus-within {
|
|
34
|
+
border-color: var(--privy-color-accent);
|
|
35
|
+
}
|
|
36
|
+
`;o.div`
|
|
37
|
+
font-size: 42px !important;
|
|
38
|
+
`;const s=o.input`
|
|
39
|
+
background-color: var(--privy-color-background);
|
|
40
|
+
width: 100%;
|
|
41
|
+
|
|
42
|
+
&:focus {
|
|
43
|
+
outline: none !important;
|
|
44
|
+
border: none !important;
|
|
45
|
+
box-shadow: none !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&& {
|
|
49
|
+
font-size: 26px;
|
|
50
|
+
}
|
|
51
|
+
`,d=o(s)`
|
|
52
|
+
&& {
|
|
53
|
+
font-size: 42px;
|
|
54
|
+
}
|
|
55
|
+
`;o.button`
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
padding-left: 4px;
|
|
58
|
+
`;const c=o.div`
|
|
59
|
+
font-size: 18px;
|
|
60
|
+
`,l=o.div`
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
color: var(--privy-color-foreground-3);
|
|
63
|
+
/* we need this container to maintain a static height if there's no content */
|
|
64
|
+
height: 20px;
|
|
65
|
+
`;o.div`
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: row;
|
|
68
|
+
line-height: 22px;
|
|
69
|
+
font-size: 16px;
|
|
70
|
+
text-align: center;
|
|
71
|
+
svg {
|
|
72
|
+
margin: auto;
|
|
73
|
+
}
|
|
74
|
+
`,o(r)`
|
|
75
|
+
margin-top: 16px;
|
|
76
|
+
`;let x=t`
|
|
77
|
+
from {
|
|
78
|
+
opacity: 0;
|
|
79
|
+
}
|
|
80
|
+
to {
|
|
81
|
+
opacity: 1;
|
|
82
|
+
}
|
|
83
|
+
`;o(i)`
|
|
84
|
+
border-radius: var(--privy-border-radius-md) !important;
|
|
85
|
+
animation: ${x} 0.3s ease-in-out;
|
|
86
|
+
`;const m=o.a`
|
|
87
|
+
&& {
|
|
88
|
+
color: var(--privy-color-accent);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
`;export{a as F,n as I,p as a,s as b,c,l as d,e,m as f,d as g};
|
|
93
|
+
//# sourceMappingURL=styles-SlRcHdFL.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles-SlRcHdFL.mjs","sources":["../../src/screens/Funding/styles.tsx"],"names":["FundingMethodContainer","styled","div","IconContainer","FundingQuantityWrapper","FundingQuantity","FundingAmountInput","input","FundingAmountInputLarge","button","FundingCurrency","FundingDollars","LinkButton","fadeIn","keyframes","SoftCtaButton","InfoButtonLink","a"],"mappings":"uKAKO,MAAMA,EAAyBC,EAAOC,GAAG;;;;;;EAQnCC,EAAgBF,EAAOC,GAAG;;;;;;;;;;EAY1BE,EAAyBH,EAAOC,GAAG;;;;;;EAOnCG,EAAkBJ,EAAOC,GAAG;;;;;;;;;;;;;EAeZD,EAAOC,GAAG;;QAI1BI,EAAqBL,EAAOM,KAAK;;;;;;;;;;;;;EAejCC,EAA0BP,EAAOK,EAAmB;;;;EAM1BL,EAAOQ,MAAM;;;QAKvCC,EAAkBT,EAAOC,GAAG;;EAI5BS,EAAiBV,EAAOC,GAAG;;;;;EAOVD,EAAOC,GAAG;;;;;;;;;EAWPD,EAAOW,EAAW;;EAInD,IAAMC,EAASC,CAAS;;;;;;;EASgBb,EAAOc,EAAc;;eAE9CF;QAGFG,EAAiBf,EAAOgB,CAAC;;;;;;"}
|
package/dist/esm/tempo.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{isTempoTransactionRequest as a}from"@privy-io/ethereum";import{toWalletApiUnsignedEthTransaction as t,rpc as s}from"@privy-io/js-sdk-core";import{v as e,w as n,a as r,x as i}from"./toViemAccount-
|
|
1
|
+
import{isTempoTransactionRequest as a}from"@privy-io/ethereum";import{toWalletApiUnsignedEthTransaction as t,rpc as s}from"@privy-io/js-sdk-core";import{v as e,w as n,a as r,x as i}from"./toViemAccount-CxoAwoGG.mjs";export{o as toViemAccount}from"./toViemAccount-CxoAwoGG.mjs";import{u as d,k as c,c as l}from"./privy-context-Bxv3Wh-5.mjs";import{i as h,g as m}from"./getPublicClient-39RNz8yA.mjs";import{u as p}from"./internal-context-dfitw7Ot.mjs";const w=()=>{let{privy:o,walletProxy:w,rpcConfig:g,chains:u,appId:y}=p(),{user:f,sendTransaction:T}=d();return{sendTransaction:async({transaction:d,wallet:p},_)=>{let v=d;if(h(d.chainId)&&e(d)&&(v=n(d)),!a(v))return await T(v,{address:p.address,...void 0!==_?.sponsor?{sponsor:_.sponsor}:{},uiOptions:{showWalletUIs:!1}});let U=await r();if(!U||!w)throw Error("Must have valid access token and Privy wallet to send transaction");let E=c(f,p.address);if(!E||!l(E))throw Error("Tempo (type 118) transactions are only supported on Unified embedded wallets");let k=v.chainId;if(!k||!h(k))throw Error(`Cannot send a Tempo (type 118) transaction on chain ${k}`);let x=m(k,u,g,{appId:y}),I={transaction:t(await i(v,x,p.address))};if(_?.sponsor){let a=await s(o,(async({message:a})=>w.signWithUserSigner({accessToken:U,message:a})),{chain_type:"ethereum",method:"eth_sendTransaction",wallet_id:E.id,caip2:`eip155:${k}`,sponsor:!0,params:I});if("eth_sendTransaction"!==a.method||!("hash"in a.data))throw Error("Unable to send transaction");return{hash:a.data.hash}}let b=await s(o,(async({message:a})=>w.signWithUserSigner({accessToken:U,message:a})),{chain_type:"ethereum",method:"eth_signTransaction",wallet_id:E.id,params:I});if("eth_signTransaction"!==b.method||!("signed_transaction"in b.data))throw Error("Unable to sign transaction");return{hash:await x.request({method:"eth_sendRawTransaction",params:[b.data.signed_transaction]})}}}},g=()=>{let{privy:i,walletProxy:o}=p(),{user:m,signTransaction:w}=d();return{signTransaction:async({transaction:d,wallet:p})=>{let g=d;if(h(d.chainId)&&e(d)&&(g=n(d)),!a(g)){let{signature:a}=await w(g,{address:p.address,uiOptions:{showWalletUIs:!1}});return{signedTransaction:a}}let u=await r();if(!u||!o)throw Error("Must have valid access token and Privy wallet to sign transaction");let y=c(m,p.address);if(!y||!l(y))throw Error("Tempo (type 118) transactions are only supported on Unified embedded wallets");let f=await s(i,(async({message:a})=>o.signWithUserSigner({accessToken:u,message:a})),{chain_type:"ethereum",method:"eth_signTransaction",wallet_id:y.id,params:{transaction:t(g)}});if("eth_signTransaction"!==f.method||!("signed_transaction"in f.data))throw Error("Unable to sign transaction");return{signedTransaction:f.data.signed_transaction}}}};export{w as useSendTransaction,g as useSignTransaction};
|
|
2
2
|
//# sourceMappingURL=tempo.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{jsxs as e,jsx as o,Fragment as r}from"react/jsx-runtime";import n from"@heroicons/react/24/outline/DevicePhoneMobileIcon";import i from"@heroicons/react/24/outline/FingerPrintIcon";import t from"@heroicons/react/24/outline/PhoneIcon";import a from"@heroicons/react/24/outline/ShieldCheckIcon";import{M as s}from"./ModalFooter-CmGY3GN5.mjs";import{S as c}from"./ScreenLayout-nGD4p5K0.mjs";import{L as l,m as d}from"./useActiveWallet-B5NoYzzn.mjs";import{M as m,F as h,T as p,L as u,a as f,b as g,C as y,E as C,P as k,I as T,N as S,S as v}from"./PinInput-DbZ0b1i1.mjs";import b from"@heroicons/react/24/outline/CalendarIcon";import j from"@heroicons/react/24/outline/ExclamationTriangleIcon";import{M as I,P as w,S as P}from"./ModalHeader-BM7kFZd5.mjs";import{C as x}from"./Loader-UAZqxsnw.mjs";import{e as B}from"./StackedContainer-B2vaEl56.mjs";import{u as E}from"./internal-context-dfitw7Ot.mjs";import{useState as M,useMemo as V,useEffect as A}from"react";import{styled as L}from"styled-components";import{toHex as F}from"viem";import{u as D}from"./useGetTokenPrice-D8Cb3tFH.mjs";import{u as Y}from"./get-entropy-details-for-user-BNFL8oGV.mjs";import{j as H}from"./toViemAccount-CxoAwoGG.mjs";import{g as N}from"./getPublicClient-39RNz8yA.mjs";import{T as q}from"./TransactionDetails-VWpLHxjh.mjs";import{a as G}from"./privy-context-Bxv3Wh-5.mjs";import{c as R,d as W,f as z}from"./index-CqvyXQur.mjs";const J=({handleClose:r,mfaMethods:h,onSelect:p})=>/*#__PURE__*/e(c,{title:"Verify your identity",subtitle:"Choose a verification method",icon:a,iconVariant:"subtle",onClose:r,showClose:!0,watermark:!0,children:[/*#__PURE__*/e(m,{children:[h.includes("totp")&&/*#__PURE__*/e(l,{onClick:()=>p("totp"),children:[/*#__PURE__*/o(d,{children:/*#__PURE__*/o(n,{})}),"Authenticator app"]},"totp"),h.includes("sms")&&/*#__PURE__*/e(l,{onClick:()=>p("sms"),children:[/*#__PURE__*/o(d,{children:/*#__PURE__*/o(t,{})}),"SMS"]},"sms"),h.includes("passkey")&&/*#__PURE__*/e(l,{onClick:()=>p("passkey"),children:[/*#__PURE__*/o(d,{children:/*#__PURE__*/o(i,{})}),"Passkey"]},"passkey")]}),/*#__PURE__*/o(s,{})]}),K=({pendingTransaction:e})=>{let{wallets:r}=Y(),{walletProxy:n,rpcConfig:i,chains:t,appId:a,nativeTokenSymbolForChainId:s}=E(),[c,l]=M(null),[d,m]=M(e),{tokenPrice:h}=D(d.chainId),p=s(e.chainId)||"ETH",u=V((()=>r.find((e=>"privy"===e.walletClientType))),[r]);return A((()=>{(async function(){if(!n||!u)return d;let e=N(d.chainId,t,i,{appId:a}),o=await H(d,e,u.address);return l(F(BigInt(o.gas??0))),o})().then(m).catch(console.error)}),[n]),u?/*#__PURE__*/o(O,{children:/*#__PURE__*/o(q,{from:u.address,to:d.to,txn:d,gas:c??void 0,tokenPrice:h,tokenSymbol:p})}):null};let O=L.div`
|
|
2
|
+
width: 100%;
|
|
3
|
+
padding: 1rem 0;
|
|
4
|
+
`;const Q=({hasBlockingError:n,error:i,onClose:t,onBack:c,handleSubmit:l,account:d,submitSuccess:m})=>{let{pendingTransaction:T}=E();/*#__PURE__*/return e(r,{children:[/*#__PURE__*/o(I,{onClose:t},"header"),/*#__PURE__*/o(B,{children:/*#__PURE__*/e("div",{children:[/*#__PURE__*/o(x,{success:m,fail:!!i}),/*#__PURE__*/o(i?j:h,{style:{width:"38px",height:"38px"}})]})}),/*#__PURE__*/o(p,{style:{marginTop:"1rem"},children:"Verifying with passkey"}),/*#__PURE__*/e(u,{children:[/*#__PURE__*/e(f,{children:[/*#__PURE__*/o(g,{children:/*#__PURE__*/o(a,{})}),"Approve this action using your touch, face, PIN, or hardware key."]}),/*#__PURE__*/e(f,{children:[/*#__PURE__*/o(g,{children:/*#__PURE__*/o(b,{})}),"You last added a passkey on"," ",d?.firstVerifiedAt?.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"}),"."]})]}),T&&/*#__PURE__*/o(y,{children:/*#__PURE__*/o(K,{pendingTransaction:T})}),i&&/*#__PURE__*/e(r,{children:[/*#__PURE__*/o(C,{style:{marginTop:"1.25rem"},children:i.message}),/*#__PURE__*/o(w,{disabled:n,onClick:l,style:{margin:"1.25rem auto 0"},children:"Try again"})]}),c&&/*#__PURE__*/o(k,{style:{marginTop:"1rem"},onClick:c,children:"Choose another method"}),/*#__PURE__*/o(s,{})]})},U=({selectedMethod:i,submitSuccess:a,hasBlockingError:c,onClose:l,onBack:d,handleSubmitCode:m})=>{let h=G(),{pendingTransaction:u}=E();switch(i){case"sms":/*#__PURE__*/return e(r,{children:[/*#__PURE__*/o(I,{onClose:l},"header"),/*#__PURE__*/o(T,{style:{marginBottom:"1.5rem"},children:/*#__PURE__*/o(t,{})}),/*#__PURE__*/o(p,{children:"Enter verification code"}),/*#__PURE__*/e(y,{children:[/*#__PURE__*/o(S,{success:a,disabled:c,onChange:m}),/*#__PURE__*/e(v,{children:["To continue, please enter the 6-digit code sent to your ",/*#__PURE__*/o("strong",{children:"mobile device"})]}),u&&/*#__PURE__*/o(K,{pendingTransaction:u})]}),d&&/*#__PURE__*/o(k,{theme:h?.appearance.palette.colorScheme,onClick:d,children:"Choose another method"}),/*#__PURE__*/o(P,{onClick:l,children:"Cancel"}),/*#__PURE__*/o(s,{})]});case"totp":/*#__PURE__*/return e(r,{children:[/*#__PURE__*/o(I,{onClose:l},"header"),/*#__PURE__*/o(T,{style:{marginBottom:"1.5rem"},children:/*#__PURE__*/o(n,{})}),/*#__PURE__*/o(p,{children:"Enter verification code"}),/*#__PURE__*/e(y,{children:[/*#__PURE__*/o(S,{success:a,disabled:c,onChange:m}),/*#__PURE__*/e(v,{children:["To continue, please enter the 6-digit code generated from your"," ",/*#__PURE__*/o("strong",{children:"authenticator app"})]}),u&&/*#__PURE__*/o(K,{pendingTransaction:u})]}),d&&/*#__PURE__*/o(k,{theme:h?.appearance.palette.colorScheme,onClick:d,children:"Choose another method"}),/*#__PURE__*/o(P,{onClick:l,children:"Cancel"}),/*#__PURE__*/o(s,{})]});default:return null}},X=e=>R(e)?{isBlocking:!0,error:Error("You have exceeded the maximum number of attempts. Please close this window and try again in 10 seconds.")}:W(e)?{isBlocking:!1,error:Error("The code you entered is not valid")}:z(e)?{isBlocking:!0,error:Error("You have exceeded the time limit for code entry. Please try again in 30 seconds.")}:(console.error(e),{isBlocking:!1,error:Error("Something went wrong.")});export{Q as V,U as a,J as b,X as t};
|
|
5
|
+
//# sourceMappingURL=to-ui-error-n8KhkP0u.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-ui-error-n8KhkP0u.mjs","sources":["../../src/screens/MfaScreens/VerifyMethodSelectionScreen.tsx","../../src/components/embedded-wallets/TransactionDetailsWrapper.tsx","../../src/screens/MfaScreens/VerifyWithPasskey.tsx","../../src/screens/MfaScreens/VerifyWithSmsOrTotpCode.tsx","../../src/screens/MfaScreens/to-ui-error.ts"],"names":["VerifyMethodSelectionScreen","handleClose","mfaMethods","onSelect","e","ScreenLayout","title","subtitle","icon","ShieldCheckIcon","iconVariant","onClose","showClose","watermark","children","MethodList","includes","LoginMethodButton","onClick","o","LoginMethodIconWrapper","DevicePhoneMobileIcon","PhoneIcon","FingerPrintIcon","ModalFooter","TransactionDetailsWrapper","pendingTransaction","wallets","useWallets","walletProxy","rpcConfig","chains","appId","nativeTokenSymbolForChainId","usePrivyInternal","gas","setGas","useState","transactionRequest","setTransactionRequest","tokenPrice","useGetTokenPrice","chainId","tokenSymbol","privyWallet","useMemo","find","w","walletClientType","useEffect","populateTxRequest","publicClient","getPublicClient","prepared","prepareTransactionRequest","address","toHex","BigInt","then","catch","console","error","t","TransactionInfoWrapper","TransactionDetails","from","to","txn","undefined","styled","div","VerifyWithPasskey","hasBlockingError","onBack","handleSubmit","account","submitSuccess","r","ModalHeader","StackedContainer","ConnectionLoader","success","fail","ExclamationTriangleIcon","FaceId","style","width","height","Title","marginTop","List","ListItem","ListItemIcon","CalendarIcon","firstVerifiedAt","toLocaleDateString","month","day","year","Container","ErrorMessage","message","PrimaryButton","disabled","margin","PrimaryTextButton","VerifyWithSmsOrTotpCode","selectedMethod","handleSubmitCode","app","useAppConfig","n","IconWrapper","marginBottom","NumericPinInput","onChange","SubTitle","strong","theme","appearance","palette","colorScheme","SecondaryButton","toUIError","i","isBlocking","Error","errorIndicatesMfaTimeout"],"mappings":"m4CAiBO,MAAMA,EAA8B,EAAEC,YAAAA,EAAaC,WAAAA,EAAYC,SAAAA,kBAElEC,EAACC,EAAAA,CACCC,MAAM,uBACNC,SAAS,+BACTC,KAAMC,EACNC,YAAY,SACZC,QAASV,EACTW,WAAS,EACTC,WAAS,EAAAC,SAAA,cAETV,EAACW,EAAAA,CAAAA,SAAAA,CACEb,EAAWc,SAAS,sBACnBZ,EAACa,EAAAA,CAA6BC,QAAS,IAAMf,EAAS,QAAAW,SAAA,cACpDK,EAACC,EAAAA,CAAAA,sBACCD,EAACE,EAAAA,CAAAA,KACsB,sBAHJ,QAOxBnB,EAAWc,SAAS,qBACnBZ,EAACa,EAAAA,CAA4BC,QAAS,IAAMf,EAAS,OAAAW,SAAA,cACnDK,EAACC,EAAAA,CAAAA,sBACCD,EAACG,EAAAA,CAAAA,KACsB,QAHJ,OAOxBpB,EAAWc,SAAS,yBACnBZ,EAACa,EAAAA,CAAgCC,QAAS,IAAMf,EAAS,WAAAW,SAAA,cACvDK,EAACC,EAAAA,CAAAA,sBACCD,EAACI,EAAAA,MACsB,YAHJ,2BAQ3BJ,EAACK,EAAAA,CAAAA,MCzCMC,EAA4B,EACvCC,mBAAAA,MAIA,IAAOC,QAAAA,GAAWC,KAEXC,YAAAA,EAAaC,UAAAA,EAAWC,OAAAA,EAAQC,MAAAA,EAAOC,4BAAAA,GAA+BC,KAKtEC,EAAKC,GAAUC,EAAwB,OACvCC,EAAoBC,GACzBF,EAAsDX,IAEjDc,WAAAA,GAAcC,EAAiBH,EAAmBI,SAEnDC,EAAcV,EAA4BP,EAAmBgB,UAAY,MAEzEE,EAAcC,GAAQ,IAAMlB,EAAQmB,MAAMC,GAAMA,UAAAA,EAAEC,oBAA+B,CAACrB,IAAQ,OAIhGsB,GAAU,MAmBRC,iBAjBE,IAAKrB,IAAgBe,EAAa,OAAON,EAEzC,IAAMa,EAAeC,EAAgBd,EAAmBI,QAASX,EAAQD,EAAW,CAClFE,MAAAA,IAGIqB,QAAiBC,EACrBhB,EACAa,EACAP,EAAYW,SAKd,OAFAnB,EAAOoB,EAAMC,OAAOJ,EAASlB,KAAO,KAE7BkB,CACT,EAEAH,GAAoBQ,KAAKnB,GAAuBoB,MAAMC,QAAQC,MAAK,GAClE,CAAChC,IAECe,eAGHkB,EAACC,EAAAA,CAAAA,sBACCD,EAACE,EAAAA,CACCC,KAAMrB,EAAYW,QAClBW,GAAI5B,EAAmB4B,GACvBC,IAAK7B,EACLH,IAAKA,QAAOiC,EACZ5B,WAAYA,EACZG,YAAaA,MAVM,MAgB3B,IAAMoB,EAAyBM,EAAOC,GAAG;;;ECpDlC,MAAMC,EAAoB,EAC/BC,iBAAAA,EACAX,MAAAA,EACAlD,QAAAA,EACA8D,OAAAA,EACAC,aAAAA,EACAC,QAAAA,EACAC,cAAAA,MAUA,IAAOlD,mBAAAA,GAAsBQ,iBAE7B,OACEf,EAAA0D,EAAA,CAAA/D,SAAA,cACEV,EAAC0E,EAAAA,CAAyBnE,QAASA,GAAlB,uBAEjBP,EAAC2E,EAAAA,CAAAA,sBACC5D,EAACmD,MAAAA,CAAAA,SAAAA,cACClE,EAAC4E,EAAAA,CAAiBC,QAASL,EAAeM,OAAQrB,iBAEhDzD,EADDyD,EACEsB,EAEAC,EAFAD,CAAwBE,MAAO,CAACC,MAAO,OAAQC,OAAQ,4BAO9DnF,EAACoF,EAAAA,CAAMH,MAAO,CAACI,UAAW,QAAM3E,SAAG,wCAEnCK,EAACuE,EAAAA,CAAAA,SAAAA,cACCvE,EAACwE,EAAAA,CAAAA,SAAAA,cACCvF,EAACwF,EAAAA,CAAAA,sBACCxF,EAACK,EAAAA,MACY,oFAGjBU,EAACwE,EAAAA,CAAAA,SAAAA,cACCvF,EAACwF,EAAAA,CAAAA,sBACCxF,EAACyF,EAAAA,CAAAA,KACY,8BACa,IAC3BlB,GAASmB,iBAAiBC,wBAAmB3B,EAAW,CACvD4B,MAAO,QACPC,IAAK,UACLC,KAAM,YACL,UAKNxE,gBACCtB,EAAC+F,EAAAA,CAAAA,sBACC/F,EAACqB,EAAAA,CAA0BC,mBAAoBA,MAIlDmC,gBACC1C,EAAA0D,EAAA,CAAA/D,SAAA,cACEV,EAACgG,EAAAA,CAAaf,MAAO,CAACI,UAAW,oBAAa5B,EAAMwC,uBAEpDjG,EAACkG,EAAAA,CACCC,SAAU/B,EACVtD,QAASwD,EACTW,MAAO,CAACmB,OAAQ,kBAAgB1F,SACjC,iBAMJ2D,gBACCrE,EAACqG,EAAAA,CAAkBpB,MAAO,CAACI,UAAW,QAASvE,QAASuD,EAAAA,SAAQ,uCAKlErE,EAACoB,EAAAA,MAAAA,EC7FMkF,EAA0B,EACrCC,eAAAA,EACA/B,cAAAA,EACAJ,iBAAAA,EACA7D,QAAAA,EACA8D,OAAAA,EACAmC,iBAAAA,MASA,IAAMC,EAAMC,KACLpF,mBAAAA,GAAsBQ,IAE7B,OAAQyE,GACN,IAAK,mBACH,OACExF,EAAA4F,EAAA,CAAAjG,SAAA,cACEV,EAAC0E,EAAAA,CAAyBnE,QAASA,GAAlB,uBACjBP,EAAC4G,EAAAA,CAAY3B,MAAO,CAAC4B,aAAc,UAAQnG,sBACzCV,EAACkB,EAAAA,CAAAA,kBAEHlB,EAACoF,EAAAA,CAAAA,SAAM,yCACPrE,EAACgF,EAAAA,CAAAA,SAAAA,cACC/F,EAAC8G,EAAAA,CACCjC,QAASL,EACT2B,SAAU/B,EACV2C,SAAUP,iBAEZzF,EAACiG,EAAAA,CAAAA,SAAAA,CAAS,wEACgDhH,EAACiH,SAAAA,CAAAA,SAAO,qBAEjE3F,gBACCtB,EAACqB,EAAAA,CAA0BC,mBAAoBA,OAGlD+C,gBACCrE,EAACqG,EAAAA,CAAkBa,MAAOT,GAAKU,WAAWC,QAAQC,YAAavG,QAASuD,EAAAA,SAAQ,uCAIlFrE,EAACsH,GAAgBxG,QAASP,EAAAA,SAAS,wBACnCP,EAACoB,EAAAA,OAGP,IAAK,oBACH,OACEL,EAAA4F,EAAA,CAAAjG,SAAA,cACEV,EAAC0E,EAAAA,CAAyBnE,QAASA,GAAlB,uBACjBP,EAAC4G,EAAAA,CAAY3B,MAAO,CAAC4B,aAAc,UAAQnG,sBACzCV,EAACiB,EAAAA,CAAAA,kBAEHjB,EAACoF,EAAAA,CAAAA,SAAM,yCACPrE,EAACgF,0BACC/F,EAAC8G,EAAAA,CACCjC,QAASL,EACT2B,SAAU/B,EACV2C,SAAUP,iBAEZzF,EAACiG,EAAAA,CAAAA,SAAAA,CAAS,iEACuD,iBAC/DhH,EAACiH,SAAAA,CAAAA,SAAO,yBAET3F,gBACCtB,EAACqB,EAAAA,CAA0BC,mBAAoBA,OAGlD+C,gBACCrE,EAACqG,EAAAA,CAAkBa,MAAOT,GAAKU,WAAWC,QAAQC,YAAavG,QAASuD,WAAQ,uCAIlFrE,EAACsH,EAAAA,CAAgBxG,QAASP,EAAAA,SAAS,wBACnCP,EAACoB,EAAAA,CAAAA,MAGP,QACE,OAAO,KACX,ECzFWmG,EAAYC,GACvBxH,EAAgCyD,GACvB,CACLgE,YAAY,EACZhE,MAAOiE,MACL,4GAGC3G,EAAwC0C,GACtC,CACLgE,YAAY,EACZhE,MAAWiE,MAAM,sCAEVC,EAAyBlE,GAC3B,CACLgE,YAAY,EACZhE,MAAWiE,MACT,sFAIJlE,QAAQC,MAAMA,GACP,CACLgE,YAAY,EACZhE,MAAOiE,MAAU"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"jose";import{t,v as i,w as n,V as s,o as a,x as r,H as o,O as l,S as c,q as h,y as d,R as u,r as p,z as w,A as y,B as m,E as g,F as f,I as C,G as v,D as T,J as A,n as k}from"./privy-context-Bxv3Wh-5.mjs";import I from"eventemitter3";import{i as _,M as b,m as P,s as S,b as x}from"./guards-B2s3KemH.mjs";import{f as E,a as N,i as W,s as U,d as D,e as z}from"./storage-Ufl800Ne.mjs";import{e as M,f as j,g as R,P as L,a as O,h as B,c as q}from"./errors-BQ3N-RVt.mjs";import{jsxs as F,jsx as $}from"react/jsx-runtime";import{W as V,f as H,a as G,S as Y,l as J}from"./SolanaWalletConnector-CtU87Bd6.mjs";import{isAddress as Q,parseSignature as Z}from"viem";import{getAddress as K,toHex as X,hashAuthorization as ee}from"viem/utils";import{c as te}from"./logger-CsXm3oIv.mjs";import{isMobile as ie,isSafari as ne}from"react-device-detect";import{create as se}from"zustand";import{ofetch as ae}from"ofetch";import{s as re,k as oe,l as le,m as ce,n as he,o as de,q as ue,r as pe,u as we,v as ye,w as me,x as ge,y as fe,z as Ce,A as ve,B as Te,C as Ae,D as ke,E as Ie,F as _e,G as be,H as Pe,I as Se,J as xe,K as Ee,L as Ne,M as We,N as Ue,O as De,P as ze,Q as Me,R as je,S as Re,T as Le,U as Oe,V as Be,W as qe,X as Fe,Y as $e,Z as Ve,_ as He,$ as Ge,a0 as Ye,a1 as Je,a2 as Qe,a3 as Ze,a4 as Ke}from"./paths-D5yr69aj.mjs";import{t as Xe}from"./transformOptionsToCamelCase-BffvSXnC.mjs";import{g as et}from"./PrivyPluginContext-DA-yS5vO.mjs";import{cookies as tt,shouldWriteSessionCookies as it,PrivyClientError as nt}from"@privy-io/js-sdk-core";import{encoding as st}from"@privy-io/encoding";import{r as at,g as rt,c as ot,a as lt,d as ct}from"./pkce-DOaTOlfX.mjs";import{toViemTempoTransactionSerializable as ht,normalizeViemPreparedTempoTransaction as dt,TEMPO_TXN_TYPE_NUMBER as ut,toViemTransactionSerializable as pt,STRING_TO_NUMBER_TXN_TYPE as wt,TEMPO_TXN_TYPE_STRING as yt}from"@privy-io/ethereum";import{toAccount as mt}from"viem/accounts";class gt{static parse(e){try{return new gt(e)}catch(e){return null}}static throwIfNotWellFormedJwt(t){return e.decodeJwt(t),t}get subject(){return this._decoded.sub}get expiration(){return this._decoded.exp}get issuer(){return this._decoded.iss}get audience(){return this._decoded.aud}isExpired(e=0){return Date.now()>=1e3*(this.expiration-e)}constructor(t){this.value=t,this._decoded=e.decodeJwt(t)}}class ft extends gt{static parse(e){try{return new ft(e)}catch(e){return null}}get appId(){return this._decoded.aid?this._decoded.aid:this.audience}}const Ct=({style:e,...t})=>/*#__PURE__*/F("svg",{viewBox:"0 0 1024 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/$("rect",{width:"1024",height:"1024",fill:"#0052FF",rx:100,ry:100}),/*#__PURE__*/$("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M152 512C152 710.823 313.177 872 512 872C710.823 872 872 710.823 872 512C872 313.177 710.823 152 512 152C313.177 152 152 313.177 152 512ZM420 396C406.745 396 396 406.745 396 420V604C396 617.255 406.745 628 420 628H604C617.255 628 628 617.255 628 604V420C628 406.745 617.255 396 604 396H420Z",fill:"white"})]}),vt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgMTAyNCAxMDI0JyBmaWxsPSdub25lJyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHN0eWxlPSdoZWlnaHQ6MjhweDt3aWR0aDoyOHB4Jz48cmVjdCB3aWR0aD0nMTAyNCcgaGVpZ2h0PScxMDI0JyBmaWxsPScjMDA1MkZGJyByeD0nMTAwJyByeT0nMTAwJz48L3JlY3Q+PHBhdGggZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIGQ9J00xNTIgNTEyQzE1MiA3MTAuODIzIDMxMy4xNzcgODcyIDUxMiA4NzJDNzEwLjgyMyA4NzIgODcyIDcxMC44MjMgODcyIDUxMkM4NzIgMzEzLjE3NyA3MTAuODIzIDE1MiA1MTIgMTUyQzMxMy4xNzcgMTUyIDE1MiAzMTMuMTc3IDE1MiA1MTJaTTQyMCAzOTZDNDA2Ljc0NSAzOTYgMzk2IDQwNi43NDUgMzk2IDQyMFY2MDRDMzk2IDYxNy4yNTUgNDA2Ljc0NSA2MjggNDIwIDYyOEg2MDRDNjE3LjI1NSA2MjggNjI4IDYxNy4yNTUgNjI4IDYwNFY0MjBDNjI4IDQwNi43NDUgNjE3LjI1NSAzOTYgNjA0IDM5Nkg0MjBaJyBmaWxsPSd3aGl0ZSc+PC9wYXRoPjwvc3ZnPg==";function Tt(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let n=e[i],s=t[i];if(n?.address!==s?.address||n&&s&&_(n)&&_(s)&&n?.chainId!==s?.chainId||n?.connectorType!==s?.connectorType||n?.connectedAt!==s?.connectedAt||n?.walletClientType!==s?.walletClientType||n?.isConnected!==s?.isConnected||n?.linked!==s?.linked)return!1}return!0}const At=(e,i)=>e.rpcTimeouts&&e.rpcTimeouts[i]||t;let kt;function It(e){return"ethereum"===e.chainType}function _t(e){return"wallet_connect_v2"===e.connectorType}class bt extends V{buildConnectedWallet(e,t,i,n){let s=async()=>!!this.wallets.find((t=>K(t.address)===K(e)));return{type:"ethereum",address:K(e),chainId:t,meta:i,imported:n,switchChain:async i=>{let n,a;if(!s)throw new M("Wallet is not currently connected.");let r=this.wallets.find((t=>K(t.address)===K(e)))?.chainId;if(!r)throw new M("Unable to determine current chainId.");if("number"==typeof i?(n=`0x${i.toString(16)}`,a=i):(n=i,a=Number(i)),r===E(n))return;let o=this.chains.find((e=>e.id===a));if(!o)throw new M(`Unsupported chainId: ${i}`);let l=async()=>{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:n}]})};try{return await l()}catch(e){if(((e,t)=>{switch(t){case"coinbase_wallet":case"base_account":return e.message.includes("addEthereumChain");case"rabby_wallet":return e.message.includes("Unrecognized chain ID");default:return 4902===e.code||e.message?.includes("4902")}})(e,this.walletClientType))return"rabby_wallet"===this.walletClientType&&await N(300),await this.proxyProvider.request({method:"wallet_addEthereumChain",params:[{chainId:n,chainName:o.name,nativeCurrency:o.nativeCurrency,rpcUrls:[o.rpcUrls.default?.http[0]??""],blockExplorerUrls:[o.blockExplorers?.default.url??""]}]}),l();if("rainbow"===this.walletClientType&&e.message?.includes("wallet_switchEthereumChain"))throw new M(`Rainbow does not support the chainId ${t}`);throw e}},connectedAt:Date.now(),walletClientType:this.walletClientType,connectorType:this.connectorType,isConnected:s,getEthereumProvider:async()=>{if(!await s())throw new M("Wallet is not currently connected.");return this.proxyProvider},sign:async e=>{if(!await s())throw new M("Wallet is not currently connected.");return await this.sign(e)},disconnect:()=>{this.disconnect()}}}async syncAccounts(e){let t;te.debug("Syncing accounts",{wallet:this.walletClientType});let s=e;try{if(void 0===s){te.rpcRequest("eth_accounts",this.walletClientType);let e=await W((()=>this.proxyProvider.request({method:"eth_accounts"})),{maxAttempts:10,delayMs:500});te.rpcResponse("eth_accounts",this.walletClientType),Array.isArray(e)&&(s=e)}}catch(e){te.warn("Wallet did not respond to eth_accounts, using prefetched accounts",{wallet:this.walletClientType})}if(!s||!Array.isArray(s)||s.length<=0||!s[0])return void te.debug("No accounts found",{wallet:this.walletClientType});let a=s[0];if(!Q(a))return;let r=K(a),o=[];if("privy"===this.walletClientType){let e=U.get(i(r));this.chains.find((t=>t.id===Number(e)))||(U.del(i(r)),e=null),t=e||`0x${this.defaultChain.id.toString(16)}`;try{await this.proxyProvider.request({method:"wallet_switchEthereumChain",params:[{chainId:t}]})}catch(e){te.warn("Unable to switch embedded wallet chain on initialization",{wallet:this.walletClientType,chainId:t})}}else try{te.rpcRequest("eth_chainId",this.walletClientType);let e=await W((()=>this.proxyProvider.request({method:"eth_chainId"})),{maxAttempts:10,delayMs:500});if(te.rpcResponse("eth_chainId",this.walletClientType),"string"==typeof e)t=e;else{if("number"!=typeof e)throw Error("Invalid chainId returned from provider");t=`0x${e.toString(16)}`}}catch(e){te.warn("Failed to get chainId from provider, using default",{wallet:this.walletClientType,defaultChainId:n}),t=n}let l=E(t);if(!o.find((e=>K(e.address)===r))){let e={name:this.walletBranding.name,icon:this.walletBranding.icon,id:this.walletBranding.id};o.push(this.buildConnectedWallet(K(a),l,e,"embedded_imported"===this.connectorType))}Tt(o,this.wallets)||(te.debug("Wallets updated",{wallet:this.walletClientType,address:r,chainId:l}),this.wallets=o,this.emit("walletsUpdated"))}async getConnectedWallet(){let e=await this.proxyProvider.request({method:"eth_accounts"});return this.wallets.sort(((e,t)=>t.connectedAt-e.connectedAt)).find((t=>e.find((e=>K(e)===K(t.address)))))||null}async isConnected(){let e=await this.proxyProvider.request({method:"eth_accounts"});return Array.isArray(e)&&e.length>0}async sign(e){return await this.connect({showPrompt:!1}),this.proxyProvider.request({method:"personal_sign",params:[X(e),this.wallets[0]?.address]})}subscribeListeners(){this.proxyProvider.on("accountsChanged",this.onAccountsChanged),this.proxyProvider.on("chainChanged",this.onChainChanged),this.proxyProvider.on("disconnect",this.onDisconnect),this.proxyProvider.on("connect",this.onConnect)}unsubscribeListeners(){this.proxyProvider.removeListener("accountsChanged",this.onAccountsChanged),this.proxyProvider.removeListener("chainChanged",this.onChainChanged),this.proxyProvider.removeListener("disconnect",this.onDisconnect),this.proxyProvider.removeListener("connect",this.onConnect)}constructor(e,t,n,s){super(e),this.chainType="ethereum",this.onAccountsChanged=e=>{te.providerEvent("accountsChanged",this.walletClientType,{accountsCount:e.length}),0===e.length?this.onDisconnect():this.syncAccounts(e)},this.onChainChanged=e=>{te.providerEvent("chainChanged",this.walletClientType,{chainId:e}),this.wallets.forEach((t=>{t.chainId=E(e),"privy"===this.walletClientType&&U.put(i(t.address),e)})),this.emit("walletsUpdated")},this.onDisconnect=()=>{te.providerEvent("disconnect",this.walletClientType),this.connected=!1,this.wallets=[],this.emit("walletsUpdated")},this.onConnect=async()=>{te.providerEvent("connect",this.walletClientType),"base_account"===this.connectorType&&this.connected||(this.connected=!0,"coinbase_wallet"===this.connectorType&&await N(500),this.syncAccounts())},this.wallets=[],this.walletClientType=e,this.chains=t,this.defaultChain=n,this.rpcConfig=s,this.rpcTimeoutDuration=At(s,e),this.connected=!1,this.initialized=!1}}class Pt{on(e,t){if(this.walletProvider)return this.addWalletProviderListener(e,t);this._subscriptions.push({eventName:e,listener:t})}addWalletProviderListener(e,t){if("function"==typeof this.walletProvider?.on)try{return this.walletProvider.on(e,t)}catch(e){console.warn("Unable to subscribe to wallet provider event")}else console.warn("Wallet provider does not support event subscriptions")}async request(e){if(!this.walletProvider)throw new M(`A wallet request of type ${e.method} was made before setting a wallet provider.`);return Promise.race([this.walletProvider.request(e),this.walletTimeout()]).catch((e=>{throw H(e)}))}constructor(e,i){this.removeListener=(e,t)=>{if(this.walletProvider)try{return this.walletProvider.removeListener(e,t)}catch(e){console.warn("Unable to remove wallet provider listener")}},this.walletTimeout=(e=new G,t=this.rpcTimeoutDuration)=>new Promise(((i,n)=>setTimeout((()=>{n(e)}),t))),this.setWalletProvider=e=>{this.walletProvider&&this._subscriptions.forEach((e=>{this.removeListener(e.eventName,e.listener)})),this.walletProvider=e,this._subscriptions.forEach((e=>{this.addWalletProviderListener(e.eventName,e.listener)}))},this.walletProvider=e,this.rpcTimeoutDuration=i||t,this._subscriptions=[]}}class St extends bt{async initialize(){await this.importPromise,await this.syncAccounts(),this.initialized=!0,this.emit("initialized")}async connect(e){return e.showPrompt&&await this.promptConnection(),await this.isConnected()?this.getConnectedWallet():null}disconnect(){this.proxyProvider.walletProvider.disconnect(),this.onDisconnect()}get walletBranding(){return{name:this.displayName,icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAALZJREFUaEPtmjEOhDAMBNc/O14GvOzys3CAKK6eAlmaVGl2Zc+kTOU685vkc9/bnD2prZK5/TZY24z9P+g4F5hNh7/GdoG37WlAA5CATwgCxHENYISwQAMQII5rACOEBRqAAHFcAxghLNAABIjjGsAIYYEGIEAc1wBGCAs0AAHiuAYwQligAQgQxzWAEcICDUCAOK4BjBAWaAACxHENYISwQAMQII6fBjr+VHkW3+u+tfyxMpJaDgYzYxb/ALZVAAAAAElFTkSuQmCC",id:"com.coinbase.wallet"}}async promptConnection(){te.debug("Prompting connection via Base Account",{wallet:this.walletClientType});try{await this.importPromise,te.rpcRequest("eth_requestAccounts",this.walletClientType);let e=await this.proxyProvider.request({method:"eth_requestAccounts"});if(te.rpcResponse("eth_requestAccounts",this.walletClientType),!e||0===e.length||!e[0])throw new M("Unable to retrieve accounts");this.connected=!0,await this.syncAccounts([e[0]])}catch(e){throw te.connectionFailed(this.walletClientType,e,{method:"base_account"}),H(e)}}constructor(e,t,i,n,s){super("base_account",e,t,i),this.connectorType="base_account",this.walletClientType="base_account",this.displayName="Base",this.setBaseAccountSdk=s,this.proxyProvider=new Pt(void 0,this.rpcTimeoutDuration),this.subscribeListeners(),this.baseAccountConfig={...n,appChainIds:[t.id].concat(e.map((e=>e.id)))},kt?(this.proxyProvider.setWalletProvider(kt.getProvider()),this.setBaseAccountSdk(kt)):this.importPromise=import("@base-org/account").then((({createBaseAccountSDK:e})=>{kt=e(this.baseAccountConfig),this.proxyProvider.setWalletProvider(kt.getProvider()),this.setBaseAccountSdk(kt)})).catch(console.error)}}class xt extends bt{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the EthereumNullConnector")}disconnect(){throw Error("disconnect called for an uninstalled wallet via the EthereumNullConnector")}promptConnection(e){throw Error(`promptConnection called for an uninstalled wallet via the EthereumNullConnector for ${e}`)}constructor({id:e,name:i,icon:n,walletClientType:s,defaultChain:a}){super(s,[],a,{}),this.connectorType="null",this.proxyProvider=new Pt(void 0,t),this.id=e,this.name=i,this.icon=n}}const Et=({style:e,...t}={})=>/*#__PURE__*/$("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24",style:{...e},...t,children:/*#__PURE__*/$("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})}),Nt=({style:e,...t}={})=>/*#__PURE__*/F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"108",height:"108",viewBox:"0 0 108 108",fill:"none",style:{height:"28px",width:"28px",...e},...t,children:[/*#__PURE__*/$("rect",{width:"108",height:"108",rx:"23",fill:"#AB9FF2"}),/*#__PURE__*/$("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.5267 69.9229C42.0054 76.8509 34.4292 85.6182 24.348 85.6182C19.5824 85.6182 15 83.6563 15 75.1342C15 53.4305 44.6326 19.8327 72.1268 19.8327C87.768 19.8327 94 30.6846 94 43.0079C94 58.8258 83.7355 76.9122 73.5321 76.9122C70.2939 76.9122 68.7053 75.1342 68.7053 72.314C68.7053 71.5783 68.8275 70.7812 69.0719 69.9229C65.5893 75.8699 58.8685 81.3878 52.5754 81.3878C47.993 81.3878 45.6713 78.5063 45.6713 74.4598C45.6713 72.9884 45.9768 71.4556 46.5267 69.9229ZM83.6761 42.5794C83.6761 46.1704 81.5575 47.9658 79.1875 47.9658C76.7816 47.9658 74.6989 46.1704 74.6989 42.5794C74.6989 38.9885 76.7816 37.1931 79.1875 37.1931C81.5575 37.1931 83.6761 38.9885 83.6761 42.5794ZM70.2103 42.5795C70.2103 46.1704 68.0916 47.9658 65.7216 47.9658C63.3157 47.9658 61.233 46.1704 61.233 42.5795C61.233 38.9885 63.3157 37.1931 65.7216 37.1931C68.0916 37.1931 70.2103 38.9885 70.2103 42.5795Z",fill:"#FFFDF8"})]});function Wt(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}var Ut=0;async function Dt(e,t){try{te.rpcRequest("eth_requestAccounts",t);let i=await e.request({method:"eth_requestAccounts"});return te.rpcResponse("eth_requestAccounts",t),i}catch(i){if(-32002===i.code&&i.message?.includes("Already processing")){te.debug("eth_requestAccounts already processing, retrying after delay",{wallet:t}),await new Promise((e=>setTimeout(e,500))),te.rpcRequest("eth_requestAccounts",t);let i=await e.request({method:"eth_requestAccounts"});return te.rpcResponse("eth_requestAccounts",t),i}throw i}}class zt extends bt{async initialize(){te.debug("Initializing injected connector (EIP-6963)",{wallet:this.walletClientType}),await this.syncAccounts(),this.initialized=!0,this.emit("initialized")}async connect(e){if(te.connectionStart(this.walletClientType,"injected",{showPrompt:e.showPrompt}),e.showPrompt&&await this.promptConnection(),!await this.isConnected())return te.debug("Not connected after prompt",{wallet:this.walletClientType}),null;let t=await this.getConnectedWallet();return t&&te.connectionSuccess(this.walletClientType),t}get walletBranding(){return{name:this.providerDetail.info.name,icon:this.providerDetail.info.icon,id:this.providerDetail.info.rdns}}disconnect(){console.warn(`Programmatic disconnect with ${this.providerDetail.info.name} is not yet supported.`)}async promptConnection(){te.debug("Prompting connection via eth_requestAccounts",{wallet:this.walletClientType});try{let e=await Dt(this.proxyProvider,this.walletClientType);if(!e||0===e.length||!e[0])throw new M("Unable to retrieve accounts");await this.syncAccounts([e[0]])}catch(e){throw te.connectionFailed(this.walletClientType,e,{method:"injected"}),H(e)}}constructor(e,t,i,n,s){super(s||"unknown",e,t,i),this.connectorType="injected",this.proxyProvider=new Pt(void 0,this.rpcTimeoutDuration),this.subscribeListeners(),this.providerDetail=n;let a=n.provider;this.proxyProvider.setWalletProvider(a)}}var Mt="__private_"+Ut+++"__walletBranding";class jt extends bt{async initialize(){te.debug("Initializing legacy injected connector",{wallet:this.walletClientType}),await this.syncAccounts(),this.initialized=!0,this.emit("initialized")}async connect(e){if(te.connectionStart(this.walletClientType,"injected (legacy)",{showPrompt:e.showPrompt}),e.showPrompt&&await this.promptConnection(),!await this.isConnected())return te.debug("Not connected after prompt",{wallet:this.walletClientType}),null;let t=await this.getConnectedWallet();return t&&te.connectionSuccess(this.walletClientType),t}get walletBranding(){return Wt(this,Mt)[Mt]??{name:"Browser Extension",icon:Et,id:"extension"}}disconnect(){te.debug("Disconnect requested (not supported for legacy injected)",{wallet:this.walletClientType})}async promptConnection(){te.debug("Prompting connection via eth_requestAccounts (legacy)",{wallet:this.walletClientType});try{let e=await Dt(this.proxyProvider,this.walletClientType);if(!e||0===e.length||!e[0])throw new M("Unable to retrieve accounts");await this.syncAccounts([e[0]])}catch(e){throw te.connectionFailed(this.walletClientType,e,{method:"injected (legacy)"}),H(e)}}constructor(e,t,i,n,s){super(s??"unknown",e,t,i),Object.defineProperty(this,Mt,{writable:!0,value:void 0}),this.connectorType="injected",this.proxyProvider=new Pt(void 0,this.rpcTimeoutDuration),this.subscribeListeners(),this.proxyProvider.setWalletProvider(n),"metamask"===s?Wt(this,Mt)[Mt]={name:"MetaMask",icon:b,id:"io.metamask"}:"phantom"===s&&(Wt(this,Mt)[Mt]={name:"Phantom",icon:Nt,id:"phantom"})}}class Rt extends zt{disconnect(){console.warn("MetaMask does not support programmatic disconnect.")}async promptConnection(){te.debug("Prompting connection via MetaMask",{wallet:this.walletClientType});try{ie||(te.rpcRequest("wallet_requestPermissions",this.walletClientType),await this.proxyProvider.request({method:"wallet_requestPermissions",params:[{eth_accounts:{}}]}),te.rpcResponse("wallet_requestPermissions",this.walletClientType)),te.rpcRequest("eth_requestAccounts",this.walletClientType);let e=await this.proxyProvider.request({method:"eth_requestAccounts"});if(te.rpcResponse("eth_requestAccounts",this.walletClientType),!e||0===e.length||!e[0])throw new M("Unable to retrieve accounts");await this.syncAccounts([e[0]])}catch(e){throw te.connectionFailed(this.walletClientType,e,{method:"metamask"}),H(e)}}}class Lt extends Y{get walletBranding(){return{id:this.id,name:this.name,icon:this.icon}}async initialize(){this.initialized=!0,this.emit("initialized")}async connect(){throw Error("connect called for an uninstalled wallet via the SolanaNullConnector")}constructor({id:e,name:i,icon:n}){super({name:i},!1),this.connectorType="null",this.proxyProvider=new Pt(void 0,t),this.disconnect=async()=>{throw Error("disconnect called for an uninstalled wallet via the SolanaNullConnector")},this.promptConnection=async()=>{throw Error("promptConnection called for an uninstalled wallet via the SolanaNullConnector")},this.id=e,this.name=i,this.icon=n}}class Ot extends I{get wallets(){let e=new Set;return this.walletConnectors.flatMap((e=>e.wallets)).sort(((e,t)=>e.connectedAt&&t.connectedAt?t.connectedAt-e.connectedAt:0)).filter((t=>{let i=`${t.address}${t.walletClientType}${t.connectorType}${t.meta.id}`;return!e.has(i)&&(e.add(i),!0)}))}async initialize(e){if(te.info("Starting connector initialization",{reInit:e??!1}),this.initialized&&!e)return;if(e&&this.removeAllConnectors(),this.externalWalletConfig.disableAllExternalWallets)return void te.info("All external wallets disabled, skipping initialization");let t=D({store:this.store,walletList:this.walletList,externalWalletConfig:this.externalWalletConfig,walletChainType:this.walletChainType}).then((e=>{te.info("Detected injected providers",{count:e.length,wallets:e.map((e=>e.type)).join(", ")}),e.forEach((({type:e,eip6963InjectedProvider:t,legacyInjectedProvider:i})=>{this.createEthereumWalletConnector({connectorType:"injected",walletClientType:e,providers:{eip6963InjectedProvider:t,legacyInjectedProvider:i}})}))}));for(let e of(this.walletList.includes("coinbase_wallet")&&this.createEthereumWalletConnector({connectorType:"coinbase_wallet",walletClientType:"coinbase_wallet"}),this.walletList.includes("base_account")&&this.createEthereumWalletConnector({connectorType:"base_account",walletClientType:"base_account"}),Object.values(P)))!e.isInstalled&&this.walletList.includes(e.client)&&(["ethereum-only","ethereum-and-solana"].includes(this.walletChainType)&&e.chainTypes.includes("ethereum")&&this.createEthereumWalletConnector({connectorType:"null",walletClientType:e.client,walletConfig:e}),["ethereum-and-solana","solana-only"].includes(this.walletChainType)&&e.chainTypes.includes("solana")&&this.addSolanaWalletConnector(new Lt({id:e.client,name:e.name})));let i=this.walletList.includes("wallet_connect_qr_solana")||S(this.walletList)&&"ethereum-only"!==this.walletChainType,n=this.externalWalletConfig.walletConnect.enabled&&(this.walletList.includes("wallet_connect_qr")||S(this.walletList))&&"solana-only"!==this.walletChainType,s=this.externalWalletConfig.solana.connectors?.get()||[],a=async e=>{await e.initializeProvider({walletConnectCloudProjectId:this.walletConnectCloudProjectId,privyAppName:this.privyAppName});let t=await e.hideSolanaSessionsFromSignClient();try{this.ethereumWalletConnectInitPromise||(this.ethereumWalletConnectInitPromise=this.initEthereumWalletConnect()),await this.ethereumWalletConnectInitPromise}finally{await e.unhideSolanaSessionsInSignClient(t)}await e.restoreSession()},r=async e=>{let t=e.find((e=>"walletconnect_solana"===e.walletBranding?.id)),s=t?.wallet??null;!n||i&&s?i&&!n&&s?await s.initialize({walletConnectCloudProjectId:this.walletConnectCloudProjectId,privyAppName:this.privyAppName}):i&&n&&s&&await a(s):this.ethereumWalletConnectInitPromise||(this.ethereumWalletConnectInitPromise=this.initEthereumWalletConnect())};r(s),s.filter((e=>i||"walletconnect_solana"!==e.walletBranding?.id)).forEach(this.addSolanaWalletConnector),this.externalWalletConfig.solana.connectors?._setOnConnectorsUpdated?.((e=>{r(e),e?.filter((e=>i||"walletconnect_solana"!==e.walletBranding?.id)).forEach(this.addSolanaWalletConnector)})),await t,this.initialized=!0}findWalletConnector(e,t,i){return"wallet_connect_v2"===e?this.walletConnectors.filter(It).find((t=>t.connectorType===e&&(!i||t.wallets.some((e=>e.address===i)))))??null:this.walletConnectors.filter(It).find((n=>n.connectorType===e&&n.walletClientType===t&&(!i||n.wallets.some((e=>e.address===i)))))??null}findSolanaWalletConnector(e){return this.walletConnectors.filter(x).find((t=>"unknown"===t.walletClientType?t.walletBranding.id===e:t.walletClientType===e))??null}onInitialized(e){te.connectorInit(e.connectorType,e.walletClientType,{walletsCount:e.wallets.length}),e.wallets.forEach((e=>{let t=this.storedConnections.find((t=>t.address===e.address&&t.connectorType===e.connectorType&&("solana"===e.type&&"unknown"===t.walletClientType&&"unknown"===e.walletClientType?e.meta.id===t.id:t.walletClientType===e.walletClientType)));t&&(e.connectedAt=t.connectedAt)})),this.emit("walletsUpdated"),this.emit("connectorInitialized")}onWalletsUpdated(e){e.initialized&&this.emit("walletsUpdated")}initEthereumWalletConnect(){return this.createEthereumWalletConnector({connectorType:"wallet_connect_v2",walletClientType:"unknown"}).then((e=>{if(e)return new Promise((t=>{if(e.initialized)return void t();let i=setTimeout((()=>t()),5e3);e.once("initialized",(()=>{clearTimeout(i),t()}))}))}))}async createEthereumWalletConnector({connectorType:e,walletClientType:t,providers:i,walletConfig:n}){te.debug("Creating Ethereum wallet connector",{connector:e,wallet:t});let s=this.findWalletConnector(e,t);if(s&&It(s))return te.debug("Found existing connector, reusing",{connector:e,wallet:t}),_t(s)&&s.resetConnection(t),s;let a=`${e}:${t}`,r=this.pendingConnectorBuilds.get(a);if(r)return r;let o=(async()=>{if("injected"!==e){if("coinbase_wallet"===e){let{CoinbaseWalletConnector:e}=await import("./coinbase-CEeA7Gup.mjs");return new e(this.chains,this.defaultChain,this.rpcConfig,this.externalWalletConfig.coinbaseWallet.config)}{if("base_account"===e)return new St(this.chains,this.defaultChain,this.rpcConfig,this.externalWalletConfig.baseAccount.config,this.setBaseAccountSdk);if("null"===e)return n?new xt({id:n.client,name:n.name,defaultChain:this.defaultChain,walletClientType:n.client}):null;let{WalletConnectV2WalletConnector:i}=await import("./walletconnect-v2-miav_NoG.mjs");return new i({walletConnectCloudProjectId:this.walletConnectCloudProjectId,rpcConfig:this.rpcConfig,chains:this.chains,defaultChain:this.defaultChain,shouldEnforceDefaultChainOnConnect:this.shouldEnforceDefaultChainOnConnect,privyAppId:this.privyAppId,privyAppName:this.privyAppName,walletClientType:t})}}return"metamask"===t&&i?.eip6963InjectedProvider?new Rt(this.chains,this.defaultChain,this.rpcConfig,i?.eip6963InjectedProvider,"metamask"):"metamask"===t&&i?.legacyInjectedProvider?new jt(this.chains,this.defaultChain,this.rpcConfig,i?.legacyInjectedProvider,"metamask"):"phantom"===t&&i?.legacyInjectedProvider?new jt(this.chains,this.defaultChain,this.rpcConfig,i?.legacyInjectedProvider,"phantom"):i?.legacyInjectedProvider&&"unknown_browser_extension"===t?new jt(this.chains,this.defaultChain,this.rpcConfig,i?.legacyInjectedProvider):i?.eip6963InjectedProvider?new zt(this.chains,this.defaultChain,this.rpcConfig,i?.eip6963InjectedProvider,t):void 0})().then((e=>e??null)).finally((()=>{this.pendingConnectorBuilds.delete(a)}));this.pendingConnectorBuilds.set(a,o);let l=await o;return l?(te.connectorCreated(e,t),this.addWalletConnector(l)):te.debug("No connector created",{connector:e,wallet:t}),l}addWalletConnector(e){te.debug("Adding wallet connector",{connector:e.connectorType,wallet:e.walletClientType}),this.walletConnectors.push(e),e.on("initialized",(()=>this.onInitialized(e))),e.on("walletsUpdated",(()=>this.onWalletsUpdated(e))),e.initialize().catch((t=>{te.error("Failed to initialize connector",t,{connector:e.connectorType,wallet:e.walletClientType})}))}setWalletList(e){this.walletList=e,this.initialized&&this.initialize(!0).catch(console.error)}removeAllConnectors(){for(let e of this.walletConnectors)e.removeAllListeners();this.walletConnectors=[]}constructor(e,t,i,n,s,a,r,o,l,c,h,d,u){super(),this.ethereumWalletConnectInitPromise=null,this.pendingConnectorBuilds=new Map,this.addSolanaWalletConnector=async e=>{let t=this.findSolanaWalletConnector(e.walletClientType);if(!t||"null"===t.connectorType){if("null"===t?.connectorType){let e=this.walletConnectors.indexOf(t);this.walletConnectors.splice(e,1)}this.addWalletConnector(e)}},te.setEnabled(u??!1),te.info("ConnectorManager initializing",{walletChainType:d||void 0,walletListCount:r.length}),this.privyAppId=e,this.walletConnectCloudProjectId=t,this.rpcConfig=i,this.chains=n,this.defaultChain=s,this.walletConnectors=[],this.initialized=!1,this.store=a,this.walletList=r,this.shouldEnforceDefaultChainOnConnect=o,this.externalWalletConfig=l,this.privyAppName=c,this.walletChainType=d||"ethereum-only",this.setBaseAccountSdk=h,this.storedConnections=J()}}const Bt=se((()=>({identityToken:null})));function qt(){let{identityToken:e}=Bt();return{identityToken:e}}let Ft=new Set([re,oe,le]);class $t{async get(e,t){try{return await this.baseFetch(e,t)}catch(e){throw j(e)}}async post(e,t,i){try{return await this.baseFetch(e,{method:"POST",...t?{body:t}:{},...i})}catch(e){throw j(e)}}async delete(e,t){try{return await this.baseFetch(e,{method:"DELETE",...t})}catch(e){throw j(e)}}constructor({appId:e,appClientId:t,client:i,defaults:n}){this.appId=e,this.appClientId=t,this.clientAnalyticsId=i.clientAnalyticsId,this.sdkVersion=s,this.client=i,this.defaults=n,this.fallbackApiUrl=i.fallbackApiUrl,this.baseFetch=ae.create({baseURL:this.defaults.baseURL,timeout:this.defaults.timeout,retry:3,retryDelay:500,retryStatusCodes:[408,409,425,500,502,503,504],credentials:"include",onRequest:async({request:e,options:t})=>{let i=new Headers(t.headers);i.set("privy-app-id",this.appId),this.appClientId&&i.set("privy-client-id",this.appClientId),i.set("privy-ca-id",this.clientAnalyticsId||""),i.set("privy-client",`react-auth:${this.sdkVersion}`);let n=(({request:e,baseURL:t})=>{let i=new URL("string"==typeof e?e:e.url,t).pathname;return Ft.has(i)})({request:e,baseURL:this.defaults.baseURL});if(!i.has("authorization")){let e=await this.client.getAccessToken({disableAutoRefresh:n});null!==e&&i.set("authorization",`Bearer ${e}`)}t.headers=i,t.retryDelay&&"number"==typeof t.retryDelay&&(t.retryDelay=3*t.retryDelay)},onRequestError:({error:e})=>{if(e instanceof DOMException&&"AbortError"===e.name)throw new R}})}}const Vt=Symbol("cross-tab-user-sync-plugin");class Ht{async authenticate(){if(!this.api)throw new L("Auth flow has no API instance");try{return await this.api.post(ce,{token:this.meta.token})}catch(e){throw j(e)}}async link(){if(!this.api)throw new L("Auth flow has no API instance");try{return await this.api.post(he,{token:this.meta.token})}catch(e){throw j(e)}}constructor(e){this.meta={token:e}}}function Gt(e){return e?{"privy-ui":"t"}:void 0}class Yt{async authenticate(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.email||!this.meta.emailCode)throw new L("Email and email code must be set prior to calling authenticate.");try{return await this.api.post(de,{email:this.meta.email,code:this.meta.emailCode,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw j(e)}}async link(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.email||!this.meta.emailCode)throw new L("Email and email code must be set prior to calling authenticate.");try{return await this.api.post(ue,{email:this.meta.email,code:this.meta.emailCode})}catch(e){throw j(e)}}async sendCodeEmail({email:e,captchaToken:t,withPrivyUi:i}){if(!this.api)throw new L("Auth flow has no API instance");if(e&&(this.meta.email=e),t&&(this.meta.captchaToken=t),!this.meta.email)throw new L("Email must be set when initialzing authentication.");let n=Gt(i);try{return await this.api.post(pe,{email:this.meta.email,token:this.meta.captchaToken},{headers:{...n}})}catch(e){throw j(e)}}constructor({email:e,captchaToken:t,disableSignup:i}){this.meta={email:e,captchaToken:t,disableSignup:i??!1}}}class Jt extends Yt{async link(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.email||!this.meta.emailCode||!this.meta.oldAddress)throw new L("Email, email code, and an old email address must be set prior to calling update.");try{return await this.api.post(we,{oldAddress:this.meta.oldAddress,newAddress:this.meta.email,code:this.meta.emailCode})}catch(e){throw j(e)}}constructor(e,t,i){super({email:t,captchaToken:i}),this.meta={email:t,captchaToken:i,oldAddress:e,disableSignup:!1}}}class Qt{getOrCreateGuestCredential(e){let t=a(e);if(z()){if(U.get(t))return U.get(t);{let e=st.base64urlnopad.fromBytes(at(32));return U.put(t,e),e}}return st.base64urlnopad.fromBytes(at(32))}async authenticate(){if(!this.api)throw new L("Auth flow has no API instance");try{return await this.api.post(ye,{guest_credential:this.meta.guestCredential})}catch(e){throw j(e)}}async link(){throw Error("Linking is not supported for the guest flow")}constructor(e){this.meta={guestCredential:this.getOrCreateGuestCredential(e)}}}function Zt(){return"undefined"!=typeof window&&"chrome-extension:"===window.location.protocol&&"chrome"in window}function Kt(){if(!Zt())return;let e=window.chrome;return e?.runtime?.id}function Xt(){if(!Zt())return!1;let e=window.chrome;return"function"==typeof e?.identity?.launchWebAuthFlow}async function ei(e){return new Promise(((t,i)=>{Xt()?window.chrome.identity.launchWebAuthFlow({url:e,interactive:!0},(async e=>{try{let i=function(){if(!Zt())return;let e=window.chrome;return e?.runtime?.lastError?.message}();if(i||!e){let e=`WebAuthFlow failed: ${i||"Response URI missing"}`;throw Error(e)}let n=new URL(e),s=Kt();if(!s)throw Error("Invalid extension context");if("chrome-extension:"===n.protocol){if(n.hostname!==s)throw Error("Invalid responseUri origin")}else{if("https:"!==n.protocol)throw Error("Invalid responseUri protocol");{let e=n.hostname.split(".");if(3!==e.length||"chromiumapp"!==e[1]||"org"!==e[2]||e[0]!==s)throw Error("Invalid responseUri origin")}}let a=n.searchParams.get("privy_oauth_state"),r=n.searchParams.get("privy_oauth_code");if(!a||!r)throw Error("Invalid responseUri - missing required parameters");t({privyOAuthState:a,privyOAuthCode:r})}catch(e){i(e)}})):i(Error("Chrome identity API not available"))}))}class ti{addCaptchaToken(e){this.meta.captchaToken=e}isActive(){return!!(this.meta.authorizationCode&&this.meta.stateCode&&this.meta.provider)}async authenticate(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.authorizationCode||!this.meta.stateCode)throw new L("[OAuth AuthFlow] Authorization and state codes code must be set prior to calling authenticate.");if("undefined"===this.meta.authorizationCode)throw new L("User denied confirmation during OAuth flow");let e=rt();try{let t=await this.api.post(me,{authorization_code:this.meta.authorizationCode,state_code:this.meta.stateCode,code_verifier:e,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"});return U.del(r),U.del(o),U.del(l),t}catch(e){let t=j(e);if(t.privyErrorCode)throw new L(t.message||"Invalid code during OAuth flow.",void 0,t.privyErrorCode);if("User denied confirmation during OAuth flow"===t.message)throw new L("Invalid code during oauth flow.",void 0,O.OAUTH_USER_DENIED);throw new L("Invalid code during OAuth flow.",void 0,O.UNKNOWN_AUTH_ERROR)}}async link(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.authorizationCode||!this.meta.stateCode)throw new L("[OAuth AuthFlow] Authorization and state codes code must be set prior to calling link.");if("undefined"===this.meta.authorizationCode)throw new L("User denied confirmation during OAuth flow");let e=U.get(r);if(!e)throw new L("Authentication error.");try{let t=await this.api.post(ge,{authorization_code:this.meta.authorizationCode,state_code:this.meta.stateCode,code_verifier:e});return U.del(r),t}catch(e){throw j(e)}}async getAuthorizationUrl(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.provider)throw new L("Provider must be set when initializing OAuth authentication.");let e=ot();U.put(r,e);let t=lt();U.put(c,t);let i=await ct(e);this.meta.withPrivyUi||U.put(o,!0),this.meta.disableSignup?U.put(l,!0):U.del(l);let n=Gt(this.meta.withPrivyUi),s=window.location.href,a=function(){let e=Kt();if(e)return`https://${e}.chromiumapp.org`}();a&&(s=a);try{return await this.api.post(fe,{provider:this.meta.provider,redirect_to:this.meta.customOAuthRedirectUrl||s,token:this.meta.captchaToken,code_challenge:i,state_code:t},{headers:{...n}})}catch(e){throw j(e)}}constructor(e){this.meta=e}}class ii{execute(e){return null===this.promise&&(this.promise=(async()=>{try{return await this.fn(e)}finally{this.promise=null}})()),this.promise}constructor(e){this.promise=null,this.fn=e}}const ni=({address:e,chainId:t,nonce:i})=>`${window.location.host} wants you to sign in with your Ethereum account:\n${e}\n\nBy signing, you are proving you own this wallet and logging in. This does not initiate a transaction or cost any fees.\n\nURI: ${window.location.origin}\nVersion: 1\nChain ID: ${t}\nNonce: ${i}\nIssued At: ${(new Date).toISOString()}\nResources:\n- https://privy.io`;class si{get meta(){return{connectorType:this.wallet?.connectorType,walletClientType:this.wallet?.walletClientType,chainId:this.wallet?.chainId,address:this.wallet?.address,disableSignup:this._meta.disableSignup}}async authenticate(){if(!this.client)throw new L("SiweFlow has no client instance");try{if(this.preparedMessage&&this.signature)return await this.client.authenticateWithSiweInternal({message:this.preparedMessage,signature:this.signature,chainId:this.wallet?.chainId,walletClientType:this.walletClientType??this.wallet?.walletClientType,connectorType:this.connectorType??this.wallet?.connectorType,mode:this._meta.disableSignup?"no-signup":"login-or-sign-up"});if(!this.wallet)throw new L("SiweFlow has no wallet instance");let{message:e,signature:t}=await this.sign();return await this.client.authenticateWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw j(e)}}async link(){if(!this.client)throw new L("SiweFlow has no client instance");try{if(!this.wallet)throw new L("SiweFlow has no wallet instance");let{message:e,signature:t}=await this.sign();return await this.client.linkWithSiweInternal({message:e,signature:t,chainId:this.wallet.chainId,walletClientType:this.wallet.walletClientType,connectorType:this.wallet.connectorType})}catch(e){throw j(e)}}async sign(){if(!this.client)throw new L("SiweFlow has no client instance");if(await this.buildMessage(),!this.preparedMessage)throw new L("Could not prepare SIWE message");if(!this.wallet)throw new L("SiweFlow has no wallet instance");let e=await this.wallet.sign(this.preparedMessage);return{message:this.preparedMessage,signature:e}}async _getNonceOnce(){if(!this.client)throw new L("SiweFlow has no client instance");if(!this.wallet)throw new L("UI SiweFlow has no wallet instance");return await this.client.generateSiweNonce({address:this.wallet.address,captchaToken:this.captchaToken})}async buildMessage(){if(!this.client)throw new L("SiweFlow has no client instance");if(!this.wallet)throw new L("SiweFlow has no wallet instance");let e=this.wallet.address,t=this.wallet.chainId.replace("eip155:","");return this.nonce||(this.nonce=await this.getNonceOnce.execute()),this.preparedMessage=ni({address:e,chainId:t,nonce:this.nonce}),this.preparedMessage}constructor(e,t,i,n=!1,s){this._meta={disableSignup:!1},this.getNonceOnce=new ii(this._getNonceOnce.bind(this)),this.wallet=t,this.captchaToken=i,this.client=e,this._meta.disableSignup=n,this.preparedMessage=s?.message,this.signature=s?.signature,this.walletClientType=s?.walletClientType,this.connectorType=s?.connectorType}}class ai{async authenticate(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.phoneNumber||!this.meta.smsCode)throw new L("phone number and sms code must be set prior to calling authenticate.");try{return await this.api.post(Ce,{phoneNumber:this.meta.phoneNumber,code:this.meta.smsCode,mode:this.meta.disableSignup?"no-signup":"login-or-sign-up"})}catch(e){throw j(e)}}async link(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.phoneNumber||!this.meta.smsCode)throw new L("phone number and sms code must be set prior to calling authenticate.");try{return await this.api.post(ve,{phoneNumber:this.meta.phoneNumber,code:this.meta.smsCode})}catch(e){throw j(e)}}async sendSmsCode({phoneNumber:e,captchaToken:t,withPrivyUi:i}){if(!this.api)throw new L("Auth flow has no API instance");if(e&&(this.meta.phoneNumber=e),t&&(this.meta.captchaToken=t),!this.meta.phoneNumber)throw new L("phone nNumber must be set when initialzing authentication.");let n=Gt(i);try{return await this.api.post(Te,{phoneNumber:this.meta.phoneNumber,token:this.meta.captchaToken},{headers:{...n}})}catch(e){throw j(e)}}constructor({phoneNumber:e,captchaToken:t,disableSignup:i}){this.meta={phoneNumber:e,captchaToken:t,disableSignup:i??!1}}}class ri extends ai{async link(){if(!this.api)throw new L("Auth flow has no API instance");if(!this.meta.phoneNumber||!this.meta.smsCode||!this.meta.oldPhoneNumber)throw new L("Phone number, sms code, and an old phone number must be set prior to calling update.");try{return await this.api.post(Ae,{old_phone_number:this.meta.oldPhoneNumber,new_phone_number:this.meta.phoneNumber,code:this.meta.smsCode})}catch(e){throw j(e)}}constructor(e,t,i){super({phoneNumber:t,captchaToken:i}),this.meta={phoneNumber:t,captchaToken:i,oldPhoneNumber:e,disableSignup:!1}}}var oi,li=((oi={}).PRIVY="privy_access_token",oi.CUSTOMER="customer_access_token",oi);class ci{get token(){return this.privyAccessToken||this.customerAccessToken}getToken(e){return"privy_access_token"===e?this.privyAccessToken:this.customerAccessToken}get customerAccessToken(){return this._getToken(h)}get privyAccessToken(){return this._getToken(d)}_getToken(e){try{let t=U.get(e);return"string"==typeof t?gt.throwIfNotWellFormedJwt(t):null}catch(e){return console.error(e),this.destroyLocalState(),null}}get refreshToken(){try{let e=U.get(u);return"string"==typeof e?e:null}catch(e){return console.error(e),this.destroyLocalState(),null}}getProviderAccessToken(e){try{let t=U.get(p(e));if("string"!=typeof t)return null;{let i=new gt(t);return i.isExpired()?(U.del(p(e)),null):i.value}}catch(e){return console.error(e),null}}get mightHaveServerCookies(){try{let e=tt.get(w);return void 0!==e&&e.length>0}catch(e){console.error(e)}return!1}hasRefreshCredentials(e="privy_access_token"){let t="string"==typeof this.getToken(e),i="string"==typeof this.refreshToken&&this.refreshToken!==y;return this.mightHaveServerCookies||t&&i}hasActiveAccessToken(e){let t=gt.parse(this.getToken(e));return null!==t&&!t.isExpired(30)}authenticate(e){return this.authenticateOnce.execute(e)}link(e){return this.linkOnce.execute(e)}refresh(){return this.refreshOnce.execute()}destroy(){return this.destroyOnce.execute()}storeProviderAccessToken(e,t){"string"==typeof t?U.put(p(e),t):U.del(p(e))}updateIdentityToken(e){"string"==typeof e?this.storeIdentityToken(e):this.clearIdentityToken()}async _authenticate(e){try{let t=await e.authenticate(),{user:i,is_new_user:n,oauth_tokens:s}=t;this.handleTokenResponse(t);let a=s?{provider:s.provider,accessToken:s.access_token,accessTokenExpiresInSeconds:s.access_token_expires_in_seconds,refreshToken:s.refresh_token,refreshTokenExpiresInSeconds:s.refresh_token_expires_in_seconds,scopes:s.scopes}:void 0;return this._trackAuthenticateEvents(e,n),{user:m(i),isNewUser:n,oAuthTokens:a}}catch(e){throw console.warn("Error authenticating session"),B(e)}}_trackAuthenticateEvents(e,t){let i=function(e){return e instanceof Yt?"email":e instanceof ai?"sms":e instanceof si?"siwe":e instanceof Qt?"guest":e instanceof Ht?"custom_auth":e instanceof ti?e.meta.provider:null}(e);i&&this.client&&this.client.createAnalyticsEvent({eventName:"sdk_authenticate",payload:{method:i,isNewUser:t}}),"siwe"===i&&this.client&&this.client.createAnalyticsEvent({eventName:"sdk_authenticate_siwe",payload:{connectorType:e.meta.connectorType,walletClientType:e.meta.walletClientType}})}async _link(e){try{let t=await e.link(),i=t.oauth_tokens,n=i?{provider:i.provider,accessToken:i.access_token,accessTokenExpiresInSeconds:i.access_token_expires_in_seconds,refreshToken:i.refresh_token,refreshTokenExpiresInSeconds:i.refresh_token_expires_in_seconds,scopes:i.scopes}:void 0;return{user:m(t),oAuthTokens:n}}catch(e){throw console.warn("Error linking account"),B(e)}}async _refresh(){if(!this.api)throw new L("Session has no API instance");if(!this.client)throw new L("Session has no PrivyClient instance");await this.client.getAccessToken({disableAutoRefresh:!0});let e=this.token,t=this.refreshToken;if(this.client.useServerCookies&&!this.mightHaveServerCookies&&this.token&&window.location.origin===this.client.apiUrl)return this.destroyLocalState(),null;try{let i;if(!(e&&t||this.mightHaveServerCookies))return null;{let n={};e&&(n.authorization=`Bearer ${e}`),i=await this.api.post(re,t?{refresh_token:t}:{},{headers:n})}return this.handleTokenResponse(i),m(i.user)}catch(e){if(e instanceof q&&e.privyErrorCode===O.MISSING_OR_INVALID_TOKEN)return console.warn("Unable to refresh tokens - token is missing or no longer valid"),this.destroyLocalState(),null;throw B(e)}}handleTokenResponse(e){e.session_update_action&&"set"!==e.session_update_action?"clear"===e.session_update_action?this.destroyLocalState():"ignore"===e.session_update_action&&(e.token&&(this.storeCustomerAccessToken(e.token),this.storePrivyAccessToken(e.privy_access_token)),e.identity_token&&this.storeIdentityToken(e.identity_token)):this._storeAllTokens(e)}_storeAllTokens(e){this.storeRefreshToken(e.refresh_token),this.storeCustomerAccessToken(e.token),this.storePrivyAccessToken(e.privy_access_token),e.identity_token&&this.storeIdentityToken(e.identity_token)}async _destroy(){try{await(this.api?.post(oe,{refresh_token:this.refreshToken}))}catch(e){console.warn("Error destroying session")}this.destroyLocalState()}destroyLocalState(){this.storeRefreshToken(null),this.storeCustomerAccessToken(null),this.storePrivyAccessToken(null),this.clearIdentityToken()}storeCustomerAccessToken(e){if("string"==typeof e){let t=U.get(h);U.put(h,e);let i=gt.parse(e)?.expiration;this.writeCookie(g,e,{expires:i?new Date(1e3*i):void 0}),t!==e&&this.client?.onStoreCustomerAccessToken?.(e)}else U.del(h),tt.remove(g),this.client?.onDeleteCustomerAccessToken?.()}storeRefreshToken(e){"string"==typeof e?(U.put(u,e),this.writeCookie(w,"t",{expires:30})):(U.del(u),tt.remove(f),tt.remove(w))}storePrivyAccessToken(e){"string"==typeof e?U.put(d,e):U.del(d)}storeIdentityToken(e){if(Bt.setState({identityToken:e}),this.client?.useServerCookies)return;U.put(C,e);let t=gt.parse(e)?.expiration;this.writeCookie(v,e,{expires:t?new Date(1e3*t):void 0})}writeCookie(e,t,i){it({useServerCookies:this.client?.useServerCookies,cookieWriteBehavior:this.client?.cookieWriteBehavior})&&tt.set(e,t,{sameSite:"Strict",secure:!(ne&&window.location.origin.startsWith("http://localhost")),...i})}clearIdentityToken(){U.del(C),Bt.setState({identityToken:null}),tt.remove(v)}constructor(){this.authenticateOnce=new ii((async e=>this._authenticate(e))),this.linkOnce=new ii((async e=>this._link(e))),this.refreshOnce=new ii(this._refresh.bind(this)),this.destroyOnce=new ii(this._destroy.bind(this))}}let hi,di;var ui=0,pi="__private_"+ui+++"__getOrGenerateClientAnalyticsId";class wi{getAppId(){return this.appId}initializeConnectorManager({walletConnectCloudProjectId:e,rpcConfig:t,chains:i,defaultChain:n,store:s,walletList:a,shouldEnforceDefaultChainOnConnect:r,externalWalletConfig:o,appName:l,walletChainType:c,setBaseAccountSdk:h,connectorsDebugLogs:d}){this.connectors||(this.connectors=new Ot(this.appId,e,t,i,n,s,a,r,o,l,h,c,d))}generateApi(){let e=new $t({appId:this.appId,appClientId:this.appClientId,client:this,defaults:{baseURL:this.apiUrl,timeout:this.timeout}});return this.session.api=e,e}updateApiUrl(e){this.apiUrl=e||this.fallbackApiUrl,this.api=this.generateApi(),e&&(this.useServerCookies=!0)}authenticate(){if(!this.authFlow)throw new L("No auth flow in progress.");return this.session.authenticate(this.authFlow)}async link(){if(!this.authFlow)throw new L("No auth flow in progress.");let{oAuthTokens:e}=await this.session.link(this.authFlow);return{user:await this.getAuthenticatedUser(),oAuthTokens:e}}storeProviderAccessToken(e,t){this.session.storeProviderAccessToken(e,t)}getProviderAccessToken(e){return this.session.getProviderAccessToken(e)}async logout(){await this.session.destroy(),this.authFlow=void 0}clearProviderAcccessTokens(e){e.linkedAccounts.filter((e=>"cross_app"===e.type)).forEach((e=>{this.storeProviderAccessToken(e.providerApp.id,null)}))}startAuthFlow(e){return e.api=this.api,this.authFlow=e,this.authFlow}async initMfaSmsVerification(){try{await this.api.post(ke,{action:"verify"})}catch(e){throw j(e)}}async initMfaPasskeyVerification(){try{let e=await this.api.post(Ie,{});return Xe(e.options)}catch(e){throw j(e)}}async getCrossAppProviderDetails(e){try{return this._cachedProviderAppDetails[e]||(this._cachedProviderAppDetails[e]=await this.api.get(`/api/v1/apps/${e}/cross-app/details`)),this._cachedProviderAppDetails[e]}catch(e){console.error("Error fetching cross app provider details",e)}}async acceptTerms(){try{let e=await this.api.post(_e,{});return m(e)}catch(e){throw B(e)}}async unlinkEmail(e){try{let t=await this.api.post(be,{address:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async unlinkPhone(e){try{let t=await this.api.post(Pe,{phoneNumber:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async unlinkEthereumWallet(e){try{let t=await this.api.post(Se,{address:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async unlinkSolanaWallet(e){try{let t=await this.api.post(xe,{address:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async unlinkOAuth(e,t){try{let i=await this.api.post(Ee,{provider:e,subject:t});return await this.getAuthenticatedUser()??m(i)}catch(e){throw B(e)}}async unlinkFarcaster(e){try{let t=await this.api.post(Ne,{fid:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async unlinkTelegram(e){try{let t=await this.api.post(We,{telegram_user_id:e});return await this.getAuthenticatedUser()??m(t)}catch(e){throw B(e)}}async revokeDelegatedWallet(){try{await this.api.post(Ue,{})}catch(e){throw B(e)}}async createAnalyticsEvent({eventName:e,payload:t,timestamp:i,options:n}){if("undefined"!=typeof window)try{if(!this.clientAnalyticsId)return void console.warn("No client analytics id set, refusing to send analytics event");await this.api.post(le,{event_name:e,client_id:this.clientAnalyticsId,payload:{...t||{},clientTimestamp:i?i.toISOString():(new Date).toISOString()}},{retry:-1,keepalive:n?.keepAlive??!1})}catch{}}async signMoonpayOnRampUrl(e){try{return this.api.post(De,e)}catch(e){throw B(e)}}async initCoinbaseOnRamp(e){try{return this.api.post(ze,e)}catch(e){throw B(e)}}async getCoinbaseOnRampStatus({partnerUserId:e}){try{return this.api.get(`${Me}?partnerUserId=${e}`)}catch(e){throw B(e)}}async getAuthenticatedUser(){return this.session.hasRefreshCredentials()?this.session.refresh():null}async getAccessToken(e){if(!e?.disableAutoRefresh&&this.useServerCookies&&this.session.mightHaveServerCookies&&!this.session.getToken(li.PRIVY)&&!this.session.getToken(li.CUSTOMER)){await this.session.refresh();let e={disableAutoRefresh:!0};return await this.getPrivyAccessToken(e)||await this.getCustomerAccessToken(e)}return await this.getPrivyAccessToken(e)||await this.getCustomerAccessToken(e)}async getCustomerAccessToken(e){return await this._getToken(li.CUSTOMER,e)}async getPrivyAccessToken(e){return await this._getToken(li.PRIVY,e)}async _getToken(e,t){if(this.session.getToken(e)){if(this.session.hasActiveAccessToken(e))return this.session.hasRefreshCredentials(e)?ft.parse(this.session.getToken(e))?.appId!==this.appId?(await this.logout(),null):this.session.getToken(e):(this.session.destroyLocalState(),null);{if(t?.disableAutoRefresh||!this.session.hasRefreshCredentials(e))return null;let i=et(Vt);if(i){let t=async()=>(await this.session.refresh(),this.session.getToken(e));return await i.withRefreshLock({onLeader:t,onFollowerReleased:async()=>this.session.hasActiveAccessToken(e)?this.session.getToken(e):t()})}return await this.session.refresh(),this.session.getToken(e)}}{let i=e===li.PRIVY?li.CUSTOMER:li.PRIVY;return!t?.disableAutoRefresh&&this.useServerCookies&&this.session.mightHaveServerCookies&&!this.session.getToken(i)?(await this.session.refresh(),this.session.getToken(e)):null}}async getUsdTokenPrice(e){try{return(await this.api.get(`/api/v1/token_price?chainId=${e.id}&tokenSymbol=${e.nativeCurrency.symbol}`)).usd}catch(t){return void console.error(`Unable to fetch token price for chain with id ${e.id}`)}}async getUsdPriceForSol(){try{return(await this.api.get("/api/v1/token_price?chainId=0&tokenSymbol=SOL")).usd}catch(e){return void console.error("Unable to fetch token price for SOL")}}async getSplTokenMetadata({mintAddress:e,cluster:t}){try{return await this.api.get(`/api/v1/spl_token_info?mint_address=${e}&cluster=${t}`)}catch(i){return void console.error(`Unable to fetch token metadata for ${t}:${e}`)}}async requestFarcasterSignerStatus(e){try{return await this.api.post("/api/v1/farcaster/signer/status",{ed25519_public_key:e})}catch(e){throw console.error("Unable to fetch Farcaster signer status"),e}}async generateSiweNonce({address:e,captchaToken:t}){try{return(await this.api.post(je,{address:e,token:t})).nonce}catch(e){throw B(e)}}async authenticateWithSiweInternal({message:e,signature:t,chainId:i,walletClientType:n,connectorType:s,mode:a}){return await this.api.post(Re,{message:e,signature:t,chainId:i,walletClientType:n,connectorType:s,mode:a})}async linkWithSiweInternal({message:e,signature:t,chainId:i,walletClientType:n,connectorType:s}){return await this.api.post(Le,{message:e,signature:t,chainId:i,walletClientType:n,connectorType:s})}async linkSmartWallet({message:e,signature:t,smartWalletType:i,smartWalletVersion:n}){try{let s=await this.api.post(Oe,{message:e,signature:t,smart_wallet_type:i,smart_wallet_version:n});return m(s)}catch(e){throw B(e)}}async linkWithSiwe({message:e,signature:t,chainId:i,walletClientType:n,connectorType:s}){try{let a=await this.linkWithSiweInternal({message:e,signature:t,chainId:i,walletClientType:n,connectorType:s});return m(a)}catch(e){throw B(e)}}async generateSiwsNonce({address:e,captchaToken:t}){try{return(await this.api.post(Be,{address:e,token:t})).nonce}catch(e){throw B(e)}}async authenticateWithSiwsInternal({message:e,signature:t,walletClientType:i,connectorType:n,mode:s,messageType:a="plain"}){return await this.api.post(qe,{message:e,signature:t,walletClientType:i,connectorType:n,mode:s,message_type:a})}async authenticateWithSiws({message:e,signature:t,walletClientType:i,connectorType:n,mode:s,messageType:a="plain"}){let r=await this.authenticateWithSiwsInternal({message:e,signature:t,walletClientType:i,connectorType:n,mode:s,messageType:a});this.session.handleTokenResponse(r);let o=m(r.user);if(!o)throw Error("Authentication failed - no user returned");return{user:o,isNewUser:r.is_new_user||!1}}async sendAccountTransferRequest({nonce:e,account:t,accountType:i,externalWalletMetadata:n,telegramAuthResult:s,telegramWebAppData:a,farcasterEmbeddedAddress:r,oAuthUserInfo:o}){try{let l,c;switch(i){case"email":l=Je,c={nonce:e,email:t};break;case"sms":l=Ye,c={nonce:e,phoneNumber:t};break;case"siwe":if(l=Ge,!n)throw Error("Wallet parameters must be defined");c={nonce:e,address:t,...n};break;case"farcaster":l=He,c={nonce:e,farcaster_id:t,farcaster_embedded_address:r};break;case"telegram":l=Ve,c={nonce:e,telegram_auth_result:s,telegram_web_app_data:a};break;case"siws":l=$e,c={nonce:e,address:t,...n};break;case"custom":case"guest":case"passkey":throw Error("Invalid transfer account type");default:l=Fe,c={nonce:e,userInfo:o}}let h=await this.api.post(l,c);return await this.getAuthenticatedUser()??m(h)}catch(e){throw B(e)}}async linkWithSiwsInternal({message:e,signature:t,walletClientType:i,connectorType:n,messageType:s="plain"}){return await this.api.post(Qe,{message:e,signature:t,walletClientType:i,connectorType:n,message_type:s})}async linkWithSiws({message:e,signature:t,walletClientType:i,connectorType:n,messageType:s="plain"}){try{let a=await this.linkWithSiwsInternal({message:e,signature:t,walletClientType:i,connectorType:n,messageType:s});return m(a)}catch(e){throw B(e)}}async updateUserAndIdToken(){try{let e=await this.api.get(Ze);return this.session.updateIdentityToken(e.identity_token),m(e.user)}catch(e){throw B(e)}}async scanTransaction(e){try{return await this.api.post(Ke,e)}catch(e){throw B(e)}}constructor({apiUrl:e=T,appId:t,appClientId:i,timeout:n=A,cookieWriteBehavior:s}){Object.defineProperty(this,pi,{value:yi}),this._cachedProviderAppDetails={},this.apiUrl=e,this.fallbackApiUrl=this.apiUrl,this.useServerCookies=e!==T&&e.startsWith("https://privy."),this.cookieWriteBehavior=s,this.timeout=n,this.appId=t,this.appClientId=i,this.clientAnalyticsId=function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}(this,pi)[pi](),hi||(hi=new ci),this.session=hi,this.api=this.generateApi(),this.session.client=this}}function yi(){if("undefined"==typeof window)return null;try{let e=U.get(k);if("string"==typeof e&&e.length>0)return e}catch(e){}let e=crypto.randomUUID();try{return U.put(k,e),e}catch(t){return e}}function mi(){if(!di)throw new L("No global PrivyClient instance found. Please ensure you have initialized the PrivyProvider.");return di}async function gi(){return await(di?.updateUserAndIdToken()),di?.useServerCookies?Bt.getState().identityToken:Promise.resolve(U.get(C)||null)}function fi(e){di||(di=new wi({appId:e.appId,appClientId:e.clientId,apiUrl:e.apiUrl,cookieWriteBehavior:e.config?.sessions?.cookieWriteBehavior}))}async function Ci(){let e=mi();return e?e.getAccessToken():Promise.resolve(U.get(d)||U.get(h)||null)}async function vi(e,t,i,n){let s=pt(e),{chain:a,authorizationList:r,...o}=await(async()=>n?await n():await t.prepareTransactionRequest({...s,account:{address:i,type:"json-rpc"}}))();return{...o,type:wt[o.type],authorizationList:e.authorizationList}}async function Ti(e,t,i){let n=ht(e),s=dt(await t.prepareTransactionRequest({...n,account:{address:i,type:"json-rpc"}}),e.gasLimit);return{...e,...s,type:ut}}let Ai=["calls","feePayer","feePayerSignature","feeToken","keyAuthorization","nonceKey","signature","validBefore","validAfter"],ki=["feePayerSignature","feeToken","nonceKey","validBefore","validAfter"];const Ii=e=>{if(!e||"object"!=typeof e)return!1;if(e.type===ut||"string"==typeof e.type&&e.type.toLowerCase()===yt)return!0;let t=e.account;return!!t?.keyType&&"secp256k1"!==t.keyType||"accessKey"===t?.source||Ai.some((t=>void 0!==e[t]))},_i=e=>({type:ut,from:e.from,chainId:e.chainId,nonce:e.nonce,gasLimit:e.gasLimit??e.gas,maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas,calls:Si(e),feeToken:xi(e.feeToken),nonceKey:Ei(e.nonceKey),validBefore:e.validBefore,validAfter:e.validAfter,feePayerSignature:e.feePayerSignature??void 0,accessList:e.accessList}),bi=e=>void 0===e.type&&(Array.isArray(e.calls)&&e.calls.length>0||Ni(e)),Pi=e=>{if(!bi(e))return e;let{gas:t,...i}=e;if(Array.isArray(i.calls)&&i.calls.length>0)return{...i,...void 0!==t&&void 0===i.gasLimit?{gasLimit:t}:{},type:ut};let{to:n,data:s,value:a,...r}=i,o={to:n,...void 0!==s?{data:s}:{},...void 0!==a?{value:a}:{}};return{...r,...void 0!==t&&void 0===r.gasLimit?{gasLimit:t}:{},type:ut,calls:[o]}};let Si=e=>{let t=e.calls&&e.calls.length>0?e.calls:e.to?[{to:e.to,data:e.data,value:e.value}]:[];if(0===t.length)throw Error("Tempo transactions require at least one call");return t.map((e=>{if(!e.to)throw Error("Tempo transaction calls require a `to` address");return{to:e.to,data:e.data,value:e.value}}))},xi=e=>{if(void 0!==e)return"string"==typeof e?e:`0x20c0${e.toString(16).padStart(36,"0")}`},Ei=e=>{if("expiring"!==e&&"random"!==e)return e},Ni=e=>Wi(e)&&"string"==typeof e.to&&(void 0===e.data||"string"==typeof e.data)&&void 0===e.gasPrice&&void 0===e.authorizationList,Wi=e=>ki.some((t=>void 0!==e[t]));const Ui=async({wallet:e,signatureOptions:t})=>{let i=await e.getEthereumProvider();return mt({address:e.address,sign:async({hash:t})=>{if("privy"!==e.walletClientType)throw new nt({error:"Unprefixed signing is not supported by external wallets.",code:"unsupported_wallet_type"});return await i.request({method:"secp256k1_sign",params:[t]})},signMessage:async({message:t})=>{let n;if("string"==typeof t)n=t;else{if("string"!=typeof t.raw)throw new nt({error:"signMessage only supports string messages or {raw: Hex} format",code:"invalid_input"});n=t.raw}return await i.request({method:"personal_sign",params:[n,e.address]})},signTypedData:async n=>{let s;if("erc1271"===t?.type){let e=n?.domain,i=e?.chainId;s={signatureOptions:t,...null!=i?{caip2:`eip155:${i}`}:{}}}return await i.request({method:"eth_signTypedData_v4",params:[e.address,n,s]})},signTransaction:async e=>await i.request({method:"eth_signTransaction",params:[e]}),signAuthorization:async t=>{if("privy"!==e.walletClientType)throw new nt({error:"EIP-7702 authorization signing is not supported by external wallets.",code:"unsupported_wallet_type"});let n={chainId:t.chainId,address:t.contractAddress??t.address,nonce:t.nonce},s=ee(n),a=Z(await i.request({method:"secp256k1_sign",params:[s]}));return{...n,...a}}})};export{Ct as A,Et as B,Ht as C,Yt as E,Qt as G,ti as O,wi as P,ii as R,si as S,gt as T,ri as U,Ci as a,At as b,Tt as c,ai as d,Jt as e,_t as f,Gt as g,Xt as h,Ii as i,vi as j,fi as k,ei as l,mi as m,Vt as n,Ui as o,ni as p,Ot as q,bt as r,gi as s,_i as t,qt as u,bi as v,Pi as w,Ti as x,vt as y,Pt as z};
|
|
2
|
+
//# sourceMappingURL=toViemAccount-CxoAwoGG.mjs.map
|