@dynamic-labs/sdk-react-core 3.0.0-alpha.67 → 3.0.0-alpha.68
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 +9 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/index.cjs +1 -3
- package/src/index.d.ts +0 -2
- package/src/index.js +1 -2
- package/src/lib/Main.cjs +3 -5
- package/src/lib/Main.js +3 -5
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -4
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -4
- package/src/lib/components/Alert/Alert.cjs +1 -2
- package/src/lib/components/Alert/Alert.js +1 -2
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +2 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +3 -5
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +3 -5
- package/src/lib/components/Captcha/Captcha.cjs +3 -5
- package/src/lib/components/Captcha/Captcha.js +3 -5
- package/src/lib/components/ChainIcon/ChainIcon.cjs +1 -2
- package/src/lib/components/ChainIcon/ChainIcon.js +1 -2
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -2
- package/src/lib/components/Checkbox/Checkbox.js +1 -2
- package/src/lib/components/Divider/Divider.cjs +0 -2
- package/src/lib/components/Divider/Divider.js +0 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +3 -5
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +3 -5
- package/src/lib/components/EmailForm/EmailForm.cjs +0 -2
- package/src/lib/components/EmailForm/EmailForm.js +0 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +1 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.js +1 -2
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.cjs +1 -2
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.js +1 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +2 -3
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +2 -3
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +1 -2
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +1 -2
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +2 -3
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +2 -3
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +2 -3
- package/src/lib/components/IconWithStatus/IconWithStatus.js +2 -3
- package/src/lib/components/LogoutButton/LogoutButton.cjs +3 -5
- package/src/lib/components/LogoutButton/LogoutButton.js +3 -5
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +0 -1
- package/src/lib/components/MenuList/MenuList/MenuList.js +0 -1
- package/src/lib/components/Modal/Modal.cjs +2 -4
- package/src/lib/components/Modal/Modal.js +2 -4
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +3 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +3 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +3 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.js +3 -5
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +0 -2
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +0 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +0 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +0 -2
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +0 -2
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +0 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +0 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +0 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +1 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -2
- package/src/lib/components/OverlayCard/OverlayCard.cjs +3 -5
- package/src/lib/components/OverlayCard/OverlayCard.js +3 -5
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +3 -5
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +3 -5
- package/src/lib/components/PhoneNumberField/PhoneNumberField.cjs +0 -2
- package/src/lib/components/PhoneNumberField/PhoneNumberField.js +0 -2
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs +6 -6
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js +5 -5
- package/src/lib/components/PhoneNumberField/utils/parseDefaultCountry/parseDefaultCountry.cjs +3 -16
- package/src/lib/components/PhoneNumberField/utils/parseDefaultCountry/parseDefaultCountry.js +2 -15
- package/src/lib/components/Portal/Portal.cjs +2 -4
- package/src/lib/components/Portal/Portal.js +2 -4
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +3 -5
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +3 -5
- package/src/lib/components/QRCode/QRCode.cjs +2 -4
- package/src/lib/components/QRCode/QRCode.js +2 -4
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.cjs +1 -3
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.js +1 -3
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.cjs +1 -3
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.js +1 -3
- package/src/lib/components/RenderView/RenderView.cjs +0 -2
- package/src/lib/components/RenderView/RenderView.js +0 -2
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +2 -4
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +2 -4
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +3 -5
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +3 -5
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +3 -5
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +3 -5
- package/src/lib/components/Select/Select.cjs +1 -2
- package/src/lib/components/Select/Select.js +1 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -5
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -5
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +3 -5
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +3 -5
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.cjs +0 -2
- package/src/lib/components/SendBalancePageLayout/components/TokensBalanceDropdown/TokensBalanceDropdown.js +0 -2
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +2 -4
- package/src/lib/components/ShadowDOM/ShadowDOM.js +2 -4
- package/src/lib/components/ShadowDOM/utils.cjs +1 -2
- package/src/lib/components/ShadowDOM/utils.js +1 -2
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.cjs +1 -2
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.js +1 -2
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +3 -5
- package/src/lib/components/SocialSignIn/SocialSignIn.js +3 -5
- package/src/lib/components/Spinner/spinner.cjs +1 -2
- package/src/lib/components/Spinner/spinner.js +1 -2
- package/src/lib/components/Step/Step.cjs +1 -2
- package/src/lib/components/Step/Step.js +1 -2
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.cjs +2 -4
- package/src/lib/components/SyncAuthFlow/SyncAuthFlow.js +2 -4
- package/src/lib/components/TelegramAutoLogin/TelegramAutoLogin.cjs +2 -4
- package/src/lib/components/TelegramAutoLogin/TelegramAutoLogin.js +2 -4
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +1 -3
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +1 -3
- package/src/lib/components/Toolkit/Toolkit.cjs +3 -5
- package/src/lib/components/Toolkit/Toolkit.js +3 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +3 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +3 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +3 -5
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +3 -5
- package/src/lib/components/Tooltip/Tooltip.cjs +3 -5
- package/src/lib/components/Tooltip/Tooltip.js +3 -5
- package/src/lib/components/TosAndPp/TosAndPp.cjs +3 -5
- package/src/lib/components/TosAndPp/TosAndPp.js +3 -5
- package/src/lib/components/TransactionCard/TransactionCard.cjs +1 -2
- package/src/lib/components/TransactionCard/TransactionCard.js +1 -2
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -5
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -5
- package/src/lib/components/TransactionConfirmationPageLayout/utils.cjs +1 -2
- package/src/lib/components/TransactionConfirmationPageLayout/utils.js +1 -2
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -3
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -3
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -4
- package/src/lib/components/UserAddress/UserAddress.cjs +3 -5
- package/src/lib/components/UserAddress/UserAddress.js +3 -5
- package/src/lib/components/UserProfile/UserProfile.cjs +0 -2
- package/src/lib/components/UserProfile/UserProfile.js +0 -2
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.cjs +3 -5
- package/src/lib/components/UserProfile/parts/EditProfileButton/EditProfileButton.js +3 -5
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +0 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +0 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.cjs +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.js +1 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +0 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +0 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +0 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +0 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +3 -5
- package/src/lib/components/UserProfileForm/UserProfileForm.js +3 -5
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +1 -2
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +1 -2
- package/src/lib/context/CaptchaContext/CaptchaContext.cjs +1 -2
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -2
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.cjs +4 -6
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.js +4 -6
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +0 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +0 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +2 -4
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +2 -4
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +0 -1
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +0 -1
- package/src/lib/context/DynamicContext/DynamicContext.cjs +11 -21
- package/src/lib/context/DynamicContext/DynamicContext.js +9 -19
- package/src/lib/context/DynamicContext/helpers/helpers.cjs +9 -9
- package/src/lib/context/DynamicContext/helpers/helpers.js +4 -4
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -2
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -2
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +2 -3
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +2 -3
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +19 -82
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +20 -82
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +1 -2
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +1 -2
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.cjs +39 -0
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.d.ts +10 -0
- package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.js +35 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +1 -2
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +1 -2
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +3 -5
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +3 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +1 -2
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +1 -2
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +3 -5
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +3 -5
- package/src/lib/context/ErrorBoundary/ErrorBoundary.cjs +1 -2
- package/src/lib/context/ErrorBoundary/ErrorBoundary.js +1 -2
- package/src/lib/context/ErrorBoundary/ErrorBoundaryBase.cjs +1 -2
- package/src/lib/context/ErrorBoundary/ErrorBoundaryBase.js +1 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +2 -4
- package/src/lib/context/FundingContext/FundingContext.js +2 -4
- package/src/lib/context/LoadingContext/LoadingContext.cjs +2 -4
- package/src/lib/context/LoadingContext/LoadingContext.js +2 -4
- package/src/lib/context/MockContext/MockContext.cjs +0 -2
- package/src/lib/context/MockContext/MockContext.js +0 -2
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +2 -4
- package/src/lib/context/PasskeyContext/PasskeyContext.js +2 -4
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +2 -4
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +2 -4
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +6 -8
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +5 -7
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.cjs +2 -3
- package/src/lib/context/ReinitializeContext/ReinitializeContextProvider.js +2 -3
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +3 -5
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +3 -5
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +3 -5
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +3 -5
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +3 -5
- package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +3 -5
- package/src/lib/context/ThemeContext/ThemeContext.cjs +1 -2
- package/src/lib/context/ThemeContext/ThemeContext.js +1 -2
- package/src/lib/context/ThemeContext/themesData.cjs +1 -2
- package/src/lib/context/ThemeContext/themesData.js +1 -2
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.cjs +1 -2
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.js +1 -2
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +2 -4
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +2 -4
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.cjs +2 -3
- package/src/lib/context/WidgetRegistry/WidgetRegistryContextProvider.js +2 -3
- package/src/lib/data/api/api.cjs +3 -4
- package/src/lib/data/api/api.js +3 -4
- package/src/lib/data/api/email/email.cjs +0 -1
- package/src/lib/data/api/email/email.js +0 -1
- package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +0 -1
- package/src/lib/data/api/embeddedWallets/embeddedWallets.js +0 -1
- package/src/lib/data/api/externalAuth/externalAuth.cjs +0 -1
- package/src/lib/data/api/externalAuth/externalAuth.js +0 -1
- package/src/lib/data/api/mfa/mfa.cjs +0 -1
- package/src/lib/data/api/mfa/mfa.js +0 -1
- package/src/lib/data/api/oauth/oauth.cjs +0 -1
- package/src/lib/data/api/oauth/oauth.js +0 -1
- package/src/lib/data/api/session/session.cjs +0 -1
- package/src/lib/data/api/session/session.js +0 -1
- package/src/lib/data/api/settings/settings.cjs +1 -2
- package/src/lib/data/api/settings/settings.js +1 -2
- package/src/lib/data/api/sms/sms.cjs +0 -1
- package/src/lib/data/api/sms/sms.js +0 -1
- package/src/lib/data/api/user/user.cjs +0 -1
- package/src/lib/data/api/user/user.js +0 -1
- package/src/lib/data/api/wallets/wallets.cjs +0 -1
- package/src/lib/data/api/wallets/wallets.js +0 -1
- package/src/lib/events/auth.d.ts +0 -5
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +1 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +1 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +3 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +0 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +0 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +0 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +3 -5
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +3 -5
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +0 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +0 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +0 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +0 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +0 -2
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +0 -2
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.cjs +0 -2
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.js +0 -2
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +1 -3
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +1 -3
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +1 -3
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +1 -3
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +2 -4
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +2 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +0 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +0 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +0 -2
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +0 -2
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.cjs +2 -4
- package/src/lib/modals/SyncWalletPromptModal/SyncWalletPromptModal.js +2 -4
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +0 -2
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +0 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +0 -2
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +0 -2
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +3 -3
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +2 -2
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +7 -7
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +7 -7
- package/src/lib/shared/utils/hooks/usePrefetch/usePrefetch.cjs +1 -1
- package/src/lib/shared/utils/hooks/usePrefetch/usePrefetch.js +1 -1
- package/src/lib/shared/utils/index.d.ts +0 -1
- package/src/lib/store/internalImplementation/utils/clearExpiredData/clearExpiredData.cjs +3 -3
- package/src/lib/store/internalImplementation/utils/clearExpiredData/clearExpiredData.js +2 -2
- package/src/lib/store/internalImplementation/utils/syncLegacyStorage/syncLegacyStorage.cjs +3 -3
- package/src/lib/store/internalImplementation/utils/syncLegacyStorage/syncLegacyStorage.js +3 -3
- package/src/lib/store/state/networkConfigurations/networkConfigurations.cjs +2 -4
- package/src/lib/store/state/networkConfigurations/networkConfigurations.js +2 -4
- package/src/lib/store/state/projectSettings/projectSettings.cjs +2 -4
- package/src/lib/store/state/projectSettings/projectSettings.js +2 -4
- package/src/lib/store/state/user/storeAuthTokenAndUser/storeAuthTokenAndUser.cjs +1 -2
- package/src/lib/store/state/user/storeAuthTokenAndUser/storeAuthTokenAndUser.js +1 -2
- package/src/lib/utils/constants/sessionStorage.cjs +1 -1
- package/src/lib/utils/constants/sessionStorage.js +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +5 -3
- package/src/lib/utils/functions/getAuthToken/getAuthToken.d.ts +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +4 -2
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +0 -1
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +0 -1
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.cjs +2 -3
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.js +2 -3
- package/src/lib/utils/functions/getExpiresAt/getExpiresAt.cjs +3 -16
- package/src/lib/utils/functions/getExpiresAt/getExpiresAt.d.ts +1 -1
- package/src/lib/utils/functions/getExpiresAt/getExpiresAt.js +2 -15
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.cjs +5 -3
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.d.ts +1 -1
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.js +4 -2
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.cjs +4 -5
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.js +4 -5
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +2 -3
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +2 -3
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +2 -3
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +2 -3
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +0 -1
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +0 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +2 -3
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +2 -3
- package/src/lib/utils/functions/serializeWalletConnectors/serializeWalletConnectors.cjs +1 -2
- package/src/lib/utils/functions/serializeWalletConnectors/serializeWalletConnectors.js +1 -2
- package/src/lib/utils/functions/socialStorage/socialStorage.cjs +6 -6
- package/src/lib/utils/functions/socialStorage/socialStorage.js +6 -6
- package/src/lib/utils/functions/storeAuthToken/index.cjs +8 -15
- package/src/lib/utils/functions/storeAuthToken/index.js +7 -14
- package/src/lib/utils/functions/storeExpiresAt/storeExpiresAt.cjs +3 -16
- package/src/lib/utils/functions/storeExpiresAt/storeExpiresAt.js +2 -15
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +5 -7
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +4 -6
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +4 -6
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +4 -6
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +2 -4
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +2 -4
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +3 -5
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +3 -5
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +3 -5
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +3 -5
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +5 -7
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +5 -7
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +2 -4
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +2 -4
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +6 -18
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +5 -17
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +1 -2
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +1 -2
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.cjs +0 -1
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.js +0 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +0 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +0 -1
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +1 -2
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +1 -2
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +3 -5
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +3 -5
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +2 -4
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +2 -4
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +3 -5
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +3 -5
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +3 -5
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +3 -5
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +3 -5
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +3 -5
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +3 -5
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +3 -5
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.cjs +2 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.js +2 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +4 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.cjs +3 -5
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useTurnkey/useTurnkey.js +3 -5
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +3 -5
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +3 -5
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +3 -5
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +3 -5
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.cjs +0 -1
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.js +0 -1
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +2 -4
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +2 -4
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +0 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +0 -1
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -2
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -2
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.cjs +2 -4
- package/src/lib/utils/hooks/useHandleAuthenticatedUser/useHandleAuthenticatedUser.js +2 -4
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +5 -6
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +5 -6
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +2 -4
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +2 -4
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +3 -5
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +3 -5
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +4 -6
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +4 -6
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +3 -5
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +3 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +3 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +3 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +3 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +3 -5
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.cjs +2 -4
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.js +2 -4
- package/src/lib/utils/hooks/useMfa/useMfa.cjs +3 -5
- package/src/lib/utils/hooks/useMfa/useMfa.js +3 -5
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.cjs +3 -5
- package/src/lib/utils/hooks/useMfaModals/useMfaModals.js +3 -5
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +3 -5
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +3 -5
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +3 -5
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +3 -5
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +3 -5
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +3 -5
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +3 -5
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +3 -5
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +1 -2
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +1 -2
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.cjs +3 -5
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.js +3 -5
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.cjs +1 -2
- package/src/lib/utils/hooks/useResetCookieLocalStorage/useResetCookieLocalStorage.js +1 -2
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +3 -5
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +3 -5
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +1 -2
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +1 -2
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +4 -6
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +4 -6
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.cjs +5 -7
- package/src/lib/utils/hooks/useSmartWallets/useSmartWallets.js +5 -7
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +5 -7
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +4 -6
- package/src/lib/utils/hooks/useSocialAuth/farcaster/farcaster.cjs +0 -1
- package/src/lib/utils/hooks/useSocialAuth/farcaster/farcaster.js +0 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +2 -4
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +2 -4
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.cjs +3 -5
- package/src/lib/utils/hooks/useSwitchWallet/useSwitchWallet.js +3 -5
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.cjs +2 -4
- package/src/lib/utils/hooks/useSyncEmbeddedWalletFlow/useSyncEmbeddedWalletFlow.js +2 -4
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.cjs +3 -5
- package/src/lib/utils/hooks/useSyncMfaFlow/useSyncMfaFlow.js +3 -5
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.cjs +3 -5
- package/src/lib/utils/hooks/useSyncOnboardingFlow/useSyncOnboardingFlow.js +3 -5
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.cjs +4 -6
- package/src/lib/utils/hooks/useTelegramLogin/useTelegramLogin.js +4 -6
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +3 -5
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +3 -5
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +2 -4
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +2 -4
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.cjs +2 -4
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.js +2 -4
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +0 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +0 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +3 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +3 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +2 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +2 -4
- package/src/lib/utils/hooks/useValidateSession/handleUserDataOutOfSync/handleUserDataOutOfSync.cjs +1 -2
- package/src/lib/utils/hooks/useValidateSession/handleUserDataOutOfSync/handleUserDataOutOfSync.js +1 -2
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +4 -6
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +4 -6
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +3 -5
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +3 -5
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.cjs +2 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.js +2 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +2 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +2 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +2 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +2 -3
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +0 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +0 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +1 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +1 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +5 -7
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +5 -7
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +3 -5
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +3 -5
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -3
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -3
- package/src/lib/views/AccessBlockedView/AccessBlockedView.cjs +1 -3
- package/src/lib/views/AccessBlockedView/AccessBlockedView.js +1 -3
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +0 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.js +0 -2
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +2 -4
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +2 -4
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +3 -5
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +3 -5
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +3 -5
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +3 -5
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +0 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +0 -2
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +0 -2
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +0 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +0 -2
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +0 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +0 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +0 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.cjs +0 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.js +0 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +0 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +0 -2
- package/src/lib/views/CollectUserDataView/useFields.cjs +1 -2
- package/src/lib/views/CollectUserDataView/useFields.js +1 -2
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.cjs +0 -2
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js +0 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +0 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +0 -2
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +3 -5
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +3 -5
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +0 -2
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +0 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +0 -2
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +0 -2
- package/src/lib/views/EmailVerification/EmailVerification.cjs +0 -2
- package/src/lib/views/EmailVerification/EmailVerification.js +0 -2
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +0 -2
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +0 -2
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +2 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +2 -4
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +0 -1
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +0 -1
- package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +0 -2
- package/src/lib/views/EnterPasswordView/EnterPasswordView.js +0 -2
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.cjs +0 -2
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.js +0 -2
- package/src/lib/views/FarcasterQrCodeView/FarcasterQrCodeView.cjs +1 -2
- package/src/lib/views/FarcasterQrCodeView/FarcasterQrCodeView.js +1 -2
- package/src/lib/views/GlobalWalletConfirmView/GlobalWalletConfirmView.cjs +0 -2
- package/src/lib/views/GlobalWalletConfirmView/GlobalWalletConfirmView.js +0 -2
- package/src/lib/views/GlobalWalletInfoView/GlobalWalletInfoView.cjs +1 -2
- package/src/lib/views/GlobalWalletInfoView/GlobalWalletInfoView.js +1 -2
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.cjs +0 -2
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.js +0 -2
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +0 -2
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +0 -2
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +0 -2
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +0 -2
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +2 -4
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +2 -4
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +0 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +0 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +0 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +0 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +3 -5
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +3 -5
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.cjs +0 -2
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.js +0 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +0 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +0 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +0 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +0 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +6 -8
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +5 -7
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +3 -5
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +3 -5
- package/src/lib/views/MergeUserAccountsConflictsView/MergeUserAccountsConflictsView.cjs +0 -2
- package/src/lib/views/MergeUserAccountsConflictsView/MergeUserAccountsConflictsView.js +0 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +2 -4
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +2 -4
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.cjs +0 -2
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.js +0 -2
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.cjs +0 -2
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.js +0 -2
- package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.cjs +0 -2
- package/src/lib/views/MfaDisplayBackupCodesView/MfaDisplayBackupCodesView.js +0 -2
- package/src/lib/views/MfaRecoveryView/MfaRecoveryView.cjs +0 -2
- package/src/lib/views/MfaRecoveryView/MfaRecoveryView.js +0 -2
- package/src/lib/views/MfaSecureDeviceHelpView/MfaSecureDeviceHelpView.cjs +1 -3
- package/src/lib/views/MfaSecureDeviceHelpView/MfaSecureDeviceHelpView.js +1 -3
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.cjs +0 -2
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.js +0 -2
- package/src/lib/views/MfaVerificationView/MfaVerificationView.cjs +2 -4
- package/src/lib/views/MfaVerificationView/MfaVerificationView.js +2 -4
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +0 -2
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +0 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +0 -2
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +0 -2
- package/src/lib/views/NoAccess/NoAccess.cjs +0 -2
- package/src/lib/views/NoAccess/NoAccess.js +0 -2
- package/src/lib/views/NoAccess/useNoAccessText.cjs +3 -5
- package/src/lib/views/NoAccess/useNoAccessText.js +3 -5
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +0 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +0 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +0 -2
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +3 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +3 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +0 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +0 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +0 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +0 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +4 -6
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +4 -6
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +0 -2
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +0 -2
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +2 -4
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +0 -2
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +0 -2
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +0 -2
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +0 -2
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.cjs +0 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.js +0 -1
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +5 -6
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +5 -6
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +0 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.js +0 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +0 -2
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +0 -2
- package/src/lib/views/QrCodeView/QrCodeView.cjs +3 -5
- package/src/lib/views/QrCodeView/QrCodeView.js +3 -5
- package/src/lib/views/SandboxMaximumThresholdReached/SandboxMaximumThresholdReached.cjs +0 -2
- package/src/lib/views/SandboxMaximumThresholdReached/SandboxMaximumThresholdReached.js +0 -2
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +0 -2
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +0 -2
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +1 -3
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +1 -3
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +0 -2
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +0 -2
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +2 -4
- package/src/lib/views/SendBalanceView/SendBalanceView.js +2 -4
- package/src/lib/views/SmsVerification/SmsVerification.cjs +0 -2
- package/src/lib/views/SmsVerification/SmsVerification.js +0 -2
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +3 -5
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +3 -5
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +0 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +0 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +0 -2
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +0 -2
- package/src/lib/views/SyncWalletView/AutoReconnectingView/AutoReconnectingView.cjs +1 -3
- package/src/lib/views/SyncWalletView/AutoReconnectingView/AutoReconnectingView.js +1 -3
- package/src/lib/views/SyncWalletView/ReconnectWithQrCodeView/ReconnectWithQrCodeView.cjs +0 -2
- package/src/lib/views/SyncWalletView/ReconnectWithQrCodeView/ReconnectWithQrCodeView.js +0 -2
- package/src/lib/views/SyncWalletView/SwitchWalletView/SwitchWalletView.cjs +1 -3
- package/src/lib/views/SyncWalletView/SwitchWalletView/SwitchWalletView.js +1 -3
- package/src/lib/views/SyncWalletView/SyncWalletView.cjs +2 -4
- package/src/lib/views/SyncWalletView/SyncWalletView.js +2 -4
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +2 -4
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +2 -4
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +0 -1
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +0 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +0 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +0 -2
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +1 -2
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +1 -2
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +3 -5
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +3 -5
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +0 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +0 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +1 -3
- package/src/lib/views/WalletGroupView/WalletGroupView.js +1 -3
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +0 -2
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +0 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +0 -2
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +0 -2
- package/src/lib/views/WalletList/WalletList.cjs +18 -15
- package/src/lib/views/WalletList/WalletList.js +17 -14
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +0 -2
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +0 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +0 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +0 -2
- package/src/lib/views/WalletList/data.cjs +1 -2
- package/src/lib/views/WalletList/data.js +1 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +0 -2
- package/src/lib/views/WalletLockedView/WalletLockedView.js +0 -2
- package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +0 -2
- package/src/lib/views/WalletRedirectView/WalletRedirectView.js +0 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +3 -5
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +3 -5
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +2 -4
- package/src/lib/views/WalletUsedView/WalletUsedView.js +2 -4
- package/src/lib/views/viewToComponentMap.cjs +0 -1
- package/src/lib/views/viewToComponentMap.js +0 -1
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +3 -5
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +3 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +3 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +3 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +0 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +3 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +3 -5
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +1 -3
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +1 -3
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +0 -2
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +0 -2
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +2 -4
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +2 -4
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceItem/TokenBalanceItem.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceItem/TokenBalanceItem.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceList/TokenBalanceList.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/TokenBalanceList/TokenBalanceList.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/BottomNavBar/BottomNavBar.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +3 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +0 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +3 -5
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +2 -3
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +2 -3
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +0 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +3 -5
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.js +1 -2
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +0 -1
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +0 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +2 -4
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +0 -2
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +3 -5
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +0 -2
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.js +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManageMfaWidgetView/ManageMfaWidgetView.js +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +0 -2
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +3 -5
- package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +3 -5
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +0 -2
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +0 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +0 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +0 -2
- package/src/lib/shared/utils/classes/index.d.ts +0 -1
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +0 -82
- package/src/lib/shared/utils/classes/storage/localStorage.d.ts +0 -25
- package/src/lib/shared/utils/classes/storage/localStorage.js +0 -77
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
3
|
-
import { useRef, useCallback } from 'react';
|
|
4
|
-
import '@dynamic-labs/utils';
|
|
3
|
+
import { useRef, useCallback, useEffect } from 'react';
|
|
4
|
+
import { StorageService } from '@dynamic-labs/utils';
|
|
5
5
|
import '@dynamic-labs/sdk-api-core';
|
|
6
6
|
import '../../../../shared/logger.js';
|
|
7
7
|
import '@dynamic-labs/iconic';
|
|
@@ -12,7 +12,6 @@ import '@dynamic-labs/wallet-book';
|
|
|
12
12
|
import { AUTH_TOKEN, AUTH_MIN_TOKEN, WALLET_PICKER_SEARCH_KEY, PHANTOM_SIGNATURE_STATE, AUTH_EXPIRES_AT } from '../../../../utils/constants/localStorage.js';
|
|
13
13
|
import '../../../../utils/constants/colors.js';
|
|
14
14
|
import { DYNAMIC_AUTH_COOKIE_NAME } from '../../../../utils/constants/values.js';
|
|
15
|
-
import { LocalStorage } from '../../../../shared/utils/classes/storage/localStorage.js';
|
|
16
15
|
import '../../../../store/state/loadingAndLifecycle.js';
|
|
17
16
|
import '../../../../shared/consts/index.js';
|
|
18
17
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -23,81 +22,7 @@ import { setUser } from '../../../../store/state/user/user.js';
|
|
|
23
22
|
import { revokeSession } from '../../../../data/api/session/session.js';
|
|
24
23
|
import '../../../../locale/locale.js';
|
|
25
24
|
import { dynamicEvents } from '../../../../events/dynamicEvents.js';
|
|
26
|
-
import { useInternalDynamicEvents } from '../../../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
|
|
27
|
-
import '../../DynamicContext.js';
|
|
28
|
-
import '../../../CaptchaContext/CaptchaContext.js';
|
|
29
|
-
import '../../../ErrorContext/ErrorContext.js';
|
|
30
|
-
import '../../../AccessDeniedContext/AccessDeniedContext.js';
|
|
31
|
-
import '../../../AccountExistsContext/AccountExistsContext.js';
|
|
32
|
-
import '../../../UserWalletsContext/UserWalletsContext.js';
|
|
33
|
-
import '../../../VerificationContext/VerificationContext.js';
|
|
34
|
-
import 'react-dom';
|
|
35
|
-
import '../../../WalletContext/WalletContext.js';
|
|
36
|
-
import '../../../../utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js';
|
|
37
|
-
import '../../../ThemeContext/ThemeContext.js';
|
|
38
|
-
import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/userFieldsSchema.js';
|
|
39
|
-
import '@dynamic-labs/types';
|
|
40
|
-
import '../../../LoadingContext/LoadingContext.js';
|
|
41
|
-
import 'yup';
|
|
42
|
-
import '../../../MockContext/MockContext.js';
|
|
43
|
-
import '../../../../views/CollectUserDataView/useFields.js';
|
|
44
|
-
import '../../../FieldsStateContext/FieldsStateContext.js';
|
|
45
|
-
import '../../../UserFieldEditorContext/UserFieldEditorContext.js';
|
|
46
|
-
import '@dynamic-labs/rpc-providers';
|
|
47
|
-
import '../../../../store/state/environmentId.js';
|
|
48
|
-
import '../../../../store/state/walletConnectorOptions.js';
|
|
49
|
-
import 'react-i18next';
|
|
50
|
-
import '../../../../components/Accordion/components/AccordionItem/AccordionItem.js';
|
|
51
|
-
import '../../../../components/Alert/Alert.js';
|
|
52
|
-
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
53
|
-
import '../../../../components/IconButton/IconButton.js';
|
|
54
|
-
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
55
|
-
import '../../../../components/Input/Input.js';
|
|
56
|
-
import '../../../../components/IsBrowser/IsBrowser.js';
|
|
57
|
-
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
|
-
import '../../../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
59
|
-
import '../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
60
|
-
import '../../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
61
|
-
import '../../../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
62
|
-
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
63
|
-
import '../../../../components/Popper/Popper/Popper.js';
|
|
64
|
-
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
65
|
-
import 'react-focus-lock';
|
|
66
|
-
import 'qrcode';
|
|
67
|
-
import 'formik';
|
|
68
|
-
import '../../../../views/WalletList/WalletList.js';
|
|
69
|
-
import '../../../SocialRedirectContext/SocialRedirectContext.js';
|
|
70
|
-
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
71
|
-
import '@hcaptcha/react-hcaptcha';
|
|
72
|
-
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
73
|
-
import '../../../FooterAnimationContext/index.js';
|
|
74
|
-
import '../../../WalletGroupContext/WalletGroupContext.js';
|
|
75
|
-
import '../../../IpConfigurationContext/IpConfigurationContext.js';
|
|
76
|
-
import '../../../PasskeyContext/PasskeyContext.js';
|
|
77
|
-
import '../../../../store/state/sendBalances.js';
|
|
78
|
-
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
79
|
-
import '../../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
80
|
-
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
81
|
-
import '../../../../../polyfills.js';
|
|
82
|
-
import '../../../ErrorBoundary/ErrorBoundaryBase.js';
|
|
83
|
-
import '../../../ErrorBoundary/ErrorBoundaryContext.js';
|
|
84
|
-
import '../../../../widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js';
|
|
85
|
-
import '../../../../widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.js';
|
|
86
|
-
import '../../../WidgetRegistry/WidgetRegistryContextProvider.js';
|
|
87
|
-
import '../../../FundingContext/FundingContext.js';
|
|
88
|
-
import '../../../SendBalanceContext/SendBalanceContext.js';
|
|
89
|
-
import '../../../ConnectWithOtpContext/ConnectWithOtpContext.js';
|
|
90
|
-
import '../../../ConnectWithOtpContext/constants.js';
|
|
91
|
-
import '../../../ReinitializeContext/ReinitializeContextProvider.js';
|
|
92
|
-
import '../../../../store/state/tokenBalances.js';
|
|
93
25
|
|
|
94
|
-
const clearFromLocalStorage = [
|
|
95
|
-
AUTH_TOKEN,
|
|
96
|
-
AUTH_MIN_TOKEN,
|
|
97
|
-
WALLET_PICKER_SEARCH_KEY,
|
|
98
|
-
PHANTOM_SIGNATURE_STATE,
|
|
99
|
-
AUTH_EXPIRES_AT,
|
|
100
|
-
];
|
|
101
26
|
const useHandleLogout = (params) => {
|
|
102
27
|
const paramsRef = useRef(params);
|
|
103
28
|
paramsRef.current = params;
|
|
@@ -119,8 +44,16 @@ const useHandleLogout = (params) => {
|
|
|
119
44
|
});
|
|
120
45
|
}
|
|
121
46
|
p.setLegacyIsVerifying(false);
|
|
122
|
-
|
|
123
|
-
|
|
47
|
+
// Clear storage
|
|
48
|
+
StorageService.removeItem(AUTH_TOKEN, {
|
|
49
|
+
priority: ['secureStorage', 'localStorage'],
|
|
50
|
+
});
|
|
51
|
+
StorageService.removeItem(AUTH_MIN_TOKEN, {
|
|
52
|
+
priority: ['secureStorage', 'localStorage'],
|
|
53
|
+
});
|
|
54
|
+
StorageService.removeItem(WALLET_PICKER_SEARCH_KEY);
|
|
55
|
+
StorageService.removeItem(PHANTOM_SIGNATURE_STATE);
|
|
56
|
+
StorageService.removeItem(AUTH_EXPIRES_AT);
|
|
124
57
|
p.setAuthMode(p.initialAuthenticationMode);
|
|
125
58
|
p.setShowAuthFlow(false, {
|
|
126
59
|
emitCancelAuth: false,
|
|
@@ -143,9 +76,14 @@ const useHandleLogout = (params) => {
|
|
|
143
76
|
yield Promise.all(p.walletConnectors.map((connector) => connector.endSession()));
|
|
144
77
|
yield Promise.all(p.connectedWallets.map((connectedWallet) => connectedWallet.connector.endSession()));
|
|
145
78
|
}), []);
|
|
146
|
-
/**
|
|
147
|
-
|
|
79
|
+
/** Trigger a logout when the SDK failed to load data from storage */
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
StorageService.events.on('parseFailure', logout);
|
|
82
|
+
return () => {
|
|
83
|
+
StorageService.events.off('parseFailure', logout);
|
|
84
|
+
};
|
|
85
|
+
}, [logout]);
|
|
148
86
|
return logout;
|
|
149
87
|
};
|
|
150
88
|
|
|
151
|
-
export {
|
|
89
|
+
export { useHandleLogout };
|
|
@@ -12,13 +12,12 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
12
12
|
require('react/jsx-runtime');
|
|
13
13
|
require('../../../ViewContext/ViewContext.cjs');
|
|
14
14
|
require('@dynamic-labs/wallet-book');
|
|
15
|
+
require('@dynamic-labs/utils');
|
|
15
16
|
var localStorage = require('../../../../utils/constants/localStorage.cjs');
|
|
16
17
|
require('../../../../utils/constants/colors.cjs');
|
|
17
18
|
require('../../../../utils/constants/values.cjs');
|
|
18
|
-
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
19
19
|
require('../../../../store/state/loadingAndLifecycle.cjs');
|
|
20
20
|
var useLocalStorage = require('../../../../shared/utils/hooks/useLocalStorage/useLocalStorage.cjs');
|
|
21
|
-
require('@dynamic-labs/utils');
|
|
22
21
|
require('../../../../shared/consts/index.cjs');
|
|
23
22
|
var getWalletVerifiedCredential = require('../../../../utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.cjs');
|
|
24
23
|
|
|
@@ -8,13 +8,12 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import '../../../ViewContext/ViewContext.js';
|
|
10
10
|
import '@dynamic-labs/wallet-book';
|
|
11
|
+
import '@dynamic-labs/utils';
|
|
11
12
|
import { CONNECTED_WALLET_NAME_SERVICE } from '../../../../utils/constants/localStorage.js';
|
|
12
13
|
import '../../../../utils/constants/colors.js';
|
|
13
14
|
import '../../../../utils/constants/values.js';
|
|
14
|
-
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
15
15
|
import '../../../../store/state/loadingAndLifecycle.js';
|
|
16
16
|
import { useLocalStorage } from '../../../../shared/utils/hooks/useLocalStorage/useLocalStorage.js';
|
|
17
|
-
import '@dynamic-labs/utils';
|
|
18
17
|
import '../../../../shared/consts/index.js';
|
|
19
18
|
import { getWalletVerifiedCredential } from '../../../../utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.js';
|
|
20
19
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useRegisterStorageService } from './useRegisterStorageService';
|
package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.cjs
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var utils = require('@dynamic-labs/utils');
|
|
7
|
+
var isSSR = require('../../../../shared/utils/functions/isSSR/isSSR.cjs');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Registers the storage service for the SDK.
|
|
11
|
+
* When on server side rendering, the storage service is not available, so we need to register a dummy storage service.
|
|
12
|
+
* @param storagePostfix - The postfix for the storage services.
|
|
13
|
+
*/
|
|
14
|
+
const useRegisterStorageService = ({ storagePostfix, }) => {
|
|
15
|
+
const storageForSSR = {
|
|
16
|
+
clear: () => undefined,
|
|
17
|
+
getItem: () => null,
|
|
18
|
+
key: () => null,
|
|
19
|
+
length: 0,
|
|
20
|
+
removeItem: () => undefined,
|
|
21
|
+
setItem: () => null,
|
|
22
|
+
};
|
|
23
|
+
const localStorage = isSSR.isSSR() ? storageForSSR : window.localStorage;
|
|
24
|
+
const sessionStorage = isSSR.isSSR() ? storageForSSR : window.sessionStorage;
|
|
25
|
+
if (!utils.StorageService.getSourceStorage('localStorage')) {
|
|
26
|
+
utils.StorageService.registerSourceStorage('localStorage', utils.createStorageService({
|
|
27
|
+
postfix: storagePostfix,
|
|
28
|
+
storage: localStorage,
|
|
29
|
+
}));
|
|
30
|
+
}
|
|
31
|
+
if (!utils.StorageService.getSourceStorage('sessionStorage')) {
|
|
32
|
+
utils.StorageService.registerSourceStorage('sessionStorage', utils.createStorageService({
|
|
33
|
+
postfix: storagePostfix,
|
|
34
|
+
storage: sessionStorage,
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
exports.useRegisterStorageService = useRegisterStorageService;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type UseRegisterStorageServiceProps = {
|
|
2
|
+
storagePostfix?: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Registers the storage service for the SDK.
|
|
6
|
+
* When on server side rendering, the storage service is not available, so we need to register a dummy storage service.
|
|
7
|
+
* @param storagePostfix - The postfix for the storage services.
|
|
8
|
+
*/
|
|
9
|
+
export declare const useRegisterStorageService: ({ storagePostfix, }: UseRegisterStorageServiceProps) => void;
|
|
10
|
+
export {};
|
package/src/lib/context/DynamicContext/hooks/useRegisterStorageService/useRegisterStorageService.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import { StorageService, createStorageService } from '@dynamic-labs/utils';
|
|
3
|
+
import { isSSR } from '../../../../shared/utils/functions/isSSR/isSSR.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Registers the storage service for the SDK.
|
|
7
|
+
* When on server side rendering, the storage service is not available, so we need to register a dummy storage service.
|
|
8
|
+
* @param storagePostfix - The postfix for the storage services.
|
|
9
|
+
*/
|
|
10
|
+
const useRegisterStorageService = ({ storagePostfix, }) => {
|
|
11
|
+
const storageForSSR = {
|
|
12
|
+
clear: () => undefined,
|
|
13
|
+
getItem: () => null,
|
|
14
|
+
key: () => null,
|
|
15
|
+
length: 0,
|
|
16
|
+
removeItem: () => undefined,
|
|
17
|
+
setItem: () => null,
|
|
18
|
+
};
|
|
19
|
+
const localStorage = isSSR() ? storageForSSR : window.localStorage;
|
|
20
|
+
const sessionStorage = isSSR() ? storageForSSR : window.sessionStorage;
|
|
21
|
+
if (!StorageService.getSourceStorage('localStorage')) {
|
|
22
|
+
StorageService.registerSourceStorage('localStorage', createStorageService({
|
|
23
|
+
postfix: storagePostfix,
|
|
24
|
+
storage: localStorage,
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
if (!StorageService.getSourceStorage('sessionStorage')) {
|
|
28
|
+
StorageService.registerSourceStorage('sessionStorage', createStorageService({
|
|
29
|
+
postfix: storagePostfix,
|
|
30
|
+
storage: sessionStorage,
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { useRegisterStorageService };
|
|
@@ -12,11 +12,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
12
12
|
require('react/jsx-runtime');
|
|
13
13
|
require('../../../ViewContext/ViewContext.cjs');
|
|
14
14
|
require('@dynamic-labs/wallet-book');
|
|
15
|
+
require('@dynamic-labs/utils');
|
|
15
16
|
require('../../../../utils/constants/colors.cjs');
|
|
16
17
|
require('../../../../utils/constants/values.cjs');
|
|
17
|
-
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
18
|
require('../../../../store/state/loadingAndLifecycle.cjs');
|
|
19
|
-
require('@dynamic-labs/utils');
|
|
20
19
|
require('../../../../shared/consts/index.cjs');
|
|
21
20
|
var ErrorContext = require('../../../ErrorContext/ErrorContext.cjs');
|
|
22
21
|
|
|
@@ -8,11 +8,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
8
8
|
import 'react/jsx-runtime';
|
|
9
9
|
import '../../../ViewContext/ViewContext.js';
|
|
10
10
|
import '@dynamic-labs/wallet-book';
|
|
11
|
+
import '@dynamic-labs/utils';
|
|
11
12
|
import '../../../../utils/constants/colors.js';
|
|
12
13
|
import '../../../../utils/constants/values.js';
|
|
13
|
-
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
14
14
|
import '../../../../store/state/loadingAndLifecycle.js';
|
|
15
|
-
import '@dynamic-labs/utils';
|
|
16
15
|
import '../../../../shared/consts/index.js';
|
|
17
16
|
import { useErrorContext } from '../../../ErrorContext/ErrorContext.js';
|
|
18
17
|
|
package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs
CHANGED
|
@@ -12,11 +12,10 @@ require('react/jsx-runtime');
|
|
|
12
12
|
require('../../../ViewContext/ViewContext.cjs');
|
|
13
13
|
require('react');
|
|
14
14
|
require('@dynamic-labs/wallet-book');
|
|
15
|
+
require('@dynamic-labs/utils');
|
|
15
16
|
require('../../../../utils/constants/colors.cjs');
|
|
16
17
|
require('../../../../utils/constants/values.cjs');
|
|
17
|
-
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
18
|
require('../../../../store/state/loadingAndLifecycle.cjs');
|
|
19
|
-
require('@dynamic-labs/utils');
|
|
20
19
|
require('../../../../shared/consts/index.cjs');
|
|
21
20
|
var useDynamicEvents = require('../../../../utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs');
|
|
22
21
|
require('../../../../../../_virtual/_tslib.cjs');
|
|
@@ -67,13 +66,12 @@ require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
67
66
|
require('react-focus-lock');
|
|
68
67
|
require('qrcode');
|
|
69
68
|
require('formik');
|
|
70
|
-
require('
|
|
69
|
+
require('../../../FooterAnimationContext/index.cjs');
|
|
70
|
+
require('../../../WalletGroupContext/WalletGroupContext.cjs');
|
|
71
71
|
require('../../../SocialRedirectContext/SocialRedirectContext.cjs');
|
|
72
72
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
73
73
|
require('@hcaptcha/react-hcaptcha');
|
|
74
74
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
75
|
-
require('../../../FooterAnimationContext/index.cjs');
|
|
76
|
-
require('../../../WalletGroupContext/WalletGroupContext.cjs');
|
|
77
75
|
require('../../../IpConfigurationContext/IpConfigurationContext.cjs');
|
|
78
76
|
require('../../../PasskeyContext/PasskeyContext.cjs');
|
|
79
77
|
require('../../../../store/state/sendBalances.cjs');
|
package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js
CHANGED
|
@@ -8,11 +8,10 @@ import 'react/jsx-runtime';
|
|
|
8
8
|
import '../../../ViewContext/ViewContext.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@dynamic-labs/wallet-book';
|
|
11
|
+
import '@dynamic-labs/utils';
|
|
11
12
|
import '../../../../utils/constants/colors.js';
|
|
12
13
|
import '../../../../utils/constants/values.js';
|
|
13
|
-
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
14
14
|
import '../../../../store/state/loadingAndLifecycle.js';
|
|
15
|
-
import '@dynamic-labs/utils';
|
|
16
15
|
import '../../../../shared/consts/index.js';
|
|
17
16
|
import { useInternalDynamicEvents } from '../../../../utils/hooks/events/useDynamicEvents/useDynamicEvents.js';
|
|
18
17
|
import '../../../../../../_virtual/_tslib.js';
|
|
@@ -63,13 +62,12 @@ import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
|
63
62
|
import 'react-focus-lock';
|
|
64
63
|
import 'qrcode';
|
|
65
64
|
import 'formik';
|
|
66
|
-
import '
|
|
65
|
+
import '../../../FooterAnimationContext/index.js';
|
|
66
|
+
import '../../../WalletGroupContext/WalletGroupContext.js';
|
|
67
67
|
import '../../../SocialRedirectContext/SocialRedirectContext.js';
|
|
68
68
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
69
69
|
import '@hcaptcha/react-hcaptcha';
|
|
70
70
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
71
|
-
import '../../../FooterAnimationContext/index.js';
|
|
72
|
-
import '../../../WalletGroupContext/WalletGroupContext.js';
|
|
73
71
|
import '../../../IpConfigurationContext/IpConfigurationContext.js';
|
|
74
72
|
import '../../../PasskeyContext/PasskeyContext.js';
|
|
75
73
|
import '../../../../store/state/sendBalances.js';
|
|
@@ -11,11 +11,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('../../ViewContext/ViewContext.cjs');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
14
|
+
require('@dynamic-labs/utils');
|
|
14
15
|
require('../../../utils/constants/colors.cjs');
|
|
15
16
|
require('../../../utils/constants/values.cjs');
|
|
16
|
-
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('../../../store/state/loadingAndLifecycle.cjs');
|
|
18
|
-
require('@dynamic-labs/utils');
|
|
19
18
|
require('../../../shared/consts/index.cjs');
|
|
20
19
|
var isAuthenticatedWithAWallet = require('../../../utils/functions/isAuthenticatedWithAWallet/isAuthenticatedWithAWallet.cjs');
|
|
21
20
|
var dynamicEvents = require('../../../events/dynamicEvents.cjs');
|
|
@@ -7,11 +7,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '../../ViewContext/ViewContext.js';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
|
10
|
+
import '@dynamic-labs/utils';
|
|
10
11
|
import '../../../utils/constants/colors.js';
|
|
11
12
|
import '../../../utils/constants/values.js';
|
|
12
|
-
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import '../../../store/state/loadingAndLifecycle.js';
|
|
14
|
-
import '@dynamic-labs/utils';
|
|
15
14
|
import '../../../shared/consts/index.js';
|
|
16
15
|
import { isAuthenticatedWithAWallet } from '../../../utils/functions/isAuthenticatedWithAWallet/isAuthenticatedWithAWallet.js';
|
|
17
16
|
import { dynamicEvents } from '../../../events/dynamicEvents.js';
|
|
@@ -11,11 +11,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('../../../ViewContext/ViewContext.cjs');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
14
|
+
require('@dynamic-labs/utils');
|
|
14
15
|
require('../../../../utils/constants/colors.cjs');
|
|
15
16
|
require('../../../../utils/constants/values.cjs');
|
|
16
|
-
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('../../../../store/state/loadingAndLifecycle.cjs');
|
|
18
|
-
require('@dynamic-labs/utils');
|
|
19
18
|
require('../../../../shared/consts/index.cjs');
|
|
20
19
|
require('../../../../events/dynamicEvents.cjs');
|
|
21
20
|
require('../../../../../../_virtual/_tslib.cjs');
|
|
@@ -67,13 +66,12 @@ require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
67
66
|
require('react-focus-lock');
|
|
68
67
|
require('qrcode');
|
|
69
68
|
require('formik');
|
|
70
|
-
require('
|
|
69
|
+
require('../../../FooterAnimationContext/index.cjs');
|
|
70
|
+
require('../../../WalletGroupContext/WalletGroupContext.cjs');
|
|
71
71
|
require('../../../SocialRedirectContext/SocialRedirectContext.cjs');
|
|
72
72
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
73
73
|
require('@hcaptcha/react-hcaptcha');
|
|
74
74
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
75
|
-
require('../../../FooterAnimationContext/index.cjs');
|
|
76
|
-
require('../../../WalletGroupContext/WalletGroupContext.cjs');
|
|
77
75
|
require('../../../IpConfigurationContext/IpConfigurationContext.cjs');
|
|
78
76
|
require('../../../PasskeyContext/PasskeyContext.cjs');
|
|
79
77
|
require('../../../../store/state/sendBalances.cjs');
|
|
@@ -7,11 +7,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '../../../ViewContext/ViewContext.js';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
|
10
|
+
import '@dynamic-labs/utils';
|
|
10
11
|
import '../../../../utils/constants/colors.js';
|
|
11
12
|
import '../../../../utils/constants/values.js';
|
|
12
|
-
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import '../../../../store/state/loadingAndLifecycle.js';
|
|
14
|
-
import '@dynamic-labs/utils';
|
|
15
14
|
import '../../../../shared/consts/index.js';
|
|
16
15
|
import '../../../../events/dynamicEvents.js';
|
|
17
16
|
import '../../../../../../_virtual/_tslib.js';
|
|
@@ -63,13 +62,12 @@ import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
|
63
62
|
import 'react-focus-lock';
|
|
64
63
|
import 'qrcode';
|
|
65
64
|
import 'formik';
|
|
66
|
-
import '
|
|
65
|
+
import '../../../FooterAnimationContext/index.js';
|
|
66
|
+
import '../../../WalletGroupContext/WalletGroupContext.js';
|
|
67
67
|
import '../../../SocialRedirectContext/SocialRedirectContext.js';
|
|
68
68
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
69
69
|
import '@hcaptcha/react-hcaptcha';
|
|
70
70
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
71
|
-
import '../../../FooterAnimationContext/index.js';
|
|
72
|
-
import '../../../WalletGroupContext/WalletGroupContext.js';
|
|
73
71
|
import '../../../IpConfigurationContext/IpConfigurationContext.js';
|
|
74
72
|
import '../../../PasskeyContext/PasskeyContext.js';
|
|
75
73
|
import '../../../../store/state/sendBalances.js';
|
|
@@ -12,11 +12,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
12
12
|
require('../ViewContext/ViewContext.cjs');
|
|
13
13
|
require('react');
|
|
14
14
|
require('@dynamic-labs/wallet-book');
|
|
15
|
+
require('@dynamic-labs/utils');
|
|
15
16
|
require('../../utils/constants/colors.cjs');
|
|
16
17
|
require('../../utils/constants/values.cjs');
|
|
17
|
-
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
18
|
require('../../store/state/loadingAndLifecycle.cjs');
|
|
19
|
-
require('@dynamic-labs/utils');
|
|
20
19
|
require('../../shared/consts/index.cjs');
|
|
21
20
|
var ErrorBoundaryBase = require('./ErrorBoundaryBase.cjs');
|
|
22
21
|
var ErrorBoundaryContext = require('./ErrorBoundaryContext.cjs');
|
|
@@ -8,11 +8,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
8
8
|
import '../ViewContext/ViewContext.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@dynamic-labs/wallet-book';
|
|
11
|
+
import '@dynamic-labs/utils';
|
|
11
12
|
import '../../utils/constants/colors.js';
|
|
12
13
|
import '../../utils/constants/values.js';
|
|
13
|
-
import '../../shared/utils/classes/storage/localStorage.js';
|
|
14
14
|
import '../../store/state/loadingAndLifecycle.js';
|
|
15
|
-
import '@dynamic-labs/utils';
|
|
16
15
|
import '../../shared/consts/index.js';
|
|
17
16
|
import { ErrorBoundaryBase } from './ErrorBoundaryBase.js';
|
|
18
17
|
import { ErrorBoundaryContext, assertErrorBoundaryContext } from './ErrorBoundaryContext.js';
|
|
@@ -11,11 +11,10 @@ require('@dynamic-labs/wallet-connector-core');
|
|
|
11
11
|
require('react/jsx-runtime');
|
|
12
12
|
require('../ViewContext/ViewContext.cjs');
|
|
13
13
|
require('@dynamic-labs/wallet-book');
|
|
14
|
+
require('@dynamic-labs/utils');
|
|
14
15
|
require('../../utils/constants/colors.cjs');
|
|
15
16
|
require('../../utils/constants/values.cjs');
|
|
16
|
-
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('../../store/state/loadingAndLifecycle.cjs');
|
|
18
|
-
require('@dynamic-labs/utils');
|
|
19
18
|
require('../../shared/consts/index.cjs');
|
|
20
19
|
var ErrorContainer = require('../../components/ErrorContainer/ErrorContainer.cjs');
|
|
21
20
|
var ErrorBoundaryContext = require('./ErrorBoundaryContext.cjs');
|
|
@@ -7,11 +7,10 @@ import '@dynamic-labs/wallet-connector-core';
|
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '../ViewContext/ViewContext.js';
|
|
9
9
|
import '@dynamic-labs/wallet-book';
|
|
10
|
+
import '@dynamic-labs/utils';
|
|
10
11
|
import '../../utils/constants/colors.js';
|
|
11
12
|
import '../../utils/constants/values.js';
|
|
12
|
-
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import '../../store/state/loadingAndLifecycle.js';
|
|
14
|
-
import '@dynamic-labs/utils';
|
|
15
14
|
import '../../shared/consts/index.js';
|
|
16
15
|
import { ErrorContainer } from '../../components/ErrorContainer/ErrorContainer.js';
|
|
17
16
|
import { ErrorBoundaryContext, assertErrorBoundaryContext } from './ErrorBoundaryContext.js';
|
|
@@ -15,7 +15,6 @@ require('../ViewContext/ViewContext.cjs');
|
|
|
15
15
|
require('@dynamic-labs/wallet-book');
|
|
16
16
|
require('../../utils/constants/colors.cjs');
|
|
17
17
|
require('../../utils/constants/values.cjs');
|
|
18
|
-
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
19
18
|
require('../../store/state/loadingAndLifecycle.cjs');
|
|
20
19
|
require('../../shared/consts/index.cjs');
|
|
21
20
|
require('../../config/ApiEndpoint.cjs');
|
|
@@ -69,13 +68,12 @@ require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
69
68
|
require('react-focus-lock');
|
|
70
69
|
require('qrcode');
|
|
71
70
|
require('formik');
|
|
72
|
-
require('
|
|
71
|
+
require('../FooterAnimationContext/index.cjs');
|
|
72
|
+
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
73
73
|
require('../SocialRedirectContext/SocialRedirectContext.cjs');
|
|
74
74
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
75
75
|
require('@hcaptcha/react-hcaptcha');
|
|
76
76
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
77
|
-
require('../FooterAnimationContext/index.cjs');
|
|
78
|
-
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
79
77
|
require('../IpConfigurationContext/IpConfigurationContext.cjs');
|
|
80
78
|
require('../PasskeyContext/PasskeyContext.cjs');
|
|
81
79
|
require('../../store/state/sendBalances.cjs');
|
|
@@ -11,7 +11,6 @@ import '../ViewContext/ViewContext.js';
|
|
|
11
11
|
import '@dynamic-labs/wallet-book';
|
|
12
12
|
import '../../utils/constants/colors.js';
|
|
13
13
|
import '../../utils/constants/values.js';
|
|
14
|
-
import '../../shared/utils/classes/storage/localStorage.js';
|
|
15
14
|
import '../../store/state/loadingAndLifecycle.js';
|
|
16
15
|
import '../../shared/consts/index.js';
|
|
17
16
|
import '../../config/ApiEndpoint.js';
|
|
@@ -65,13 +64,12 @@ import '../../components/Popper/PopperContext/PopperContext.js';
|
|
|
65
64
|
import 'react-focus-lock';
|
|
66
65
|
import 'qrcode';
|
|
67
66
|
import 'formik';
|
|
68
|
-
import '
|
|
67
|
+
import '../FooterAnimationContext/index.js';
|
|
68
|
+
import '../WalletGroupContext/WalletGroupContext.js';
|
|
69
69
|
import '../SocialRedirectContext/SocialRedirectContext.js';
|
|
70
70
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
71
71
|
import '@hcaptcha/react-hcaptcha';
|
|
72
72
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
73
|
-
import '../FooterAnimationContext/index.js';
|
|
74
|
-
import '../WalletGroupContext/WalletGroupContext.js';
|
|
75
73
|
import '../IpConfigurationContext/IpConfigurationContext.js';
|
|
76
74
|
import '../PasskeyContext/PasskeyContext.js';
|
|
77
75
|
import '../../store/state/sendBalances.js';
|
|
@@ -17,7 +17,6 @@ require('../ViewContext/ViewContext.cjs');
|
|
|
17
17
|
require('@dynamic-labs/wallet-book');
|
|
18
18
|
require('../../utils/constants/colors.cjs');
|
|
19
19
|
require('../../utils/constants/values.cjs');
|
|
20
|
-
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
20
|
require('../../store/state/loadingAndLifecycle.cjs');
|
|
22
21
|
require('../../shared/consts/index.cjs');
|
|
23
22
|
require('../CaptchaContext/CaptchaContext.cjs');
|
|
@@ -66,13 +65,12 @@ require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
|
66
65
|
require('react-focus-lock');
|
|
67
66
|
require('qrcode');
|
|
68
67
|
require('formik');
|
|
69
|
-
require('
|
|
68
|
+
require('../FooterAnimationContext/index.cjs');
|
|
69
|
+
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
70
70
|
require('../SocialRedirectContext/SocialRedirectContext.cjs');
|
|
71
71
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
72
72
|
require('@hcaptcha/react-hcaptcha');
|
|
73
73
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
74
|
-
require('../FooterAnimationContext/index.cjs');
|
|
75
|
-
require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
76
74
|
require('../IpConfigurationContext/IpConfigurationContext.cjs');
|
|
77
75
|
require('../PasskeyContext/PasskeyContext.cjs');
|
|
78
76
|
require('../../store/state/sendBalances.cjs');
|
|
@@ -13,7 +13,6 @@ import '../ViewContext/ViewContext.js';
|
|
|
13
13
|
import '@dynamic-labs/wallet-book';
|
|
14
14
|
import '../../utils/constants/colors.js';
|
|
15
15
|
import '../../utils/constants/values.js';
|
|
16
|
-
import '../../shared/utils/classes/storage/localStorage.js';
|
|
17
16
|
import '../../store/state/loadingAndLifecycle.js';
|
|
18
17
|
import '../../shared/consts/index.js';
|
|
19
18
|
import '../CaptchaContext/CaptchaContext.js';
|
|
@@ -62,13 +61,12 @@ import '../../components/Popper/PopperContext/PopperContext.js';
|
|
|
62
61
|
import 'react-focus-lock';
|
|
63
62
|
import 'qrcode';
|
|
64
63
|
import 'formik';
|
|
65
|
-
import '
|
|
64
|
+
import '../FooterAnimationContext/index.js';
|
|
65
|
+
import '../WalletGroupContext/WalletGroupContext.js';
|
|
66
66
|
import '../SocialRedirectContext/SocialRedirectContext.js';
|
|
67
67
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
68
68
|
import '@hcaptcha/react-hcaptcha';
|
|
69
69
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
70
|
-
import '../FooterAnimationContext/index.js';
|
|
71
|
-
import '../WalletGroupContext/WalletGroupContext.js';
|
|
72
70
|
import '../IpConfigurationContext/IpConfigurationContext.js';
|
|
73
71
|
import '../PasskeyContext/PasskeyContext.js';
|
|
74
72
|
import '../../store/state/sendBalances.js';
|
|
@@ -22,7 +22,6 @@ require('@dynamic-labs/iconic');
|
|
|
22
22
|
require('@dynamic-labs/wallet-connector-core');
|
|
23
23
|
require('../../utils/constants/colors.cjs');
|
|
24
24
|
require('../../utils/constants/values.cjs');
|
|
25
|
-
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
26
25
|
require('../../store/state/loadingAndLifecycle.cjs');
|
|
27
26
|
require('../../shared/consts/index.cjs');
|
|
28
27
|
require('../CaptchaContext/CaptchaContext.cjs');
|
|
@@ -79,7 +78,6 @@ require('../WidgetRegistry/WidgetRegistryContextProvider.cjs');
|
|
|
79
78
|
require('../FundingContext/FundingContext.cjs');
|
|
80
79
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
81
80
|
var PopperContext = require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
82
|
-
require('../../views/WalletList/WalletList.cjs');
|
|
83
81
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
84
82
|
require('@hcaptcha/react-hcaptcha');
|
|
85
83
|
require('../IpConfigurationContext/IpConfigurationContext.cjs');
|