@dynamic-labs/sdk-react-core 4.0.0-alpha.9 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +483 -1
- package/package.cjs +3 -2
- package/package.js +3 -2
- package/package.json +15 -12
- package/src/index.cjs +34 -26
- package/src/index.d.ts +2 -1
- package/src/index.js +23 -16
- package/src/lib/Main.cjs +20 -11
- package/src/lib/Main.js +20 -11
- package/src/lib/assets/dynamic-logo.cjs +3 -3
- package/src/lib/assets/dynamic-logo.js +3 -3
- package/src/lib/assets/no-wallet-found.cjs +3 -3
- package/src/lib/assets/no-wallet-found.js +3 -3
- package/src/lib/assets/search.cjs +3 -3
- package/src/lib/assets/search.js +3 -3
- package/src/lib/assets/secure-account.cjs +3 -3
- package/src/lib/assets/secure-account.js +3 -3
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +11 -5
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +11 -5
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +11 -5
- package/src/lib/components/AnimatePresence/AnimatePresence.js +11 -5
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +18 -9
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +19 -10
- package/src/lib/components/Button/Button.cjs +2 -2
- package/src/lib/components/Button/Button.d.ts +2 -1
- package/src/lib/components/Button/Button.js +2 -2
- package/src/lib/components/Captcha/Captcha.cjs +11 -5
- package/src/lib/components/Captcha/Captcha.js +11 -5
- package/src/lib/components/CopyButton/CopyButton.cjs +5 -5
- package/src/lib/components/CopyButton/CopyButton.js +7 -7
- package/src/lib/components/Divider/Divider.cjs +15 -8
- package/src/lib/components/Divider/Divider.js +15 -8
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +11 -5
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +11 -5
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +3 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +3 -1
- package/src/lib/components/EmailForm/EmailForm.cjs +14 -8
- package/src/lib/components/EmailForm/EmailForm.js +14 -8
- package/src/lib/components/Icon/Icon.cjs +1 -17
- package/src/lib/components/Icon/Icon.d.ts +10 -1
- package/src/lib/components/Icon/Icon.js +1 -17
- package/src/lib/components/Icon/index.d.ts +1 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +3 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +3 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +3 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +3 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +3 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +3 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +11 -12
- package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +1 -2
- package/src/lib/components/IconWithStatus/IconWithStatus.js +12 -13
- package/src/lib/components/Input/Input.cjs +3 -1
- package/src/lib/components/Input/Input.d.ts +1 -0
- package/src/lib/components/Input/Input.js +3 -1
- package/src/lib/components/Input/Input.types.d.ts +1 -0
- package/src/lib/components/LogoutButton/LogoutButton.cjs +11 -5
- package/src/lib/components/LogoutButton/LogoutButton.js +11 -5
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +1 -18
- package/src/lib/components/MenuList/MenuList/MenuList.js +2 -19
- package/src/lib/components/Modal/Modal.cjs +14 -8
- package/src/lib/components/Modal/Modal.js +14 -8
- package/src/lib/components/ModalHeader/ModalHeader.cjs +7 -7
- package/src/lib/components/ModalHeader/ModalHeader.js +7 -7
- package/src/lib/components/ModalHeader/ModalHeader.types.d.ts +1 -0
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +11 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +11 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +12 -6
- package/src/lib/components/NetworkPicker/NetworkPicker.js +12 -6
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +31 -10
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.d.ts +7 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +31 -11
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +23 -14
- package/src/lib/components/NetworkPicker/components/Network/Network.js +23 -14
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +14 -8
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +14 -8
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +16 -10
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +16 -10
- package/src/lib/components/OverlayCard/OverlayCard.cjs +17 -79
- package/src/lib/components/OverlayCard/OverlayCard.d.ts +24 -3
- package/src/lib/components/OverlayCard/OverlayCard.js +19 -81
- package/src/lib/components/OverlayCard/index.d.ts +0 -1
- package/src/lib/components/OverlayCardBase/OverlayCardBase.cjs +110 -0
- package/src/lib/components/OverlayCardBase/OverlayCardBase.d.ts +13 -0
- package/src/lib/components/OverlayCardBase/OverlayCardBase.js +106 -0
- package/src/lib/components/OverlayCardBase/index.d.ts +2 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +11 -5
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +11 -5
- package/src/lib/components/PhoneNumberField/PhoneNumberField.cjs +14 -8
- package/src/lib/components/PhoneNumberField/PhoneNumberField.js +14 -8
- package/src/lib/components/PinField/PinField.cjs +10 -1
- package/src/lib/components/PinField/PinField.js +11 -2
- package/src/lib/components/PinInput/PinInput.cjs +1 -1
- package/src/lib/components/PinInput/PinInput.js +1 -1
- package/src/lib/components/Portal/Portal.cjs +11 -5
- package/src/lib/components/Portal/Portal.js +11 -5
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +11 -5
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +11 -5
- package/src/lib/components/QRCode/QRCode.cjs +12 -6
- package/src/lib/components/QRCode/QRCode.js +12 -6
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.cjs +14 -8
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.js +14 -8
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.cjs +15 -9
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.js +15 -9
- package/src/lib/components/RenderView/RenderView.cjs +12 -6
- package/src/lib/components/RenderView/RenderView.js +12 -6
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +11 -5
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +11 -5
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +11 -5
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +11 -5
- package/src/lib/components/Search/Search.cjs +1 -1
- package/src/lib/components/Search/Search.js +1 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +11 -5
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +11 -5
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +11 -5
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +11 -5
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +18 -12
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +19 -13
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.cjs +14 -8
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.js +14 -8
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +11 -5
- package/src/lib/components/ShadowDOM/ShadowDOM.js +11 -5
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +12 -10
- package/src/lib/components/SocialSignIn/SocialSignIn.js +13 -11
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.cjs +11 -5
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.js +11 -5
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +14 -8
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +14 -8
- package/src/lib/components/Toolkit/Toolkit.cjs +11 -5
- package/src/lib/components/Toolkit/Toolkit.js +11 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +11 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +11 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +11 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +11 -5
- package/src/lib/components/Tooltip/Tooltip.cjs +49 -11
- package/src/lib/components/Tooltip/Tooltip.d.ts +16 -1
- package/src/lib/components/Tooltip/Tooltip.js +49 -11
- package/src/lib/components/TosAndPp/TosAndPp.cjs +11 -5
- package/src/lib/components/TosAndPp/TosAndPp.js +11 -5
- package/src/lib/components/TransactionCard/OldTransactionCard.cjs +127 -0
- package/src/lib/components/TransactionCard/OldTransactionCard.d.ts +17 -0
- package/src/lib/components/TransactionCard/OldTransactionCard.js +123 -0
- package/src/lib/components/TransactionCard/TransactionCard.cjs +204 -18
- package/src/lib/components/TransactionCard/TransactionCard.d.ts +9 -15
- package/src/lib/components/TransactionCard/TransactionCard.js +202 -20
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +15 -8
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +4 -4
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +15 -8
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +16 -10
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +16 -10
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.cjs +2 -2
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.js +2 -2
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +11 -5
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +11 -5
- package/src/lib/components/UserAddress/UserAddress.cjs +12 -6
- package/src/lib/components/UserAddress/UserAddress.js +12 -6
- package/src/lib/components/UserProfile/UserProfile.cjs +26 -10
- package/src/lib/components/UserProfile/UserProfile.js +27 -11
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.cjs +11 -5
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.js +11 -5
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +15 -9
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +15 -9
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +15 -9
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +15 -9
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +16 -10
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +16 -10
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +15 -7
- package/src/lib/components/UserProfileForm/UserProfileForm.js +15 -7
- package/src/lib/components/WalletConnectorEvents/WalletConnectorEvents.cjs +176 -0
- package/src/lib/components/WalletConnectorEvents/WalletConnectorEvents.d.ts +6 -0
- package/src/lib/components/WalletConnectorEvents/WalletConnectorEvents.js +172 -0
- package/src/lib/components/WalletConnectorEvents/index.d.ts +1 -0
- package/src/lib/components/index.d.ts +2 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.cjs +19 -12
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.js +19 -12
- package/src/lib/context/ConnectWithOtpContext/types.d.ts +18 -6
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +16 -9
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +16 -9
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +14 -7
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +14 -7
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +7 -4
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +7 -4
- package/src/lib/context/DynamicContext/DynamicContext.cjs +103 -93
- package/src/lib/context/DynamicContext/DynamicContext.js +101 -91
- package/src/lib/context/DynamicContext/functions/onReinitialize/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/functions/onReinitialize/onReinitialize.cjs +14 -0
- package/src/lib/context/DynamicContext/functions/onReinitialize/onReinitialize.d.ts +1 -0
- package/src/lib/context/DynamicContext/functions/onReinitialize/onReinitialize.js +10 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +3 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +3 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/types.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +18 -12
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +18 -12
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.cjs +14 -4
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.js +15 -5
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +1 -7
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +1 -3
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +1 -7
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +11 -5
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +11 -5
- package/src/lib/context/DynamicContext/types/DynamicContextProps.d.ts +8 -6
- package/src/lib/context/DynamicContext/types/IDynamicContext.d.ts +2 -7
- package/src/lib/context/DynamicContext/types/SettingsOverrides.d.ts +1 -1
- package/src/lib/context/DynamicContext/types/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.cjs +1 -3
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.d.ts +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.js +1 -3
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +11 -5
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +11 -5
- package/src/lib/context/FundingContext/FundingContext.cjs +65 -21
- package/src/lib/context/FundingContext/FundingContext.d.ts +2 -0
- package/src/lib/context/FundingContext/FundingContext.js +66 -22
- package/src/lib/context/FundingContext/useFunding/useFunding.cjs +165 -4
- package/src/lib/context/FundingContext/useFunding/useFunding.d.ts +10 -1
- package/src/lib/context/FundingContext/useFunding/useFunding.js +167 -6
- package/src/lib/context/LoadingContext/LoadingContext.cjs +11 -5
- package/src/lib/context/LoadingContext/LoadingContext.js +11 -5
- package/src/lib/context/MockContext/MockContext.cjs +20 -15
- package/src/lib/context/MockContext/MockContext.js +20 -15
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +12 -6
- package/src/lib/context/PasskeyContext/PasskeyContext.js +12 -6
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +11 -5
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +11 -5
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +12 -7
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +12 -7
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.cjs +3 -0
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.js +3 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +11 -5
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +11 -5
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +14 -9
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +14 -9
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +14 -10
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +14 -10
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +11 -5
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +11 -5
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +8 -4
- package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +4 -2
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +8 -4
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.cjs +3 -0
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.js +3 -0
- package/src/lib/data/api/api.cjs +8 -0
- package/src/lib/data/api/api.js +8 -0
- package/src/lib/data/api/email/email.cjs +17 -32
- package/src/lib/data/api/email/email.js +6 -21
- package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +55 -37
- package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +15 -1
- package/src/lib/data/api/embeddedWallets/embeddedWallets.js +50 -34
- package/src/lib/data/api/embeddedWallets/types.d.ts +1 -0
- package/src/lib/data/api/externalAuth/externalAuth.cjs +10 -23
- package/src/lib/data/api/externalAuth/externalAuth.js +3 -16
- package/src/lib/data/api/mfa/mfa.cjs +15 -33
- package/src/lib/data/api/mfa/mfa.js +11 -29
- package/src/lib/data/api/oauth/oauth.cjs +30 -22
- package/src/lib/data/api/oauth/oauth.js +23 -15
- package/src/lib/data/api/session/session.cjs +7 -19
- package/src/lib/data/api/session/session.js +3 -15
- package/src/lib/data/api/settings/settings.cjs +30 -1
- package/src/lib/data/api/settings/settings.js +30 -1
- package/src/lib/data/api/sms/sms.cjs +14 -16
- package/src/lib/data/api/sms/sms.js +5 -7
- package/src/lib/data/api/transactions/blockaid.cjs +97 -0
- package/src/lib/data/api/transactions/blockaid.d.ts +25 -0
- package/src/lib/data/api/transactions/blockaid.js +95 -1
- package/src/lib/data/api/user/user.cjs +27 -11
- package/src/lib/data/api/user/user.d.ts +6 -1
- package/src/lib/data/api/user/user.js +20 -5
- package/src/lib/data/api/utils.cjs +26 -2
- package/src/lib/data/api/utils.d.ts +2 -1
- package/src/lib/data/api/utils.js +25 -2
- package/src/lib/data/api/wallets/wallets.cjs +17 -28
- package/src/lib/data/api/wallets/wallets.js +6 -17
- package/src/lib/events/dynamicEvents.cjs +29 -0
- package/src/lib/events/dynamicEvents.d.ts +3 -0
- package/src/lib/events/dynamicEvents.js +28 -1
- package/src/lib/events/multiWallet.d.ts +2 -1
- package/src/lib/events/wallets.d.ts +4 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +17 -11
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +17 -11
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +21 -15
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +21 -15
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +11 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +11 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +16 -10
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +16 -10
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +14 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +14 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +15 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +15 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +7 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.js +7 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +15 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +15 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +17 -10
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +18 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +15 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +15 -9
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +15 -9
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +15 -9
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +15 -9
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +15 -9
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +11 -5
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +11 -5
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +16 -10
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +16 -10
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +16 -10
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +16 -10
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +16 -10
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +16 -10
- package/src/lib/locale/en/translation.cjs +236 -82
- package/src/lib/locale/en/translation.d.ts +229 -75
- package/src/lib/locale/en/translation.js +236 -82
- package/src/lib/modals/AddNetworkModal/AddNetworkModal.cjs +104 -0
- package/src/lib/modals/AddNetworkModal/AddNetworkModal.d.ts +12 -0
- package/src/lib/modals/AddNetworkModal/AddNetworkModal.js +100 -0
- package/src/lib/modals/AddNetworkModal/index.d.ts +1 -0
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.cjs +15 -9
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.js +15 -9
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +12 -6
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +12 -6
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +17 -11
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +17 -11
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +11 -5
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +11 -5
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +16 -10
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +16 -10
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +16 -10
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +16 -10
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.cjs +11 -5
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.js +11 -5
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +13 -7
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +13 -7
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +15 -9
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +15 -9
- package/src/lib/modals/index.d.ts +1 -0
- package/src/lib/shared/assets/access-blocked.cjs +3 -3
- package/src/lib/shared/assets/access-blocked.js +3 -3
- package/src/lib/shared/assets/add.cjs +3 -3
- package/src/lib/shared/assets/add.js +3 -3
- package/src/lib/shared/assets/alt-key.cjs +3 -3
- package/src/lib/shared/assets/alt-key.js +3 -3
- package/src/lib/shared/assets/android-face-id.cjs +3 -3
- package/src/lib/shared/assets/android-face-id.js +3 -3
- package/src/lib/shared/assets/android-touch-id.cjs +3 -3
- package/src/lib/shared/assets/android-touch-id.js +3 -3
- package/src/lib/shared/assets/arrow-circle-right.cjs +3 -3
- package/src/lib/shared/assets/arrow-circle-right.js +3 -3
- package/src/lib/shared/assets/arrow-down.cjs +3 -3
- package/src/lib/shared/assets/arrow-down.js +3 -3
- package/src/lib/shared/assets/arrow-left.cjs +3 -3
- package/src/lib/shared/assets/arrow-left.js +3 -3
- package/src/lib/shared/assets/arrow-right-background.cjs +3 -3
- package/src/lib/shared/assets/arrow-right-background.js +3 -3
- package/src/lib/shared/assets/arrow-right.cjs +3 -3
- package/src/lib/shared/assets/arrow-right.js +3 -3
- package/src/lib/shared/assets/at.cjs +3 -3
- package/src/lib/shared/assets/at.js +3 -3
- package/src/lib/shared/assets/authenticator.cjs +3 -3
- package/src/lib/shared/assets/authenticator.js +3 -3
- package/src/lib/shared/assets/blue-walletconnect.cjs +3 -3
- package/src/lib/shared/assets/blue-walletconnect.js +3 -3
- package/src/lib/shared/assets/caution-triangle.cjs +3 -3
- package/src/lib/shared/assets/caution-triangle.js +3 -3
- package/src/lib/shared/assets/check-blue.cjs +3 -3
- package/src/lib/shared/assets/check-blue.js +3 -3
- package/src/lib/shared/assets/check-circle.cjs +3 -3
- package/src/lib/shared/assets/check-circle.js +3 -3
- package/src/lib/shared/assets/check-connection.cjs +3 -3
- package/src/lib/shared/assets/check-connection.js +3 -3
- package/src/lib/shared/assets/check.cjs +3 -3
- package/src/lib/shared/assets/check.js +3 -3
- package/src/lib/shared/assets/chevron-down.cjs +3 -3
- package/src/lib/shared/assets/chevron-down.js +3 -3
- package/src/lib/shared/assets/chevron-left.cjs +3 -3
- package/src/lib/shared/assets/chevron-left.js +3 -3
- package/src/lib/shared/assets/close.cjs +3 -3
- package/src/lib/shared/assets/close.js +3 -3
- package/src/lib/shared/assets/connected-apps.cjs +3 -3
- package/src/lib/shared/assets/connected-apps.js +3 -3
- package/src/lib/shared/assets/copy.cjs +3 -3
- package/src/lib/shared/assets/copy.js +3 -3
- package/src/lib/shared/assets/currency.cjs +3 -3
- package/src/lib/shared/assets/currency.js +3 -3
- package/src/lib/shared/assets/delete-embedded-hero.cjs +57 -0
- package/src/lib/shared/assets/delete-embedded-hero.js +33 -0
- package/src/lib/shared/assets/domain.cjs +3 -3
- package/src/lib/shared/assets/domain.js +3 -3
- package/src/lib/shared/assets/dots-horizontal.cjs +3 -3
- package/src/lib/shared/assets/dots-horizontal.js +3 -3
- package/src/lib/shared/assets/double-arrow-right.cjs +3 -3
- package/src/lib/shared/assets/double-arrow-right.js +3 -3
- package/src/lib/shared/assets/download.cjs +3 -3
- package/src/lib/shared/assets/download.js +3 -3
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +3 -3
- package/src/lib/shared/assets/embedded-wallet-icon.js +3 -3
- package/src/lib/shared/assets/error.cjs +3 -3
- package/src/lib/shared/assets/error.js +3 -3
- package/src/lib/shared/assets/exclamation-circle.cjs +3 -3
- package/src/lib/shared/assets/exclamation-circle.js +3 -3
- package/src/lib/shared/assets/exclamation.cjs +3 -3
- package/src/lib/shared/assets/exclamation.js +3 -3
- package/src/lib/shared/assets/export-embedded-hero.cjs +3 -3
- package/src/lib/shared/assets/export-embedded-hero.js +3 -3
- package/src/lib/shared/assets/export-private-key.cjs +3 -3
- package/src/lib/shared/assets/export-private-key.js +3 -3
- package/src/lib/shared/assets/export-recovery-phrase.cjs +3 -3
- package/src/lib/shared/assets/export-recovery-phrase.js +3 -3
- package/src/lib/shared/assets/externalLink.cjs +3 -3
- package/src/lib/shared/assets/externalLink.js +3 -3
- package/src/lib/shared/assets/eye-off-icon.cjs +3 -3
- package/src/lib/shared/assets/eye-off-icon.js +3 -3
- package/src/lib/shared/assets/eye-outline.cjs +54 -0
- package/src/lib/shared/assets/eye-outline.js +30 -0
- package/src/lib/shared/assets/face-id.cjs +3 -3
- package/src/lib/shared/assets/face-id.js +3 -3
- package/src/lib/shared/assets/footer-eye-icon.cjs +3 -3
- package/src/lib/shared/assets/footer-eye-icon.js +3 -3
- package/src/lib/shared/assets/footer-gas-icon.cjs +3 -3
- package/src/lib/shared/assets/footer-gas-icon.js +3 -3
- package/src/lib/shared/assets/footer-info-icon.cjs +3 -3
- package/src/lib/shared/assets/footer-info-icon.js +3 -3
- package/src/lib/shared/assets/footer-key-icon.cjs +3 -3
- package/src/lib/shared/assets/footer-key-icon.js +3 -3
- package/src/lib/shared/assets/gear.cjs +3 -3
- package/src/lib/shared/assets/gear.js +3 -3
- package/src/lib/shared/assets/index.d.ts +3 -0
- package/src/lib/shared/assets/info.cjs +3 -3
- package/src/lib/shared/assets/info.js +3 -3
- package/src/lib/shared/assets/iphone-face-id.cjs +3 -3
- package/src/lib/shared/assets/iphone-face-id.js +3 -3
- package/src/lib/shared/assets/iphone-touch-id.cjs +3 -3
- package/src/lib/shared/assets/iphone-touch-id.js +3 -3
- package/src/lib/shared/assets/justified-text.cjs +3 -3
- package/src/lib/shared/assets/justified-text.js +3 -3
- package/src/lib/shared/assets/key.cjs +3 -3
- package/src/lib/shared/assets/key.js +3 -3
- package/src/lib/shared/assets/link.cjs +3 -3
- package/src/lib/shared/assets/link.js +3 -3
- package/src/lib/shared/assets/location.cjs +3 -3
- package/src/lib/shared/assets/location.js +3 -3
- package/src/lib/shared/assets/lock.cjs +3 -3
- package/src/lib/shared/assets/lock.js +3 -3
- package/src/lib/shared/assets/logout.cjs +3 -3
- package/src/lib/shared/assets/logout.js +3 -3
- package/src/lib/shared/assets/mail.cjs +3 -3
- package/src/lib/shared/assets/mail.js +3 -3
- package/src/lib/shared/assets/mfa-recovery-icon.cjs +3 -3
- package/src/lib/shared/assets/mfa-recovery-icon.js +3 -3
- package/src/lib/shared/assets/multiple-account-security.cjs +3 -3
- package/src/lib/shared/assets/multiple-account-security.js +3 -3
- package/src/lib/shared/assets/passkey-account-security.cjs +3 -3
- package/src/lib/shared/assets/passkey-account-security.js +3 -3
- package/src/lib/shared/assets/passkey-intro-icon.cjs +3 -3
- package/src/lib/shared/assets/passkey-intro-icon.js +3 -3
- package/src/lib/shared/assets/passkey-intro2.cjs +3 -3
- package/src/lib/shared/assets/passkey-intro2.js +3 -3
- package/src/lib/shared/assets/password-hero.cjs +3 -3
- package/src/lib/shared/assets/password-hero.js +3 -3
- package/src/lib/shared/assets/pencil-alt-icon.cjs +3 -3
- package/src/lib/shared/assets/pencil-alt-icon.js +3 -3
- package/src/lib/shared/assets/pencil.cjs +3 -3
- package/src/lib/shared/assets/pencil.js +3 -3
- package/src/lib/shared/assets/phone.cjs +3 -3
- package/src/lib/shared/assets/phone.js +3 -3
- package/src/lib/shared/assets/profile-outline.cjs +3 -3
- package/src/lib/shared/assets/profile-outline.js +3 -3
- package/src/lib/shared/assets/puzzle.cjs +3 -3
- package/src/lib/shared/assets/puzzle.js +3 -3
- package/src/lib/shared/assets/question-mark.cjs +3 -3
- package/src/lib/shared/assets/question-mark.js +3 -3
- package/src/lib/shared/assets/save-password-hero.cjs +3 -3
- package/src/lib/shared/assets/save-password-hero.js +3 -3
- package/src/lib/shared/assets/send.cjs +3 -3
- package/src/lib/shared/assets/send.js +3 -3
- package/src/lib/shared/assets/settings-outline.cjs +3 -3
- package/src/lib/shared/assets/settings-outline.js +3 -3
- package/src/lib/shared/assets/shield.cjs +3 -3
- package/src/lib/shared/assets/shield.js +3 -3
- package/src/lib/shared/assets/sign-circle.cjs +3 -3
- package/src/lib/shared/assets/sign-circle.js +3 -3
- package/src/lib/shared/assets/sign-in-with-email.cjs +3 -3
- package/src/lib/shared/assets/sign-in-with-email.js +3 -3
- package/src/lib/shared/assets/sign-in-with-phone.cjs +3 -3
- package/src/lib/shared/assets/sign-in-with-phone.js +3 -3
- package/src/lib/shared/assets/size-labels.cjs +3 -3
- package/src/lib/shared/assets/size-labels.js +3 -3
- package/src/lib/shared/assets/smart-wallet.cjs +59 -0
- package/src/lib/shared/assets/smart-wallet.js +35 -0
- package/src/lib/shared/assets/spinner.cjs +3 -3
- package/src/lib/shared/assets/spinner.js +3 -3
- package/src/lib/shared/assets/stroke.cjs +3 -3
- package/src/lib/shared/assets/stroke.js +3 -3
- package/src/lib/shared/assets/switch-horizontal.cjs +3 -3
- package/src/lib/shared/assets/switch-horizontal.js +3 -3
- package/src/lib/shared/assets/three-dots.cjs +3 -3
- package/src/lib/shared/assets/three-dots.js +3 -3
- package/src/lib/shared/assets/tooltip-arrow.cjs +3 -3
- package/src/lib/shared/assets/tooltip-arrow.js +3 -3
- package/src/lib/shared/assets/tooltip.cjs +3 -3
- package/src/lib/shared/assets/tooltip.js +3 -3
- package/src/lib/shared/assets/unlink.cjs +3 -3
- package/src/lib/shared/assets/unlink.js +3 -3
- package/src/lib/shared/assets/user-account-2.cjs +3 -3
- package/src/lib/shared/assets/user-account-2.js +3 -3
- package/src/lib/shared/assets/user-card.cjs +3 -3
- package/src/lib/shared/assets/user-card.js +3 -3
- package/src/lib/shared/assets/user.cjs +3 -3
- package/src/lib/shared/assets/user.js +3 -3
- package/src/lib/shared/assets/wallet-claim-hero.cjs +3 -3
- package/src/lib/shared/assets/wallet-claim-hero.js +3 -3
- package/src/lib/shared/assets/wallet-connect-logo.cjs +3 -3
- package/src/lib/shared/assets/wallet-connect-logo.js +3 -3
- package/src/lib/shared/assets/wallet-outline-v2.cjs +3 -3
- package/src/lib/shared/assets/wallet-outline-v2.js +3 -3
- package/src/lib/shared/assets/wallet-v2.cjs +3 -3
- package/src/lib/shared/assets/wallet-v2.js +3 -3
- package/src/lib/shared/assets/warning-orange.cjs +3 -3
- package/src/lib/shared/assets/warning-orange.js +3 -3
- package/src/lib/shared/assets/warning-red.cjs +3 -3
- package/src/lib/shared/assets/warning-red.js +3 -3
- package/src/lib/shared/assets/work-suitcase.cjs +3 -3
- package/src/lib/shared/assets/work-suitcase.js +3 -3
- package/src/lib/shared/types/embeddedWallets.d.ts +1 -1
- package/src/lib/shared/types/wallets.d.ts +21 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.js +2 -1
- package/src/lib/shared/utils/functions/createWalletGroupFromWalletOption/createWalletGroupFromWalletOption.cjs +22 -0
- package/src/lib/shared/utils/functions/createWalletGroupFromWalletOption/createWalletGroupFromWalletOption.d.ts +9 -0
- package/src/lib/shared/utils/functions/createWalletGroupFromWalletOption/createWalletGroupFromWalletOption.js +18 -0
- package/src/lib/shared/utils/functions/createWalletGroupFromWalletOption/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +3 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +3 -0
- package/src/lib/shared/utils/functions/shouldFetchNonce/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/shouldFetchNonce/shouldFetchNonce.cjs +10 -0
- package/src/lib/shared/utils/functions/shouldFetchNonce/shouldFetchNonce.d.ts +6 -0
- package/src/lib/shared/utils/functions/shouldFetchNonce/shouldFetchNonce.js +6 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +9 -9
- package/src/lib/shared/utils/functions/wallet/createWallet.d.ts +1 -1
- package/src/lib/shared/utils/functions/wallet/createWallet.js +9 -9
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +31 -18
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +6 -3
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js +32 -19
- package/src/lib/store/internalImplementation/store.cjs +6 -4
- package/src/lib/store/internalImplementation/store.d.ts +3 -2
- package/src/lib/store/internalImplementation/store.js +6 -4
- package/src/lib/store/internalImplementation/utils/syncLegacyStorage/syncLegacyStorage.cjs +1 -1
- package/src/lib/store/internalImplementation/utils/syncLegacyStorage/syncLegacyStorage.js +1 -1
- package/src/lib/store/state/dynamicContextProps/defaultDynamicSettings.cjs +27 -0
- package/src/lib/store/state/dynamicContextProps/defaultDynamicSettings.d.ts +19 -0
- package/src/lib/store/state/dynamicContextProps/defaultDynamicSettings.js +22 -0
- package/src/lib/store/state/dynamicContextProps/dynamicContextProps.cjs +78 -0
- package/src/lib/store/state/dynamicContextProps/dynamicContextProps.d.ts +12 -0
- package/src/lib/store/state/dynamicContextProps/dynamicContextProps.js +65 -0
- package/src/lib/store/state/dynamicContextProps/index.d.ts +1 -0
- package/src/lib/store/state/nonce/index.d.ts +1 -0
- package/src/lib/store/state/nonce/nonce.cjs +143 -0
- package/src/lib/store/state/nonce/nonce.d.ts +13 -0
- package/src/lib/store/state/nonce/nonce.js +134 -0
- package/src/lib/store/state/primaryWalletId/index.d.ts +1 -0
- package/src/lib/store/state/primaryWalletId/primaryWalletId.cjs +13 -0
- package/src/lib/store/state/primaryWalletId/primaryWalletId.d.ts +1 -0
- package/src/lib/store/state/primaryWalletId/primaryWalletId.js +6 -0
- package/src/lib/store/state/projectSettings/projectSettings.cjs +23 -15
- package/src/lib/store/state/projectSettings/projectSettings.d.ts +8 -3
- package/src/lib/store/state/projectSettings/projectSettings.js +23 -15
- package/src/lib/store/state/user/storeAuthTokenAndUser/storeAuthTokenAndUser.cjs +3 -0
- package/src/lib/store/state/user/storeAuthTokenAndUser/storeAuthTokenAndUser.js +3 -0
- package/src/lib/store/state/user/user.cjs +11 -1
- package/src/lib/store/state/user/user.d.ts +4 -2
- package/src/lib/store/state/user/user.js +11 -1
- package/src/lib/store/state/walletOptions/index.d.ts +1 -0
- package/src/lib/store/state/walletOptions/walletOptions.cjs +59 -0
- package/src/lib/store/state/walletOptions/walletOptions.d.ts +18 -0
- package/src/lib/store/state/walletOptions/walletOptions.js +46 -0
- package/src/lib/store/stateConfig.cjs +10 -4
- package/src/lib/store/stateConfig.d.ts +3 -2
- package/src/lib/store/stateConfig.js +10 -4
- package/src/lib/store/types.d.ts +14 -7
- package/src/lib/store/utils/settingsUtils/index.d.ts +1 -0
- package/src/lib/store/utils/settingsUtils/settingsUtils.d.ts +22 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/fields.cjs +3 -0
- package/src/lib/utils/constants/fields.d.ts +1 -0
- package/src/lib/utils/constants/fields.js +3 -1
- package/src/lib/utils/constants/index.d.ts +1 -1
- package/src/lib/utils/constants/localStorage.cjs +2 -6
- package/src/lib/utils/constants/localStorage.d.ts +1 -3
- package/src/lib/utils/constants/localStorage.js +2 -4
- package/src/lib/utils/functions/classNames/classNames.cjs +3 -3
- package/src/lib/utils/functions/classNames/classNames.js +1 -1
- package/src/lib/utils/functions/classNames/utils/index.d.ts +0 -1
- package/src/lib/utils/functions/compareChains/compareChains.cjs +15 -0
- package/src/lib/utils/functions/compareChains/compareChains.d.ts +1 -0
- package/src/lib/utils/functions/compareChains/compareChains.js +11 -0
- package/src/lib/utils/functions/compareChains/index.d.ts +1 -0
- package/src/lib/utils/functions/findWalletOptionFor/findWalletOptionFor.cjs +21 -6
- package/src/lib/utils/functions/findWalletOptionFor/findWalletOptionFor.js +21 -6
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -1
- package/src/lib/utils/functions/generateMessages/index.js +1 -1
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +9 -6
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +9 -6
- package/src/lib/utils/functions/getDeviceFingerprint/getDeviceFingerprint.cjs +20 -0
- package/src/lib/utils/functions/getDeviceFingerprint/getDeviceFingerprint.d.ts +1 -0
- package/src/lib/utils/functions/getDeviceFingerprint/getDeviceFingerprint.js +16 -0
- package/src/lib/utils/functions/getDeviceFingerprint/index.d.ts +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.cjs +3 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.js +3 -0
- package/src/lib/utils/functions/getExpiresAt/getExpiresAt.d.ts +1 -1
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.cjs +12 -3
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.js +12 -3
- package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.cjs +1 -1
- package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.d.ts +2 -2
- package/src/lib/utils/functions/getPlatformForConnector/getPlatformForConnector.js +1 -1
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.cjs +3 -0
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.js +3 -0
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.cjs +5 -3
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.js +6 -4
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +4 -2
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +1 -2
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +3 -1
- package/src/lib/utils/functions/getWalletConnectorForWallet/getWalletConnectorForWallet.cjs +4 -4
- package/src/lib/utils/functions/getWalletConnectorForWallet/getWalletConnectorForWallet.js +1 -1
- package/src/lib/utils/functions/index.d.ts +2 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +3 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +3 -0
- package/src/lib/utils/functions/isCookieEnabled/isCookieEnabled.cjs +4 -4
- package/src/lib/utils/functions/isCookieEnabled/isCookieEnabled.js +4 -4
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +3 -0
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +3 -0
- package/src/lib/utils/functions/networksAndChains/networksAndChains.cjs +15 -22
- package/src/lib/utils/functions/networksAndChains/networksAndChains.d.ts +2 -5
- package/src/lib/utils/functions/networksAndChains/networksAndChains.js +15 -20
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.d.ts +1 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +3 -0
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +3 -0
- package/src/lib/utils/functions/updatePrimaryWalletId/index.d.ts +1 -0
- package/src/lib/utils/functions/updatePrimaryWalletId/updatePrimaryWalletId.cjs +40 -0
- package/src/lib/utils/functions/updatePrimaryWalletId/updatePrimaryWalletId.d.ts +1 -0
- package/src/lib/utils/functions/updatePrimaryWalletId/updatePrimaryWalletId.js +36 -0
- package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.cjs +7 -7
- package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.d.ts +1 -3
- package/src/lib/utils/functions/walletListBuilder/utils/applyMultiWalletFilters/applyMultiWalletFilters.js +7 -7
- package/src/lib/utils/functions/walletListBuilder/utils/createMetaMaskMobileFilter/createMetaMaskMobileFilter.cjs +25 -0
- package/src/lib/utils/functions/walletListBuilder/utils/createMetaMaskMobileFilter/createMetaMaskMobileFilter.d.ts +7 -0
- package/src/lib/utils/functions/walletListBuilder/utils/createMetaMaskMobileFilter/createMetaMaskMobileFilter.js +21 -0
- package/src/lib/utils/functions/walletListBuilder/utils/createMetaMaskMobileFilter/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/{filterWalletConnectWallets/filterWalletConnectWallets.cjs → createWalletConnectWalletsFilter/createWalletConnectWalletsFilter.cjs} +6 -6
- package/src/lib/utils/functions/walletListBuilder/utils/{filterWalletConnectWallets/filterWalletConnectWallets.d.ts → createWalletConnectWalletsFilter/createWalletConnectWalletsFilter.d.ts} +1 -4
- package/src/lib/utils/functions/walletListBuilder/utils/createWalletConnectWalletsFilter/createWalletConnectWalletsFilter.js +16 -0
- package/src/lib/utils/functions/walletListBuilder/utils/createWalletConnectWalletsFilter/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +4 -5
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.d.ts +2 -3
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +4 -5
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/index.d.ts +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.cjs +4 -3
- package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.d.ts +1 -2
- package/src/lib/utils/functions/walletListBuilder/utils/staticLinkedWalletFilter/staticLinkedWalletFilter.js +4 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +5 -11
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +3 -4
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +5 -11
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +12 -7
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +12 -7
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +22 -16
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.d.ts +4 -3
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +22 -16
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +11 -5
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +11 -5
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +12 -7
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +12 -7
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs +1 -16
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.d.ts +1 -1
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.js +1 -16
- package/src/lib/utils/hooks/index.d.ts +5 -2
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +16 -8
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +16 -8
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +13 -5
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +13 -5
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +12 -5
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +12 -5
- package/src/lib/utils/hooks/useConnectWallet/updateUserWalletsFromConnectedWallets/updateUserWalletsFromConnectedWallets.cjs +7 -3
- package/src/lib/utils/hooks/useConnectWallet/updateUserWalletsFromConnectedWallets/updateUserWalletsFromConnectedWallets.js +7 -3
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +22 -26
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +1 -3
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +19 -23
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +11 -5
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +11 -5
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +30 -17
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +30 -17
- package/src/lib/utils/hooks/useCreateWalletConnectorOptions/index.d.ts +2 -0
- package/src/lib/utils/hooks/{useWalletConnectorOptions/useWalletConnectorOptions.cjs → useCreateWalletConnectorOptions/useCreateWalletConnectorOptions.cjs} +19 -35
- package/src/lib/utils/hooks/{useWalletConnectorOptions/useWalletConnectorOptions.d.ts → useCreateWalletConnectorOptions/useCreateWalletConnectorOptions.d.ts} +2 -3
- package/src/lib/utils/hooks/{useWalletConnectorOptions/useWalletConnectorOptions.js → useCreateWalletConnectorOptions/useCreateWalletConnectorOptions.js} +14 -30
- package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +3 -0
- package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +3 -0
- package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +3 -0
- package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +3 -0
- package/src/lib/utils/hooks/useCreateWalletGroups/index.d.ts +1 -0
- package/src/lib/utils/hooks/useCreateWalletGroups/useCreateWalletGroups.cjs +46 -0
- package/src/lib/utils/hooks/useCreateWalletGroups/useCreateWalletGroups.d.ts +5 -0
- package/src/lib/utils/hooks/useCreateWalletGroups/useCreateWalletGroups.js +42 -0
- package/src/lib/utils/hooks/useDebounce/index.d.ts +1 -0
- package/src/lib/utils/hooks/useDebounce/useDebounce.cjs +22 -0
- package/src/lib/utils/hooks/useDebounce/useDebounce.d.ts +1 -0
- package/src/lib/utils/hooks/useDebounce/useDebounce.js +18 -0
- package/src/lib/utils/hooks/useDeviceFingerprint/index.d.ts +1 -0
- package/src/lib/utils/hooks/useDeviceFingerprint/useDeviceFingerprint.cjs +67 -0
- package/src/lib/utils/hooks/useDeviceFingerprint/useDeviceFingerprint.d.ts +3 -0
- package/src/lib/utils/hooks/useDeviceFingerprint/useDeviceFingerprint.js +45 -0
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +268 -158
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts +6 -0
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +268 -158
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +11 -5
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +11 -5
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +11 -5
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +11 -5
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +11 -5
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +11 -5
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +16 -7
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.d.ts +1 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +16 -7
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +18 -10
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +19 -11
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +17 -21
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +17 -21
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.cjs +11 -5
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.js +11 -5
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +44 -35
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +44 -35
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +42 -22
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +42 -22
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +11 -5
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +11 -5
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +11 -5
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +11 -5
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.cjs +23 -7
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.js +23 -7
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +17 -11
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +17 -11
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.cjs +11 -5
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.js +11 -5
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +12 -10
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +10 -8
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +11 -5
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +11 -5
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +16 -6
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +16 -6
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +1 -4
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +11 -5
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +11 -5
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +11 -5
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +11 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +11 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +11 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +11 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +11 -5
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.cjs +16 -10
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.js +16 -10
- package/src/lib/utils/hooks/useMfa/useMfa.cjs +11 -5
- package/src/lib/utils/hooks/useMfa/useMfa.js +11 -5
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.cjs +11 -5
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.js +11 -5
- package/src/lib/utils/hooks/useNetworkConfigurationsFromProjectSettings/useNetworkConfigurationsFromProjectSettings.cjs +5 -1
- package/src/lib/utils/hooks/useNetworkConfigurationsFromProjectSettings/useNetworkConfigurationsFromProjectSettings.js +5 -1
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +11 -5
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +11 -5
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +11 -5
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +11 -5
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +11 -5
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +11 -5
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +11 -5
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +11 -5
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +1 -1
- package/src/lib/utils/hooks/usePromise/usePromise.js +1 -1
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.cjs +11 -5
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.js +11 -5
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.cjs +18 -4
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.d.ts +2 -7
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.js +19 -5
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +26 -7
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +26 -7
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +3 -0
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +3 -0
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +15 -9
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +15 -9
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.cjs +10 -5
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.js +10 -5
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +15 -13
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.d.ts +1 -4
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +14 -12
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +33 -16
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.d.ts +1 -2
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +30 -13
- package/src/lib/utils/hooks/useSubdomainCheck/index.d.ts +1 -0
- package/src/lib/utils/hooks/useSubdomainCheck/useSubdomainCheck.cjs +121 -0
- package/src/lib/utils/hooks/useSubdomainCheck/useSubdomainCheck.d.ts +11 -0
- package/src/lib/utils/hooks/useSubdomainCheck/useSubdomainCheck.js +117 -0
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.cjs +15 -9
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.js +15 -9
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.cjs +69 -21
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.d.ts +4 -1
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.js +70 -22
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.cjs +11 -5
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.js +11 -5
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.cjs +11 -5
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.js +11 -5
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.cjs +46 -21
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.d.ts +3 -2
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.js +46 -21
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +25 -8
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.d.ts +1 -1
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +25 -8
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +22 -20
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.d.ts +3 -6
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +22 -20
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.cjs +16 -9
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.js +16 -9
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +11 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +11 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +11 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +11 -5
- package/src/lib/utils/hooks/useValidateSession/handleStoreAndEnvironmentMismatch/handleStoreAndEnvironmentMismatch.cjs +6 -6
- package/src/lib/utils/hooks/useValidateSession/handleStoreAndEnvironmentMismatch/handleStoreAndEnvironmentMismatch.js +1 -1
- package/src/lib/utils/hooks/useValidateSession/handleUserDataOutOfSync/handleUserDataOutOfSync.cjs +3 -0
- package/src/lib/utils/hooks/useValidateSession/handleUserDataOutOfSync/handleUserDataOutOfSync.js +3 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +18 -15
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +1 -2
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +18 -15
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +11 -5
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +11 -5
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +29 -10
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +30 -11
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +4 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.d.ts +2 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +4 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.cjs +15 -3
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.js +15 -3
- package/src/lib/utils/hooks/useWalletConnectors/utils/updateUserWalletsFromLinkedWallets/updateUserWalletsFromLinkedWallets.cjs +6 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/updateUserWalletsFromLinkedWallets/updateUserWalletsFromLinkedWallets.js +6 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +12 -7
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +1 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +12 -7
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +40 -14
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +40 -14
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +40 -22
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.d.ts +13 -1
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +41 -23
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +44 -7
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +44 -7
- package/src/lib/views/AccessBlockedView/AccessBlockedView.cjs +15 -9
- package/src/lib/views/AccessBlockedView/AccessBlockedView.js +15 -9
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +16 -10
- package/src/lib/views/AccountExistsView/AccountExistsView.js +16 -10
- package/src/lib/views/AddNetworkView/AddNetworkView.cjs +109 -0
- package/src/lib/views/AddNetworkView/AddNetworkView.d.ts +12 -0
- package/src/lib/views/AddNetworkView/AddNetworkView.js +105 -0
- package/src/lib/views/AddNetworkView/index.d.ts +1 -0
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +11 -5
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +11 -5
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +11 -5
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +11 -5
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +11 -5
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +11 -5
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +15 -9
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +15 -9
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +16 -10
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +16 -10
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +18 -12
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +18 -12
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +22 -11
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +23 -12
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.cjs +12 -5
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.js +7 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.cjs +16 -10
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.js +16 -10
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +15 -9
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +15 -9
- package/src/lib/views/CollectUserDataView/useFields.cjs +3 -0
- package/src/lib/views/CollectUserDataView/useFields.js +3 -0
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.cjs +18 -12
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js +18 -12
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +17 -11
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +17 -11
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +11 -5
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +11 -5
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +18 -12
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +18 -12
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +15 -9
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +15 -9
- package/src/lib/views/EmailVerification/EmailVerification.cjs +26 -18
- package/src/lib/views/EmailVerification/EmailVerification.js +26 -18
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +16 -10
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +16 -10
- package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.cjs +160 -0
- package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.d.ts +2 -0
- package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.js +156 -0
- package/src/lib/views/EmbeddedDeleteView/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +42 -17
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +42 -17
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +10 -7
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +10 -7
- package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +16 -10
- package/src/lib/views/EnterPasswordView/EnterPasswordView.js +16 -10
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.cjs +15 -9
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.js +15 -9
- package/src/lib/views/FarcasterQrCodeView/FarcasterQrCodeView.cjs +10 -14
- package/src/lib/views/FarcasterQrCodeView/FarcasterQrCodeView.js +11 -15
- package/src/lib/views/GlobalWalletConfirmView/GlobalWalletConfirmView.cjs +15 -9
- package/src/lib/views/GlobalWalletConfirmView/GlobalWalletConfirmView.js +15 -9
- package/src/lib/views/GlobalWalletMaliciousView/GlobalWalletMaliciousView.cjs +14 -8
- package/src/lib/views/GlobalWalletMaliciousView/GlobalWalletMaliciousView.js +14 -8
- package/src/lib/views/LoginView/LoginView.cjs +5 -3
- package/src/lib/views/LoginView/LoginView.js +5 -3
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.cjs +21 -15
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.js +21 -15
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +16 -10
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +16 -10
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +16 -10
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +16 -10
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +11 -5
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +11 -5
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +15 -10
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +15 -10
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +15 -9
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +15 -9
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +11 -5
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +11 -5
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.cjs +15 -9
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.js +15 -9
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +14 -8
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +14 -8
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +18 -12
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.d.ts +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +18 -12
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +19 -10
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +19 -10
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +11 -5
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +11 -5
- package/src/lib/views/MergeUserAccountsConflictsView/MergeUserAccountsConflictsView.cjs +15 -9
- package/src/lib/views/MergeUserAccountsConflictsView/MergeUserAccountsConflictsView.js +15 -9
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +11 -5
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +11 -5
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.cjs +15 -9
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.js +15 -9
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.cjs +18 -12
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.js +18 -12
- package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.cjs +17 -11
- package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.js +17 -11
- package/src/lib/views/MfaRecoveryView/MfaRecoveryView.cjs +15 -9
- package/src/lib/views/MfaRecoveryView/MfaRecoveryView.js +15 -9
- package/src/lib/views/MfaSecureDeviceHelpView/MfaSecureDeviceHelpView.cjs +14 -8
- package/src/lib/views/MfaSecureDeviceHelpView/MfaSecureDeviceHelpView.js +14 -8
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.cjs +17 -11
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.js +17 -11
- package/src/lib/views/MfaVerificationView/MfaVerificationView.cjs +12 -6
- package/src/lib/views/MfaVerificationView/MfaVerificationView.js +12 -6
- package/src/lib/views/MobileWalletRedirectView/MobileWalletRedirectView.cjs +127 -0
- package/src/lib/views/MobileWalletRedirectView/MobileWalletRedirectView.d.ts +6 -0
- package/src/lib/views/MobileWalletRedirectView/MobileWalletRedirectView.js +123 -0
- package/src/lib/views/MobileWalletRedirectView/index.d.ts +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +18 -12
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +18 -12
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +16 -10
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +16 -10
- package/src/lib/views/NoAccess/NoAccess.cjs +19 -13
- package/src/lib/views/NoAccess/NoAccess.js +19 -13
- package/src/lib/views/NoAccess/useNoAccessText.cjs +11 -5
- package/src/lib/views/NoAccess/useNoAccessText.js +11 -5
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +20 -15
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +21 -16
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +15 -9
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +15 -9
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +15 -9
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +15 -9
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +15 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +15 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +14 -8
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +14 -8
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +16 -10
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +16 -10
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +14 -8
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.d.ts +1 -1
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +14 -8
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +11 -5
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +11 -5
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +18 -12
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +18 -12
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +11 -5
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +16 -10
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +16 -10
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +16 -10
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +16 -10
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.cjs +13 -9
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.d.ts +2 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.js +13 -9
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +12 -9
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +12 -9
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +15 -9
- package/src/lib/views/PendingConnectView/PendingConnectView.js +15 -9
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +15 -9
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +15 -9
- package/src/lib/views/QrCodeView/QrCodeView.cjs +13 -8
- package/src/lib/views/QrCodeView/QrCodeView.js +14 -9
- package/src/lib/views/SandboxMaximumThresholdReached/SandboxMaximumThresholdReached.cjs +15 -9
- package/src/lib/views/SandboxMaximumThresholdReached/SandboxMaximumThresholdReached.js +15 -9
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +16 -10
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +16 -10
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +12 -81
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.d.ts +6 -1
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +13 -82
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +15 -9
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +15 -9
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +15 -13
- package/src/lib/views/SendBalanceView/SendBalanceView.js +16 -14
- package/src/lib/views/SmsVerification/SmsVerification.cjs +17 -11
- package/src/lib/views/SmsVerification/SmsVerification.js +17 -11
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +12 -6
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +12 -6
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +17 -11
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +18 -12
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +14 -8
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +14 -8
- package/src/lib/views/SubdomainField/SubdomainField.cjs +150 -0
- package/src/lib/views/SubdomainField/SubdomainField.d.ts +5 -0
- package/src/lib/views/SubdomainField/SubdomainField.js +146 -0
- package/src/lib/views/SubdomainField/index.d.ts +1 -0
- package/src/lib/views/SyncWalletView/AutoReconnectingView/AutoReconnectingView.cjs +16 -10
- package/src/lib/views/SyncWalletView/AutoReconnectingView/AutoReconnectingView.js +16 -10
- package/src/lib/views/SyncWalletView/ReconnectWithQrCodeView/ReconnectWithQrCodeView.cjs +19 -12
- package/src/lib/views/SyncWalletView/ReconnectWithQrCodeView/ReconnectWithQrCodeView.js +20 -13
- package/src/lib/views/SyncWalletView/SwitchWalletView/SwitchWalletView.cjs +15 -9
- package/src/lib/views/SyncWalletView/SwitchWalletView/SwitchWalletView.js +15 -9
- package/src/lib/views/SyncWalletView/SyncWalletView.cjs +11 -5
- package/src/lib/views/SyncWalletView/SyncWalletView.js +11 -5
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +274 -54
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +272 -56
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +16 -10
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +16 -10
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +11 -5
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +11 -5
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +17 -11
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +17 -11
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +11 -79
- package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +6 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.js +12 -80
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +17 -18
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +17 -18
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +15 -9
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +15 -9
- package/src/lib/views/WalletList/WalletList.cjs +33 -23
- package/src/lib/views/WalletList/WalletList.d.ts +4 -1
- package/src/lib/views/WalletList/WalletList.js +34 -24
- package/src/lib/views/WalletList/WalletListForDefaultConnection/WalletListForDefaultConnection.cjs +15 -0
- package/src/lib/views/WalletList/WalletListForDefaultConnection/WalletListForDefaultConnection.d.ts +6 -0
- package/src/lib/views/WalletList/WalletListForDefaultConnection/WalletListForDefaultConnection.js +11 -0
- package/src/lib/views/WalletList/WalletListForDefaultConnection/index.d.ts +1 -0
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +14 -8
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.d.ts +1 -1
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +14 -8
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +32 -28
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.d.ts +18 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +33 -29
- package/src/lib/views/WalletList/WalletListItem/index.d.ts +0 -1
- package/src/lib/views/WalletList/data.cjs +1 -0
- package/src/lib/views/WalletList/data.d.ts +1 -1
- package/src/lib/views/WalletList/data.js +1 -0
- package/src/lib/views/WalletList/hooks/useTabState.d.ts +2 -2
- package/src/lib/views/WalletList/utils/getEffectiveRecommendedWallets.d.ts +1 -2
- package/src/lib/views/WalletList/utils/getEffectiveWalletFilter.d.ts +1 -1
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +17 -11
- package/src/lib/views/WalletLockedView/WalletLockedView.js +17 -11
- package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +17 -9
- package/src/lib/views/WalletRedirectView/WalletRedirectView.js +17 -9
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +13 -7
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +13 -7
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +21 -23
- package/src/lib/views/WalletUsedView/WalletUsedView.js +21 -23
- package/src/lib/views/index.d.ts +1 -0
- package/src/lib/views/viewToComponentMap.cjs +40 -28
- package/src/lib/views/viewToComponentMap.d.ts +20 -5
- package/src/lib/views/viewToComponentMap.js +40 -28
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +21 -11
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +21 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +17 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +17 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +11 -5
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +11 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +11 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +11 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +14 -8
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +20 -14
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +20 -14
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +11 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +11 -5
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +18 -18
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +18 -18
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +17 -11
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +17 -11
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +11 -5
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +11 -5
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +16 -10
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +16 -10
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +35 -13
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +9 -4
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +35 -14
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +45 -27
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +45 -27
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceItem/TokenBalanceItem.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceItem/TokenBalanceItem.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceList/TokenBalanceList.cjs +17 -11
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceList/TokenBalanceList.d.ts +4 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceList/TokenBalanceList.js +17 -11
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.js +14 -8
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +11 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +16 -10
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +27 -19
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +27 -19
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +11 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +19 -12
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +19 -12
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +14 -8
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +15 -9
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +13 -7
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +13 -7
- package/src/lib/widgets/DynamicWidget/components/{UnknownWalletInformation/UnknownWalletInformation.cjs → WalletDetailsCard/WalletDetailsCard.cjs} +27 -32
- package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/WalletDetailsCard.d.ts +12 -0
- package/src/lib/widgets/DynamicWidget/components/{UnknownWalletInformation/UnknownWalletInformation.js → WalletDetailsCard/WalletDetailsCard.js} +27 -32
- package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +5 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.d.ts +2 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +5 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +14 -8
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +11 -5
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +11 -5
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +12 -6
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +15 -8
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +15 -8
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +23 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +23 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +12 -6
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +11 -5
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.cjs +3 -4
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.js +3 -4
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +11 -5
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +14 -8
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +18 -10
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +18 -10
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +17 -12
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +19 -14
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +12 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +15 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +11 -5
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +16 -10
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +21 -16
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +22 -17
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +11 -5
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.js +14 -8
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +16 -10
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.cjs +14 -8
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.js +14 -8
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.cjs +17 -11
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.js +17 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +16 -10
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +16 -10
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +15 -9
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +11 -5
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +11 -5
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +15 -9
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +15 -9
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +15 -9
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +15 -9
- package/src/lib/components/Icon/Icon.types.d.ts +0 -10
- package/src/lib/components/TransactionOriginDestination/TransactionOriginDestination.d.ts +0 -11
- package/src/lib/context/DynamicContext/types/WalletListViewTabItem.d.ts +0 -11
- package/src/lib/context/DynamicContext/validators/validators.cjs +0 -16
- package/src/lib/context/DynamicContext/validators/validators.js +0 -12
- package/src/lib/store/state/environmentId.cjs +0 -12
- package/src/lib/store/state/environmentId.d.ts +0 -1
- package/src/lib/store/state/environmentId.js +0 -6
- package/src/lib/store/state/walletConnectorOptions.cjs +0 -13
- package/src/lib/store/state/walletConnectorOptions.d.ts +0 -1
- package/src/lib/store/state/walletConnectorOptions.js +0 -6
- package/src/lib/utils/constants/onrampProviders.cjs +0 -8
- package/src/lib/utils/constants/onrampProviders.js +0 -4
- package/src/lib/utils/functions/classNames/utils/isString.cjs +0 -8
- package/src/lib/utils/functions/classNames/utils/isString.d.ts +0 -1
- package/src/lib/utils/functions/classNames/utils/isString.js +0 -4
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.cjs +0 -10
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.js +0 -6
- package/src/lib/utils/functions/walletListBuilder/utils/filterWalletConnectWallets/filterWalletConnectWallets.js +0 -16
- package/src/lib/utils/functions/walletListBuilder/utils/filterWalletConnectWallets/index.d.ts +0 -1
- package/src/lib/utils/hooks/useFetchNonce/index.d.ts +0 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +0 -64
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.d.ts +0 -3
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +0 -60
- package/src/lib/utils/hooks/usePrimaryWalletId/index.d.ts +0 -1
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +0 -47
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.d.ts +0 -11
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +0 -43
- package/src/lib/utils/hooks/useWalletConnectorOptions/index.d.ts +0 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.cjs +0 -8
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.js +0 -4
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +0 -17
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.d.ts +0 -4
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/index.d.ts +0 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.d.ts +0 -9
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/index.d.ts +0 -1
- /package/src/lib/components/{OverlayCard → OverlayCardBase}/OverlayCardTarget/OverlayCardTarget.cjs +0 -0
- /package/src/lib/components/{OverlayCard → OverlayCardBase}/OverlayCardTarget/OverlayCardTarget.d.ts +0 -0
- /package/src/lib/components/{OverlayCard → OverlayCardBase}/OverlayCardTarget/OverlayCardTarget.js +0 -0
- /package/src/lib/components/{OverlayCard → OverlayCardBase}/OverlayCardTarget/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/errors/ConnectorSetupError.cjs +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/errors/ConnectorSetupError.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/errors/ConnectorSetupError.js +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/errors/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyMagicIsSetup/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyMagicIsSetup/verifyMagicIsSetup.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyRequiredConnectorsAreSetup/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.cjs +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.js +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyZeroDevIsSetup/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorOptions → useCreateWalletConnectorOptions}/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.d.ts +0 -0
|
@@ -23,15 +23,19 @@ require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
|
23
23
|
require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
24
24
|
require('@dynamic-labs/multi-wallet');
|
|
25
25
|
require('react-international-phone');
|
|
26
|
+
require('../../../store/state/nonce/nonce.cjs');
|
|
26
27
|
require('../../../config/ApiEndpoint.cjs');
|
|
27
28
|
require('../../../store/state/user/user.cjs');
|
|
28
29
|
require('../../../locale/locale.cjs');
|
|
29
30
|
require('../../../store/state/projectSettings/projectSettings.cjs');
|
|
31
|
+
require('../../../store/state/dynamicContextProps/dynamicContextProps.cjs');
|
|
32
|
+
require('../../../store/state/primaryWalletId/primaryWalletId.cjs');
|
|
30
33
|
require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
31
34
|
require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
32
35
|
var UserWalletsContext = require('../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
33
36
|
require('../../../context/VerificationContext/VerificationContext.cjs');
|
|
34
37
|
require('react-dom');
|
|
38
|
+
require('../../functions/compareChains/compareChains.cjs');
|
|
35
39
|
require('../../../context/WalletContext/WalletContext.cjs');
|
|
36
40
|
var useSmartWallets = require('../useSmartWallets/useSmartWallets.cjs');
|
|
37
41
|
require('../useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.cjs');
|
|
@@ -45,8 +49,7 @@ require('../../../views/CollectUserDataView/useFields.cjs');
|
|
|
45
49
|
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
46
50
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
47
51
|
require('@dynamic-labs/rpc-providers');
|
|
48
|
-
require('../../../store/state/
|
|
49
|
-
require('../../../store/state/walletConnectorOptions.cjs');
|
|
52
|
+
require('../../../store/state/walletOptions/walletOptions.cjs');
|
|
50
53
|
require('react-i18next');
|
|
51
54
|
require('../../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
|
|
52
55
|
require('../../../components/Alert/Alert.cjs');
|
|
@@ -56,27 +59,30 @@ require('../../../components/InlineWidget/InlineWidget.cjs');
|
|
|
56
59
|
require('../../../components/Input/Input.cjs');
|
|
57
60
|
require('../../../components/IsBrowser/IsBrowser.cjs');
|
|
58
61
|
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
62
|
+
require('../../../components/OverlayCard/OverlayCard.cjs');
|
|
59
63
|
require('../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
60
64
|
require('../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
61
65
|
require('../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
62
|
-
require('../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
63
66
|
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
64
67
|
require('../../../components/Popper/Popper/Popper.cjs');
|
|
65
68
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
66
69
|
require('react-focus-lock');
|
|
67
70
|
require('qrcode');
|
|
68
71
|
require('formik');
|
|
72
|
+
require('../useSubdomainCheck/useSubdomainCheck.cjs');
|
|
69
73
|
require('../../../context/FooterAnimationContext/index.cjs');
|
|
70
74
|
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
75
|
+
require('../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
71
76
|
require('../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
72
77
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
73
78
|
require('@hcaptcha/react-hcaptcha');
|
|
74
79
|
require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
75
|
-
require('../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
76
80
|
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
77
81
|
require('../../../store/state/sendBalances.cjs');
|
|
82
|
+
require('@dynamic-labs/ethereum-aa');
|
|
83
|
+
require('../../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
78
84
|
require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
79
|
-
require('../../../views/TransactionConfirmationView/
|
|
85
|
+
require('../../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
|
|
80
86
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
81
87
|
require('../../../../index.cjs');
|
|
82
88
|
require('../../../store/state/tokenBalances.cjs');
|
|
@@ -113,17 +119,17 @@ const useSwitchWallet = () => {
|
|
|
113
119
|
const { getEOAWallet } = useSmartWallets.useSmartWallets();
|
|
114
120
|
const userWallets = UserWalletsContext.useUserWallets();
|
|
115
121
|
return React.useCallback((walletId) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
116
|
-
var _a, _b, _c
|
|
122
|
+
var _a, _b, _c;
|
|
117
123
|
const wallet = userWallets.find((wallet) => wallet.id === walletId);
|
|
118
124
|
if (!wallet) {
|
|
119
125
|
throw new Error(`Wallet with id ${walletId} not found`);
|
|
120
126
|
}
|
|
121
|
-
if (
|
|
127
|
+
if (!wallet.connector.isAvailable) {
|
|
122
128
|
throw new Error("Cannot make this wallet active, since this wallet doesn't have a compatible connector on this device.");
|
|
123
129
|
}
|
|
124
130
|
const eoaWallet = getEOAWallet(wallet);
|
|
125
131
|
if (eoaWallet && walletConnectorCore.isTurnkeyWalletConnector(eoaWallet.connector)) {
|
|
126
|
-
const sortedVcs = (
|
|
132
|
+
const sortedVcs = (_b = (_a = eoaWallet.connector) === null || _a === void 0 ? void 0 : _a.verifiedCredentials) === null || _b === void 0 ? void 0 : _b.reduce((acc, vc) => {
|
|
127
133
|
if (vc.address === eoaWallet.address) {
|
|
128
134
|
return [vc, ...acc];
|
|
129
135
|
}
|
|
@@ -134,7 +140,7 @@ const useSwitchWallet = () => {
|
|
|
134
140
|
}
|
|
135
141
|
}
|
|
136
142
|
const { connector } = wallet;
|
|
137
|
-
const email = (
|
|
143
|
+
const email = (_c = user === null || user === void 0 ? void 0 : user.verifiedCredentials.find((verifiedCredential) => verifiedCredential.format === 'email')) === null || _c === void 0 ? void 0 : _c.email;
|
|
138
144
|
if (walletConnectorCore.isEmailWalletConnector(connector) && email) {
|
|
139
145
|
connector.setEmail(email);
|
|
140
146
|
}
|
|
@@ -19,15 +19,19 @@ import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
|
19
19
|
import '../../../context/ErrorContext/ErrorContext.js';
|
|
20
20
|
import '@dynamic-labs/multi-wallet';
|
|
21
21
|
import 'react-international-phone';
|
|
22
|
+
import '../../../store/state/nonce/nonce.js';
|
|
22
23
|
import '../../../config/ApiEndpoint.js';
|
|
23
24
|
import '../../../store/state/user/user.js';
|
|
24
25
|
import '../../../locale/locale.js';
|
|
25
26
|
import '../../../store/state/projectSettings/projectSettings.js';
|
|
27
|
+
import '../../../store/state/dynamicContextProps/dynamicContextProps.js';
|
|
28
|
+
import '../../../store/state/primaryWalletId/primaryWalletId.js';
|
|
26
29
|
import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
27
30
|
import '../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
28
31
|
import { useUserWallets } from '../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
29
32
|
import '../../../context/VerificationContext/VerificationContext.js';
|
|
30
33
|
import 'react-dom';
|
|
34
|
+
import '../../functions/compareChains/compareChains.js';
|
|
31
35
|
import '../../../context/WalletContext/WalletContext.js';
|
|
32
36
|
import { useSmartWallets } from '../useSmartWallets/useSmartWallets.js';
|
|
33
37
|
import '../useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
|
|
@@ -41,8 +45,7 @@ import '../../../views/CollectUserDataView/useFields.js';
|
|
|
41
45
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
42
46
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
43
47
|
import '@dynamic-labs/rpc-providers';
|
|
44
|
-
import '../../../store/state/
|
|
45
|
-
import '../../../store/state/walletConnectorOptions.js';
|
|
48
|
+
import '../../../store/state/walletOptions/walletOptions.js';
|
|
46
49
|
import 'react-i18next';
|
|
47
50
|
import '../../../components/Accordion/components/AccordionItem/AccordionItem.js';
|
|
48
51
|
import '../../../components/Alert/Alert.js';
|
|
@@ -52,27 +55,30 @@ import '../../../components/InlineWidget/InlineWidget.js';
|
|
|
52
55
|
import '../../../components/Input/Input.js';
|
|
53
56
|
import '../../../components/IsBrowser/IsBrowser.js';
|
|
54
57
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
|
+
import '../../../components/OverlayCard/OverlayCard.js';
|
|
55
59
|
import '../../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
56
60
|
import '../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
57
61
|
import '../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
58
|
-
import '../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
59
62
|
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
60
63
|
import '../../../components/Popper/Popper/Popper.js';
|
|
61
64
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
62
65
|
import 'react-focus-lock';
|
|
63
66
|
import 'qrcode';
|
|
64
67
|
import 'formik';
|
|
68
|
+
import '../useSubdomainCheck/useSubdomainCheck.js';
|
|
65
69
|
import '../../../context/FooterAnimationContext/index.js';
|
|
66
70
|
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
71
|
+
import '../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
67
72
|
import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
68
73
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
69
74
|
import '@hcaptcha/react-hcaptcha';
|
|
70
75
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
71
|
-
import '../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
72
76
|
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
73
77
|
import '../../../store/state/sendBalances.js';
|
|
78
|
+
import '@dynamic-labs/ethereum-aa';
|
|
79
|
+
import '../../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.js';
|
|
74
80
|
import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
75
|
-
import '../../../views/TransactionConfirmationView/
|
|
81
|
+
import '../../../views/TransactionConfirmationView/TransactionConfirmationView.js';
|
|
76
82
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
77
83
|
import '../../../../index.js';
|
|
78
84
|
import '../../../store/state/tokenBalances.js';
|
|
@@ -109,17 +115,17 @@ const useSwitchWallet = () => {
|
|
|
109
115
|
const { getEOAWallet } = useSmartWallets();
|
|
110
116
|
const userWallets = useUserWallets();
|
|
111
117
|
return useCallback((walletId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
112
|
-
var _a, _b, _c
|
|
118
|
+
var _a, _b, _c;
|
|
113
119
|
const wallet = userWallets.find((wallet) => wallet.id === walletId);
|
|
114
120
|
if (!wallet) {
|
|
115
121
|
throw new Error(`Wallet with id ${walletId} not found`);
|
|
116
122
|
}
|
|
117
|
-
if (
|
|
123
|
+
if (!wallet.connector.isAvailable) {
|
|
118
124
|
throw new Error("Cannot make this wallet active, since this wallet doesn't have a compatible connector on this device.");
|
|
119
125
|
}
|
|
120
126
|
const eoaWallet = getEOAWallet(wallet);
|
|
121
127
|
if (eoaWallet && isTurnkeyWalletConnector(eoaWallet.connector)) {
|
|
122
|
-
const sortedVcs = (
|
|
128
|
+
const sortedVcs = (_b = (_a = eoaWallet.connector) === null || _a === void 0 ? void 0 : _a.verifiedCredentials) === null || _b === void 0 ? void 0 : _b.reduce((acc, vc) => {
|
|
123
129
|
if (vc.address === eoaWallet.address) {
|
|
124
130
|
return [vc, ...acc];
|
|
125
131
|
}
|
|
@@ -130,7 +136,7 @@ const useSwitchWallet = () => {
|
|
|
130
136
|
}
|
|
131
137
|
}
|
|
132
138
|
const { connector } = wallet;
|
|
133
|
-
const email = (
|
|
139
|
+
const email = (_c = user === null || user === void 0 ? void 0 : user.verifiedCredentials.find((verifiedCredential) => verifiedCredential.format === 'email')) === null || _c === void 0 ? void 0 : _c.email;
|
|
134
140
|
if (isEmailWalletConnector(connector) && email) {
|
|
135
141
|
connector.setEmail(email);
|
|
136
142
|
}
|
|
@@ -18,22 +18,28 @@ require('@dynamic-labs/wallet-book');
|
|
|
18
18
|
require('../../constants/colors.cjs');
|
|
19
19
|
require('../../constants/values.cjs');
|
|
20
20
|
require('../../../store/state/loadingAndLifecycle.cjs');
|
|
21
|
+
var useLocalStorage = require('../../../shared/utils/hooks/useLocalStorage/useLocalStorage.cjs');
|
|
21
22
|
require('../../../shared/consts/index.cjs');
|
|
22
23
|
var useDynamicEvents = require('../events/useDynamicEvents/useDynamicEvents.cjs');
|
|
23
24
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
24
25
|
require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
26
|
+
var findEmbeddedWalletFromVerifiedCredentials = require('../../functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs');
|
|
25
27
|
require('@dynamic-labs/multi-wallet');
|
|
26
28
|
require('react-international-phone');
|
|
29
|
+
require('../../../store/state/nonce/nonce.cjs');
|
|
27
30
|
require('../../../config/ApiEndpoint.cjs');
|
|
28
31
|
require('../../../store/state/user/user.cjs');
|
|
29
32
|
require('../../../locale/locale.cjs');
|
|
30
33
|
require('../../../store/state/projectSettings/projectSettings.cjs');
|
|
34
|
+
require('../../../store/state/dynamicContextProps/dynamicContextProps.cjs');
|
|
35
|
+
require('../../../store/state/primaryWalletId/primaryWalletId.cjs');
|
|
31
36
|
require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
32
37
|
require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
33
38
|
require('../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
34
39
|
require('../../../events/dynamicEvents.cjs');
|
|
35
40
|
require('../../../context/VerificationContext/VerificationContext.cjs');
|
|
36
41
|
require('react-dom');
|
|
42
|
+
require('../../functions/compareChains/compareChains.cjs');
|
|
37
43
|
require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
38
44
|
require('../useUserUpdateRequest/useUpdateUser/userFieldsSchema.cjs');
|
|
39
45
|
require('@dynamic-labs/types');
|
|
@@ -44,8 +50,7 @@ require('../../../views/CollectUserDataView/useFields.cjs');
|
|
|
44
50
|
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
45
51
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
46
52
|
require('@dynamic-labs/rpc-providers');
|
|
47
|
-
require('../../../store/state/
|
|
48
|
-
require('../../../store/state/walletConnectorOptions.cjs');
|
|
53
|
+
require('../../../store/state/walletOptions/walletOptions.cjs');
|
|
49
54
|
require('react-i18next');
|
|
50
55
|
require('../../../components/Accordion/components/AccordionItem/AccordionItem.cjs');
|
|
51
56
|
require('../../../components/Alert/Alert.cjs');
|
|
@@ -55,10 +60,10 @@ require('../../../components/InlineWidget/InlineWidget.cjs');
|
|
|
55
60
|
require('../../../components/Input/Input.cjs');
|
|
56
61
|
require('../../../components/IsBrowser/IsBrowser.cjs');
|
|
57
62
|
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
63
|
+
require('../../../components/OverlayCard/OverlayCard.cjs');
|
|
58
64
|
require('../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
59
65
|
require('../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
60
66
|
require('../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
61
|
-
require('../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
62
67
|
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
63
68
|
require('../../../components/Popper/Popper/Popper.cjs');
|
|
64
69
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
@@ -66,65 +71,98 @@ require('react-focus-lock');
|
|
|
66
71
|
require('qrcode');
|
|
67
72
|
var WalletContext = require('../../../context/WalletContext/WalletContext.cjs');
|
|
68
73
|
require('formik');
|
|
74
|
+
require('../useSubdomainCheck/useSubdomainCheck.cjs');
|
|
69
75
|
require('../../../context/FooterAnimationContext/index.cjs');
|
|
70
76
|
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
77
|
+
require('../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
71
78
|
require('../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
72
79
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
73
80
|
require('@hcaptcha/react-hcaptcha');
|
|
74
81
|
require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
75
|
-
require('../../../context/IpConfigurationContext/IpConfigurationContext.cjs');
|
|
76
82
|
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
77
83
|
require('../../../store/state/sendBalances.cjs');
|
|
84
|
+
require('@dynamic-labs/ethereum-aa');
|
|
85
|
+
require('../../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
78
86
|
require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
79
|
-
require('../../../views/TransactionConfirmationView/
|
|
87
|
+
require('../../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
|
|
80
88
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
89
|
+
var useEmbeddedReveal = require('../useEmbeddedReveal/useEmbeddedReveal.cjs');
|
|
81
90
|
require('../../../../index.cjs');
|
|
82
91
|
require('../../../store/state/tokenBalances.cjs');
|
|
83
92
|
require('../../../shared/utils/functions/getInitialUrl/getInitialUrl.cjs');
|
|
84
93
|
var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
85
94
|
require('../useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.cjs');
|
|
86
95
|
|
|
96
|
+
let acknowledgedExportPrompt = false;
|
|
87
97
|
const useSyncEmbeddedWalletFlow = () => {
|
|
88
|
-
const { projectSettings, user, primaryWalletId, walletConnectorOptions, setShowAuthFlow, } = useInternalDynamicContext.useInternalDynamicContext();
|
|
98
|
+
const { projectSettings, user, primaryWalletId, walletConnectorOptions, primaryWallet, setShowAuthFlow, } = useInternalDynamicContext.useInternalDynamicContext();
|
|
89
99
|
const { isLoadingEmbeddedWallet } = WalletContext.useWalletContext();
|
|
90
100
|
const { loading: globalLoading } = LoadingContext.useLoadingContext();
|
|
91
|
-
const {
|
|
101
|
+
const { initExportProcess } = useEmbeddedReveal.useEmbeddedReveal();
|
|
102
|
+
const [wasShownExportPrompt, setWasShownExportPrompt] = useLocalStorage.useLocalStorage(`dynamic_export_prompt-${user === null || user === void 0 ? void 0 : user.userId}`, false, (data) => Boolean(data));
|
|
103
|
+
const { createEmbeddedWallet, shouldAutoCreateEmbeddedWallet, shouldPromptForKeyExport, } = useEmbeddedWallet.useEmbeddedWallet();
|
|
92
104
|
const triggeredCreate = React.useRef(false);
|
|
105
|
+
const handleAcknowledgeExportPrompt = React.useCallback((value = true) => {
|
|
106
|
+
acknowledgedExportPrompt = value;
|
|
107
|
+
setWasShownExportPrompt(value);
|
|
108
|
+
}, [setWasShownExportPrompt]);
|
|
93
109
|
useDynamicEvents.useInternalDynamicEvents('logout', () => {
|
|
94
110
|
triggeredCreate.current = false;
|
|
111
|
+
acknowledgedExportPrompt = false;
|
|
95
112
|
});
|
|
96
113
|
// this is used to trigger createEmbeddedWallet
|
|
97
114
|
// when user didn't create a passkey after login,
|
|
98
115
|
// we force them to created it before they can use the app
|
|
99
116
|
// ** It must be an useEffect because some of the dependencies are async
|
|
100
117
|
React.useEffect(() => {
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
118
|
+
const syncEmbeddedWallet = () => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
119
|
+
const isNewUser = user === null || user === void 0 ? void 0 : user.newUser;
|
|
120
|
+
if (shouldSyncCreateWallet) {
|
|
121
|
+
triggeredCreate.current = true;
|
|
122
|
+
try {
|
|
123
|
+
yield createEmbeddedWallet();
|
|
124
|
+
}
|
|
125
|
+
catch (error) {
|
|
126
|
+
if (error instanceof utils.EmbeddedWalletException) {
|
|
127
|
+
logger.logger.debug('Error creating embedded wallet', error);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
logger.logger.error('Error creating embedded wallet', error);
|
|
131
|
+
}
|
|
132
|
+
setShowAuthFlow(false);
|
|
133
|
+
}
|
|
105
134
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
135
|
+
if (shouldSyncPromptKeyExport &&
|
|
136
|
+
isNewUser &&
|
|
137
|
+
findEmbeddedWalletFromVerifiedCredentials.findEmbeddedWalletFromVerifiedCredentials(user) &&
|
|
138
|
+
primaryWallet) {
|
|
139
|
+
try {
|
|
140
|
+
setShowAuthFlow(true);
|
|
141
|
+
yield initExportProcess(true, true);
|
|
109
142
|
}
|
|
110
|
-
|
|
111
|
-
logger.logger.error('Error
|
|
143
|
+
catch (error) {
|
|
144
|
+
logger.logger.error('Error initializing embedded wallet export', error);
|
|
145
|
+
setShowAuthFlow(false);
|
|
112
146
|
}
|
|
113
|
-
setShowAuthFlow(false);
|
|
114
147
|
}
|
|
115
148
|
});
|
|
116
149
|
const shouldCreateWallet = shouldAutoCreateEmbeddedWallet();
|
|
117
|
-
|
|
150
|
+
const shouldSyncCreateWallet = shouldCreateWallet && !triggeredCreate.current;
|
|
151
|
+
if (wasShownExportPrompt && !acknowledgedExportPrompt)
|
|
152
|
+
acknowledgedExportPrompt = true;
|
|
153
|
+
const shouldPromptKeyExport = shouldPromptForKeyExport();
|
|
154
|
+
const shouldSyncPromptKeyExport = shouldPromptKeyExport && !acknowledgedExportPrompt;
|
|
155
|
+
const shouldSyncEmbeddedWallet = shouldSyncCreateWallet || shouldSyncPromptKeyExport;
|
|
156
|
+
if (!shouldSyncEmbeddedWallet ||
|
|
118
157
|
!user ||
|
|
119
158
|
!projectSettings ||
|
|
120
159
|
!walletConnectorOptions.length || // no connectors to use for the embedded wallet
|
|
121
160
|
isLoadingEmbeddedWallet || // already has a wallet
|
|
122
|
-
globalLoading
|
|
123
|
-
triggeredCreate.current // already triggered
|
|
161
|
+
globalLoading // this will be true if auth is in progress
|
|
124
162
|
) {
|
|
125
163
|
return;
|
|
126
164
|
}
|
|
127
|
-
|
|
165
|
+
syncEmbeddedWallet();
|
|
128
166
|
}, [
|
|
129
167
|
user,
|
|
130
168
|
projectSettings,
|
|
@@ -135,7 +173,17 @@ const useSyncEmbeddedWalletFlow = () => {
|
|
|
135
173
|
globalLoading,
|
|
136
174
|
shouldAutoCreateEmbeddedWallet,
|
|
137
175
|
setShowAuthFlow,
|
|
176
|
+
initExportProcess,
|
|
177
|
+
primaryWallet,
|
|
178
|
+
shouldPromptForKeyExport,
|
|
179
|
+
setWasShownExportPrompt,
|
|
180
|
+
handleAcknowledgeExportPrompt,
|
|
181
|
+
wasShownExportPrompt,
|
|
138
182
|
]);
|
|
183
|
+
return {
|
|
184
|
+
acknowledgedExportPrompt,
|
|
185
|
+
handleAcknowledgeExportPrompt,
|
|
186
|
+
};
|
|
139
187
|
};
|
|
140
188
|
|
|
141
189
|
exports.useSyncEmbeddedWalletFlow = useSyncEmbeddedWalletFlow;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
3
|
-
import { useRef, useEffect } from 'react';
|
|
3
|
+
import { useRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import { EmbeddedWalletException } from '@dynamic-labs/utils';
|
|
5
5
|
import { useEmbeddedWallet } from '../useEmbeddedWallet/useEmbeddedWallet.js';
|
|
6
6
|
import '@dynamic-labs/sdk-api-core';
|
|
@@ -14,22 +14,28 @@ import '@dynamic-labs/wallet-book';
|
|
|
14
14
|
import '../../constants/colors.js';
|
|
15
15
|
import '../../constants/values.js';
|
|
16
16
|
import '../../../store/state/loadingAndLifecycle.js';
|
|
17
|
+
import { useLocalStorage } from '../../../shared/utils/hooks/useLocalStorage/useLocalStorage.js';
|
|
17
18
|
import '../../../shared/consts/index.js';
|
|
18
19
|
import { useInternalDynamicEvents } from '../events/useDynamicEvents/useDynamicEvents.js';
|
|
19
20
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
20
21
|
import '../../../context/ErrorContext/ErrorContext.js';
|
|
22
|
+
import { findEmbeddedWalletFromVerifiedCredentials } from '../../functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js';
|
|
21
23
|
import '@dynamic-labs/multi-wallet';
|
|
22
24
|
import 'react-international-phone';
|
|
25
|
+
import '../../../store/state/nonce/nonce.js';
|
|
23
26
|
import '../../../config/ApiEndpoint.js';
|
|
24
27
|
import '../../../store/state/user/user.js';
|
|
25
28
|
import '../../../locale/locale.js';
|
|
26
29
|
import '../../../store/state/projectSettings/projectSettings.js';
|
|
30
|
+
import '../../../store/state/dynamicContextProps/dynamicContextProps.js';
|
|
31
|
+
import '../../../store/state/primaryWalletId/primaryWalletId.js';
|
|
27
32
|
import '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
28
33
|
import '../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
29
34
|
import '../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
30
35
|
import '../../../events/dynamicEvents.js';
|
|
31
36
|
import '../../../context/VerificationContext/VerificationContext.js';
|
|
32
37
|
import 'react-dom';
|
|
38
|
+
import '../../functions/compareChains/compareChains.js';
|
|
33
39
|
import '../../../context/ThemeContext/ThemeContext.js';
|
|
34
40
|
import '../useUserUpdateRequest/useUpdateUser/userFieldsSchema.js';
|
|
35
41
|
import '@dynamic-labs/types';
|
|
@@ -40,8 +46,7 @@ import '../../../views/CollectUserDataView/useFields.js';
|
|
|
40
46
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
41
47
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
42
48
|
import '@dynamic-labs/rpc-providers';
|
|
43
|
-
import '../../../store/state/
|
|
44
|
-
import '../../../store/state/walletConnectorOptions.js';
|
|
49
|
+
import '../../../store/state/walletOptions/walletOptions.js';
|
|
45
50
|
import 'react-i18next';
|
|
46
51
|
import '../../../components/Accordion/components/AccordionItem/AccordionItem.js';
|
|
47
52
|
import '../../../components/Alert/Alert.js';
|
|
@@ -51,10 +56,10 @@ import '../../../components/InlineWidget/InlineWidget.js';
|
|
|
51
56
|
import '../../../components/Input/Input.js';
|
|
52
57
|
import '../../../components/IsBrowser/IsBrowser.js';
|
|
53
58
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
59
|
+
import '../../../components/OverlayCard/OverlayCard.js';
|
|
54
60
|
import '../../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
55
61
|
import '../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
56
62
|
import '../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
57
|
-
import '../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
58
63
|
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
59
64
|
import '../../../components/Popper/Popper/Popper.js';
|
|
60
65
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
@@ -62,65 +67,98 @@ import 'react-focus-lock';
|
|
|
62
67
|
import 'qrcode';
|
|
63
68
|
import { useWalletContext } from '../../../context/WalletContext/WalletContext.js';
|
|
64
69
|
import 'formik';
|
|
70
|
+
import '../useSubdomainCheck/useSubdomainCheck.js';
|
|
65
71
|
import '../../../context/FooterAnimationContext/index.js';
|
|
66
72
|
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
73
|
+
import '../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
67
74
|
import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
68
75
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
69
76
|
import '@hcaptcha/react-hcaptcha';
|
|
70
77
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
71
|
-
import '../../../context/IpConfigurationContext/IpConfigurationContext.js';
|
|
72
78
|
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
73
79
|
import '../../../store/state/sendBalances.js';
|
|
80
|
+
import '@dynamic-labs/ethereum-aa';
|
|
81
|
+
import '../../../components/OverlayCardBase/OverlayCardTarget/OverlayCardTarget.js';
|
|
74
82
|
import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
75
|
-
import '../../../views/TransactionConfirmationView/
|
|
83
|
+
import '../../../views/TransactionConfirmationView/TransactionConfirmationView.js';
|
|
76
84
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
85
|
+
import { useEmbeddedReveal } from '../useEmbeddedReveal/useEmbeddedReveal.js';
|
|
77
86
|
import '../../../../index.js';
|
|
78
87
|
import '../../../store/state/tokenBalances.js';
|
|
79
88
|
import '../../../shared/utils/functions/getInitialUrl/getInitialUrl.js';
|
|
80
89
|
import { useInternalDynamicContext } from '../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
81
90
|
import '../useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
|
|
82
91
|
|
|
92
|
+
let acknowledgedExportPrompt = false;
|
|
83
93
|
const useSyncEmbeddedWalletFlow = () => {
|
|
84
|
-
const { projectSettings, user, primaryWalletId, walletConnectorOptions, setShowAuthFlow, } = useInternalDynamicContext();
|
|
94
|
+
const { projectSettings, user, primaryWalletId, walletConnectorOptions, primaryWallet, setShowAuthFlow, } = useInternalDynamicContext();
|
|
85
95
|
const { isLoadingEmbeddedWallet } = useWalletContext();
|
|
86
96
|
const { loading: globalLoading } = useLoadingContext();
|
|
87
|
-
const {
|
|
97
|
+
const { initExportProcess } = useEmbeddedReveal();
|
|
98
|
+
const [wasShownExportPrompt, setWasShownExportPrompt] = useLocalStorage(`dynamic_export_prompt-${user === null || user === void 0 ? void 0 : user.userId}`, false, (data) => Boolean(data));
|
|
99
|
+
const { createEmbeddedWallet, shouldAutoCreateEmbeddedWallet, shouldPromptForKeyExport, } = useEmbeddedWallet();
|
|
88
100
|
const triggeredCreate = useRef(false);
|
|
101
|
+
const handleAcknowledgeExportPrompt = useCallback((value = true) => {
|
|
102
|
+
acknowledgedExportPrompt = value;
|
|
103
|
+
setWasShownExportPrompt(value);
|
|
104
|
+
}, [setWasShownExportPrompt]);
|
|
89
105
|
useInternalDynamicEvents('logout', () => {
|
|
90
106
|
triggeredCreate.current = false;
|
|
107
|
+
acknowledgedExportPrompt = false;
|
|
91
108
|
});
|
|
92
109
|
// this is used to trigger createEmbeddedWallet
|
|
93
110
|
// when user didn't create a passkey after login,
|
|
94
111
|
// we force them to created it before they can use the app
|
|
95
112
|
// ** It must be an useEffect because some of the dependencies are async
|
|
96
113
|
useEffect(() => {
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
114
|
+
const syncEmbeddedWallet = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
115
|
+
const isNewUser = user === null || user === void 0 ? void 0 : user.newUser;
|
|
116
|
+
if (shouldSyncCreateWallet) {
|
|
117
|
+
triggeredCreate.current = true;
|
|
118
|
+
try {
|
|
119
|
+
yield createEmbeddedWallet();
|
|
120
|
+
}
|
|
121
|
+
catch (error) {
|
|
122
|
+
if (error instanceof EmbeddedWalletException) {
|
|
123
|
+
logger.debug('Error creating embedded wallet', error);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
logger.error('Error creating embedded wallet', error);
|
|
127
|
+
}
|
|
128
|
+
setShowAuthFlow(false);
|
|
129
|
+
}
|
|
101
130
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
131
|
+
if (shouldSyncPromptKeyExport &&
|
|
132
|
+
isNewUser &&
|
|
133
|
+
findEmbeddedWalletFromVerifiedCredentials(user) &&
|
|
134
|
+
primaryWallet) {
|
|
135
|
+
try {
|
|
136
|
+
setShowAuthFlow(true);
|
|
137
|
+
yield initExportProcess(true, true);
|
|
105
138
|
}
|
|
106
|
-
|
|
107
|
-
logger.error('Error
|
|
139
|
+
catch (error) {
|
|
140
|
+
logger.error('Error initializing embedded wallet export', error);
|
|
141
|
+
setShowAuthFlow(false);
|
|
108
142
|
}
|
|
109
|
-
setShowAuthFlow(false);
|
|
110
143
|
}
|
|
111
144
|
});
|
|
112
145
|
const shouldCreateWallet = shouldAutoCreateEmbeddedWallet();
|
|
113
|
-
|
|
146
|
+
const shouldSyncCreateWallet = shouldCreateWallet && !triggeredCreate.current;
|
|
147
|
+
if (wasShownExportPrompt && !acknowledgedExportPrompt)
|
|
148
|
+
acknowledgedExportPrompt = true;
|
|
149
|
+
const shouldPromptKeyExport = shouldPromptForKeyExport();
|
|
150
|
+
const shouldSyncPromptKeyExport = shouldPromptKeyExport && !acknowledgedExportPrompt;
|
|
151
|
+
const shouldSyncEmbeddedWallet = shouldSyncCreateWallet || shouldSyncPromptKeyExport;
|
|
152
|
+
if (!shouldSyncEmbeddedWallet ||
|
|
114
153
|
!user ||
|
|
115
154
|
!projectSettings ||
|
|
116
155
|
!walletConnectorOptions.length || // no connectors to use for the embedded wallet
|
|
117
156
|
isLoadingEmbeddedWallet || // already has a wallet
|
|
118
|
-
globalLoading
|
|
119
|
-
triggeredCreate.current // already triggered
|
|
157
|
+
globalLoading // this will be true if auth is in progress
|
|
120
158
|
) {
|
|
121
159
|
return;
|
|
122
160
|
}
|
|
123
|
-
|
|
161
|
+
syncEmbeddedWallet();
|
|
124
162
|
}, [
|
|
125
163
|
user,
|
|
126
164
|
projectSettings,
|
|
@@ -131,7 +169,17 @@ const useSyncEmbeddedWalletFlow = () => {
|
|
|
131
169
|
globalLoading,
|
|
132
170
|
shouldAutoCreateEmbeddedWallet,
|
|
133
171
|
setShowAuthFlow,
|
|
172
|
+
initExportProcess,
|
|
173
|
+
primaryWallet,
|
|
174
|
+
shouldPromptForKeyExport,
|
|
175
|
+
setWasShownExportPrompt,
|
|
176
|
+
handleAcknowledgeExportPrompt,
|
|
177
|
+
wasShownExportPrompt,
|
|
134
178
|
]);
|
|
179
|
+
return {
|
|
180
|
+
acknowledgedExportPrompt,
|
|
181
|
+
handleAcknowledgeExportPrompt,
|
|
182
|
+
};
|
|
135
183
|
};
|
|
136
184
|
|
|
137
185
|
export { useSyncEmbeddedWalletFlow };
|