@dynamic-labs/sdk-react-core 4.61.1 → 4.61.3
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/CHANGELOG.md +24 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +13 -13
- package/src/index.cjs +2 -0
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -0
- package/src/lib/Main.cjs +2 -1
- package/src/lib/Main.js +2 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -1
- package/src/lib/components/Captcha/Captcha.cjs +1 -1
- package/src/lib/components/Captcha/Captcha.js +1 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +1 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +1 -1
- package/src/lib/components/LogoutButton/LogoutButton.cjs +1 -1
- package/src/lib/components/LogoutButton/LogoutButton.js +1 -1
- package/src/lib/components/Modal/Modal.cjs +1 -1
- package/src/lib/components/Modal/Modal.js +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -1
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.cjs +1 -1
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.js +1 -1
- package/src/lib/components/OverlayCardBase/OverlayCardBase.cjs +1 -1
- package/src/lib/components/OverlayCardBase/OverlayCardBase.js +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +1 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +1 -1
- package/src/lib/components/QRCode/QRCode.cjs +1 -1
- package/src/lib/components/QRCode/QRCode.js +1 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +1 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +1 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +1 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +1 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +1 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +1 -1
- package/src/lib/components/Select/Select.cjs +1 -1
- package/src/lib/components/Select/Select.js +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +1 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.js +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +1 -1
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.cjs +1 -1
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.js +1 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -1
- package/src/lib/components/Tooltip/Tooltip.js +1 -1
- package/src/lib/components/TosAndPp/TosAndPp.cjs +1 -1
- package/src/lib/components/TosAndPp/TosAndPp.js +1 -1
- package/src/lib/components/TransactionCard/SendBalanceTransactionCard.cjs +1 -1
- package/src/lib/components/TransactionCard/SendBalanceTransactionCard.js +1 -1
- package/src/lib/components/TransactionCard/TransactionCard.cjs +1 -1
- package/src/lib/components/TransactionCard/TransactionCard.js +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +1 -1
- package/src/lib/components/UserAddress/UserAddress.js +1 -1
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.cjs +1 -1
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.js +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +1 -1
- package/src/lib/components/WalletConnectorEvents/WalletConnectorEvents.cjs +1 -1
- package/src/lib/components/WalletConnectorEvents/WalletConnectorEvents.js +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.cjs +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -1
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.cjs +1 -1
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useAutoselectPrimaryWallet/useAutoselectPrimaryWallet.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useAutoselectPrimaryWallet/useAutoselectPrimaryWallet.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.js +1 -1
- package/src/lib/context/MockContext/MockContext.cjs +1 -1
- package/src/lib/context/MockContext/MockContext.js +1 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +1 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.js +1 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +1 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +1 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +1 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -1
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +1 -1
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +1 -1
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/events/embeddedWallet.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +1 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +1 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +1 -1
- package/src/lib/store/state/nonce/nonce.cjs +1 -1
- package/src/lib/store/state/nonce/nonce.js +1 -1
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/authViewLayoutChecks.cjs +2 -0
- package/src/lib/utils/constants/authViewLayoutChecks.js +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -1
- package/src/lib/utils/hooks/index.d.ts +1 -0
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAllowClose/useAllowClose.cjs +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAllowClose/useAllowClose.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +1 -1
- package/src/lib/utils/hooks/useConnectExchangeForFunding/useConnectExchangeForFunding.cjs +1 -1
- package/src/lib/utils/hooks/useConnectExchangeForFunding/useConnectExchangeForFunding.js +1 -1
- package/src/lib/utils/hooks/useConnectUnifiedForFunding/useConnectUnifiedForFunding.cjs +1 -1
- package/src/lib/utils/hooks/useConnectUnifiedForFunding/useConnectUnifiedForFunding.js +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +1 -1
- package/src/lib/utils/hooks/useDeleteUserAccount/useDeleteUserAccount.cjs +1 -1
- package/src/lib/utils/hooks/useDeleteUserAccount/useDeleteUserAccount.js +1 -1
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +1 -1
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +1 -1
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +1 -1
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +1 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +1 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +1 -1
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.cjs +3 -2
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.d.ts +2 -1
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.js +3 -2
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +1 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +1 -1
- package/src/lib/utils/hooks/useExchangeAccounts/useExchangeAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useExchangeAccounts/useExchangeAccounts.js +1 -1
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +1 -1
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useChooseLinkedWallet/useChooseLinkedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useChooseLinkedWallet/useChooseLinkedWallet.js +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useConnectWalletForFunding/useConnectWalletForFunding.cjs +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useConnectWalletForFunding/useConnectWalletForFunding.js +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useFund/useFund.cjs +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useFund/useFund.js +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useFundWithWallet.cjs +1 -1
- package/src/lib/utils/hooks/useFundWithWallet/useFundWithWallet.js +1 -1
- package/src/lib/utils/hooks/useFundingExchangeHelpers/useFundingExchangeHelpers.cjs +1 -1
- package/src/lib/utils/hooks/useFundingExchangeHelpers/useFundingExchangeHelpers.js +1 -1
- package/src/lib/utils/hooks/useGetWalletPassword/useGetWalletPassword.cjs +1 -1
- package/src/lib/utils/hooks/useGetWalletPassword/useGetWalletPassword.js +1 -1
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.cjs +1 -1
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.js +1 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +1 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +1 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +1 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +1 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +1 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +1 -1
- package/src/lib/utils/hooks/useIsPasswordEncrypted/index.d.ts +1 -0
- package/src/lib/utils/hooks/useIsPasswordEncrypted/useIsPasswordEncrypted.cjs +132 -0
- package/src/lib/utils/hooks/useIsPasswordEncrypted/useIsPasswordEncrypted.d.ts +1 -0
- package/src/lib/utils/hooks/useIsPasswordEncrypted/useIsPasswordEncrypted.js +128 -0
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -1
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.js +1 -1
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.cjs +1 -1
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.js +1 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +1 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +1 -1
- package/src/lib/utils/hooks/useOnramp/useOnramp.cjs +1 -1
- package/src/lib/utils/hooks/useOnramp/useOnramp.js +1 -1
- package/src/lib/utils/hooks/useOpenFundingOptions/useOpenFundingOptions.cjs +1 -1
- package/src/lib/utils/hooks/useOpenFundingOptions/useOpenFundingOptions.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +1 -1
- package/src/lib/utils/hooks/usePayWithDynamic/usePayWithDynamic.cjs +1 -1
- package/src/lib/utils/hooks/usePayWithDynamic/usePayWithDynamic.js +1 -1
- package/src/lib/utils/hooks/usePromptAndFundWithExchange/usePromptAndFundWithExchange.cjs +1 -1
- package/src/lib/utils/hooks/usePromptAndFundWithExchange/usePromptAndFundWithExchange.js +1 -1
- package/src/lib/utils/hooks/usePromptMfaAuth/usePromptMfaAuth.cjs +1 -1
- package/src/lib/utils/hooks/usePromptMfaAuth/usePromptMfaAuth.js +1 -1
- package/src/lib/utils/hooks/usePromptWalletUnlock/usePromptWalletUnlock.cjs +1 -1
- package/src/lib/utils/hooks/usePromptWalletUnlock/usePromptWalletUnlock.js +1 -1
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -1
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -1
- package/src/lib/utils/hooks/useSessionKeys/useSessionKeys.cjs +1 -1
- package/src/lib/utils/hooks/useSessionKeys/useSessionKeys.js +1 -1
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +1 -1
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +1 -1
- package/src/lib/utils/hooks/useSetupPassword/useSetupPassword.cjs +30 -16
- package/src/lib/utils/hooks/useSetupPassword/useSetupPassword.js +30 -16
- package/src/lib/utils/hooks/useSignInWithPasskey/useSignInWithPasskey.cjs +1 -1
- package/src/lib/utils/hooks/useSignInWithPasskey/useSignInWithPasskey.js +1 -1
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.cjs +1 -1
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.js +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +1 -1
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.cjs +1 -1
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.js +1 -1
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.cjs +1 -1
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.js +1 -1
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.js +1 -1
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.js +1 -1
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.cjs +1 -1
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.js +1 -1
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.cjs +1 -1
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.js +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +1 -1
- package/src/lib/utils/hooks/useTransactionSimulation/classes/useBaseTransactionSimulation.cjs +1 -1
- package/src/lib/utils/hooks/useTransactionSimulation/classes/useBaseTransactionSimulation.js +1 -1
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +1 -1
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +1 -1
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.cjs +1 -1
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.js +1 -1
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.cjs +1 -1
- package/src/lib/utils/hooks/useUpgradeToDynamicWaasFlow/useUpgradeToDynamicWaasFlow.js +1 -1
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.cjs +1 -1
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.js +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/unlinkUserEmail/unlinkUserEmail.cjs +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/unlinkUserEmail/unlinkUserEmail.js +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +1 -1
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +1 -1
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +1 -1
- package/src/lib/utils/hooks/useWalletBackup/useWalletBackup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletBackup/useWalletBackup.js +1 -1
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.cjs +17 -21
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.d.ts +2 -2
- package/src/lib/utils/hooks/useWalletDelegation/useWalletDelegation.js +17 -21
- package/src/lib/utils/hooks/useWalletItemActions/useHandleWalletItem/useHandleWalletItem.cjs +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useHandleWalletItem/useHandleWalletItem.js +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +1 -1
- package/src/lib/utils/hooks/useWalletList/useWalletList.cjs +1 -1
- package/src/lib/utils/hooks/useWalletList/useWalletList.js +1 -1
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +1 -1
- package/src/lib/views/AccountUpgradedView/AccountUpgradedView.cjs +1 -1
- package/src/lib/views/AccountUpgradedView/AccountUpgradedView.js +1 -1
- package/src/lib/views/AddNetworkView/AddNetworkView.cjs +1 -1
- package/src/lib/views/AddNetworkView/AddNetworkView.js +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +2 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +3 -3
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +1 -1
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +1 -1
- package/src/lib/views/ExportSharesView/ExportSharesView.cjs +1 -1
- package/src/lib/views/ExportSharesView/ExportSharesView.js +1 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +1 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +1 -1
- package/src/lib/views/MobileWalletRedirectView/MobileWalletRedirectView.cjs +1 -1
- package/src/lib/views/MobileWalletRedirectView/MobileWalletRedirectView.js +1 -1
- package/src/lib/views/NoAccess/useNoAccessText.cjs +1 -1
- package/src/lib/views/NoAccess/useNoAccessText.js +1 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +1 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +1 -1
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +1 -1
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +1 -1
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -1
- package/src/lib/views/ResetPasswordForSettingsView/ResetPasswordForSettingsView.cjs +134 -0
- package/src/lib/views/ResetPasswordForSettingsView/ResetPasswordForSettingsView.d.ts +2 -0
- package/src/lib/views/ResetPasswordForSettingsView/ResetPasswordForSettingsView.js +130 -0
- package/src/lib/views/ResetPasswordForSettingsView/index.d.ts +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -1
- package/src/lib/views/SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.cjs +123 -0
- package/src/lib/views/SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.d.ts +2 -0
- package/src/lib/views/SetupPasswordForWalletCreationView/SetupPasswordForWalletCreationView.js +119 -0
- package/src/lib/views/SetupPasswordForWalletCreationView/index.d.ts +1 -0
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +1 -1
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +1 -1
- package/src/lib/views/SyncWalletView/SyncWalletView.cjs +1 -1
- package/src/lib/views/SyncWalletView/SyncWalletView.js +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -1
- package/src/lib/views/UnlockWalletView/UnlockWalletView.cjs +1 -1
- package/src/lib/views/UnlockWalletView/UnlockWalletView.js +1 -1
- package/src/lib/views/UserDeleteAccountView/UserDeleteAccountView.cjs +1 -1
- package/src/lib/views/UserDeleteAccountView/UserDeleteAccountView.js +1 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +1 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +1 -1
- package/src/lib/views/WalletList/WalletList.cjs +1 -1
- package/src/lib/views/WalletList/WalletList.js +1 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -1
- package/src/lib/views/WalletUpgradeFlowView/WalletUpgradeFlowView.cjs +1 -1
- package/src/lib/views/WalletUpgradeFlowView/WalletUpgradeFlowView.js +1 -1
- package/src/lib/views/index.d.ts +1 -0
- package/src/lib/views/viewToComponentMap.cjs +4 -0
- package/src/lib/views/viewToComponentMap.d.ts +2 -0
- package/src/lib/views/viewToComponentMap.js +4 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +1 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +1 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +1 -1
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +1 -1
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletBalance/ActiveWalletBalance.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletBalance/ActiveWalletBalance.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/PasskeyCard/PasskeyCard.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/PasskeyCard/PasskeyCard.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/AccountAndSecuritySettingsView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/AccountAndSecuritySettingsView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/EmbeddedWalletExportSection/EmbeddedWalletExportSection.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/EmbeddedWalletExportSection/EmbeddedWalletExportSection.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/MfaSection/MfaSection.cjs +20 -6
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/MfaSection/MfaSection.js +20 -6
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useStartExchangeFunding/useStartExchangeFunding.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useStartExchangeFunding/useStartExchangeFunding.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/CryptoComOnramp/CryptoComOnramp.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/CryptoComOnramp/CryptoComOnramp.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/DepositView/DepositView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/DepositView/DepositView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ExportAndRecoveryView/ExportAndRecoveryView.cjs +17 -34
- package/src/lib/widgets/DynamicWidget/views/ExportAndRecoveryView/ExportAndRecoveryView.js +18 -35
- package/src/lib/widgets/DynamicWidget/views/ExportSharesPasscodeView/ExportSharesPasscodeView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ExportSharesPasscodeView/ExportSharesPasscodeView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ReceiveWalletFunds/utils/useExchangeTokensForFunding/useExchangeTokensForFunding.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ReceiveWalletFunds/utils/useExchangeTokensForFunding/useExchangeTokensForFunding.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ReceiveWalletFunds/utils/useTokensForFunding/useTokensForFunding.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/ReceiveWalletFunds/utils/useTokensForFunding/useTokensForFunding.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordCurrentView/ResetPasswordCurrentView.cjs +50 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordCurrentView/ResetPasswordCurrentView.d.ts +8 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordCurrentView/ResetPasswordCurrentView.js +46 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordCurrentView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordView/ResetPasswordView.cjs +182 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordView/ResetPasswordView.d.ts +5 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordView/ResetPasswordView.js +178 -0
- package/src/lib/widgets/DynamicWidget/views/ResetPasswordView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordConfirmView/SetupPasswordConfirmView.cjs +11 -4
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordConfirmView/SetupPasswordConfirmView.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordConfirmView/SetupPasswordConfirmView.js +11 -4
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordEnterView/SetupPasswordEnterView.cjs +16 -9
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordEnterView/SetupPasswordEnterView.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordEnterView/SetupPasswordEnterView.js +16 -9
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordSuccessView/SetupPasswordSuccessView.cjs +2 -2
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordSuccessView/SetupPasswordSuccessView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/SetupPasswordSuccessView/SetupPasswordSuccessView.js +2 -2
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupSuccessView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupSuccessView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.js +1 -1
|
@@ -75,6 +75,7 @@ import '../../../../views/TransactionConfirmationView/TransactionConfirmationVie
|
|
|
75
75
|
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
76
76
|
import '../../../../../index.js';
|
|
77
77
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
78
|
+
import { useWidgetContext } from '../../context/DynamicWidgetContext.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
80
81
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -82,7 +83,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
82
83
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
83
84
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
84
85
|
import '@hcaptcha/react-hcaptcha';
|
|
85
|
-
import { useWidgetContext } from '../../context/DynamicWidgetContext.js';
|
|
86
86
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
87
87
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
88
88
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -78,6 +78,7 @@ require('qrcode');
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../../../context/IpConfigurationContext/IpConfigurationContext
|
|
|
85
86
|
require('../../../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -74,6 +74,7 @@ import 'qrcode';
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../../../context/IpConfigurationContext/IpConfigurationContext.
|
|
|
81
82
|
import '../../../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -80,6 +80,7 @@ require('qrcode');
|
|
|
80
80
|
require('formik');
|
|
81
81
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
82
82
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
83
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
84
85
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
85
86
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -89,7 +90,6 @@ var DotsMenu = require('../DotsMenu/DotsMenu.cjs');
|
|
|
89
90
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
90
91
|
var getPasskeyProviderFromUserAgent = require('../../helpers/getPasskeyProviderFromUserAgent.cjs');
|
|
91
92
|
require('@hcaptcha/react-hcaptcha');
|
|
92
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
93
93
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
94
94
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
95
95
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -76,6 +76,7 @@ import 'qrcode';
|
|
|
76
76
|
import 'formik';
|
|
77
77
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
78
78
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
79
|
+
import '../../context/DynamicWidgetContext.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
80
81
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
81
82
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -85,7 +86,6 @@ import { DotsMenu } from '../DotsMenu/DotsMenu.js';
|
|
|
85
86
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
86
87
|
import { getPasskeyProviderFromUserAgent } from '../../helpers/getPasskeyProviderFromUserAgent.js';
|
|
87
88
|
import '@hcaptcha/react-hcaptcha';
|
|
88
|
-
import '../../context/DynamicWidgetContext.js';
|
|
89
89
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
90
90
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
91
91
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs
CHANGED
|
@@ -77,6 +77,7 @@ require('qrcode');
|
|
|
77
77
|
require('formik');
|
|
78
78
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
79
79
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
80
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
80
81
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -84,7 +85,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
84
85
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
85
86
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
86
87
|
require('@hcaptcha/react-hcaptcha');
|
|
87
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
88
88
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
89
89
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
90
90
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js
CHANGED
|
@@ -73,6 +73,7 @@ import 'qrcode';
|
|
|
73
73
|
import 'formik';
|
|
74
74
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
75
75
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
76
|
+
import '../../context/DynamicWidgetContext.js';
|
|
76
77
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -80,7 +81,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
80
81
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
81
82
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
82
83
|
import '@hcaptcha/react-hcaptcha';
|
|
83
|
-
import '../../context/DynamicWidgetContext.js';
|
|
84
84
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
85
85
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
86
86
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -78,6 +78,7 @@ require('qrcode');
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
85
86
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -74,6 +74,7 @@ import 'qrcode';
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
81
82
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -78,6 +78,7 @@ require('qrcode');
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
85
86
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -74,6 +74,7 @@ import 'qrcode';
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
81
82
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -78,6 +78,7 @@ require('qrcode');
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
85
86
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -74,6 +74,7 @@ import 'qrcode';
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
81
82
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -80,6 +80,7 @@ var getWalletVerifiedCredential = require('../../../../utils/functions/getWallet
|
|
|
80
80
|
require('formik');
|
|
81
81
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
82
82
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
83
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
84
85
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
85
86
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -87,7 +88,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
87
88
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
88
89
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
89
90
|
require('@hcaptcha/react-hcaptcha');
|
|
90
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
91
91
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
92
92
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
93
93
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -76,6 +76,7 @@ import { getWalletVerifiedCredential } from '../../../../utils/functions/getWall
|
|
|
76
76
|
import 'formik';
|
|
77
77
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
78
78
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
79
|
+
import '../../context/DynamicWidgetContext.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
80
81
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
81
82
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -83,7 +84,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
83
84
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
84
85
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
85
86
|
import '@hcaptcha/react-hcaptcha';
|
|
86
|
-
import '../../context/DynamicWidgetContext.js';
|
|
87
87
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
88
88
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
89
89
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs
CHANGED
|
@@ -77,6 +77,7 @@ require('qrcode');
|
|
|
77
77
|
require('formik');
|
|
78
78
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
79
79
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
80
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
80
81
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -84,7 +85,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
84
85
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
85
86
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
86
87
|
require('@hcaptcha/react-hcaptcha');
|
|
87
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
88
88
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
89
89
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
90
90
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js
CHANGED
|
@@ -73,6 +73,7 @@ import 'qrcode';
|
|
|
73
73
|
import 'formik';
|
|
74
74
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
75
75
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
76
|
+
import '../../context/DynamicWidgetContext.js';
|
|
76
77
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -80,7 +81,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
80
81
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
81
82
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
82
83
|
import '@hcaptcha/react-hcaptcha';
|
|
83
|
-
import '../../context/DynamicWidgetContext.js';
|
|
84
84
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
85
85
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
86
86
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs
CHANGED
|
@@ -78,6 +78,7 @@ var useCloseMultiWalletPrompt = require('../../hooks/useCloseMultiWalletPrompt/u
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
85
86
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js
CHANGED
|
@@ -74,6 +74,7 @@ import { useCloseMultiWalletPrompt } from '../../hooks/useCloseMultiWalletPrompt
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
81
82
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -77,6 +77,7 @@ require('qrcode');
|
|
|
77
77
|
require('formik');
|
|
78
78
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
79
79
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
80
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
80
81
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -84,7 +85,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
84
85
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
85
86
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
86
87
|
require('@hcaptcha/react-hcaptcha');
|
|
87
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
88
88
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
89
89
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
90
90
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js
CHANGED
|
@@ -73,6 +73,7 @@ import 'qrcode';
|
|
|
73
73
|
import 'formik';
|
|
74
74
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
75
75
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
76
|
+
import '../../context/DynamicWidgetContext.js';
|
|
76
77
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -80,7 +81,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
80
81
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
81
82
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
82
83
|
import '@hcaptcha/react-hcaptcha';
|
|
83
|
-
import '../../context/DynamicWidgetContext.js';
|
|
84
84
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
85
85
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
86
86
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -78,6 +78,7 @@ var useCloseMultiWalletPrompt = require('../../hooks/useCloseMultiWalletPrompt/u
|
|
|
78
78
|
require('formik');
|
|
79
79
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
80
80
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
81
|
+
require('../../context/DynamicWidgetContext.cjs');
|
|
81
82
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
82
83
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -85,7 +86,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
85
86
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
86
87
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
87
88
|
require('@hcaptcha/react-hcaptcha');
|
|
88
|
-
require('../../context/DynamicWidgetContext.cjs');
|
|
89
89
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
90
90
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
91
91
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -74,6 +74,7 @@ import { useCloseMultiWalletPrompt } from '../../hooks/useCloseMultiWalletPrompt
|
|
|
74
74
|
import 'formik';
|
|
75
75
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
76
76
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
77
|
+
import '../../context/DynamicWidgetContext.js';
|
|
77
78
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
78
79
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -81,7 +82,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
81
82
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
82
83
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
83
84
|
import '@hcaptcha/react-hcaptcha';
|
|
84
|
-
import '../../context/DynamicWidgetContext.js';
|
|
85
85
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
86
86
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
87
87
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -80,6 +80,7 @@ require('qrcode');
|
|
|
80
80
|
require('formik');
|
|
81
81
|
require('../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
82
82
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
83
|
+
var DynamicWidgetContext = require('../../context/DynamicWidgetContext.cjs');
|
|
83
84
|
require('../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
84
85
|
require('../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
85
86
|
require('../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -87,7 +88,6 @@ require('../../../../context/IpConfigurationContext/IpConfigurationContext.cjs')
|
|
|
87
88
|
require('../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
88
89
|
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
89
90
|
require('@hcaptcha/react-hcaptcha');
|
|
90
|
-
var DynamicWidgetContext = require('../../context/DynamicWidgetContext.cjs');
|
|
91
91
|
require('../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
92
92
|
require('../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
93
93
|
require('../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -76,6 +76,7 @@ import 'qrcode';
|
|
|
76
76
|
import 'formik';
|
|
77
77
|
import '../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
78
78
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
79
|
+
import { useWidgetContext } from '../../context/DynamicWidgetContext.js';
|
|
79
80
|
import '../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
80
81
|
import '../../../../utils/hooks/useWalletBackup/types.js';
|
|
81
82
|
import '../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -83,7 +84,6 @@ import '../../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
|
83
84
|
import '../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
84
85
|
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
85
86
|
import '@hcaptcha/react-hcaptcha';
|
|
86
|
-
import { useWidgetContext } from '../../context/DynamicWidgetContext.js';
|
|
87
87
|
import '../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
88
88
|
import '../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
89
89
|
import '../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
|
@@ -86,6 +86,7 @@ require('qrcode');
|
|
|
86
86
|
require('formik');
|
|
87
87
|
require('../../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
88
88
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
89
|
+
require('../../../context/DynamicWidgetContext.cjs');
|
|
89
90
|
var useWalletBackup = require('../../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
90
91
|
require('../../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
91
92
|
require('../../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -93,7 +94,6 @@ require('../../../../../context/IpConfigurationContext/IpConfigurationContext.cj
|
|
|
93
94
|
require('../../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
94
95
|
require('../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
95
96
|
require('@hcaptcha/react-hcaptcha');
|
|
96
|
-
require('../../../context/DynamicWidgetContext.cjs');
|
|
97
97
|
require('../../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
98
98
|
require('../../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
99
99
|
require('../../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
@@ -82,6 +82,7 @@ import 'qrcode';
|
|
|
82
82
|
import 'formik';
|
|
83
83
|
import '../../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.js';
|
|
84
84
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
85
|
+
import '../../../context/DynamicWidgetContext.js';
|
|
85
86
|
import { useWalletBackup } from '../../../../../utils/hooks/useWalletBackup/useWalletBackup.js';
|
|
86
87
|
import '../../../../../utils/hooks/useWalletBackup/types.js';
|
|
87
88
|
import '../../../../../utils/hooks/useWalletBackup/cloudProviders.js';
|
|
@@ -89,7 +90,6 @@ import '../../../../../context/IpConfigurationContext/IpConfigurationContext.js'
|
|
|
89
90
|
import '../../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
90
91
|
import '../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
91
92
|
import '@hcaptcha/react-hcaptcha';
|
|
92
|
-
import '../../../context/DynamicWidgetContext.js';
|
|
93
93
|
import '../../../helpers/convertExchangeKeyAndProviderEnum.js';
|
|
94
94
|
import '../../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.js';
|
|
95
95
|
import '../../../../../context/ErrorContext/hooks/useErrorText/useErrorText.js';
|
package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/MfaSection/MfaSection.cjs
CHANGED
|
@@ -17,7 +17,7 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
17
17
|
var chevronLeft = require('../../../../../shared/assets/chevron-left.cjs');
|
|
18
18
|
var faceId = require('../../../../../shared/assets/face-id.cjs');
|
|
19
19
|
var lock = require('../../../../../shared/assets/lock.cjs');
|
|
20
|
-
require('../../../../../context/ViewContext/ViewContext.cjs');
|
|
20
|
+
var ViewContext = require('../../../../../context/ViewContext/ViewContext.cjs');
|
|
21
21
|
var logger = require('../../../../../shared/logger.cjs');
|
|
22
22
|
require('@dynamic-labs/wallet-book');
|
|
23
23
|
require('@dynamic-labs/utils');
|
|
@@ -84,6 +84,7 @@ require('qrcode');
|
|
|
84
84
|
require('formik');
|
|
85
85
|
require('../../../../../utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs');
|
|
86
86
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
87
|
+
var DynamicWidgetContext = require('../../../context/DynamicWidgetContext.cjs');
|
|
87
88
|
require('../../../../../utils/hooks/useWalletBackup/useWalletBackup.cjs');
|
|
88
89
|
require('../../../../../utils/hooks/useWalletBackup/types.cjs');
|
|
89
90
|
require('../../../../../utils/hooks/useWalletBackup/cloudProviders.cjs');
|
|
@@ -91,13 +92,13 @@ require('../../../../../context/IpConfigurationContext/IpConfigurationContext.cj
|
|
|
91
92
|
require('../../../../../context/ConnectWithOtpContext/ConnectWithOtpContext.cjs');
|
|
92
93
|
require('../../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
93
94
|
require('@hcaptcha/react-hcaptcha');
|
|
94
|
-
var DynamicWidgetContext = require('../../../context/DynamicWidgetContext.cjs');
|
|
95
95
|
require('../../../helpers/convertExchangeKeyAndProviderEnum.cjs');
|
|
96
96
|
require('../../../../../views/ExchangeWhitelistWarning/ExchangeWhitelistWarning.cjs');
|
|
97
97
|
require('../../../../../context/ErrorContext/hooks/useErrorText/useErrorText.cjs');
|
|
98
98
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
99
99
|
require('../../../../../views/MfaChooseDeviceView/useGetMfaOptions/useGetMfaOptions.cjs');
|
|
100
100
|
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
101
|
+
var useWalletPassword = require('../../../../../utils/hooks/useWalletPassword/useWalletPassword.cjs');
|
|
101
102
|
require('../../../../../context/OnrampContext/OnrampContext.cjs');
|
|
102
103
|
require('../../../../../store/state/sendBalances.cjs');
|
|
103
104
|
require('../../../../../store/state/connectorsInitializing/connectorsInitializing.cjs');
|
|
@@ -105,6 +106,7 @@ require('../../../../../components/OverlayCardBase/OverlayCardTarget/OverlayCard
|
|
|
105
106
|
require('../../../components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
106
107
|
require('../../../../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
|
|
107
108
|
require('../../../components/PasskeyCard/PasskeyCard.cjs');
|
|
109
|
+
var useIsPasswordEncrypted = require('../../../../../utils/hooks/useIsPasswordEncrypted/useIsPasswordEncrypted.cjs');
|
|
108
110
|
require('../../CryptoComOnramp/CryptoComOnramp.cjs');
|
|
109
111
|
require('../../../../../../index.cjs');
|
|
110
112
|
require('../../ReceiveWalletFunds/ReceiveWalletFunds.cjs');
|
|
@@ -114,17 +116,18 @@ require('../../../../../store/state/tokenBalances.cjs');
|
|
|
114
116
|
require('../../../../../store/state/multichainBalances.cjs');
|
|
115
117
|
require('../../../../../shared/utils/functions/getInitialUrl/getInitialUrl.cjs');
|
|
116
118
|
var useIsPasskeysMfaEnabled = require('../../../../../utils/hooks/useIsPasskeysMfaEnabled/useIsPasskeysMfaEnabled.cjs');
|
|
117
|
-
var useWalletPassword = require('../../../../../utils/hooks/useWalletPassword/useWalletPassword.cjs');
|
|
118
119
|
var useInternalDynamicContext = require('../../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext/useInternalDynamicContext.cjs');
|
|
119
120
|
|
|
120
121
|
const MfaSection = ({ isLoading }) => {
|
|
121
122
|
var _a, _b, _c;
|
|
122
123
|
const { t } = reactI18next.useTranslation();
|
|
123
124
|
const { setDynamicWidgetView } = DynamicWidgetContext.useWidgetContext();
|
|
124
|
-
const { primaryWallet } = useInternalDynamicContext.useInternalDynamicContext();
|
|
125
|
+
const { primaryWallet, setShowAuthFlow } = useInternalDynamicContext.useInternalDynamicContext();
|
|
126
|
+
const { pushView } = ViewContext.useViewContext();
|
|
125
127
|
const { getEOAWallet } = useSmartWallets.useSmartWallets();
|
|
126
128
|
const projectSettings = useProjectSettings.useProjectSettings();
|
|
127
129
|
const { updatePassword } = useWalletPassword.useWalletPassword();
|
|
130
|
+
const isPasswordEncrypted = useIsPasswordEncrypted.useIsPasswordEncrypted();
|
|
128
131
|
const isMfaEnabled = useIsMfaEnabled.useIsMfaEnabled();
|
|
129
132
|
const isTotpMfaEnabled = useIsTotpMfaEnabled.useIsTotpMfaEnabled();
|
|
130
133
|
const isPasskeyMfaEnabled = useIsPasskeysMfaEnabled.useIsPasskeysMfaEnabled();
|
|
@@ -151,14 +154,25 @@ const MfaSection = ({ isLoading }) => {
|
|
|
151
154
|
}),
|
|
152
155
|
});
|
|
153
156
|
}, [setDynamicWidgetView, wallet, updatePassword]);
|
|
157
|
+
const handleResetPasswordClick = React.useCallback(() => {
|
|
158
|
+
setShowAuthFlow(true, {
|
|
159
|
+
ignoreIfIsEmbeddedWidget: false,
|
|
160
|
+
performMultiWalletChecks: false,
|
|
161
|
+
});
|
|
162
|
+
pushView('reset-password-flow');
|
|
163
|
+
}, [setShowAuthFlow, pushView]);
|
|
154
164
|
if (!isMfaEnabled && !isWaasWallet) {
|
|
155
165
|
return null;
|
|
156
166
|
}
|
|
157
167
|
return (jsxRuntime.jsxs("div", { className: 'settings-view__body__section', children: [jsxRuntime.jsx("div", { className: 'settings-view__body__section__title', children: jsxRuntime.jsx(Typography.Typography, { copykey: 'dyn_settings.mfa_section.title', color: 'secondary', weight: 'medium', children: t('dyn_settings.mfa_section.title') }) }), isPasskeyMfaEnabled && (jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'manage-passkeys-mfa-button', onClick: handlePasskeyMfaClick, buttonClassName: 'settings-view__body__section__button', startSlot:
|
|
158
168
|
// eslint-disable-next-line react/jsx-wrap-multilines
|
|
159
|
-
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(faceId.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey: 'dyn_settings.mfa_section.passkey_button', children: t('dyn_settings.mfa_section.passkey_button') })] }), endSlot: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: isLoading, showInternalLoading: false })), shouldShowPasswordSetup && (jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'password-setup-button', onClick: handlePasscodeClick, buttonClassName: 'settings-view__body__section__button', startSlot:
|
|
169
|
+
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(faceId.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey: 'dyn_settings.mfa_section.passkey_button', children: t('dyn_settings.mfa_section.passkey_button') })] }), endSlot: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: isLoading, showInternalLoading: false })), shouldShowPasswordSetup && (jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'password-setup-button', onClick: isPasswordEncrypted ? handleResetPasswordClick : handlePasscodeClick, buttonClassName: 'settings-view__body__section__button', startSlot:
|
|
160
170
|
// eslint-disable-next-line react/jsx-wrap-multilines
|
|
161
|
-
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(lock.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey:
|
|
171
|
+
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(lock.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey: isPasswordEncrypted
|
|
172
|
+
? 'dyn_settings.account_security.password.reset_button'
|
|
173
|
+
: 'dyn_settings.account_security.password.set_button', children: isPasswordEncrypted
|
|
174
|
+
? t('dyn_settings.account_security.password.reset_button')
|
|
175
|
+
: t('dyn_settings.account_security.password.set_button') })] }), endSlot: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: isLoading, showInternalLoading: false })), isTotpMfaEnabled && (jsxRuntime.jsx(TypographyButton.TypographyButton, { dataTestId: 'manage-totp-mfa-button', onClick: handleTotpMfaClick, buttonClassName: 'settings-view__body__section__button', startSlot:
|
|
162
176
|
// eslint-disable-next-line react/jsx-wrap-multilines
|
|
163
177
|
jsxRuntime.jsxs("div", { className: 'settings-view__body__section__button__start-slot', children: [jsxRuntime.jsx(lock.ReactComponent, { className: 'settings-view__body__section__button__icon' }), jsxRuntime.jsx(Typography.Typography, { color: 'primary', weight: 'medium', copykey: 'dyn_settings.mfa_section.totp_button', children: t('dyn_settings.mfa_section.totp_button') })] }), endSlot: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'settings-view__body__section__button__icon-secondary--rotate' }), disabled: isLoading, showInternalLoading: false }))] }));
|
|
164
178
|
};
|