@dynamic-labs/sdk-react-core 2.0.0-alpha.20 → 2.0.0-alpha.22
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 +49 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +14 -14
- package/src/index.cjs +24 -193
- package/src/index.d.ts +92 -11
- package/src/index.js +11 -90
- package/src/lib/Main.cjs +1 -2
- package/src/lib/Main.js +1 -2
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -2
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -2
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -2
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -2
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -2
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -2
- package/src/lib/components/Captcha/Captcha.cjs +1 -2
- package/src/lib/components/Captcha/Captcha.js +1 -2
- package/src/lib/components/CopyButton/CopyButton.d.ts +1 -1
- package/src/lib/components/Divider/Divider.cjs +1 -2
- package/src/lib/components/Divider/Divider.js +1 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +1 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +1 -2
- package/src/lib/components/EmailForm/EmailForm.cjs +102 -0
- package/src/lib/components/EmailForm/EmailForm.d.ts +11 -0
- package/src/lib/components/EmailForm/EmailForm.js +98 -0
- package/src/lib/components/EmailForm/index.d.ts +1 -0
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.cjs +4 -72
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.d.ts +1 -0
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.js +4 -72
- package/src/lib/components/LogoutButton/LogoutButton.cjs +1 -2
- package/src/lib/components/LogoutButton/LogoutButton.js +1 -2
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +1 -2
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +1 -2
- package/src/lib/components/MockedQrCode/MockedQrCode.cjs +1 -2
- package/src/lib/components/MockedQrCode/MockedQrCode.js +1 -2
- package/src/lib/components/Modal/Modal.cjs +1 -2
- package/src/lib/components/Modal/Modal.js +1 -2
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +1 -2
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +1 -2
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -2
- package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -2
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -2
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +1 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -2
- package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -2
- package/src/lib/components/OverlayCard/OverlayCard.js +1 -2
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +1 -2
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +1 -2
- package/src/lib/components/PhoneNumberField/PhoneNumberField.cjs +3 -2
- package/src/lib/components/PhoneNumberField/PhoneNumberField.d.ts +2 -0
- package/src/lib/components/PhoneNumberField/PhoneNumberField.js +3 -2
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs +25 -22
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.d.ts +4 -5
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js +27 -23
- package/src/lib/components/Portal/Portal.cjs +1 -2
- package/src/lib/components/Portal/Portal.js +1 -2
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +1 -2
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +1 -2
- package/src/lib/components/QRCode/QRCode.cjs +1 -2
- package/src/lib/components/QRCode/QRCode.js +1 -2
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.cjs +1 -2
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.js +1 -2
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.cjs +1 -2
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.js +1 -2
- package/src/lib/components/RenderView/RenderView.cjs +0 -1
- package/src/lib/components/RenderView/RenderView.js +0 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +1 -2
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +1 -2
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +1 -2
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +1 -2
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +1 -2
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +1 -2
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -2
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -2
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +1 -2
- package/src/lib/components/ShadowDOM/ShadowDOM.js +1 -2
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +1 -2
- package/src/lib/components/SocialSignIn/SocialSignIn.js +1 -2
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.cjs +1 -2
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.js +1 -2
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +1 -2
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +1 -2
- package/src/lib/components/Toolkit/Toolkit.cjs +1 -2
- package/src/lib/components/Toolkit/Toolkit.js +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +1 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +1 -2
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -2
- package/src/lib/components/Tooltip/Tooltip.js +1 -2
- package/src/lib/components/TosAndPp/TosAndPp.cjs +1 -2
- package/src/lib/components/TosAndPp/TosAndPp.js +1 -2
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -2
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -2
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -2
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -2
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -2
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -2
- package/src/lib/components/UserAddress/UserAddress.cjs +1 -2
- package/src/lib/components/UserAddress/UserAddress.js +1 -2
- package/src/lib/components/UserAvatar/UserAvatar.cjs +1 -1
- package/src/lib/components/UserAvatar/UserAvatar.js +1 -1
- package/src/lib/components/UserProfile/UserProfile.cjs +1 -2
- package/src/lib/components/UserProfile/UserProfile.js +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.js +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +4 -5
- package/src/lib/components/UserProfileForm/UserProfileForm.js +4 -5
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +1 -6
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +1 -6
- package/src/lib/context/ConnectWithEmailOtpContext/constants.cjs +0 -1
- package/src/lib/context/ConnectWithEmailOtpContext/constants.js +0 -1
- package/src/lib/context/ConnectWithEmailOtpContext/types.d.ts +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.cjs +3 -3
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.d.ts +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.js +3 -3
- package/src/lib/context/DynamicContext/DynamicContext.cjs +37 -37
- package/src/lib/context/DynamicContext/DynamicContext.js +39 -39
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.cjs +1 -4
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.d.ts +1 -7
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.js +1 -4
- package/src/lib/context/DynamicContext/helpers/helpers.cjs +2 -2
- package/src/lib/context/DynamicContext/helpers/helpers.d.ts +2 -2
- package/src/lib/context/DynamicContext/helpers/helpers.js +2 -2
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/types.d.ts +1 -2
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +3 -4
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +4 -5
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +3 -3
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +3 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +3 -3
- package/src/lib/context/DynamicContext/types/index.d.ts +2 -3
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +2 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +3 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +3 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.cjs +1 -2
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.d.ts +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.js +1 -2
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +1 -2
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +1 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +1 -2
- package/src/lib/context/FundingContext/FundingContext.js +1 -2
- package/src/lib/context/LoadingContext/LoadingContext.cjs +2 -2
- package/src/lib/context/LoadingContext/LoadingContext.js +2 -2
- package/src/lib/context/MockContext/MockContext.cjs +1 -2
- package/src/lib/context/MockContext/MockContext.js +1 -2
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +1 -2
- package/src/lib/context/PasskeyContext/PasskeyContext.js +1 -2
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +1 -2
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +1 -2
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +71 -13
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.d.ts +2 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +71 -13
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -2
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -2
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -2
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -2
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +3 -3
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +3 -3
- package/src/lib/context/WalletContext/WalletContext.cjs +1 -2
- package/src/lib/context/WalletContext/WalletContext.js +1 -2
- package/src/lib/data/api.cjs +32 -22
- package/src/lib/data/api.d.ts +16 -10
- package/src/lib/data/api.js +33 -23
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -3
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -3
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +1 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +1 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +1 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +1 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +1 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +1 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +1 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +1 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +1 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +1 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +1 -2
- package/src/lib/locale/en/translation.cjs +3 -0
- package/src/lib/locale/en/translation.d.ts +3 -0
- package/src/lib/locale/en/translation.js +3 -0
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.cjs +1 -2
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.js +1 -2
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +1 -2
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +1 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +1 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +1 -2
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +1 -2
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +1 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +1 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +1 -2
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +6 -4
- package/src/lib/shared/assets/embedded-wallet-icon.js +6 -4
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/index.d.ts +1 -1
- package/src/lib/utils/constants/localStorage.cjs +4 -2
- package/src/lib/utils/constants/localStorage.d.ts +2 -1
- package/src/lib/utils/constants/localStorage.js +3 -2
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +6 -2
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.d.ts +1 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +6 -2
- package/src/lib/utils/functions/formatPhone/formatPhone.cjs +6 -1
- package/src/lib/utils/functions/formatPhone/formatPhone.js +6 -1
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.cjs +25 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.d.ts +4 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.js +20 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.d.ts +2 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +2 -2
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +2 -2
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +2 -8
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +2 -8
- package/src/lib/utils/functions/storeAuthToken/index.cjs +2 -1
- package/src/lib/utils/functions/storeAuthToken/index.d.ts +1 -1
- package/src/lib/utils/functions/storeAuthToken/index.js +3 -2
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.cjs +3 -3
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.d.ts +1 -1
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.js +3 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +11 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +11 -2
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs +2 -2
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.js +2 -2
- package/src/lib/utils/hooks/authenticationHooks/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +1 -2
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +1 -2
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +1 -2
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +1 -2
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +32 -17
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.d.ts +12 -3
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +33 -19
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -2
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -2
- package/src/lib/utils/hooks/index.d.ts +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +1 -2
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +1 -2
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -2
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -2
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +5 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +5 -3
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +1 -2
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +1 -2
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +2 -6
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +2 -3
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +2 -6
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +1 -2
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +1 -2
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +1 -2
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +1 -2
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +3 -4
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +3 -4
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +3 -4
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.d.ts +1 -1
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +3 -4
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +9 -7
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +9 -7
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +1 -2
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +1 -2
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +2 -7
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +2 -7
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +1 -2
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +1 -2
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +3 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +3 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +3 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +3 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.cjs +3 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.js +3 -4
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +2 -3
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +2 -3
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +1 -2
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +1 -2
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +38 -7
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.d.ts +5 -5
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +38 -7
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +5 -7
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +5 -7
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +3 -4
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +3 -4
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +1 -2
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +1 -2
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -2
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -2
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -2
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -2
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +1 -2
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +1 -2
- package/src/lib/utils/hooks/useNetworkNotSupported/index.d.ts +1 -0
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +106 -0
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.d.ts +3 -0
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +102 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +1 -2
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +1 -2
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +3 -4
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +3 -4
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +5 -3
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +5 -3
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +4 -5
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +4 -5
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +11 -10
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +11 -10
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +3 -4
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.d.ts +1 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +3 -4
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +8 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.d.ts +1 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +9 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +38 -28
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.d.ts +5 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +39 -29
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +1 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +1 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.d.ts +2 -2
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +4 -4
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +4 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +4 -4
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +10 -11
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +10 -11
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +1 -2
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +1 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +1 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +1 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +1 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +1 -2
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +1 -2
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +1 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +1 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +1 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -2
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +1 -2
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +1 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.cjs +42 -100
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.d.ts +11 -3
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.js +43 -101
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.cjs +103 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.d.ts +14 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.js +99 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +6 -4
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +6 -4
- package/src/lib/views/CollectUserDataView/useFields.cjs +3 -2
- package/src/lib/views/CollectUserDataView/useFields.d.ts +18 -11
- package/src/lib/views/CollectUserDataView/useFields.js +3 -2
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.cjs +1 -2
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js +1 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +1 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +1 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +1 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +1 -2
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +1 -2
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +1 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +16 -9
- package/src/lib/views/EmailVerification/EmailVerification.js +16 -9
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -2
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -2
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +1 -2
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +1 -2
- package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +1 -2
- package/src/lib/views/EnterPasswordView/EnterPasswordView.js +1 -2
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.cjs +1 -2
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.js +1 -2
- package/src/lib/views/LoginView/LoginView.cjs +0 -1
- package/src/lib/views/LoginView/LoginView.js +0 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +6 -25
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +7 -26
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +4 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +4 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +3 -3
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +3 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +1 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +1 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +1 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +1 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +1 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +1 -2
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.cjs +1 -2
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.js +1 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +1 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +1 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +1 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +1 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +2 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +2 -3
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +1 -2
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +1 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +4 -5
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +4 -5
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +10 -33
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +11 -34
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +9 -33
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +9 -33
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -2
- package/src/lib/views/NoAccess/NoAccess.js +1 -2
- package/src/lib/views/NoAccess/useNoAccessText.cjs +1 -2
- package/src/lib/views/NoAccess/useNoAccessText.js +1 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +1 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +1 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +1 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +1 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +1 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +1 -2
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +1 -2
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +1 -2
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +1 -2
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +1 -2
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +3 -4
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +3 -4
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +1 -2
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +1 -2
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +1 -2
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +1 -2
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +1 -0
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +1 -0
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +1 -0
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +1 -0
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.d.ts +1 -0
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +1 -0
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +4 -4
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +2 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -2
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -2
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -2
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +1 -2
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +1 -2
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +1 -2
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +1 -2
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +1 -2
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +1 -2
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -2
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -2
- package/src/lib/views/SmsVerification/SmsVerification.cjs +2 -18
- package/src/lib/views/SmsVerification/SmsVerification.js +2 -18
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +53 -35
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +54 -36
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +1 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +1 -2
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +1 -2
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +1 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +1 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +1 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +1 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.js +1 -2
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +1 -2
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +1 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +1 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +1 -2
- package/src/lib/views/WalletList/WalletList.cjs +4 -4
- package/src/lib/views/WalletList/WalletList.js +4 -4
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +1 -2
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +1 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +1 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +1 -2
- package/src/lib/views/WalletList/hooks/useTabState.cjs +1 -2
- package/src/lib/views/WalletList/hooks/useTabState.js +1 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +1 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +1 -2
- package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +1 -2
- package/src/lib/views/WalletRedirectView/WalletRedirectView.js +1 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +3 -4
- package/src/lib/views/WalletUsedView/WalletUsedView.js +3 -4
- package/src/lib/views/viewToComponentMap.cjs +0 -1
- package/src/lib/views/viewToComponentMap.js +0 -1
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +1 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +1 -2
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +0 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +0 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +1 -2
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +1 -2
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +1 -2
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +1 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +1 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -2
- package/src/lib/components/PhoneNumberField/getCustomCountries/getCustomCountries.cjs +0 -23
- package/src/lib/components/PhoneNumberField/getCustomCountries/getCustomCountries.d.ts +0 -4
- package/src/lib/components/PhoneNumberField/getCustomCountries/getCustomCountries.js +0 -18
- package/src/lib/shared/assets/add-wallet.cjs +0 -58
- package/src/lib/shared/assets/add-wallet.js +0 -34
- package/src/lib/shared/assets/alt-embedded-wallet.cjs +0 -54
- package/src/lib/shared/assets/alt-embedded-wallet.js +0 -30
- package/src/lib/shared/assets/circle-locker.cjs +0 -53
- package/src/lib/shared/assets/circle-locker.js +0 -29
- package/src/lib/shared/assets/dynamic-logo.cjs +0 -51
- package/src/lib/shared/assets/dynamic-logo.js +0 -27
- package/src/lib/shared/assets/passkey-success-icon.cjs +0 -94
- package/src/lib/shared/assets/passkey-success-icon.js +0 -70
- package/src/lib/shared/assets/sparkles.cjs +0 -53
- package/src/lib/shared/assets/sparkles.js +0 -29
- package/src/lib/shared/assets/wallet-outline.cjs +0 -51
- package/src/lib/shared/assets/wallet-outline.js +0 -27
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +0 -25
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +0 -21
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.cjs +0 -12
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.js +0 -8
- /package/src/lib/{components/PhoneNumberField → utils/functions}/getCustomCountries/index.d.ts +0 -0
|
@@ -72,14 +72,13 @@ require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
72
72
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
73
73
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
74
74
|
require('../../components/IsBrowser/IsBrowser.cjs');
|
|
75
|
-
require('../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
76
75
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
77
76
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
78
77
|
require('qrcode');
|
|
79
78
|
require('../WalletList/WalletList.cjs');
|
|
80
79
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
81
80
|
require('@hcaptcha/react-hcaptcha');
|
|
82
|
-
require('
|
|
81
|
+
require('../LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
83
82
|
var ToggleVisibilityButton = require('../../components/ToggleVisibilityButton/ToggleVisibilityButton.cjs');
|
|
84
83
|
|
|
85
84
|
const EnterPasswordView = ({ mutation, onSuccess, onError, closeView = true, }) => {
|
|
@@ -68,14 +68,13 @@ import '../../context/PasskeyContext/PasskeyContext.js';
|
|
|
68
68
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
69
69
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
70
70
|
import '../../components/IsBrowser/IsBrowser.js';
|
|
71
|
-
import '../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
72
71
|
import '../../components/Popper/Popper/Popper.js';
|
|
73
72
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
74
73
|
import 'qrcode';
|
|
75
74
|
import '../WalletList/WalletList.js';
|
|
76
75
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
77
76
|
import '@hcaptcha/react-hcaptcha';
|
|
78
|
-
import '
|
|
77
|
+
import '../LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
79
78
|
import { ToggleVisibilityButton } from '../../components/ToggleVisibilityButton/ToggleVisibilityButton.js';
|
|
80
79
|
|
|
81
80
|
const EnterPasswordView = ({ mutation, onSuccess, onError, closeView = true, }) => {
|
|
@@ -65,7 +65,6 @@ require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
65
65
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
66
66
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
67
67
|
require('../../components/IsBrowser/IsBrowser.cjs');
|
|
68
|
-
require('../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
69
68
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
70
69
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
71
70
|
require('qrcode');
|
|
@@ -73,7 +72,7 @@ var QrCodeWrapper = require('../../components/QrCodeWrapper/QrCodeWrapper.cjs');
|
|
|
73
72
|
require('../WalletList/WalletList.cjs');
|
|
74
73
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
75
74
|
require('@hcaptcha/react-hcaptcha');
|
|
76
|
-
require('
|
|
75
|
+
require('../LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
77
76
|
|
|
78
77
|
const FarcasterConnectView = ({ url }) => {
|
|
79
78
|
const iconThemeVariant = useIconThemeVariant.useIconThemeVariant();
|
|
@@ -61,7 +61,6 @@ import '../../context/PasskeyContext/PasskeyContext.js';
|
|
|
61
61
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
62
62
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
63
63
|
import '../../components/IsBrowser/IsBrowser.js';
|
|
64
|
-
import '../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
65
64
|
import '../../components/Popper/Popper/Popper.js';
|
|
66
65
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
67
66
|
import 'qrcode';
|
|
@@ -69,7 +68,7 @@ import { QrCodeWrapper } from '../../components/QrCodeWrapper/QrCodeWrapper.js';
|
|
|
69
68
|
import '../WalletList/WalletList.js';
|
|
70
69
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
71
70
|
import '@hcaptcha/react-hcaptcha';
|
|
72
|
-
import '
|
|
71
|
+
import '../LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
73
72
|
|
|
74
73
|
const FarcasterConnectView = ({ url }) => {
|
|
75
74
|
const iconThemeVariant = useIconThemeVariant();
|
|
@@ -69,7 +69,6 @@ require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
69
69
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
70
70
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
71
71
|
require('../../components/IsBrowser/IsBrowser.cjs');
|
|
72
|
-
require('../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
73
72
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
74
73
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
75
74
|
require('qrcode');
|
|
@@ -65,7 +65,6 @@ import '../../context/PasskeyContext/PasskeyContext.js';
|
|
|
65
65
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
66
66
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
67
67
|
import '../../components/IsBrowser/IsBrowser.js';
|
|
68
|
-
import '../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
69
68
|
import '../../components/Popper/Popper/Popper.js';
|
|
70
69
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
71
70
|
import 'qrcode';
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _tslib = require('../../../../../../_virtual/_tslib.cjs');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var reactI18next = require('react-i18next');
|
|
9
8
|
require('../../../../events/dynamicEvents.cjs');
|
|
10
9
|
require('@dynamic-labs/utils');
|
|
11
10
|
require('../../../../context/DynamicContext/DynamicContext.cjs');
|
|
@@ -25,7 +24,6 @@ var ErrorContext = require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
25
24
|
require('@dynamic-labs/multi-wallet');
|
|
26
25
|
require('react-international-phone');
|
|
27
26
|
var isEmailProviderEnabled = require('../../../../utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs');
|
|
28
|
-
var isEmailValid = require('../../../../utils/functions/isEmailValid/isEmailValid.cjs');
|
|
29
27
|
require('viem');
|
|
30
28
|
require('viem/chains');
|
|
31
29
|
require('../../../../config/ApiEndpoint.cjs');
|
|
@@ -38,6 +36,7 @@ require('../../../../context/WalletContext/WalletContext.cjs');
|
|
|
38
36
|
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
39
37
|
require('@dynamic-labs/types');
|
|
40
38
|
require('yup');
|
|
39
|
+
require('react-i18next');
|
|
41
40
|
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
42
41
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
43
42
|
require('../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
@@ -60,17 +59,14 @@ require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
|
60
59
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
61
60
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
62
61
|
require('formik');
|
|
63
|
-
var Button = require('../../../../components/Button/Button.cjs');
|
|
64
62
|
require('../../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
65
63
|
require('../../../../components/Alert/Alert.cjs');
|
|
66
|
-
|
|
64
|
+
require('../../../../components/Input/Input.cjs');
|
|
67
65
|
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
68
66
|
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
69
67
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
70
|
-
var InlineSubmitButton = require('../../../../components/InlineSubmitButton/InlineSubmitButton.cjs');
|
|
71
68
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
72
69
|
require('../../../../components/IsBrowser/IsBrowser.cjs');
|
|
73
|
-
require('../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
74
70
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
75
71
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
76
72
|
require('qrcode');
|
|
@@ -78,29 +74,21 @@ require('../../../WalletList/WalletList.cjs');
|
|
|
78
74
|
var useEmailProvider = require('../../../../utils/hooks/useEmailProvider/useEmailProvider.cjs');
|
|
79
75
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
80
76
|
require('@hcaptcha/react-hcaptcha');
|
|
81
|
-
require('
|
|
77
|
+
require('../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
78
|
+
var EmailForm = require('../../../../components/EmailForm/EmailForm.cjs');
|
|
82
79
|
|
|
83
80
|
const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError, currentEmail, }) => {
|
|
84
81
|
var _a, _b;
|
|
85
|
-
const { t } = reactI18next.useTranslation();
|
|
86
82
|
const { walletConnectorOptions, projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
|
|
87
83
|
const { view, setView } = ViewContext.useViewContext();
|
|
88
84
|
const { setErrorMessage } = ErrorContext.useErrorContext();
|
|
89
85
|
const { engageCaptcha } = CaptchaContext.useCaptchaContext();
|
|
90
|
-
const [emailInput, setEmailInput] = React.useState(currentEmail !== null && currentEmail !== void 0 ? currentEmail : '');
|
|
91
86
|
const [invalidEmail, setInvalidEmail] = React.useState(false);
|
|
92
87
|
const emailWalletConnector = findEmailOtpWalletConnector.findEmailOtpWalletConnector(walletConnectorOptions);
|
|
93
|
-
/** Indicates the state of the input relative to the user's interaction */
|
|
94
|
-
const [isHovered, setIsHovered] = React.useState(false);
|
|
95
|
-
const [isFocused, setIsFocused] = React.useState(false);
|
|
96
88
|
const { handleEmailSubmitWithOptionalCaptcha, isEmailProviderLoading } = useEmailProvider.useEmailProvider({
|
|
97
89
|
emailWalletConnector,
|
|
98
90
|
});
|
|
99
91
|
const isLoading = React.useMemo(() => isEmailProviderLoading || isExternalLoading, [isEmailProviderLoading, isExternalLoading]);
|
|
100
|
-
const handleEmailOnChangeEvent = (event) => {
|
|
101
|
-
const { value } = event.currentTarget;
|
|
102
|
-
setEmailInput(value);
|
|
103
|
-
};
|
|
104
92
|
const handleEmailSubmitError = (error) => {
|
|
105
93
|
if (error.code === 'invalid_email_address') {
|
|
106
94
|
setInvalidEmail(true);
|
|
@@ -111,13 +99,8 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
111
99
|
logger.logger.debug(error);
|
|
112
100
|
onSubmitError === null || onSubmitError === void 0 ? void 0 : onSubmitError();
|
|
113
101
|
};
|
|
114
|
-
const handleSubmit = (
|
|
102
|
+
const handleSubmit = (emailInput) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
115
103
|
var _c;
|
|
116
|
-
e.preventDefault();
|
|
117
|
-
if (!isEmailValid.isEmailValid(emailInput)) {
|
|
118
|
-
setInvalidEmail(true);
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
104
|
try {
|
|
122
105
|
onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit();
|
|
123
106
|
// we are making sure that the wallet connect is not magic as to not show captcha
|
|
@@ -148,9 +131,7 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
148
131
|
logger.logger.error('Failed to render EmailSignInSection - no sign in provider enabled');
|
|
149
132
|
return null;
|
|
150
133
|
}
|
|
151
|
-
return (jsxRuntime.
|
|
152
|
-
color: 'inherit',
|
|
153
|
-
}, children: t('dyn_login.email_form.submit_button.label') }))] }));
|
|
134
|
+
return (jsxRuntime.jsx(EmailForm.EmailForm, { onSubmit: handleSubmit, onSubmitError: onSubmitError, isLoading: isLoading, currentEmail: currentEmail, emailSubmitButtonInsideInput: (_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.emailSubmitButtonInsideInput, isEmailInvalid: invalidEmail }));
|
|
154
135
|
};
|
|
155
136
|
|
|
156
137
|
exports.LoginEmailForm = LoginEmailForm;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
|
-
import {
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useMemo } from 'react';
|
|
4
|
-
import { useTranslation } from 'react-i18next';
|
|
5
4
|
import '../../../../events/dynamicEvents.js';
|
|
6
5
|
import '@dynamic-labs/utils';
|
|
7
6
|
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
@@ -21,7 +20,6 @@ import { useErrorContext } from '../../../../context/ErrorContext/ErrorContext.j
|
|
|
21
20
|
import '@dynamic-labs/multi-wallet';
|
|
22
21
|
import 'react-international-phone';
|
|
23
22
|
import { isEmailProviderEnabled } from '../../../../utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js';
|
|
24
|
-
import { isEmailValid } from '../../../../utils/functions/isEmailValid/isEmailValid.js';
|
|
25
23
|
import 'viem';
|
|
26
24
|
import 'viem/chains';
|
|
27
25
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -34,6 +32,7 @@ import '../../../../context/WalletContext/WalletContext.js';
|
|
|
34
32
|
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
35
33
|
import '@dynamic-labs/types';
|
|
36
34
|
import 'yup';
|
|
35
|
+
import 'react-i18next';
|
|
37
36
|
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
38
37
|
import '../../../../context/MockContext/MockContext.js';
|
|
39
38
|
import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
@@ -56,17 +55,14 @@ import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
|
56
55
|
import '../../../../components/IconButton/IconButton.js';
|
|
57
56
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
57
|
import 'formik';
|
|
59
|
-
import { Button } from '../../../../components/Button/Button.js';
|
|
60
58
|
import '../../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
61
59
|
import '../../../../components/Alert/Alert.js';
|
|
62
|
-
import
|
|
60
|
+
import '../../../../components/Input/Input.js';
|
|
63
61
|
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
64
62
|
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
65
63
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
66
|
-
import { InlineSubmitButton } from '../../../../components/InlineSubmitButton/InlineSubmitButton.js';
|
|
67
64
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
68
65
|
import '../../../../components/IsBrowser/IsBrowser.js';
|
|
69
|
-
import '../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
70
66
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
71
67
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
72
68
|
import 'qrcode';
|
|
@@ -74,29 +70,21 @@ import '../../../WalletList/WalletList.js';
|
|
|
74
70
|
import { useEmailProvider } from '../../../../utils/hooks/useEmailProvider/useEmailProvider.js';
|
|
75
71
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
76
72
|
import '@hcaptcha/react-hcaptcha';
|
|
77
|
-
import '
|
|
73
|
+
import '../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
74
|
+
import { EmailForm } from '../../../../components/EmailForm/EmailForm.js';
|
|
78
75
|
|
|
79
76
|
const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError, currentEmail, }) => {
|
|
80
77
|
var _a, _b;
|
|
81
|
-
const { t } = useTranslation();
|
|
82
78
|
const { walletConnectorOptions, projectSettings } = useInternalDynamicContext();
|
|
83
79
|
const { view, setView } = useViewContext();
|
|
84
80
|
const { setErrorMessage } = useErrorContext();
|
|
85
81
|
const { engageCaptcha } = useCaptchaContext();
|
|
86
|
-
const [emailInput, setEmailInput] = useState(currentEmail !== null && currentEmail !== void 0 ? currentEmail : '');
|
|
87
82
|
const [invalidEmail, setInvalidEmail] = useState(false);
|
|
88
83
|
const emailWalletConnector = findEmailOtpWalletConnector(walletConnectorOptions);
|
|
89
|
-
/** Indicates the state of the input relative to the user's interaction */
|
|
90
|
-
const [isHovered, setIsHovered] = useState(false);
|
|
91
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
92
84
|
const { handleEmailSubmitWithOptionalCaptcha, isEmailProviderLoading } = useEmailProvider({
|
|
93
85
|
emailWalletConnector,
|
|
94
86
|
});
|
|
95
87
|
const isLoading = useMemo(() => isEmailProviderLoading || isExternalLoading, [isEmailProviderLoading, isExternalLoading]);
|
|
96
|
-
const handleEmailOnChangeEvent = (event) => {
|
|
97
|
-
const { value } = event.currentTarget;
|
|
98
|
-
setEmailInput(value);
|
|
99
|
-
};
|
|
100
88
|
const handleEmailSubmitError = (error) => {
|
|
101
89
|
if (error.code === 'invalid_email_address') {
|
|
102
90
|
setInvalidEmail(true);
|
|
@@ -107,13 +95,8 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
107
95
|
logger.debug(error);
|
|
108
96
|
onSubmitError === null || onSubmitError === void 0 ? void 0 : onSubmitError();
|
|
109
97
|
};
|
|
110
|
-
const handleSubmit = (
|
|
98
|
+
const handleSubmit = (emailInput) => __awaiter(void 0, void 0, void 0, function* () {
|
|
111
99
|
var _c;
|
|
112
|
-
e.preventDefault();
|
|
113
|
-
if (!isEmailValid(emailInput)) {
|
|
114
|
-
setInvalidEmail(true);
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
100
|
try {
|
|
118
101
|
onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit();
|
|
119
102
|
// we are making sure that the wallet connect is not magic as to not show captcha
|
|
@@ -144,9 +127,7 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
144
127
|
logger.error('Failed to render EmailSignInSection - no sign in provider enabled');
|
|
145
128
|
return null;
|
|
146
129
|
}
|
|
147
|
-
return (
|
|
148
|
-
color: 'inherit',
|
|
149
|
-
}, children: t('dyn_login.email_form.submit_button.label') }))] }));
|
|
130
|
+
return (jsx(EmailForm, { onSubmit: handleSubmit, onSubmitError: onSubmitError, isLoading: isLoading, currentEmail: currentEmail, emailSubmitButtonInsideInput: (_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.emailSubmitButtonInsideInput, isEmailInvalid: invalidEmail }));
|
|
150
131
|
};
|
|
151
132
|
|
|
152
133
|
export { LoginEmailForm };
|
package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs
CHANGED
|
@@ -25,6 +25,7 @@ require('@dynamic-labs/multi-wallet');
|
|
|
25
25
|
var isPhoneNumberProviderEnabled = require('../../../../utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs');
|
|
26
26
|
var validatePhoneLength = require('../../../../utils/functions/validatePhoneLength/validatePhoneLength.cjs');
|
|
27
27
|
require('react-international-phone');
|
|
28
|
+
var getCustomCountries = require('../../../../utils/functions/getCustomCountries/getCustomCountries.cjs');
|
|
28
29
|
require('viem');
|
|
29
30
|
require('viem/chains');
|
|
30
31
|
require('../../../../config/ApiEndpoint.cjs');
|
|
@@ -78,6 +79,8 @@ require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/Se
|
|
|
78
79
|
require('@hcaptcha/react-hcaptcha');
|
|
79
80
|
var useSubmitPhoneNumber = require('./useSubmitPhoneNumber/useSubmitPhoneNumber.cjs');
|
|
80
81
|
|
|
82
|
+
// For login, we always want to use only countries with verification supported
|
|
83
|
+
const countriesWithVerification = getCustomCountries.getCustomCountries(true);
|
|
81
84
|
const PhoneNumberSignInSection = ({ isLoading, onSubmit, onSubmitError, }) => {
|
|
82
85
|
var _a, _b;
|
|
83
86
|
const { projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
|
|
@@ -105,7 +108,7 @@ const PhoneNumberSignInSection = ({ isLoading, onSubmit, onSubmitError, }) => {
|
|
|
105
108
|
return null;
|
|
106
109
|
}
|
|
107
110
|
const showBigSubmitButton = !((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.emailSubmitButtonInsideInput);
|
|
108
|
-
return (jsxRuntime.jsxs("form", { className: 'login-with-phone-number-form', onSubmit: (e) => handleSubmit(e), children: [jsxRuntime.jsx(PhoneNumberField.PhoneNumberField, { onUpdate: handleUpdate, error: invalidNumberMessage, setIsHovered: setIsHovered, setIsFocused: setIsFocused, appendRight:
|
|
111
|
+
return (jsxRuntime.jsxs("form", { className: 'login-with-phone-number-form', onSubmit: (e) => handleSubmit(e), children: [jsxRuntime.jsx(PhoneNumberField.PhoneNumberField, { countries: countriesWithVerification, onUpdate: handleUpdate, error: invalidNumberMessage, setIsHovered: setIsHovered, setIsFocused: setIsFocused, appendRight: jsxRuntime.jsx(InlineSubmitButton.InlineSubmitButton, { disabled: isLoading || !isInputComplete, highlighted: isInputComplete, isFocused: isFocused, isHovered: isHovered, className: 'login-with-phone-number-form__fields__inline-submit', emailSubmitButtonInsideInput: !showBigSubmitButton }) }), showBigSubmitButton && (jsxRuntime.jsx(Button.Button, { dataTestId: 'big-submit-button', buttonClassName: 'login-with-phone-number-form__button', type: 'submit', loading: isLoading, disabled: isLoading || !isInputComplete, buttonVariant: 'brand-primary', buttonPadding: 'login-screen-height', expanded: true, typographyProps: {
|
|
109
112
|
color: 'inherit',
|
|
110
113
|
}, children: "Continue" }))] }));
|
|
111
114
|
};
|
package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js
CHANGED
|
@@ -21,6 +21,7 @@ import '@dynamic-labs/multi-wallet';
|
|
|
21
21
|
import { isPhoneNumberProviderEnabled } from '../../../../utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js';
|
|
22
22
|
import { validatePhoneLength } from '../../../../utils/functions/validatePhoneLength/validatePhoneLength.js';
|
|
23
23
|
import 'react-international-phone';
|
|
24
|
+
import { getCustomCountries } from '../../../../utils/functions/getCustomCountries/getCustomCountries.js';
|
|
24
25
|
import 'viem';
|
|
25
26
|
import 'viem/chains';
|
|
26
27
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -74,6 +75,8 @@ import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/Sec
|
|
|
74
75
|
import '@hcaptcha/react-hcaptcha';
|
|
75
76
|
import { useSubmitPhoneNumber } from './useSubmitPhoneNumber/useSubmitPhoneNumber.js';
|
|
76
77
|
|
|
78
|
+
// For login, we always want to use only countries with verification supported
|
|
79
|
+
const countriesWithVerification = getCustomCountries(true);
|
|
77
80
|
const PhoneNumberSignInSection = ({ isLoading, onSubmit, onSubmitError, }) => {
|
|
78
81
|
var _a, _b;
|
|
79
82
|
const { projectSettings } = useInternalDynamicContext();
|
|
@@ -101,7 +104,7 @@ const PhoneNumberSignInSection = ({ isLoading, onSubmit, onSubmitError, }) => {
|
|
|
101
104
|
return null;
|
|
102
105
|
}
|
|
103
106
|
const showBigSubmitButton = !((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.emailSubmitButtonInsideInput);
|
|
104
|
-
return (jsxs("form", { className: 'login-with-phone-number-form', onSubmit: (e) => handleSubmit(e), children: [jsx(PhoneNumberField, { onUpdate: handleUpdate, error: invalidNumberMessage, setIsHovered: setIsHovered, setIsFocused: setIsFocused, appendRight:
|
|
107
|
+
return (jsxs("form", { className: 'login-with-phone-number-form', onSubmit: (e) => handleSubmit(e), children: [jsx(PhoneNumberField, { countries: countriesWithVerification, onUpdate: handleUpdate, error: invalidNumberMessage, setIsHovered: setIsHovered, setIsFocused: setIsFocused, appendRight: jsx(InlineSubmitButton, { disabled: isLoading || !isInputComplete, highlighted: isInputComplete, isFocused: isFocused, isHovered: isHovered, className: 'login-with-phone-number-form__fields__inline-submit', emailSubmitButtonInsideInput: !showBigSubmitButton }) }), showBigSubmitButton && (jsx(Button, { dataTestId: 'big-submit-button', buttonClassName: 'login-with-phone-number-form__button', type: 'submit', loading: isLoading, disabled: isLoading || !isInputComplete, buttonVariant: 'brand-primary', buttonPadding: 'login-screen-height', expanded: true, typographyProps: {
|
|
105
108
|
color: 'inherit',
|
|
106
109
|
}, children: "Continue" }))] }));
|
|
107
110
|
};
|
|
@@ -53,7 +53,6 @@ require('../../../../../components/Transition/SlideInUpTransition/SlideInUpTrans
|
|
|
53
53
|
require('../../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
54
54
|
require('../../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
55
55
|
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
|
-
require('../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
57
56
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
58
57
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
59
58
|
require('react-focus-lock');
|
|
@@ -68,8 +67,7 @@ require('@hcaptcha/react-hcaptcha');
|
|
|
68
67
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
69
68
|
require('../../../../../config/ApiEndpoint.cjs');
|
|
70
69
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
71
|
-
require('
|
|
72
|
-
var translation = require('../../../../../locale/en/translation.cjs');
|
|
70
|
+
require('../PhoneNumberSignInSection.cjs');
|
|
73
71
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
74
72
|
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
75
73
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
@@ -77,6 +75,8 @@ require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs')
|
|
|
77
75
|
require('../../../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
78
76
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
79
77
|
var useInternalDynamicContext = require('../../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
78
|
+
require('../../../../../locale/locale.cjs');
|
|
79
|
+
var translation = require('../../../../../locale/en/translation.cjs');
|
|
80
80
|
|
|
81
81
|
const useSubmitPhoneNumber = ({ onSubmit, onSubmitError, country, phone, setInvalidNumberMessage, }) => {
|
|
82
82
|
const { engageCaptcha } = CaptchaContext.useCaptchaContext();
|
|
@@ -49,7 +49,6 @@ import '../../../../../components/Transition/SlideInUpTransition/SlideInUpTransi
|
|
|
49
49
|
import '../../../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
50
50
|
import '../../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
51
51
|
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
|
-
import '../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
53
52
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
54
53
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
55
54
|
import 'react-focus-lock';
|
|
@@ -64,8 +63,7 @@ import '@hcaptcha/react-hcaptcha';
|
|
|
64
63
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
65
64
|
import '../../../../../config/ApiEndpoint.js';
|
|
66
65
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
67
|
-
import '
|
|
68
|
-
import { translation } from '../../../../../locale/en/translation.js';
|
|
66
|
+
import '../PhoneNumberSignInSection.js';
|
|
69
67
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
70
68
|
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
71
69
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
@@ -73,6 +71,8 @@ import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
|
73
71
|
import '../../../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
74
72
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
75
73
|
import { useInternalDynamicContext } from '../../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
74
|
+
import '../../../../../locale/locale.js';
|
|
75
|
+
import { translation } from '../../../../../locale/en/translation.js';
|
|
76
76
|
|
|
77
77
|
const useSubmitPhoneNumber = ({ onSubmit, onSubmitError, country, phone, setInvalidNumberMessage, }) => {
|
|
78
78
|
const { engageCaptcha } = useCaptchaContext();
|
|
@@ -67,14 +67,13 @@ require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
67
67
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
68
68
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
69
69
|
require('../../../../../components/IsBrowser/IsBrowser.cjs');
|
|
70
|
-
require('../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
71
70
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
72
71
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
73
72
|
require('qrcode');
|
|
74
73
|
require('../../../../WalletList/WalletList.cjs');
|
|
75
74
|
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
76
75
|
require('@hcaptcha/react-hcaptcha');
|
|
77
|
-
require('
|
|
76
|
+
require('../../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
78
77
|
var SocialSignIn = require('../../../../../components/SocialSignIn/SocialSignIn.cjs');
|
|
79
78
|
|
|
80
79
|
const DynamicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
@@ -63,14 +63,13 @@ import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
|
63
63
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
64
64
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
65
65
|
import '../../../../../components/IsBrowser/IsBrowser.js';
|
|
66
|
-
import '../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
67
66
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
68
67
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
69
68
|
import 'qrcode';
|
|
70
69
|
import '../../../../WalletList/WalletList.js';
|
|
71
70
|
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
72
71
|
import '@hcaptcha/react-hcaptcha';
|
|
73
|
-
import '
|
|
72
|
+
import '../../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
74
73
|
import { SocialSignIn } from '../../../../../components/SocialSignIn/SocialSignIn.js';
|
|
75
74
|
|
|
76
75
|
const DynamicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs
CHANGED
|
@@ -66,14 +66,13 @@ require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
66
66
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
67
67
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
68
68
|
require('../../../../../components/IsBrowser/IsBrowser.cjs');
|
|
69
|
-
require('../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
70
69
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
71
70
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
72
71
|
require('qrcode');
|
|
73
72
|
require('../../../../WalletList/WalletList.cjs');
|
|
74
73
|
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
75
74
|
require('@hcaptcha/react-hcaptcha');
|
|
76
|
-
require('
|
|
75
|
+
require('../../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
77
76
|
var SocialSignIn = require('../../../../../components/SocialSignIn/SocialSignIn.cjs');
|
|
78
77
|
|
|
79
78
|
const MagicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js
CHANGED
|
@@ -62,14 +62,13 @@ import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
|
62
62
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
63
63
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
64
64
|
import '../../../../../components/IsBrowser/IsBrowser.js';
|
|
65
|
-
import '../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
66
65
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
67
66
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
68
67
|
import 'qrcode';
|
|
69
68
|
import '../../../../WalletList/WalletList.js';
|
|
70
69
|
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
71
70
|
import '@hcaptcha/react-hcaptcha';
|
|
72
|
-
import '
|
|
71
|
+
import '../../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
73
72
|
import { SocialSignIn } from '../../../../../components/SocialSignIn/SocialSignIn.js';
|
|
74
73
|
|
|
75
74
|
const MagicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
@@ -54,7 +54,6 @@ require('../../../../components/Transition/SlideInUpTransition/SlideInUpTransiti
|
|
|
54
54
|
require('../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
55
55
|
require('../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
56
56
|
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
57
|
-
require('../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
58
57
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
59
58
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
60
59
|
require('react-focus-lock');
|
|
@@ -67,7 +66,7 @@ require('i18next');
|
|
|
67
66
|
require('@hcaptcha/react-hcaptcha');
|
|
68
67
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
69
68
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
70
|
-
require('
|
|
69
|
+
require('../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
71
70
|
var MagicSocialSignIn = require('./MagicSocialSignIn/MagicSocialSignIn.cjs');
|
|
72
71
|
var DynamicSocialSignIn = require('./DynamicSocialSignIn/DynamicSocialSignIn.cjs');
|
|
73
72
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
@@ -50,7 +50,6 @@ import '../../../../components/Transition/SlideInUpTransition/SlideInUpTransitio
|
|
|
50
50
|
import '../../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
51
51
|
import '../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
52
52
|
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
53
|
-
import '../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
54
53
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
55
54
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
56
55
|
import 'react-focus-lock';
|
|
@@ -63,7 +62,7 @@ import 'i18next';
|
|
|
63
62
|
import '@hcaptcha/react-hcaptcha';
|
|
64
63
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
65
64
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
66
|
-
import '
|
|
65
|
+
import '../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
67
66
|
import { MagicSocialSignIn } from './MagicSocialSignIn/MagicSocialSignIn.js';
|
|
68
67
|
import { DynamicSocialSignIn } from './DynamicSocialSignIn/DynamicSocialSignIn.js';
|
|
69
68
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
@@ -65,14 +65,13 @@ require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
|
65
65
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
66
66
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
67
67
|
require('../../../../components/IsBrowser/IsBrowser.cjs');
|
|
68
|
-
require('../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
69
68
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
70
69
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
71
70
|
require('qrcode');
|
|
72
71
|
require('../../../WalletList/WalletList.cjs');
|
|
73
72
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
74
73
|
require('@hcaptcha/react-hcaptcha');
|
|
75
|
-
require('
|
|
74
|
+
require('../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
76
75
|
|
|
77
76
|
const ToggleableSection = ({ sections }) => {
|
|
78
77
|
/** When true, shows first section. When false, shows second */
|
|
@@ -61,14 +61,13 @@ import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
|
61
61
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
62
62
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
63
63
|
import '../../../../components/IsBrowser/IsBrowser.js';
|
|
64
|
-
import '../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
65
64
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
66
65
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
67
66
|
import 'qrcode';
|
|
68
67
|
import '../../../WalletList/WalletList.js';
|
|
69
68
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
70
69
|
import '@hcaptcha/react-hcaptcha';
|
|
71
|
-
import '
|
|
70
|
+
import '../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
72
71
|
|
|
73
72
|
const ToggleableSection = ({ sections }) => {
|
|
74
73
|
/** When true, shows first section. When false, shows second */
|
package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs
CHANGED
|
@@ -69,14 +69,13 @@ var Badge = require('../../../../../components/Badge/Badge.cjs');
|
|
|
69
69
|
var ListTile = require('../../../../../components/ListTile/ListTile.cjs');
|
|
70
70
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
71
71
|
require('../../../../../components/IsBrowser/IsBrowser.cjs');
|
|
72
|
-
require('../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs');
|
|
73
72
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
74
73
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
75
74
|
require('qrcode');
|
|
76
75
|
require('../../../../WalletList/WalletList.cjs');
|
|
77
76
|
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
78
77
|
require('@hcaptcha/react-hcaptcha');
|
|
79
|
-
require('
|
|
78
|
+
require('../../PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
80
79
|
|
|
81
80
|
const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, copykey, }) => {
|
|
82
81
|
const numberOfWalletsText = React.useMemo(() => {
|
package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js
CHANGED
|
@@ -65,14 +65,13 @@ import { Badge } from '../../../../../components/Badge/Badge.js';
|
|
|
65
65
|
import { ListTile } from '../../../../../components/ListTile/ListTile.js';
|
|
66
66
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
67
67
|
import '../../../../../components/IsBrowser/IsBrowser.js';
|
|
68
|
-
import '../../../../../components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
69
68
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
70
69
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
71
70
|
import 'qrcode';
|
|
72
71
|
import '../../../../WalletList/WalletList.js';
|
|
73
72
|
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
74
73
|
import '@hcaptcha/react-hcaptcha';
|
|
75
|
-
import '
|
|
74
|
+
import '../../PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
76
75
|
|
|
77
76
|
const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, copykey, }) => {
|
|
78
77
|
const numberOfWalletsText = useMemo(() => {
|