@dynamic-labs/sdk-react-core 1.1.0-alpha.10 → 1.1.0-alpha.11
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 +19 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +12 -13
- package/src/index.cjs +10 -5
- package/src/index.js +8 -5
- package/src/lib/Main.cjs +41 -21
- package/src/lib/Main.js +41 -21
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +9 -4
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.js +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +9 -4
- package/src/lib/components/Divider/Divider.cjs +7 -2
- package/src/lib/components/Divider/Divider.js +7 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +9 -4
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +9 -4
- package/src/lib/components/Modal/Modal.cjs +9 -4
- package/src/lib/components/Modal/Modal.js +9 -4
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +10 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +10 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +11 -6
- package/src/lib/components/NetworkPicker/NetworkPicker.js +11 -6
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +11 -3
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +11 -3
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +7 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +7 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +8 -3
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +8 -3
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +7 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +7 -2
- package/src/lib/components/OverlayCard/OverlayCard.cjs +9 -4
- package/src/lib/components/OverlayCard/OverlayCard.js +9 -4
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +15 -6
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.d.ts +4 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +17 -8
- package/src/lib/components/Portal/Portal.cjs +16 -16
- package/src/lib/components/Portal/Portal.d.ts +3 -1
- package/src/lib/components/Portal/Portal.js +16 -16
- package/src/lib/components/RenderView/RenderView.cjs +71 -0
- package/src/lib/components/RenderView/RenderView.d.ts +2 -0
- package/src/lib/components/RenderView/RenderView.js +67 -0
- package/src/lib/components/RenderView/index.d.ts +1 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +9 -4
- package/src/lib/components/SocialSignIn/SocialSignIn.js +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +9 -4
- package/src/lib/components/Tooltip/Tooltip.cjs +18 -32
- package/src/lib/components/Tooltip/Tooltip.js +18 -32
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +9 -4
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +9 -4
- package/src/lib/components/UserAddress/UserAddress.cjs +9 -4
- package/src/lib/components/UserAddress/UserAddress.js +9 -4
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +7 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +8 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +8 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +1 -1
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +9 -4
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +9 -4
- package/src/lib/context/DynamicContext/DynamicContext.cjs +30 -30
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.js +30 -30
- package/src/lib/context/DynamicContext/helpers.cjs +5 -3
- package/src/lib/context/DynamicContext/helpers.d.ts +2 -2
- package/src/lib/context/DynamicContext/helpers.js +5 -3
- package/src/lib/context/DynamicContext/hooks/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +10 -11
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +11 -12
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +23 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.d.ts +5 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +19 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +61 -1
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +61 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +17 -4
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +17 -4
- package/src/lib/context/DynamicContext/types/index.d.ts +4 -2
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext.js +1 -0
- package/src/lib/context/ErrorContext/ErrorContext.cjs +5 -11
- package/src/lib/context/ErrorContext/ErrorContext.js +6 -12
- package/src/lib/context/FooterAnimationContext/index.d.ts +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 +8 -3
- package/src/lib/context/LoadingContext/LoadingContext.js +9 -4
- package/src/lib/context/MockContext/MockContext.cjs +12 -6
- package/src/lib/context/MockContext/MockContext.d.ts +4 -9
- package/src/lib/context/MockContext/MockContext.js +12 -6
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +35 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +16 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.js +29 -0
- package/src/lib/context/PasskeyContext/index.d.ts +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +9 -4
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +9 -4
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +9 -5
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +9 -5
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +9 -4
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +9 -4
- package/src/lib/context/ViewContext/ViewContext.cjs +7 -4
- package/src/lib/context/ViewContext/ViewContext.d.ts +5 -5
- package/src/lib/context/ViewContext/ViewContext.js +7 -4
- package/src/lib/context/ViewContext/index.d.ts +1 -0
- package/src/lib/context/ViewContext/types/index.d.ts +10 -0
- package/src/lib/data/api.cjs +18 -2
- package/src/lib/data/api.d.ts +8 -0
- package/src/lib/data/api.js +19 -4
- package/src/lib/events/dynamicEvents.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs +12 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.d.ts +6 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js +8 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +11 -8
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +11 -8
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +12 -20
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +13 -21
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +13 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +13 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +8 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +9 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +10 -5
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +7 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +7 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +7 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +9 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +9 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +7 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +7 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +7 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +7 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +7 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +7 -2
- package/src/lib/locale/en/translation.cjs +21 -2
- package/src/lib/locale/en/translation.d.ts +21 -2
- package/src/lib/locale/en/translation.js +21 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +11 -4
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.d.ts +0 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +11 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +7 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +7 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +6 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +6 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +7 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +7 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +7 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +7 -2
- package/src/lib/shared/assets/export-private-key.cjs +54 -0
- package/src/lib/shared/assets/export-private-key.js +30 -0
- package/src/lib/shared/assets/export-recovery-phrase.cjs +54 -0
- package/src/lib/shared/assets/export-recovery-phrase.js +30 -0
- package/src/lib/shared/assets/index.d.ts +2 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +1 -1
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +1 -1
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +6 -7
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +6 -7
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +1 -2
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +1 -2
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +0 -3
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +0 -3
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -1
- package/src/lib/utils/functions/generateMessages/index.js +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +1 -1
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +7 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +3 -0
- package/src/lib/utils/functions/getWalletIdentifier/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +6 -4
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +3 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +1 -28
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +1 -28
- package/src/lib/utils/hooks/index.d.ts +0 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +79 -76
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +79 -76
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +14 -13
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +0 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +15 -14
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +1 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +3 -3
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +3 -3
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +1 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +0 -3
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +0 -3
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +14 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +15 -1
- package/src/lib/utils/hooks/useHover/useHover.cjs +9 -3
- package/src/lib/utils/hooks/useHover/useHover.js +9 -3
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +8 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +27 -2
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +27 -2
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +3 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +15 -21
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +15 -21
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +4 -26
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +4 -26
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +28 -4
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +28 -4
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +7 -3
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +7 -3
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +2 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +2 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +9 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +9 -4
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +9 -5
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +9 -5
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +6 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +6 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +6 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +6 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +7 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +7 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +8 -3
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +8 -3
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +7 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +7 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +7 -2
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +7 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +7 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +7 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +7 -2
- package/src/lib/views/EmailUpdate/EmailUpdate.js +7 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +31 -37
- package/src/lib/views/EmailVerification/EmailVerification.js +31 -37
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +9 -4
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +9 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +9 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +9 -4
- package/src/lib/views/LoginView/LoginView.cjs +15 -7
- package/src/lib/views/LoginView/LoginView.js +15 -7
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +8 -3
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +8 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +6 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +7 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
- package/src/lib/views/LoginView/useLoginView.cjs +1 -1
- package/src/lib/views/LoginView/useLoginView.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +7 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +7 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +7 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +7 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +7 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +7 -2
- package/src/lib/views/NoAccess/NoAccess.cjs +7 -2
- package/src/lib/views/NoAccess/NoAccess.js +7 -2
- package/src/lib/views/NoAccess/useNoAccessText.cjs +3 -3
- package/src/lib/views/NoAccess/useNoAccessText.js +3 -3
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +7 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +7 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +7 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +7 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +7 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +7 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +11 -6
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +11 -6
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +8 -3
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +113 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.d.ts +2 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +109 -0
- package/src/lib/views/Passkey/RenamePasskeyView/index.d.ts +1 -0
- package/src/lib/views/Passkey/index.d.ts +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +7 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +8 -3
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +8 -3
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +9 -4
- package/src/lib/views/QrCodeView/QRCode.cjs +10 -6
- package/src/lib/views/QrCodeView/QRCode.d.ts +2 -1
- package/src/lib/views/QrCodeView/QRCode.js +10 -6
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +8 -3
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +8 -3
- package/src/lib/views/QrCodeView/QrCodeView.cjs +33 -24
- package/src/lib/views/QrCodeView/QrCodeView.js +34 -25
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +13 -8
- package/src/lib/views/SendBalanceView/SendBalanceView.js +13 -8
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +9 -4
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +9 -4
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +6 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +6 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +6 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +6 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -6
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +9 -4
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +9 -4
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +7 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +7 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +7 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +7 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +11 -7
- package/src/lib/views/WalletGroupView/WalletGroupView.js +11 -7
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +7 -2
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +7 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +7 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +7 -2
- package/src/lib/views/WalletList/WalletList.cjs +8 -9
- package/src/lib/views/WalletList/WalletList.js +8 -9
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +7 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +7 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +7 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +8 -3
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +7 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +8 -3
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +7 -2
- package/src/lib/views/WalletUsedView/WalletUsedView.js +7 -2
- package/src/lib/views/viewToComponentMap.cjs +44 -43
- package/src/lib/views/viewToComponentMap.d.ts +2 -3
- package/src/lib/views/viewToComponentMap.js +44 -43
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +7 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +8 -3
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +6 -6
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +6 -6
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +8 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +8 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +2 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +11 -7
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +10 -6
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +8 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +8 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +28 -22
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +29 -23
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +7 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +11 -21
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +4 -3
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +11 -21
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +10 -5
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +19 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +15 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +9 -4
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +63 -17
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +63 -17
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +10 -5
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +18 -12
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +18 -12
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +4 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +4 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +62 -17
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +62 -17
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +17 -5
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +17 -5
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +6 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +6 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +10 -16
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +10 -16
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +7 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +8 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +35 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +35 -11
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +7 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +11 -6
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +11 -6
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +7 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +7 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +7 -2
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.cjs +0 -23
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.d.ts +0 -4
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.js +0 -19
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +0 -76
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +0 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +0 -72
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +0 -83
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +0 -13
- package/src/lib/context/QrCodeContext/QrCodeContext.js +0 -77
- package/src/lib/context/QrCodeContext/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs +0 -34
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +0 -7
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.js +0 -30
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var sdkApi = require('@dynamic-labs/sdk-api');
|
|
8
|
+
var utils = require('@dynamic-labs/utils');
|
|
8
9
|
var Divider = require('../../components/Divider/Divider.cjs');
|
|
9
10
|
var ErrorContext = require('../../context/ErrorContext/ErrorContext.cjs');
|
|
10
11
|
var ErrorContainer = require('../../components/ErrorContainer/ErrorContainer.cjs');
|
|
@@ -13,7 +14,6 @@ var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
|
13
14
|
var ViewContext = require('../../context/ViewContext/ViewContext.cjs');
|
|
14
15
|
var WalletList = require('../WalletList/WalletList.cjs');
|
|
15
16
|
require('../../events/dynamicEvents.cjs');
|
|
16
|
-
require('@dynamic-labs/utils');
|
|
17
17
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
18
18
|
require('@dynamic-labs/wallet-connector-core');
|
|
19
19
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -45,25 +45,31 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
45
45
|
require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
46
46
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
47
47
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
48
|
-
require('../../
|
|
48
|
+
var useAuthLayoutChecks = require('../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs');
|
|
49
49
|
var Typography = require('../../components/Typography/Typography.cjs');
|
|
50
50
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
51
51
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
52
52
|
require('react-focus-lock');
|
|
53
|
-
require('qrcode');
|
|
54
53
|
require('i18next');
|
|
54
|
+
require('qrcode');
|
|
55
55
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
56
56
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
57
57
|
require('formik');
|
|
58
58
|
require('../../components/IconButton/IconButton.cjs');
|
|
59
59
|
require('../../components/Alert/Alert.cjs');
|
|
60
|
+
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
60
61
|
require('@dynamic-labs/viem-utils');
|
|
62
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
61
63
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
62
64
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
63
65
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
64
66
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
65
67
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
var LoginEmailForm = require('./sections/EmailSignInSection/LoginEmailForm.cjs');
|
|
72
|
+
var DefaultFooter = require('../../layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs');
|
|
67
73
|
var WalletSignInSection = require('./sections/WalletSignInSection/WalletSignInSection.cjs');
|
|
68
74
|
var SocialSignInSection = require('./sections/SocialSignInSection/SocialSignInSection.cjs');
|
|
69
75
|
var useLoginView = require('./useLoginView.cjs');
|
|
@@ -83,16 +89,17 @@ const LoginView = () => {
|
|
|
83
89
|
setShowWalletList(true);
|
|
84
90
|
}
|
|
85
91
|
// returning from 'View all wallets' button
|
|
86
|
-
if (!isWalletOnly && view === 'login-with-email-or-wallet') {
|
|
92
|
+
if (!isWalletOnly && view.type === 'login-with-email-or-wallet') {
|
|
87
93
|
setShowWalletList(false);
|
|
88
94
|
}
|
|
89
95
|
// toolkit log in with email was set back to true
|
|
90
96
|
if (!isWalletOnly &&
|
|
91
|
-
(!showWalletList || view === 'login-with-wallet-only')) {
|
|
97
|
+
(!showWalletList || view.type === 'login-with-wallet-only')) {
|
|
92
98
|
setView('login-with-email-or-wallet');
|
|
93
99
|
setShowWalletList(false);
|
|
94
100
|
}
|
|
95
|
-
}, [isWalletOnly, view]);
|
|
101
|
+
}, [isWalletOnly, view.type]);
|
|
102
|
+
const { showDefaultFooter } = useAuthLayoutChecks.useAuthLayoutChecks();
|
|
96
103
|
const numOfWallets = ((_a = logingViewSections.find((section) => section.type === sdkApi.SdkViewSectionType.Wallet)) === null || _a === void 0 ? void 0 : _a.numOfItemsToDisplay) || 0;
|
|
97
104
|
const renderViewSections = React.useMemo(() => logingViewSections.map((viewSection, index) => {
|
|
98
105
|
switch (viewSection.type) {
|
|
@@ -116,9 +123,10 @@ const LoginView = () => {
|
|
|
116
123
|
if (showWalletList) {
|
|
117
124
|
return jsxRuntime.jsx(WalletList.WalletList, {});
|
|
118
125
|
}
|
|
126
|
+
const shouldShowFooter = utils.isMobile() && showDefaultFooter;
|
|
119
127
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [error && (jsxRuntime.jsx(ErrorContainer.ErrorContainer, { className: 'login-view__error-container', withIcon: false, children: error })), jsxRuntime.jsx("div", { className: classNames.classNames('login-view__container', {
|
|
120
128
|
'login-view__container--error': Boolean(error),
|
|
121
|
-
}), children: jsxRuntime.jsx("div", { className: 'login-view__scroll', "data-testid": 'login-view-scroll', children: renderViewSections }) })] }));
|
|
129
|
+
}), children: jsxRuntime.jsx("div", { className: 'login-view__scroll', "data-testid": 'login-view-scroll', children: renderViewSections }) }), shouldShowFooter && jsxRuntime.jsx(DefaultFooter.DefaultFooter, { hideBorder: true })] }));
|
|
122
130
|
};
|
|
123
131
|
|
|
124
132
|
exports.LoginView = LoginView;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useEffect, useMemo } from 'react';
|
|
3
3
|
import { SdkViewSectionType } from '@dynamic-labs/sdk-api';
|
|
4
|
+
import { isMobile } from '@dynamic-labs/utils';
|
|
4
5
|
import { Divider } from '../../components/Divider/Divider.js';
|
|
5
6
|
import { useErrorContext } from '../../context/ErrorContext/ErrorContext.js';
|
|
6
7
|
import { ErrorContainer } from '../../components/ErrorContainer/ErrorContainer.js';
|
|
@@ -9,7 +10,6 @@ import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
|
9
10
|
import { useViewContext } from '../../context/ViewContext/ViewContext.js';
|
|
10
11
|
import { WalletList } from '../WalletList/WalletList.js';
|
|
11
12
|
import '../../events/dynamicEvents.js';
|
|
12
|
-
import '@dynamic-labs/utils';
|
|
13
13
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
14
14
|
import '@dynamic-labs/wallet-connector-core';
|
|
15
15
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -41,25 +41,31 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
41
41
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
42
42
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
43
43
|
import '../../context/FooterAnimationContext/index.js';
|
|
44
|
-
import '../../
|
|
44
|
+
import { useAuthLayoutChecks } from '../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js';
|
|
45
45
|
import { Typography } from '../../components/Typography/Typography.js';
|
|
46
46
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
47
47
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
48
48
|
import 'react-focus-lock';
|
|
49
|
-
import 'qrcode';
|
|
50
49
|
import 'i18next';
|
|
50
|
+
import 'qrcode';
|
|
51
51
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
52
52
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
53
53
|
import 'formik';
|
|
54
54
|
import '../../components/IconButton/IconButton.js';
|
|
55
55
|
import '../../components/Alert/Alert.js';
|
|
56
|
+
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
56
57
|
import '@dynamic-labs/viem-utils';
|
|
58
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
57
59
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
58
60
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
59
61
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
60
62
|
import '../../components/Popper/Popper/Popper.js';
|
|
61
63
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
import { LoginEmailForm } from './sections/EmailSignInSection/LoginEmailForm.js';
|
|
68
|
+
import { DefaultFooter } from '../../layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js';
|
|
63
69
|
import { WalletSignInSection } from './sections/WalletSignInSection/WalletSignInSection.js';
|
|
64
70
|
import { SocialSignInSection } from './sections/SocialSignInSection/SocialSignInSection.js';
|
|
65
71
|
import { useLoginView } from './useLoginView.js';
|
|
@@ -79,16 +85,17 @@ const LoginView = () => {
|
|
|
79
85
|
setShowWalletList(true);
|
|
80
86
|
}
|
|
81
87
|
// returning from 'View all wallets' button
|
|
82
|
-
if (!isWalletOnly && view === 'login-with-email-or-wallet') {
|
|
88
|
+
if (!isWalletOnly && view.type === 'login-with-email-or-wallet') {
|
|
83
89
|
setShowWalletList(false);
|
|
84
90
|
}
|
|
85
91
|
// toolkit log in with email was set back to true
|
|
86
92
|
if (!isWalletOnly &&
|
|
87
|
-
(!showWalletList || view === 'login-with-wallet-only')) {
|
|
93
|
+
(!showWalletList || view.type === 'login-with-wallet-only')) {
|
|
88
94
|
setView('login-with-email-or-wallet');
|
|
89
95
|
setShowWalletList(false);
|
|
90
96
|
}
|
|
91
|
-
}, [isWalletOnly, view]);
|
|
97
|
+
}, [isWalletOnly, view.type]);
|
|
98
|
+
const { showDefaultFooter } = useAuthLayoutChecks();
|
|
92
99
|
const numOfWallets = ((_a = logingViewSections.find((section) => section.type === SdkViewSectionType.Wallet)) === null || _a === void 0 ? void 0 : _a.numOfItemsToDisplay) || 0;
|
|
93
100
|
const renderViewSections = useMemo(() => logingViewSections.map((viewSection, index) => {
|
|
94
101
|
switch (viewSection.type) {
|
|
@@ -112,9 +119,10 @@ const LoginView = () => {
|
|
|
112
119
|
if (showWalletList) {
|
|
113
120
|
return jsx(WalletList, {});
|
|
114
121
|
}
|
|
122
|
+
const shouldShowFooter = isMobile() && showDefaultFooter;
|
|
115
123
|
return (jsxs(Fragment, { children: [error && (jsx(ErrorContainer, { className: 'login-view__error-container', withIcon: false, children: error })), jsx("div", { className: classNames('login-view__container', {
|
|
116
124
|
'login-view__container--error': Boolean(error),
|
|
117
|
-
}), children: jsx("div", { className: 'login-view__scroll', "data-testid": 'login-view-scroll', children: renderViewSections }) })] }));
|
|
125
|
+
}), children: jsx("div", { className: 'login-view__scroll', "data-testid": 'login-view-scroll', children: renderViewSections }) }), shouldShowFooter && jsx(DefaultFooter, { hideBorder: true })] }));
|
|
118
126
|
};
|
|
119
127
|
|
|
120
128
|
export { LoginView };
|
|
@@ -46,26 +46,31 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
46
46
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
47
47
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
48
48
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
49
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
50
49
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
51
50
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
52
51
|
require('react-focus-lock');
|
|
53
52
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
54
|
-
require('qrcode');
|
|
55
53
|
require('i18next');
|
|
54
|
+
require('qrcode');
|
|
56
55
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
57
56
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
58
57
|
require('formik');
|
|
59
58
|
var Button = require('../../../../components/Button/Button.cjs');
|
|
60
59
|
var IconButton = require('../../../../components/IconButton/IconButton.cjs');
|
|
61
60
|
require('../../../../components/Alert/Alert.cjs');
|
|
61
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
62
62
|
require('@dynamic-labs/viem-utils');
|
|
63
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
63
64
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
64
65
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
65
66
|
var Input = require('../../../../components/Input/Input.cjs');
|
|
66
67
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
67
68
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
68
69
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
70
|
+
require('../../../WalletList/WalletList.cjs');
|
|
71
|
+
require('@hcaptcha/react-hcaptcha');
|
|
72
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
73
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
69
74
|
var useEmailProvider = require('../../../../utils/hooks/useEmailProvider/useEmailProvider.cjs');
|
|
70
75
|
|
|
71
76
|
const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError, currentEmail, }) => {
|
|
@@ -128,7 +133,7 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
128
133
|
yield handleEmailSubmitWithOptionalCaptcha(emailInput, captchaToken);
|
|
129
134
|
}
|
|
130
135
|
catch (e) {
|
|
131
|
-
setView(view);
|
|
136
|
+
setView(view.type);
|
|
132
137
|
handleEmailSubmitError(e);
|
|
133
138
|
}
|
|
134
139
|
}),
|
|
@@ -42,26 +42,31 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
42
42
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
43
43
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
44
44
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
45
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
46
45
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
47
46
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
48
47
|
import 'react-focus-lock';
|
|
49
48
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
50
|
-
import 'qrcode';
|
|
51
49
|
import 'i18next';
|
|
50
|
+
import 'qrcode';
|
|
52
51
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
53
52
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
54
53
|
import 'formik';
|
|
55
54
|
import { Button } from '../../../../components/Button/Button.js';
|
|
56
55
|
import { IconButton } from '../../../../components/IconButton/IconButton.js';
|
|
57
56
|
import '../../../../components/Alert/Alert.js';
|
|
57
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
58
58
|
import '@dynamic-labs/viem-utils';
|
|
59
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
59
60
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
60
61
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
61
62
|
import { Input } from '../../../../components/Input/Input.js';
|
|
62
63
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
63
64
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
64
65
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
66
|
+
import '../../../WalletList/WalletList.js';
|
|
67
|
+
import '@hcaptcha/react-hcaptcha';
|
|
68
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
69
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
65
70
|
import { useEmailProvider } from '../../../../utils/hooks/useEmailProvider/useEmailProvider.js';
|
|
66
71
|
|
|
67
72
|
const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError, currentEmail, }) => {
|
|
@@ -124,7 +129,7 @@ const LoginEmailForm = ({ isLoading: isExternalLoading, onSubmit, onSubmitError,
|
|
|
124
129
|
yield handleEmailSubmitWithOptionalCaptcha(emailInput, captchaToken);
|
|
125
130
|
}
|
|
126
131
|
catch (e) {
|
|
127
|
-
setView(view);
|
|
132
|
+
setView(view.type);
|
|
128
133
|
handleEmailSubmitError(e);
|
|
129
134
|
}
|
|
130
135
|
}),
|
|
@@ -43,26 +43,30 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
43
43
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
44
44
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
45
45
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
46
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
47
46
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
48
47
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
49
48
|
require('react-focus-lock');
|
|
50
49
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
-
require('qrcode');
|
|
52
50
|
require('i18next');
|
|
51
|
+
require('qrcode');
|
|
53
52
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
54
53
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
55
54
|
require('formik');
|
|
56
55
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
57
56
|
require('../../../../../components/Alert/Alert.cjs');
|
|
57
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
58
58
|
require('@dynamic-labs/viem-utils');
|
|
59
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
59
60
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
60
61
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
61
62
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
62
63
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
63
64
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
65
|
var SocialSignIn = require('../../../../../components/SocialSignIn/SocialSignIn.cjs');
|
|
66
|
+
require('../../../../WalletList/WalletList.cjs');
|
|
67
|
+
require('@hcaptcha/react-hcaptcha');
|
|
65
68
|
var SocialRedirectContext = require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
69
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
70
|
|
|
67
71
|
const DynamicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
68
72
|
const { setShowAuthFlow, projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
|
|
@@ -39,26 +39,30 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
39
39
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
40
40
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
41
41
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
42
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
43
42
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
44
43
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
45
44
|
import 'react-focus-lock';
|
|
46
45
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
47
|
-
import 'qrcode';
|
|
48
46
|
import 'i18next';
|
|
47
|
+
import 'qrcode';
|
|
49
48
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
50
49
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
51
50
|
import 'formik';
|
|
52
51
|
import '../../../../../components/IconButton/IconButton.js';
|
|
53
52
|
import '../../../../../components/Alert/Alert.js';
|
|
53
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
54
54
|
import '@dynamic-labs/viem-utils';
|
|
55
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
55
56
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
56
57
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
57
58
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
59
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
59
60
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
60
61
|
import { SocialSignIn } from '../../../../../components/SocialSignIn/SocialSignIn.js';
|
|
62
|
+
import '../../../../WalletList/WalletList.js';
|
|
63
|
+
import '@hcaptcha/react-hcaptcha';
|
|
61
64
|
import { useSocialRedirectContext } from '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
65
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
66
|
|
|
63
67
|
const DynamicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
64
68
|
const { setShowAuthFlow, projectSettings } = useInternalDynamicContext();
|
package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs
CHANGED
|
@@ -42,26 +42,30 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
42
42
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
43
43
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
44
44
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
45
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
45
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
47
46
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
48
47
|
require('react-focus-lock');
|
|
49
48
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
50
|
-
require('qrcode');
|
|
51
49
|
require('i18next');
|
|
50
|
+
require('qrcode');
|
|
52
51
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
53
52
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
54
53
|
require('formik');
|
|
55
54
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
56
55
|
require('../../../../../components/Alert/Alert.cjs');
|
|
56
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
57
57
|
require('@dynamic-labs/viem-utils');
|
|
58
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
58
59
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
59
60
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
60
61
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
62
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
62
63
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
63
64
|
var SocialSignIn = require('../../../../../components/SocialSignIn/SocialSignIn.cjs');
|
|
65
|
+
require('../../../../WalletList/WalletList.cjs');
|
|
66
|
+
require('@hcaptcha/react-hcaptcha');
|
|
64
67
|
var SocialRedirectContext = require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
68
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
65
69
|
|
|
66
70
|
const MagicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
67
71
|
const { projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
|
package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js
CHANGED
|
@@ -38,26 +38,30 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
38
38
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
39
39
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
40
40
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
41
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
42
41
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
43
42
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
43
|
import 'react-focus-lock';
|
|
45
44
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
46
|
-
import 'qrcode';
|
|
47
45
|
import 'i18next';
|
|
46
|
+
import 'qrcode';
|
|
48
47
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
49
48
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
50
49
|
import 'formik';
|
|
51
50
|
import '../../../../../components/IconButton/IconButton.js';
|
|
52
51
|
import '../../../../../components/Alert/Alert.js';
|
|
52
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
53
53
|
import '@dynamic-labs/viem-utils';
|
|
54
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
54
55
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
55
56
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
56
57
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
58
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
58
59
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
59
60
|
import { SocialSignIn } from '../../../../../components/SocialSignIn/SocialSignIn.js';
|
|
61
|
+
import '../../../../WalletList/WalletList.js';
|
|
62
|
+
import '@hcaptcha/react-hcaptcha';
|
|
60
63
|
import { useSocialRedirectContext } from '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
64
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
61
65
|
|
|
62
66
|
const MagicSocialSignIn = ({ defaultProvider, numOfItemsToDisplay, collapsedLayout, }) => {
|
|
63
67
|
const { projectSettings } = useInternalDynamicContext();
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var sdkApi = require('@dynamic-labs/sdk-api');
|
|
7
7
|
var useInternalDynamicContext = require('../../../../context/DynamicContext/useInternalDynamicContext.cjs');
|
|
8
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
8
9
|
var logger = require('../../../../shared/logger.cjs');
|
|
9
10
|
require('@dynamic-labs/iconic');
|
|
10
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
11
11
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
12
12
|
require('react');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { ProviderEnum, SignInProviderEnum } from '@dynamic-labs/sdk-api';
|
|
3
3
|
import { useInternalDynamicContext } from '../../../../context/DynamicContext/useInternalDynamicContext.js';
|
|
4
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
4
5
|
import { logger } from '../../../../shared/logger.js';
|
|
5
6
|
import '@dynamic-labs/iconic';
|
|
6
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
7
7
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs
CHANGED
|
@@ -42,27 +42,32 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
42
42
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
43
43
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
44
44
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
45
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
45
|
var Badge = require('../../../../../components/Badge/Badge.cjs');
|
|
47
46
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
48
47
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
49
48
|
require('react-focus-lock');
|
|
50
49
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
-
require('qrcode');
|
|
52
50
|
var Icon = require('../../../../../components/Icon/Icon.cjs');
|
|
53
51
|
require('i18next');
|
|
52
|
+
require('qrcode');
|
|
54
53
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
55
54
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
56
55
|
require('formik');
|
|
57
56
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
58
57
|
require('../../../../../components/Alert/Alert.cjs');
|
|
58
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
59
59
|
require('@dynamic-labs/viem-utils');
|
|
60
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
60
61
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
61
62
|
var ListTile = require('../../../../../components/ListTile/ListTile.cjs');
|
|
62
63
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
63
64
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
64
65
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
65
66
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
67
|
+
require('../../../../WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
|
|
67
72
|
const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, copykey, }) => {
|
|
68
73
|
const numberOfWalletsText = React.useMemo(() => {
|
package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js
CHANGED
|
@@ -38,27 +38,32 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
38
38
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
39
39
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
40
40
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
41
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
42
41
|
import { Badge } from '../../../../../components/Badge/Badge.js';
|
|
43
42
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
44
43
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
45
44
|
import 'react-focus-lock';
|
|
46
45
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
47
|
-
import 'qrcode';
|
|
48
46
|
import { Icon } from '../../../../../components/Icon/Icon.js';
|
|
49
47
|
import 'i18next';
|
|
48
|
+
import 'qrcode';
|
|
50
49
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
51
50
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
52
51
|
import 'formik';
|
|
53
52
|
import '../../../../../components/IconButton/IconButton.js';
|
|
54
53
|
import '../../../../../components/Alert/Alert.js';
|
|
54
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
55
55
|
import '@dynamic-labs/viem-utils';
|
|
56
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
56
57
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
57
58
|
import { ListTile } from '../../../../../components/ListTile/ListTile.js';
|
|
58
59
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
59
60
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
60
61
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
61
62
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
63
|
+
import '../../../../WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
|
|
63
68
|
const ListItemButton = ({ text, onClick, numberOfWallets, disabled = false, copykey, }) => {
|
|
64
69
|
const numberOfWalletsText = useMemo(() => {
|
|
@@ -40,26 +40,31 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
40
40
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
41
41
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
42
42
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
43
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
44
43
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
45
44
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
45
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
46
|
require('react-focus-lock');
|
|
48
47
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
49
|
-
require('qrcode');
|
|
50
48
|
require('i18next');
|
|
49
|
+
require('qrcode');
|
|
51
50
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
52
51
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
53
52
|
require('formik');
|
|
54
53
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
55
54
|
require('../../../../components/Alert/Alert.cjs');
|
|
55
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
56
|
require('@dynamic-labs/viem-utils');
|
|
57
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
57
58
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
58
59
|
var IconListTile = require('../../../../components/IconListTile/IconListTile.cjs');
|
|
59
60
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
60
61
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
62
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
62
63
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
|
+
require('../../../WalletList/WalletList.cjs');
|
|
65
|
+
require('@hcaptcha/react-hcaptcha');
|
|
66
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
67
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
63
68
|
var WalletSimpleSignIn = require('./WalletSimpleSignIn/WalletSimpleSignIn.cjs');
|
|
64
69
|
|
|
65
70
|
const WalletSignInSection = ({ numberOfItensToShow, isLoading, onSubmit, }) => {
|
|
@@ -36,26 +36,31 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
36
36
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
37
37
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
38
38
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
39
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
40
39
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
41
40
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
41
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
43
42
|
import 'react-focus-lock';
|
|
44
43
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
45
|
-
import 'qrcode';
|
|
46
44
|
import 'i18next';
|
|
45
|
+
import 'qrcode';
|
|
47
46
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
48
47
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
49
48
|
import 'formik';
|
|
50
49
|
import '../../../../components/IconButton/IconButton.js';
|
|
51
50
|
import '../../../../components/Alert/Alert.js';
|
|
51
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
52
|
import '@dynamic-labs/viem-utils';
|
|
53
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
53
54
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
54
55
|
import { IconListTile } from '../../../../components/IconListTile/IconListTile.js';
|
|
55
56
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
56
57
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
58
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
58
59
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
60
|
+
import '../../../WalletList/WalletList.js';
|
|
61
|
+
import '@hcaptcha/react-hcaptcha';
|
|
62
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
63
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
59
64
|
import { WalletSimpleSignIn } from './WalletSimpleSignIn/WalletSimpleSignIn.js';
|
|
60
65
|
|
|
61
66
|
const WalletSignInSection = ({ numberOfItensToShow, isLoading, onSubmit, }) => {
|
|
@@ -33,7 +33,7 @@ const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllW
|
|
|
33
33
|
groupWallets: true,
|
|
34
34
|
inputList: walletConnectorOptions,
|
|
35
35
|
isWalletConnectList: false,
|
|
36
|
-
|
|
36
|
+
lastUsedWalletKey: localStorage.LocalStorage.getFromLS(localStorage$1.LAST_USED_WALLET),
|
|
37
37
|
loginWithEmail: true,
|
|
38
38
|
multiWallet,
|
|
39
39
|
numberOfWalletsToShow: previewWalletsNumber,
|
|
@@ -29,7 +29,7 @@ const WalletSimpleSignIn = ({ previewWalletsNumber, disabled = false, onshowAllW
|
|
|
29
29
|
groupWallets: true,
|
|
30
30
|
inputList: walletConnectorOptions,
|
|
31
31
|
isWalletConnectList: false,
|
|
32
|
-
|
|
32
|
+
lastUsedWalletKey: LocalStorage.getFromLS(LAST_USED_WALLET),
|
|
33
33
|
loginWithEmail: true,
|
|
34
34
|
multiWallet,
|
|
35
35
|
numberOfWalletsToShow: previewWalletsNumber,
|
|
@@ -7,9 +7,9 @@ var reactI18next = require('react-i18next');
|
|
|
7
7
|
var sdkApi = require('@dynamic-labs/sdk-api');
|
|
8
8
|
var useInternalDynamicContext = require('../../context/DynamicContext/useInternalDynamicContext.cjs');
|
|
9
9
|
var SocialRedirectContext = require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
10
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
10
11
|
var logger = require('../../shared/logger.cjs');
|
|
11
12
|
require('@dynamic-labs/iconic');
|
|
12
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
13
13
|
require('react/jsx-runtime');
|
|
14
14
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
15
15
|
require('@dynamic-labs/wallet-book');
|
|
@@ -3,9 +3,9 @@ import { useTranslation } from 'react-i18next';
|
|
|
3
3
|
import { SdkViewSectionType, SdkViewType } from '@dynamic-labs/sdk-api';
|
|
4
4
|
import { useInternalDynamicContext } from '../../context/DynamicContext/useInternalDynamicContext.js';
|
|
5
5
|
import { useSocialRedirectContext } from '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
6
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
6
7
|
import { logger } from '../../shared/logger.js';
|
|
7
8
|
import '@dynamic-labs/iconic';
|
|
8
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
9
9
|
import 'react/jsx-runtime';
|
|
10
10
|
import '../../context/ViewContext/ViewContext.js';
|
|
11
11
|
import '@dynamic-labs/wallet-book';
|