@dynamic-labs/sdk-react-core 1.1.0-phantom.0 → 1.1.1
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 +152 -2
- package/_virtual/_tslib.cjs +6 -1
- package/_virtual/_tslib.js +6 -1
- package/package.cjs +2 -3
- package/package.js +2 -3
- package/package.json +12 -12
- package/src/index.cjs +26 -12
- package/src/index.d.ts +1 -1
- package/src/index.js +15 -7
- package/src/lib/Main.cjs +2 -1
- package/src/lib/Main.js +2 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +3 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +3 -1
- package/src/lib/components/Alert/Alert.cjs +1 -0
- package/src/lib/components/Alert/Alert.js +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +3 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +3 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +11 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +11 -1
- package/src/lib/components/Badge/Badge.cjs +1 -1
- package/src/lib/components/Badge/Badge.d.ts +2 -1
- package/src/lib/components/Badge/Badge.js +1 -1
- package/src/lib/components/Badge/Badge.types.d.ts +2 -1
- package/src/lib/components/Captcha/Captcha.cjs +3 -1
- package/src/lib/components/Captcha/Captcha.js +3 -1
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -0
- package/src/lib/components/Checkbox/Checkbox.js +1 -0
- package/src/lib/components/CopyButton/CopyButton.cjs +1 -11
- package/src/lib/components/CopyButton/CopyButton.js +2 -12
- package/src/lib/components/Divider/Divider.cjs +3 -1
- package/src/lib/components/Divider/Divider.js +3 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.js +1 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.cjs +35 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +9 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.js +31 -0
- package/src/lib/components/Icon/Icon.cjs +2 -0
- package/src/lib/components/Icon/Icon.js +2 -0
- package/src/lib/components/Icon/Icon.types.d.ts +2 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +2 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +2 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +2 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +2 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +2 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +2 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +2 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +2 -0
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.d.ts +2 -1
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.cjs +9 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.d.ts +6 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.js +5 -0
- package/src/lib/components/ListTileAnimatedTrailing/index.d.ts +1 -0
- package/src/lib/components/LogoutButton/LogoutButton.cjs +2 -1
- package/src/lib/components/LogoutButton/LogoutButton.js +2 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +3 -2
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +3 -2
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +1 -0
- package/src/lib/components/MenuList/MenuList/MenuList.js +1 -0
- package/src/lib/components/Modal/Modal.cjs +3 -1
- package/src/lib/components/Modal/Modal.js +3 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +10 -11
- package/src/lib/components/NeedHelpSection/NeedHelpSection.d.ts +5 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +10 -11
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +2 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +3 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +3 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +3 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.js +3 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +4 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +4 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +14 -59
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +14 -59
- package/src/lib/components/OverlayCard/OverlayCard.cjs +3 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +3 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +3 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +3 -1
- package/src/lib/components/Portal/Portal.cjs +3 -1
- package/src/lib/components/Portal/Portal.js +3 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +3 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +3 -1
- package/src/lib/components/RenderView/RenderView.cjs +4 -2
- package/src/lib/components/RenderView/RenderView.js +4 -2
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +97 -0
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.d.ts +9 -0
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +93 -0
- package/src/lib/components/RetrySendVerificationCodeSection/index.d.ts +1 -0
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +66 -7
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +66 -7
- package/src/lib/components/Select/Select.cjs +1 -0
- package/src/lib/components/Select/Select.js +1 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -4
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -4
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -0
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +3 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.js +3 -1
- package/src/lib/components/ShadowDOM/utils.cjs +1 -0
- package/src/lib/components/ShadowDOM/utils.js +1 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.cjs +1 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.js +1 -0
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +5 -3
- package/src/lib/components/SocialSignIn/SocialSignIn.js +5 -3
- package/src/lib/components/Spinner/spinner.cjs +1 -0
- package/src/lib/components/Spinner/spinner.js +1 -0
- package/src/lib/components/StatusDot/StatusDot.d.ts +1 -1
- package/src/lib/components/Step/Step.cjs +1 -0
- package/src/lib/components/Step/Step.js +1 -0
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +9 -6
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +9 -6
- package/src/lib/components/Toolkit/Toolkit.cjs +3 -1
- package/src/lib/components/Toolkit/Toolkit.js +3 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +3 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +3 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +3 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +3 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +3 -1
- package/src/lib/components/Tooltip/Tooltip.js +3 -1
- package/src/lib/components/Tooltip/index.d.ts +1 -0
- package/src/lib/components/TosAndPp/TosAndPp.cjs +3 -1
- package/src/lib/components/TosAndPp/TosAndPp.js +3 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +70 -6
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +70 -6
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +3 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +3 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +3 -1
- package/src/lib/components/UserAddress/UserAddress.js +3 -1
- package/src/lib/components/UserProfile/UserProfile.cjs +3 -1
- package/src/lib/components/UserProfile/UserProfile.js +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +3 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +3 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +3 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +3 -1
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.cjs +11 -0
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.d.ts +8 -0
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.js +7 -0
- package/src/lib/components/WalletGroupViewLayout/index.d.ts +1 -0
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +4 -1
- package/src/lib/components/WalletInformationCard/WalletInformationCard.d.ts +2 -1
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +4 -1
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +2 -1
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +2 -1
- package/src/lib/context/DynamicContext/DynamicContext.cjs +7 -6
- package/src/lib/context/DynamicContext/DynamicContext.js +7 -6
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.cjs +1 -0
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.js +1 -0
- package/src/lib/context/DynamicContext/helpers/helpers.cjs +2 -0
- package/src/lib/context/DynamicContext/helpers/helpers.js +2 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +2 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +2 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +2 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +2 -1
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +2 -0
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +2 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +3 -52
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +3 -52
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +7 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +7 -1
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.js +1 -0
- package/src/lib/context/DynamicContext/types/index.d.ts +3 -2
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +2 -4
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +6 -50
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +6 -50
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +3 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +3 -1
- package/src/lib/context/DynamicContext/validators/validators.cjs +1 -0
- package/src/lib/context/DynamicContext/validators/validators.js +1 -0
- package/src/lib/context/FundingContext/FundingContext.cjs +2 -1
- package/src/lib/context/FundingContext/FundingContext.js +2 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +3 -1
- package/src/lib/context/LoadingContext/LoadingContext.js +3 -1
- package/src/lib/context/MockContext/MockContext.cjs +3 -1
- package/src/lib/context/MockContext/MockContext.js +3 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +158 -6
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +7 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.js +159 -7
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +17 -112
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.d.ts +1 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +17 -112
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +124 -0
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.d.ts +5 -0
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +120 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +3 -2
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +3 -2
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +4 -2
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +4 -2
- package/src/lib/context/ThemeContext/themesData.cjs +1 -0
- package/src/lib/context/ThemeContext/themesData.js +1 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +2 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +2 -1
- package/src/lib/context/ViewContext/ViewContext.cjs +1 -1
- package/src/lib/context/ViewContext/ViewContext.js +1 -1
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/context/WalletContext/WalletContext.cjs +3 -1
- package/src/lib/context/WalletContext/WalletContext.js +3 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +13 -4
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +13 -4
- package/src/lib/data/api.cjs +21 -8
- package/src/lib/data/api.d.ts +6 -3
- package/src/lib/data/api.js +21 -8
- package/src/lib/events/dynamicEvents.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +4 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +4 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +7 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +3 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +7 -4
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +3 -1
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +3 -1
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +3 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +3 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +3 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +3 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +3 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +3 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +3 -1
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +3 -1
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +3 -1
- package/src/lib/locale/en/translation.cjs +217 -36
- package/src/lib/locale/en/translation.d.ts +207 -26
- package/src/lib/locale/en/translation.js +217 -36
- package/src/lib/main.global.cjs +1 -1
- package/src/lib/main.global.js +1 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +3 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +3 -1
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +2 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +2 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +30 -6
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +30 -6
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +4 -3
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +4 -3
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +2 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +2 -1
- package/src/lib/shared/assets/domain.cjs +53 -0
- package/src/lib/shared/assets/domain.js +29 -0
- package/src/lib/shared/assets/gear.cjs +53 -0
- package/src/lib/shared/assets/gear.js +29 -0
- package/src/lib/shared/assets/index.d.ts +4 -1
- package/src/lib/shared/assets/multiple-account-security.cjs +106 -0
- package/src/lib/shared/assets/multiple-account-security.js +82 -0
- package/src/lib/shared/assets/passkey-account-security.cjs +92 -0
- package/src/lib/shared/assets/passkey-account-security.js +68 -0
- package/src/lib/shared/types/index.d.ts +8 -0
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +1 -0
- package/src/lib/shared/utils/classes/storage/localStorage.js +1 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +9 -4
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.d.ts +1 -2
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +9 -4
- package/src/lib/shared/utils/functions/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/providerLabel/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +15 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.d.ts +2 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +11 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +5 -3
- package/src/lib/shared/utils/functions/wallet/createWallet.js +5 -3
- package/src/lib/shared/utils/hooks/index.d.ts +5 -4
- package/src/lib/shared/utils/hooks/useThrottle/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.cjs +29 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.d.ts +8 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.js +25 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/localStorage.cjs +4 -0
- package/src/lib/utils/constants/localStorage.d.ts +2 -0
- package/src/lib/utils/constants/localStorage.js +3 -1
- package/src/lib/utils/constants/values.cjs +26 -0
- package/src/lib/utils/constants/values.d.ts +7 -0
- package/src/lib/utils/constants/values.js +25 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +5 -2
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.d.ts +1 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +5 -2
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.cjs +8 -1
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.d.ts +1 -1
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.js +8 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +1 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.cjs +18 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.js +14 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/index.d.ts +1 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.cjs +4 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.js +4 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +2 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +2 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.cjs +2 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.js +2 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +8 -4
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +8 -4
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.cjs +19 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.d.ts +3 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.js +15 -0
- package/src/lib/utils/functions/getWalletGroupType/index.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +1 -1
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.d.ts +1 -1
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +1 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +2 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +2 -1
- package/src/lib/utils/functions/index.d.ts +2 -1
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.cjs +3 -1
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.js +3 -1
- package/src/lib/utils/functions/isHardwareWalletEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.cjs +12 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.d.ts +2 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.js +8 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +1 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +1 -0
- package/src/lib/utils/functions/removeElementById/removeElementById.cjs +5 -4
- package/src/lib/utils/functions/removeElementById/removeElementById.js +5 -4
- package/src/lib/utils/functions/storeAuthToken/index.cjs +1 -0
- package/src/lib/utils/functions/storeAuthToken/index.js +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +9 -8
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +9 -8
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +7 -7
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +7 -7
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +2 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +2 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +3 -2
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +3 -2
- package/src/lib/utils/hooks/index.d.ts +2 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +8 -4
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +8 -4
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +3 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +3 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +14 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +14 -3
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +2 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +2 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +12 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +12 -0
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +2 -1
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +2 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +53 -10
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +17 -5
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +54 -11
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +2 -1
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +2 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +3 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +3 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +17 -7
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +17 -7
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +3 -2
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +3 -2
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +8 -8
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +8 -8
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +3 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +3 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +2 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +2 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +3 -2
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +3 -2
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +16 -121
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +16 -121
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.cjs +194 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.d.ts +5 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.js +190 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +21 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.d.ts +4 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +17 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +1 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +1 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +2 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +2 -1
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +1 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +1 -0
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +3 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +3 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/index.d.ts +1 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +143 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.d.ts +13 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +139 -0
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +6 -3
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +6 -3
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +12 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +12 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +3 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +3 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +3 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +3 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +121 -21
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.d.ts +4 -2
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +122 -22
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +2 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +2 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs +1 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.js +1 -0
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +1 -0
- package/src/lib/utils/hooks/usePromise/usePromise.js +1 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.cjs +2 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.js +2 -0
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +2 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +2 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +10 -2
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +11 -3
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +2 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +2 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +1 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +3 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +3 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +2 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +2 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +1 -0
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +1 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +4 -3
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +4 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +2 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +2 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +2 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +2 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +8 -7
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +8 -7
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.cjs +11 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.d.ts +2 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.js +7 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +10 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +10 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.cjs +12 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.js +12 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +5 -3
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +5 -3
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +2 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +2 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +2 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +2 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +66 -45
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.d.ts +5 -7
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +67 -46
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +5 -8
- package/src/lib/views/AccountExistsView/AccountExistsView.js +5 -8
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +3 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +3 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +3 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +3 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +3 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +3 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +2 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +2 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +3 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +3 -1
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +5 -4
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +5 -4
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +3 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +3 -1
- package/src/lib/views/CollectUserDataView/useFields.cjs +1 -0
- package/src/lib/views/CollectUserDataView/useFields.js +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +3 -1
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +3 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +2 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.js +2 -1
- package/src/lib/views/EmailVerification/EmailVerification.cjs +19 -22
- package/src/lib/views/EmailVerification/EmailVerification.js +19 -22
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +4 -2
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +4 -2
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +15 -6
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +15 -6
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +2 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +2 -0
- package/src/lib/views/LoginView/LoginView.cjs +3 -1
- package/src/lib/views/LoginView/LoginView.js +3 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +2 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +3 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +3 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +3 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +3 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +3 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +3 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +4 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +5 -4
- package/src/lib/views/LoginView/useLoginView.cjs +3 -1
- package/src/lib/views/LoginView/useLoginView.js +3 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +3 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +3 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +3 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +3 -1
- package/src/lib/views/NoAccess/NoAccess.cjs +3 -1
- package/src/lib/views/NoAccess/NoAccess.js +3 -1
- package/src/lib/views/NoAccess/useNoAccessText.cjs +3 -1
- package/src/lib/views/NoAccess/useNoAccessText.js +3 -1
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +3 -1
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +3 -1
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +3 -1
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +3 -1
- package/src/lib/views/{WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs → Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs} +20 -10
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.d.ts +6 -0
- package/src/lib/views/{WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js → Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js} +21 -11
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/index.d.ts +1 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +120 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.d.ts +7 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +116 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/index.d.ts +2 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +85 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.d.ts +14 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +81 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/index.d.ts +1 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +121 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.d.ts +9 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +117 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/index.d.ts +1 -0
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +8 -6
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.d.ts +8 -1
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +8 -6
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +16 -10
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +17 -11
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +88 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.d.ts +2 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +84 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/index.d.ts +1 -0
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +23 -9
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.d.ts +8 -1
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +24 -10
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +15 -32
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.d.ts +6 -1
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +16 -33
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +2 -1
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +2 -1
- package/src/lib/views/Passkey/index.d.ts +2 -0
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +7 -4
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +3 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +8 -5
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +7 -4
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.d.ts +3 -1
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +8 -5
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.cjs +3 -2
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.d.ts +2 -1
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.js +3 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +123 -16
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +31 -6
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +123 -18
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +3 -1
- package/src/lib/views/PendingConnectView/PendingConnectView.js +3 -1
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +8 -6
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +8 -6
- package/src/lib/views/QrCodeView/QRCode.cjs +3 -1
- package/src/lib/views/QrCodeView/QRCode.js +3 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +3 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +3 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +3 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +3 -1
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +84 -0
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.d.ts +8 -0
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +80 -0
- package/src/lib/views/SelectHardwareWalletView/index.d.ts +1 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +86 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.d.ts +2 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +82 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +94 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +9 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +90 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/index.d.ts +1 -0
- package/src/lib/views/SelectWalletInWalletGroupView/index.d.ts +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +2 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +2 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +3 -3
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +3 -3
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +3 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +3 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +3 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +3 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +8 -2
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +8 -2
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +2 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +3 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +3 -1
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +1 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +1 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +3 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +3 -1
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +2 -1
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +2 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +19 -21
- package/src/lib/views/WalletGroupView/WalletGroupView.js +19 -21
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +73 -22
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +1 -1
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +74 -23
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +3 -1
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +3 -1
- package/src/lib/views/WalletList/WalletList.cjs +4 -2
- package/src/lib/views/WalletList/WalletList.js +4 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +19 -9
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +20 -10
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +0 -1
- package/src/lib/views/WalletList/data.cjs +1 -0
- package/src/lib/views/WalletList/data.js +1 -0
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +2 -1
- package/src/lib/views/WalletLockedView/WalletLockedView.js +2 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +2 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +2 -1
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +12 -12
- package/src/lib/views/WalletUsedView/WalletUsedView.js +13 -13
- package/src/lib/views/viewToComponentMap.cjs +68 -0
- package/src/lib/views/viewToComponentMap.js +68 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +3 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +3 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +13 -6
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +14 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +9 -6
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +9 -6
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +3 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +3 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +3 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +3 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +3 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +3 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +3 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +3 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +6 -3
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +6 -3
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +9 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +9 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +23 -4
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +23 -4
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +5 -3
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +6 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +5 -3
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +5 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +5 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +5 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +5 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +4 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +4 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +3 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +34 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.d.ts +10 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +30 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +3 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +3 -1
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.js +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +0 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +3 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +78 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +78 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +8 -11
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.d.ts +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +8 -11
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +9 -23
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +9 -23
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +4 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +4 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +3 -1
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +36 -8
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +36 -8
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +3 -1
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +3 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +3 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +3 -1
- package/src/version.d.ts +2 -2
- package/src/lib/components/ChainCard/ChainCard.cjs +0 -11
- package/src/lib/components/ChainCard/ChainCard.d.ts +0 -9
- package/src/lib/components/ChainCard/ChainCard.js +0 -7
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +0 -15
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -6
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +0 -11
- package/src/lib/shared/assets/turnkey.cjs +0 -79
- package/src/lib/shared/assets/turnkey.js +0 -55
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.cjs +0 -22
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.js +0 -18
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/index.d.ts +0 -1
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.cjs +0 -49
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.d.ts +0 -18
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.js +0 -44
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +0 -7
- package/src/lib/widgets/DynamicWidget/hooks/useContent.d.ts +0 -7
- /package/src/lib/{views/WalletGroupView/components → components}/HardwareWalletToggle/index.d.ts +0 -0
|
@@ -16,8 +16,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
16
16
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
17
17
|
require('@dynamic-labs/wallet-book');
|
|
18
18
|
require('../../utils/constants/colors.cjs');
|
|
19
|
+
require('../../utils/constants/values.cjs');
|
|
19
20
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
21
|
require('viem');
|
|
22
|
+
var capitalize = require('../../shared/utils/functions/capitalize/capitalize.cjs');
|
|
21
23
|
require('../../shared/consts/index.cjs');
|
|
22
24
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
25
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
@@ -59,15 +61,14 @@ require('formik');
|
|
|
59
61
|
require('../../components/IconButton/IconButton.cjs');
|
|
60
62
|
require('../../components/Alert/Alert.cjs');
|
|
61
63
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
62
|
-
require('@dynamic-labs/viem-utils');
|
|
63
64
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
65
|
+
require('@dynamic-labs/viem-utils');
|
|
64
66
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
65
67
|
var IconListTile = require('../../components/IconListTile/IconListTile.cjs');
|
|
66
68
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
67
69
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
68
70
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
69
71
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
70
|
-
var capitalize = require('../../shared/utils/functions/capitalize/capitalize.cjs');
|
|
71
72
|
require('../WalletList/WalletList.cjs');
|
|
72
73
|
require('@hcaptcha/react-hcaptcha');
|
|
73
74
|
var SocialRedirectContext = require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
@@ -87,12 +88,8 @@ const AccountExistsView = () => {
|
|
|
87
88
|
return socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.connect(embeddedSocialSigninProvider);
|
|
88
89
|
}));
|
|
89
90
|
const renderFullMessage = () => {
|
|
90
|
-
const messageTrail = embeddedSocialSigninProvider
|
|
91
|
-
|
|
92
|
-
socialOauth: capitalize.capitalize(embeddedSocialSigninProvider),
|
|
93
|
-
})
|
|
94
|
-
: t('dyn_account_exists.trail_message_email');
|
|
95
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [t('dyn_account_exists.description'), " ", jsxRuntime.jsx("strong", { children: email }), ' ', messageTrail] }));
|
|
91
|
+
const messageTrail = embeddedSocialSigninProvider ? (t('dyn_account_exists.description_social')) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [t('dyn_account_exists.description_email'), " ", jsxRuntime.jsx("strong", { children: email }), ' ', t('dyn_account_exists.trail_message_email')] }));
|
|
92
|
+
return messageTrail;
|
|
96
93
|
};
|
|
97
94
|
return (jsxRuntime.jsxs("div", { className: 'account-exists__container', children: [jsxRuntime.jsx(iconic.UserProfileIcon, { className: 'account-exists__image' }), jsxRuntime.jsxs("div", { className: 'account-exists__main', children: [jsxRuntime.jsx("div", { className: 'account-exists__content', children: jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'account-exists__content--secondary', copykey: 'dyn_account_exists', children: renderFullMessage() }) }), embeddedSocialSigninProvider ? (jsxRuntime.jsxs(IconListTile.IconListTile, { dataTestId: `inline-${embeddedSocialSigninProvider}`, onClick: () => handleNewLoging(), className: 'social-sign-in--tile', children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: findSocialIcon(embeddedSocialSigninProvider), isSpinning: socialProvider === existingSocialSignInProvider, iconSize: 32 }), jsxRuntime.jsx(Typography.Typography, { variant: 'button_primary', copykey: 'dyn_account_exists.connect', children: t('dyn_account_exists.connect', {
|
|
98
95
|
socialOauth: capitalize.capitalize(embeddedSocialSigninProvider === null || embeddedSocialSigninProvider === void 0 ? void 0 : embeddedSocialSigninProvider.toString()),
|
|
@@ -12,8 +12,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
12
12
|
import '../../context/ViewContext/ViewContext.js';
|
|
13
13
|
import '@dynamic-labs/wallet-book';
|
|
14
14
|
import '../../utils/constants/colors.js';
|
|
15
|
+
import '../../utils/constants/values.js';
|
|
15
16
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
16
17
|
import 'viem';
|
|
18
|
+
import { capitalize } from '../../shared/utils/functions/capitalize/capitalize.js';
|
|
17
19
|
import '../../shared/consts/index.js';
|
|
18
20
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
19
21
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
@@ -55,15 +57,14 @@ import 'formik';
|
|
|
55
57
|
import '../../components/IconButton/IconButton.js';
|
|
56
58
|
import '../../components/Alert/Alert.js';
|
|
57
59
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
58
|
-
import '@dynamic-labs/viem-utils';
|
|
59
60
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
61
|
+
import '@dynamic-labs/viem-utils';
|
|
60
62
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
61
63
|
import { IconListTile } from '../../components/IconListTile/IconListTile.js';
|
|
62
64
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
63
65
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
64
66
|
import '../../components/Popper/Popper/Popper.js';
|
|
65
67
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
66
|
-
import { capitalize } from '../../shared/utils/functions/capitalize/capitalize.js';
|
|
67
68
|
import '../WalletList/WalletList.js';
|
|
68
69
|
import '@hcaptcha/react-hcaptcha';
|
|
69
70
|
import { useSocialRedirectContext } from '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
@@ -83,12 +84,8 @@ const AccountExistsView = () => {
|
|
|
83
84
|
return socialWalletConnector === null || socialWalletConnector === void 0 ? void 0 : socialWalletConnector.connect(embeddedSocialSigninProvider);
|
|
84
85
|
}));
|
|
85
86
|
const renderFullMessage = () => {
|
|
86
|
-
const messageTrail = embeddedSocialSigninProvider
|
|
87
|
-
|
|
88
|
-
socialOauth: capitalize(embeddedSocialSigninProvider),
|
|
89
|
-
})
|
|
90
|
-
: t('dyn_account_exists.trail_message_email');
|
|
91
|
-
return (jsxs(Fragment, { children: [t('dyn_account_exists.description'), " ", jsx("strong", { children: email }), ' ', messageTrail] }));
|
|
87
|
+
const messageTrail = embeddedSocialSigninProvider ? (t('dyn_account_exists.description_social')) : (jsxs(Fragment, { children: [t('dyn_account_exists.description_email'), " ", jsx("strong", { children: email }), ' ', t('dyn_account_exists.trail_message_email')] }));
|
|
88
|
+
return messageTrail;
|
|
92
89
|
};
|
|
93
90
|
return (jsxs("div", { className: 'account-exists__container', children: [jsx(UserProfileIcon, { className: 'account-exists__image' }), jsxs("div", { className: 'account-exists__main', children: [jsx("div", { className: 'account-exists__content', children: jsx(Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'account-exists__content--secondary', copykey: 'dyn_account_exists', children: renderFullMessage() }) }), embeddedSocialSigninProvider ? (jsxs(IconListTile, { dataTestId: `inline-${embeddedSocialSigninProvider}`, onClick: () => handleNewLoging(), className: 'social-sign-in--tile', children: [jsx(IconWithSpinner, { Icon: findSocialIcon(embeddedSocialSigninProvider), isSpinning: socialProvider === existingSocialSignInProvider, iconSize: 32 }), jsx(Typography, { variant: 'button_primary', copykey: 'dyn_account_exists.connect', children: t('dyn_account_exists.connect', {
|
|
94
91
|
socialOauth: capitalize(embeddedSocialSigninProvider === null || embeddedSocialSigninProvider === void 0 ? void 0 : embeddedSocialSigninProvider.toString()),
|
|
@@ -14,11 +14,13 @@ require('../../shared/logger.cjs');
|
|
|
14
14
|
var getChainIcon = require('../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
15
15
|
require('@dynamic-labs/wallet-book');
|
|
16
16
|
require('../../utils/constants/colors.cjs');
|
|
17
|
+
require('../../utils/constants/values.cjs');
|
|
17
18
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
19
|
require('viem');
|
|
19
20
|
require('@dynamic-labs/iconic');
|
|
20
21
|
require('../../shared/consts/index.cjs');
|
|
21
22
|
require('../../events/dynamicEvents.cjs');
|
|
23
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
22
24
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
25
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
24
26
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -52,6 +54,7 @@ require('formik');
|
|
|
52
54
|
require('i18next');
|
|
53
55
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
54
56
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
57
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
55
58
|
require('../WalletList/WalletList.cjs');
|
|
56
59
|
require('qrcode');
|
|
57
60
|
require('@hcaptcha/react-hcaptcha');
|
|
@@ -60,7 +63,6 @@ require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
|
60
63
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
61
64
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
62
65
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
63
|
-
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
64
66
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
65
67
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
66
68
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -10,11 +10,13 @@ import '../../shared/logger.js';
|
|
|
10
10
|
import { getChainIcon } from '../../shared/utils/functions/chain/getChainIcon.js';
|
|
11
11
|
import '@dynamic-labs/wallet-book';
|
|
12
12
|
import '../../utils/constants/colors.js';
|
|
13
|
+
import '../../utils/constants/values.js';
|
|
13
14
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
14
15
|
import 'viem';
|
|
15
16
|
import '@dynamic-labs/iconic';
|
|
16
17
|
import '../../shared/consts/index.js';
|
|
17
18
|
import '../../events/dynamicEvents.js';
|
|
19
|
+
import '../../../../_virtual/_tslib.js';
|
|
18
20
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
19
21
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
20
22
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -48,6 +50,7 @@ import 'formik';
|
|
|
48
50
|
import 'i18next';
|
|
49
51
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
50
52
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
53
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
51
54
|
import '../WalletList/WalletList.js';
|
|
52
55
|
import 'qrcode';
|
|
53
56
|
import '@hcaptcha/react-hcaptcha';
|
|
@@ -56,7 +59,6 @@ import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
|
56
59
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
57
60
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
58
61
|
import '../../context/FooterAnimationContext/index.js';
|
|
59
|
-
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
60
62
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
61
63
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
62
64
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -12,6 +12,7 @@ require('../../shared/logger.cjs');
|
|
|
12
12
|
var getChainIcon = require('../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
14
14
|
require('../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../utils/constants/values.cjs');
|
|
15
16
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
16
17
|
require('viem');
|
|
17
18
|
require('@dynamic-labs/utils');
|
|
@@ -19,6 +20,7 @@ require('@dynamic-labs/iconic');
|
|
|
19
20
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
20
21
|
require('../../shared/consts/index.cjs');
|
|
21
22
|
require('../../events/dynamicEvents.cjs');
|
|
23
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
22
24
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
25
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
24
26
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -51,6 +53,7 @@ require('formik');
|
|
|
51
53
|
require('i18next');
|
|
52
54
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
53
55
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
54
57
|
require('../WalletList/WalletList.cjs');
|
|
55
58
|
require('qrcode');
|
|
56
59
|
require('@hcaptcha/react-hcaptcha');
|
|
@@ -63,7 +66,6 @@ var DynamicBridgeWalletCardBody = require('../../widgets/DynamicBridgeWidget/com
|
|
|
63
66
|
var SecondaryWallets = require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
64
67
|
var Balance = require('../../widgets/DynamicWidget/components/Balance/Balance.cjs');
|
|
65
68
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
66
|
-
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
67
69
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
68
70
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
69
71
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -8,6 +8,7 @@ import '../../shared/logger.js';
|
|
|
8
8
|
import { getChainIcon } from '../../shared/utils/functions/chain/getChainIcon.js';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
|
10
10
|
import '../../utils/constants/colors.js';
|
|
11
|
+
import '../../utils/constants/values.js';
|
|
11
12
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
12
13
|
import 'viem';
|
|
13
14
|
import '@dynamic-labs/utils';
|
|
@@ -15,6 +16,7 @@ import '@dynamic-labs/iconic';
|
|
|
15
16
|
import '../../context/ViewContext/ViewContext.js';
|
|
16
17
|
import '../../shared/consts/index.js';
|
|
17
18
|
import '../../events/dynamicEvents.js';
|
|
19
|
+
import '../../../../_virtual/_tslib.js';
|
|
18
20
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
19
21
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
20
22
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -47,6 +49,7 @@ import 'formik';
|
|
|
47
49
|
import 'i18next';
|
|
48
50
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
49
51
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
50
53
|
import '../WalletList/WalletList.js';
|
|
51
54
|
import 'qrcode';
|
|
52
55
|
import '@hcaptcha/react-hcaptcha';
|
|
@@ -59,7 +62,6 @@ import { DynamicBridgeWalletCardBody } from '../../widgets/DynamicBridgeWidget/c
|
|
|
59
62
|
import { MemoSecondaryWallets } from '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
60
63
|
import { Balance } from '../../widgets/DynamicWidget/components/Balance/Balance.js';
|
|
61
64
|
import '../../context/FooterAnimationContext/index.js';
|
|
62
|
-
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
63
65
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
64
66
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
65
67
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -12,6 +12,7 @@ require('../../shared/logger.cjs');
|
|
|
12
12
|
var getChainIcon = require('../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
14
14
|
require('../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../utils/constants/values.cjs');
|
|
15
16
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
16
17
|
require('viem');
|
|
17
18
|
require('@dynamic-labs/utils');
|
|
@@ -19,6 +20,7 @@ require('@dynamic-labs/iconic');
|
|
|
19
20
|
var ViewContext = require('../../context/ViewContext/ViewContext.cjs');
|
|
20
21
|
require('../../shared/consts/index.cjs');
|
|
21
22
|
require('../../events/dynamicEvents.cjs');
|
|
23
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
22
24
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
25
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
24
26
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -51,6 +53,7 @@ require('formik');
|
|
|
51
53
|
require('i18next');
|
|
52
54
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
53
55
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
54
57
|
require('../WalletList/WalletList.cjs');
|
|
55
58
|
require('qrcode');
|
|
56
59
|
require('@hcaptcha/react-hcaptcha');
|
|
@@ -60,7 +63,6 @@ require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
|
60
63
|
var BridgeWelcomeLayout = require('../../layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs');
|
|
61
64
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
62
65
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
63
|
-
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
64
66
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
65
67
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
66
68
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -8,6 +8,7 @@ import '../../shared/logger.js';
|
|
|
8
8
|
import { getChainIcon } from '../../shared/utils/functions/chain/getChainIcon.js';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
|
10
10
|
import '../../utils/constants/colors.js';
|
|
11
|
+
import '../../utils/constants/values.js';
|
|
11
12
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
12
13
|
import 'viem';
|
|
13
14
|
import '@dynamic-labs/utils';
|
|
@@ -15,6 +16,7 @@ import '@dynamic-labs/iconic';
|
|
|
15
16
|
import { useViewContext } from '../../context/ViewContext/ViewContext.js';
|
|
16
17
|
import '../../shared/consts/index.js';
|
|
17
18
|
import '../../events/dynamicEvents.js';
|
|
19
|
+
import '../../../../_virtual/_tslib.js';
|
|
18
20
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
19
21
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
20
22
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -47,6 +49,7 @@ import 'formik';
|
|
|
47
49
|
import 'i18next';
|
|
48
50
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
49
51
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
50
53
|
import '../WalletList/WalletList.js';
|
|
51
54
|
import 'qrcode';
|
|
52
55
|
import '@hcaptcha/react-hcaptcha';
|
|
@@ -56,7 +59,6 @@ import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
|
56
59
|
import { BridgeWelcomeLayout } from '../../layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js';
|
|
57
60
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
58
61
|
import '../../context/FooterAnimationContext/index.js';
|
|
59
|
-
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
60
62
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
61
63
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
62
64
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -16,6 +16,7 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
16
16
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
17
17
|
require('@dynamic-labs/wallet-book');
|
|
18
18
|
require('../../utils/constants/colors.cjs');
|
|
19
|
+
require('../../utils/constants/values.cjs');
|
|
19
20
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
21
|
require('viem');
|
|
21
22
|
require('../../shared/consts/index.cjs');
|
|
@@ -56,8 +57,8 @@ require('formik');
|
|
|
56
57
|
require('../../components/IconButton/IconButton.cjs');
|
|
57
58
|
require('../../components/Alert/Alert.cjs');
|
|
58
59
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
59
|
-
require('@dynamic-labs/viem-utils');
|
|
60
60
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
61
|
+
require('@dynamic-labs/viem-utils');
|
|
61
62
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
62
63
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
63
64
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
@@ -12,6 +12,7 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
12
12
|
import '../../context/ViewContext/ViewContext.js';
|
|
13
13
|
import '@dynamic-labs/wallet-book';
|
|
14
14
|
import '../../utils/constants/colors.js';
|
|
15
|
+
import '../../utils/constants/values.js';
|
|
15
16
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
16
17
|
import 'viem';
|
|
17
18
|
import '../../shared/consts/index.js';
|
|
@@ -52,8 +53,8 @@ import 'formik';
|
|
|
52
53
|
import '../../components/IconButton/IconButton.js';
|
|
53
54
|
import '../../components/Alert/Alert.js';
|
|
54
55
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
55
|
-
import '@dynamic-labs/viem-utils';
|
|
56
56
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
57
|
+
import '@dynamic-labs/viem-utils';
|
|
57
58
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
58
59
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
59
60
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
@@ -7,6 +7,7 @@ var React = require('react');
|
|
|
7
7
|
var reactI18next = require('react-i18next');
|
|
8
8
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
9
9
|
require('../../events/dynamicEvents.cjs');
|
|
10
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
10
11
|
require('@dynamic-labs/utils');
|
|
11
12
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
12
13
|
require('@dynamic-labs/sdk-api');
|
|
@@ -18,6 +19,7 @@ var checkConnection = require('../../shared/assets/check-connection.cjs');
|
|
|
18
19
|
require('@dynamic-labs/wallet-book');
|
|
19
20
|
var shortenWalletAddress = require('../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs');
|
|
20
21
|
require('../../utils/constants/colors.cjs');
|
|
22
|
+
require('../../utils/constants/values.cjs');
|
|
21
23
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
22
24
|
require('viem');
|
|
23
25
|
require('../../shared/consts/index.cjs');
|
|
@@ -63,8 +65,8 @@ require('../../components/IconButton/IconButton.cjs');
|
|
|
63
65
|
var Icon = require('../../components/Icon/Icon.cjs');
|
|
64
66
|
require('../../components/Alert/Alert.cjs');
|
|
65
67
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
66
|
-
require('@dynamic-labs/viem-utils');
|
|
67
68
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
69
|
+
require('@dynamic-labs/viem-utils');
|
|
68
70
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
69
71
|
var TextButton = require('../../components/TextButton/TextButton.cjs');
|
|
70
72
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
@@ -3,6 +3,7 @@ import { useState } from 'react';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
5
5
|
import '../../events/dynamicEvents.js';
|
|
6
|
+
import '../../../../_virtual/_tslib.js';
|
|
6
7
|
import '@dynamic-labs/utils';
|
|
7
8
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
8
9
|
import '@dynamic-labs/sdk-api';
|
|
@@ -14,6 +15,7 @@ import { ReactComponent as SvgCheckConnection } from '../../shared/assets/check-
|
|
|
14
15
|
import '@dynamic-labs/wallet-book';
|
|
15
16
|
import { shortenWalletAddress } from '../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js';
|
|
16
17
|
import '../../utils/constants/colors.js';
|
|
18
|
+
import '../../utils/constants/values.js';
|
|
17
19
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
18
20
|
import 'viem';
|
|
19
21
|
import '../../shared/consts/index.js';
|
|
@@ -59,8 +61,8 @@ import '../../components/IconButton/IconButton.js';
|
|
|
59
61
|
import { Icon } from '../../components/Icon/Icon.js';
|
|
60
62
|
import '../../components/Alert/Alert.js';
|
|
61
63
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
62
|
-
import '@dynamic-labs/viem-utils';
|
|
63
64
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
65
|
+
import '@dynamic-labs/viem-utils';
|
|
64
66
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
65
67
|
import { TextButton } from '../../components/TextButton/TextButton.js';
|
|
66
68
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
@@ -16,14 +16,15 @@ var ViewContext = require('../../../context/ViewContext/ViewContext.cjs');
|
|
|
16
16
|
require('../../../shared/logger.cjs');
|
|
17
17
|
require('@dynamic-labs/wallet-book');
|
|
18
18
|
require('../../../utils/constants/colors.cjs');
|
|
19
|
+
require('../../../utils/constants/values.cjs');
|
|
19
20
|
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
21
|
require('viem');
|
|
22
|
+
require('@dynamic-labs/sdk-api');
|
|
21
23
|
require('../../../shared/consts/index.cjs');
|
|
22
24
|
var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
23
25
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
24
26
|
require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
25
27
|
require('@dynamic-labs/multi-wallet');
|
|
26
|
-
require('@dynamic-labs/sdk-api');
|
|
27
28
|
require('viem/chains');
|
|
28
29
|
require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
29
30
|
require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
@@ -61,8 +62,8 @@ var Button = require('../../../components/Button/Button.cjs');
|
|
|
61
62
|
require('../../../components/IconButton/IconButton.cjs');
|
|
62
63
|
require('../../../components/Alert/Alert.cjs');
|
|
63
64
|
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
64
|
-
require('@dynamic-labs/viem-utils');
|
|
65
65
|
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
66
|
+
require('@dynamic-labs/viem-utils');
|
|
66
67
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
67
68
|
require('../../../components/InlineWidget/InlineWidget.cjs');
|
|
68
69
|
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
@@ -82,7 +83,7 @@ const OnboardingUserDataForm = ({ children, userProfile, disableSubmit, }) => {
|
|
|
82
83
|
validationSchemaStripUnknown: false,
|
|
83
84
|
});
|
|
84
85
|
const onSubmit = React.useCallback((formValues) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
85
|
-
var _a;
|
|
86
|
+
var _a, _b;
|
|
86
87
|
const { isEmailVerificationRequired, missingFields } = yield updateUser(formValues);
|
|
87
88
|
if (isEmailVerificationRequired &&
|
|
88
89
|
missingFields.map((field) => field.name).toString() === 'email') {
|
|
@@ -96,7 +97,7 @@ const OnboardingUserDataForm = ({ children, userProfile, disableSubmit, }) => {
|
|
|
96
97
|
return;
|
|
97
98
|
}
|
|
98
99
|
setCallback('authSuccess');
|
|
99
|
-
if (!((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk) === null || _a === void 0 ? void 0 : _a.automaticEmbeddedWalletCreation)) {
|
|
100
|
+
if (!((_b = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk) === null || _a === void 0 ? void 0 : _a.embeddedWallets) === null || _b === void 0 ? void 0 : _b.automaticEmbeddedWalletCreation)) {
|
|
100
101
|
setShowAuthFlow(false);
|
|
101
102
|
return;
|
|
102
103
|
}
|
|
@@ -12,14 +12,15 @@ import { useViewContext } from '../../../context/ViewContext/ViewContext.js';
|
|
|
12
12
|
import '../../../shared/logger.js';
|
|
13
13
|
import '@dynamic-labs/wallet-book';
|
|
14
14
|
import '../../../utils/constants/colors.js';
|
|
15
|
+
import '../../../utils/constants/values.js';
|
|
15
16
|
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
16
17
|
import 'viem';
|
|
18
|
+
import '@dynamic-labs/sdk-api';
|
|
17
19
|
import '../../../shared/consts/index.js';
|
|
18
20
|
import { useInternalDynamicContext } from '../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
19
21
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
20
22
|
import '../../../context/ErrorContext/ErrorContext.js';
|
|
21
23
|
import '@dynamic-labs/multi-wallet';
|
|
22
|
-
import '@dynamic-labs/sdk-api';
|
|
23
24
|
import 'viem/chains';
|
|
24
25
|
import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
25
26
|
import '../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
@@ -57,8 +58,8 @@ import { Button } from '../../../components/Button/Button.js';
|
|
|
57
58
|
import '../../../components/IconButton/IconButton.js';
|
|
58
59
|
import '../../../components/Alert/Alert.js';
|
|
59
60
|
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
60
|
-
import '@dynamic-labs/viem-utils';
|
|
61
61
|
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
62
|
+
import '@dynamic-labs/viem-utils';
|
|
62
63
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
63
64
|
import '../../../components/InlineWidget/InlineWidget.js';
|
|
64
65
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
@@ -78,7 +79,7 @@ const OnboardingUserDataForm = ({ children, userProfile, disableSubmit, }) => {
|
|
|
78
79
|
validationSchemaStripUnknown: false,
|
|
79
80
|
});
|
|
80
81
|
const onSubmit = useCallback((formValues) => __awaiter(void 0, void 0, void 0, function* () {
|
|
81
|
-
var _a;
|
|
82
|
+
var _a, _b;
|
|
82
83
|
const { isEmailVerificationRequired, missingFields } = yield updateUser(formValues);
|
|
83
84
|
if (isEmailVerificationRequired &&
|
|
84
85
|
missingFields.map((field) => field.name).toString() === 'email') {
|
|
@@ -92,7 +93,7 @@ const OnboardingUserDataForm = ({ children, userProfile, disableSubmit, }) => {
|
|
|
92
93
|
return;
|
|
93
94
|
}
|
|
94
95
|
setCallback('authSuccess');
|
|
95
|
-
if (!((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk) === null || _a === void 0 ? void 0 : _a.automaticEmbeddedWalletCreation)) {
|
|
96
|
+
if (!((_b = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk) === null || _a === void 0 ? void 0 : _a.embeddedWallets) === null || _b === void 0 ? void 0 : _b.automaticEmbeddedWalletCreation)) {
|
|
96
97
|
setShowAuthFlow(false);
|
|
97
98
|
return;
|
|
98
99
|
}
|
|
@@ -7,6 +7,7 @@ var formik = require('formik');
|
|
|
7
7
|
var reactI18next = require('react-i18next');
|
|
8
8
|
require('react');
|
|
9
9
|
require('../../../events/dynamicEvents.cjs');
|
|
10
|
+
require('../../../../../_virtual/_tslib.cjs');
|
|
10
11
|
require('@dynamic-labs/utils');
|
|
11
12
|
require('../../../context/DynamicContext/DynamicContext.cjs');
|
|
12
13
|
require('@dynamic-labs/sdk-api');
|
|
@@ -17,6 +18,7 @@ require('../../../context/ViewContext/ViewContext.cjs');
|
|
|
17
18
|
require('@dynamic-labs/wallet-book');
|
|
18
19
|
var index = require('../../../shared/utils/functions/getValueByKey/index.cjs');
|
|
19
20
|
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
20
22
|
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
23
|
require('viem');
|
|
22
24
|
var index$1 = require('../../../shared/consts/index.cjs');
|
|
@@ -58,8 +60,8 @@ var getDisplayErrorMessage = require('./utils/getDisplayErrorMessage/getDisplayE
|
|
|
58
60
|
require('../../../components/IconButton/IconButton.cjs');
|
|
59
61
|
require('../../../components/Alert/Alert.cjs');
|
|
60
62
|
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
61
|
-
require('@dynamic-labs/viem-utils');
|
|
62
63
|
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
64
|
+
require('@dynamic-labs/viem-utils');
|
|
63
65
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
64
66
|
var Checkbox = require('../../../components/Checkbox/Checkbox.cjs');
|
|
65
67
|
require('../../../components/InlineWidget/InlineWidget.cjs');
|
|
@@ -3,6 +3,7 @@ import { Field } from 'formik';
|
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../../../events/dynamicEvents.js';
|
|
6
|
+
import '../../../../../_virtual/_tslib.js';
|
|
6
7
|
import '@dynamic-labs/utils';
|
|
7
8
|
import '../../../context/DynamicContext/DynamicContext.js';
|
|
8
9
|
import '@dynamic-labs/sdk-api';
|
|
@@ -13,6 +14,7 @@ import '../../../context/ViewContext/ViewContext.js';
|
|
|
13
14
|
import '@dynamic-labs/wallet-book';
|
|
14
15
|
import { getValueByKey } from '../../../shared/utils/functions/getValueByKey/index.js';
|
|
15
16
|
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
16
18
|
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
17
19
|
import 'viem';
|
|
18
20
|
import { tShirtSizes, teamNames, countryCodes } from '../../../shared/consts/index.js';
|
|
@@ -54,8 +56,8 @@ import { getDisplayErrorMessage } from './utils/getDisplayErrorMessage/getDispla
|
|
|
54
56
|
import '../../../components/IconButton/IconButton.js';
|
|
55
57
|
import '../../../components/Alert/Alert.js';
|
|
56
58
|
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
57
|
-
import '@dynamic-labs/viem-utils';
|
|
58
59
|
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
60
|
+
import '@dynamic-labs/viem-utils';
|
|
59
61
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
60
62
|
import { Checkbox } from '../../../components/Checkbox/Checkbox.js';
|
|
61
63
|
import '../../../components/InlineWidget/InlineWidget.js';
|
|
@@ -13,6 +13,7 @@ require('../../context/ViewContext/ViewContext.cjs');
|
|
|
13
13
|
require('react');
|
|
14
14
|
require('@dynamic-labs/wallet-book');
|
|
15
15
|
require('../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../utils/constants/values.cjs');
|
|
16
17
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
18
|
require('viem');
|
|
18
19
|
require('@dynamic-labs/utils');
|
|
@@ -9,6 +9,7 @@ import '../../context/ViewContext/ViewContext.js';
|
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@dynamic-labs/wallet-book';
|
|
11
11
|
import '../../utils/constants/colors.js';
|
|
12
|
+
import '../../utils/constants/values.js';
|
|
12
13
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
14
|
import 'viem';
|
|
14
15
|
import '@dynamic-labs/utils';
|
package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs
CHANGED
|
@@ -6,6 +6,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var reactI18next = require('react-i18next');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../../events/dynamicEvents.cjs');
|
|
9
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
9
10
|
require('@dynamic-labs/utils');
|
|
10
11
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
11
12
|
require('@dynamic-labs/sdk-api');
|
|
@@ -16,6 +17,7 @@ require('../../context/ViewContext/ViewContext.cjs');
|
|
|
16
17
|
var checkConnection = require('../../shared/assets/check-connection.cjs');
|
|
17
18
|
require('@dynamic-labs/wallet-book');
|
|
18
19
|
require('../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../utils/constants/values.cjs');
|
|
19
21
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
22
|
require('viem');
|
|
21
23
|
require('../../shared/consts/index.cjs');
|
|
@@ -58,8 +60,8 @@ require('formik');
|
|
|
58
60
|
require('../../components/IconButton/IconButton.cjs');
|
|
59
61
|
require('../../components/Alert/Alert.cjs');
|
|
60
62
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
61
|
-
require('@dynamic-labs/viem-utils');
|
|
62
63
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
64
|
+
require('@dynamic-labs/viem-utils');
|
|
63
65
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
64
66
|
var TextButton = require('../../components/TextButton/TextButton.cjs');
|
|
65
67
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../events/dynamicEvents.js';
|
|
5
|
+
import '../../../../_virtual/_tslib.js';
|
|
5
6
|
import '@dynamic-labs/utils';
|
|
6
7
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
7
8
|
import '@dynamic-labs/sdk-api';
|
|
@@ -12,6 +13,7 @@ import '../../context/ViewContext/ViewContext.js';
|
|
|
12
13
|
import { ReactComponent as SvgCheckConnection } from '../../shared/assets/check-connection.js';
|
|
13
14
|
import '@dynamic-labs/wallet-book';
|
|
14
15
|
import '../../utils/constants/colors.js';
|
|
16
|
+
import '../../utils/constants/values.js';
|
|
15
17
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
16
18
|
import 'viem';
|
|
17
19
|
import '../../shared/consts/index.js';
|
|
@@ -54,8 +56,8 @@ import 'formik';
|
|
|
54
56
|
import '../../components/IconButton/IconButton.js';
|
|
55
57
|
import '../../components/Alert/Alert.js';
|
|
56
58
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
57
|
-
import '@dynamic-labs/viem-utils';
|
|
58
59
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
60
|
+
import '@dynamic-labs/viem-utils';
|
|
59
61
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
60
62
|
import { TextButton } from '../../components/TextButton/TextButton.js';
|
|
61
63
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
@@ -17,6 +17,7 @@ var ViewContext = require('../../context/ViewContext/ViewContext.cjs');
|
|
|
17
17
|
var pencilAltIcon = require('../../shared/assets/pencil-alt-icon.cjs');
|
|
18
18
|
require('@dynamic-labs/wallet-book');
|
|
19
19
|
require('../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../utils/constants/values.cjs');
|
|
20
21
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
22
|
require('viem');
|
|
22
23
|
require('../../shared/consts/index.cjs');
|
|
@@ -60,8 +61,8 @@ require('formik');
|
|
|
60
61
|
var IconButton = require('../../components/IconButton/IconButton.cjs');
|
|
61
62
|
require('../../components/Alert/Alert.cjs');
|
|
62
63
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
63
|
-
require('@dynamic-labs/viem-utils');
|
|
64
64
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
65
|
+
require('@dynamic-labs/viem-utils');
|
|
65
66
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
66
67
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
67
68
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|