@dynamic-labs/sdk-react-core 1.1.0-alpha.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +198 -0
- package/_virtual/_tslib.cjs +6 -1
- package/_virtual/_tslib.js +6 -1
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +13 -14
- package/src/index.cjs +57 -36
- package/src/index.d.ts +3 -2
- package/src/index.js +34 -22
- package/src/lib/Main.cjs +49 -27
- package/src/lib/Main.js +49 -27
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +16 -8
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +16 -8
- package/src/lib/components/Alert/Alert.cjs +1 -0
- package/src/lib/components/Alert/Alert.js +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +16 -8
- package/src/lib/components/AnimatePresence/AnimatePresence.js +16 -8
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +24 -7
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +24 -7
- package/src/lib/components/Badge/Badge.cjs +1 -1
- package/src/lib/components/Badge/Badge.d.ts +2 -1
- package/src/lib/components/Badge/Badge.js +1 -1
- package/src/lib/components/Badge/Badge.types.d.ts +2 -1
- package/src/lib/components/Captcha/Captcha.cjs +63 -1
- package/src/lib/components/Captcha/Captcha.js +63 -1
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -0
- package/src/lib/components/Checkbox/Checkbox.js +1 -0
- package/src/lib/components/CopyButton/CopyButton.cjs +1 -11
- package/src/lib/components/CopyButton/CopyButton.js +2 -12
- package/src/lib/components/Divider/Divider.cjs +14 -6
- package/src/lib/components/Divider/Divider.js +14 -6
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +61 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +61 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.js +1 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.cjs +35 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +9 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.js +31 -0
- package/src/lib/components/Icon/Icon.cjs +2 -0
- package/src/lib/components/Icon/Icon.js +2 -0
- package/src/lib/components/Icon/Icon.types.d.ts +2 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +4 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +4 -1
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +3 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +3 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +4 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +4 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +4 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.d.ts +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +4 -1
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.d.ts +2 -1
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.cjs +9 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.d.ts +6 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.js +5 -0
- package/src/lib/components/ListTileAnimatedTrailing/index.d.ts +1 -0
- package/src/lib/components/LogoutButton/LogoutButton.cjs +51 -1
- package/src/lib/components/LogoutButton/LogoutButton.js +51 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +12 -5
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +12 -5
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +1 -0
- package/src/lib/components/MenuList/MenuList/MenuList.js +1 -0
- package/src/lib/components/Modal/Modal.cjs +16 -8
- package/src/lib/components/Modal/Modal.js +16 -8
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +26 -20
- package/src/lib/components/NeedHelpSection/NeedHelpSection.d.ts +5 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +26 -20
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +19 -11
- package/src/lib/components/NetworkPicker/NetworkPicker.js +19 -11
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +17 -6
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +17 -6
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +14 -6
- package/src/lib/components/NetworkPicker/components/Network/Network.js +14 -6
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +16 -8
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +16 -8
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +16 -55
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +16 -55
- package/src/lib/components/OverlayCard/OverlayCard.cjs +16 -8
- package/src/lib/components/OverlayCard/OverlayCard.js +16 -8
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +29 -16
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.d.ts +4 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +31 -18
- package/src/lib/components/Portal/Portal.cjs +23 -20
- package/src/lib/components/Portal/Portal.d.ts +3 -1
- package/src/lib/components/Portal/Portal.js +23 -20
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +63 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +63 -1
- package/src/lib/components/RenderView/RenderView.cjs +74 -0
- package/src/lib/components/RenderView/RenderView.d.ts +2 -0
- package/src/lib/components/RenderView/RenderView.js +70 -0
- package/src/lib/components/RenderView/index.d.ts +1 -0
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +97 -0
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.d.ts +9 -0
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +93 -0
- package/src/lib/components/RetrySendVerificationCodeSection/index.d.ts +1 -0
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +66 -7
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +66 -7
- package/src/lib/components/Select/Select.cjs +1 -0
- package/src/lib/components/Select/Select.js +1 -0
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +5 -5
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +5 -5
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -0
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +61 -2
- package/src/lib/components/ShadowDOM/ShadowDOM.js +61 -2
- package/src/lib/components/ShadowDOM/utils.cjs +1 -0
- package/src/lib/components/ShadowDOM/utils.js +1 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.cjs +1 -0
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.js +1 -0
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +14 -6
- package/src/lib/components/SocialSignIn/SocialSignIn.js +14 -6
- package/src/lib/components/Spinner/spinner.cjs +1 -0
- package/src/lib/components/Spinner/spinner.js +1 -0
- package/src/lib/components/StatusDot/StatusDot.d.ts +1 -1
- package/src/lib/components/Step/Step.cjs +1 -0
- package/src/lib/components/Step/Step.js +1 -0
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +24 -14
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.d.ts +1 -2
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +24 -14
- package/src/lib/components/Toolkit/Toolkit.cjs +50 -1
- package/src/lib/components/Toolkit/Toolkit.js +50 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +64 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +64 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +53 -2
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +53 -2
- package/src/lib/components/Tooltip/Tooltip.cjs +21 -32
- package/src/lib/components/Tooltip/Tooltip.js +21 -32
- package/src/lib/components/Tooltip/index.d.ts +1 -0
- package/src/lib/components/TosAndPp/TosAndPp.cjs +63 -1
- package/src/lib/components/TosAndPp/TosAndPp.js +63 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +70 -6
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +70 -6
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +12 -4
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +12 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +15 -8
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +15 -8
- package/src/lib/components/UserAddress/UserAddress.cjs +12 -4
- package/src/lib/components/UserAddress/UserAddress.js +12 -4
- package/src/lib/components/UserProfile/UserProfile.cjs +50 -2
- package/src/lib/components/UserProfile/UserProfile.js +50 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +14 -6
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +14 -6
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +53 -3
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +53 -3
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +14 -6
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +14 -6
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +17 -7
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +17 -7
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +53 -4
- package/src/lib/components/UserProfileForm/UserProfileForm.js +53 -4
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.cjs +11 -0
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.d.ts +8 -0
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.js +7 -0
- package/src/lib/components/WalletGroupViewLayout/index.d.ts +1 -0
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +4 -1
- package/src/lib/components/WalletInformationCard/WalletInformationCard.d.ts +2 -1
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +4 -1
- package/src/lib/components/index.d.ts +2 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +17 -9
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +17 -9
- package/src/lib/context/DynamicContext/DynamicContext.cjs +78 -118
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +2 -0
- package/src/lib/context/DynamicContext/DynamicContext.js +80 -120
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.cjs +1 -0
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.js +1 -0
- package/src/lib/context/DynamicContext/{helpers.cjs → helpers/helpers.cjs} +14 -10
- package/src/lib/context/DynamicContext/{helpers.d.ts → helpers/helpers.d.ts} +3 -3
- package/src/lib/context/DynamicContext/{helpers.js → helpers/helpers.js} +14 -10
- package/src/lib/context/DynamicContext/helpers/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/index.d.ts +2 -1
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +17 -16
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +18 -17
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +13 -11
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +14 -12
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/types.d.ts +36 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +124 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +120 -0
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +2 -0
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +2 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +23 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.d.ts +5 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +19 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +13 -1
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +2 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +13 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +40 -10
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +7 -2
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +40 -10
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.js +1 -0
- package/src/lib/context/DynamicContext/types/index.d.ts +6 -3
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +2 -4
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +7 -50
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +7 -50
- package/src/lib/context/DynamicContext/useDynamicContext/index.d.ts +2 -0
- package/src/lib/context/DynamicContext/{useDynamicContext.cjs → useDynamicContext/useDynamicContext.cjs} +5 -1
- package/src/lib/context/DynamicContext/{useDynamicContext.d.ts → useDynamicContext/useDynamicContext.d.ts} +2 -2
- package/src/lib/context/DynamicContext/{useDynamicContext.js → useDynamicContext/useDynamicContext.js} +5 -1
- package/src/lib/context/DynamicContext/{useInternalDynamicContext.cjs → useDynamicContext/useInternalDynamicContext.cjs} +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useInternalDynamicContext.d.ts +1 -0
- package/src/lib/context/DynamicContext/{useInternalDynamicContext.js → useDynamicContext/useInternalDynamicContext.js} +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +88 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.d.ts +3 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +84 -0
- package/src/lib/context/DynamicContext/validators/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/{validators.cjs → validators/validators.cjs} +7 -6
- package/src/lib/context/DynamicContext/{validators.d.ts → validators/validators.d.ts} +1 -1
- package/src/lib/context/DynamicContext/{validators.js → validators/validators.js} +7 -6
- package/src/lib/context/ErrorContext/ErrorContext.cjs +5 -11
- package/src/lib/context/ErrorContext/ErrorContext.js +6 -12
- package/src/lib/context/FooterAnimationContext/index.d.ts +1 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +53 -5
- package/src/lib/context/FundingContext/FundingContext.js +53 -5
- package/src/lib/context/LoadingContext/LoadingContext.cjs +15 -7
- package/src/lib/context/LoadingContext/LoadingContext.js +16 -8
- package/src/lib/context/MockContext/MockContext.cjs +17 -8
- package/src/lib/context/MockContext/MockContext.d.ts +4 -9
- package/src/lib/context/MockContext/MockContext.js +17 -8
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +187 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +23 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.js +181 -0
- package/src/lib/context/PasskeyContext/index.d.ts +1 -0
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +40 -0
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.d.ts +10 -0
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +35 -0
- package/src/lib/context/PhantomRedirectContext/index.d.ts +1 -0
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +124 -0
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.d.ts +5 -0
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +120 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +19 -11
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +19 -11
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +15 -7
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +15 -7
- package/src/lib/context/ThemeContext/themesData.cjs +1 -0
- package/src/lib/context/ThemeContext/themesData.js +1 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +15 -8
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +15 -8
- package/src/lib/context/ViewContext/ViewContext.cjs +8 -5
- package/src/lib/context/ViewContext/ViewContext.d.ts +5 -5
- package/src/lib/context/ViewContext/ViewContext.js +8 -5
- package/src/lib/context/ViewContext/index.d.ts +1 -0
- package/src/lib/context/ViewContext/types/index.d.ts +10 -0
- package/src/lib/context/WalletContext/WalletContext.cjs +44 -1
- package/src/lib/context/WalletContext/WalletContext.js +44 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +13 -4
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +13 -4
- package/src/lib/data/api.cjs +42 -13
- package/src/lib/data/api.d.ts +16 -5
- package/src/lib/data/api.js +41 -13
- package/src/lib/events/dynamicEvents.d.ts +6 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs +12 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.d.ts +6 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js +8 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +20 -13
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +20 -13
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +19 -24
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +20 -25
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +73 -12
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +73 -12
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +22 -10
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +22 -10
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +10 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +10 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +14 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +14 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +15 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +15 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +28 -18
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +28 -18
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +17 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +3 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +17 -8
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +14 -6
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +14 -6
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +15 -6
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +15 -6
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +16 -6
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +16 -6
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +14 -6
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +14 -6
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +14 -6
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +14 -6
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +14 -6
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +14 -6
- package/src/lib/locale/en/translation.cjs +238 -38
- package/src/lib/locale/en/translation.d.ts +228 -28
- package/src/lib/locale/en/translation.js +238 -38
- package/src/lib/main.global.cjs +1 -1
- package/src/lib/main.global.js +1 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +18 -8
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.d.ts +0 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +18 -8
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +14 -6
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +14 -6
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +39 -10
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +39 -10
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +15 -8
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +15 -8
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +13 -6
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +13 -6
- package/src/lib/shared/assets/domain.cjs +53 -0
- package/src/lib/shared/assets/domain.js +29 -0
- package/src/lib/shared/assets/export-private-key.cjs +54 -0
- package/src/lib/shared/assets/export-private-key.js +30 -0
- package/src/lib/shared/assets/export-recovery-phrase.cjs +54 -0
- package/src/lib/shared/assets/export-recovery-phrase.js +30 -0
- package/src/lib/shared/assets/gear.cjs +53 -0
- package/src/lib/shared/assets/gear.js +29 -0
- package/src/lib/shared/assets/index.d.ts +6 -1
- package/src/lib/shared/assets/multiple-account-security.cjs +106 -0
- package/src/lib/shared/assets/multiple-account-security.js +82 -0
- package/src/lib/shared/assets/passkey-account-security.cjs +92 -0
- package/src/lib/shared/assets/passkey-account-security.js +68 -0
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +1 -1
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +1 -1
- package/src/lib/shared/types/index.d.ts +17 -1
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +3 -1
- package/src/lib/shared/utils/classes/storage/localStorage.js +3 -1
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +15 -11
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.d.ts +1 -2
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +15 -11
- package/src/lib/shared/utils/functions/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +1 -2
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +1 -2
- package/src/lib/shared/utils/functions/providerLabel/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +15 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.d.ts +2 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +11 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +5 -3
- package/src/lib/shared/utils/functions/wallet/createWallet.js +5 -3
- package/src/lib/shared/utils/hooks/index.d.ts +5 -4
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +4 -2
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +5 -3
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +29 -16
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +29 -16
- package/src/lib/shared/utils/hooks/useThrottle/index.d.ts +1 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.cjs +29 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.d.ts +8 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.js +25 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/localStorage.cjs +4 -0
- package/src/lib/utils/constants/localStorage.d.ts +2 -0
- package/src/lib/utils/constants/localStorage.js +3 -1
- package/src/lib/utils/constants/values.cjs +26 -0
- package/src/lib/utils/constants/values.d.ts +7 -0
- package/src/lib/utils/constants/values.js +25 -1
- package/src/lib/utils/functions/createWalletClientFromWallet/createWalletClientFromWallet.cjs +63 -0
- package/src/lib/utils/functions/createWalletClientFromWallet/createWalletClientFromWallet.d.ts +14 -0
- package/src/lib/utils/functions/createWalletClientFromWallet/createWalletClientFromWallet.js +39 -0
- package/src/lib/utils/functions/createWalletClientFromWallet/index.d.ts +1 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +5 -2
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.d.ts +1 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +5 -2
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.cjs +8 -1
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.d.ts +1 -1
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.js +8 -1
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -1
- package/src/lib/utils/functions/generateMessages/index.js +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +2 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +2 -1
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.cjs +18 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.js +14 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/index.d.ts +1 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.cjs +4 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.js +4 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +2 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +2 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.cjs +2 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.js +2 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +25 -4
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +10 -5
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +25 -4
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.cjs +10 -0
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.d.ts +3 -0
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.js +6 -0
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/index.d.ts +1 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.cjs +19 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.d.ts +3 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.js +15 -0
- package/src/lib/utils/functions/getWalletGroupType/index.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +7 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +3 -0
- package/src/lib/utils/functions/getWalletIdentifier/index.d.ts +1 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +3 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +3 -1
- package/src/lib/utils/functions/index.d.ts +10 -5
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.cjs +3 -1
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.js +3 -1
- package/src/lib/utils/functions/isHardwareWalletEnabled/index.d.ts +1 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.cjs +12 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.d.ts +2 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.js +8 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +1 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +1 -0
- package/src/lib/utils/functions/removeElementById/removeElementById.cjs +5 -4
- package/src/lib/utils/functions/removeElementById/removeElementById.js +5 -4
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +2 -2
- package/src/lib/utils/functions/storeAuthToken/index.cjs +1 -0
- package/src/lib/utils/functions/storeAuthToken/index.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +3 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +57 -10
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +57 -10
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +75 -21
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +75 -21
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +52 -19
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +52 -19
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +53 -5
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +53 -5
- package/src/lib/utils/hooks/events/index.d.ts +1 -1
- package/src/lib/utils/hooks/events/useWindowEvent/index.d.ts +1 -0
- package/src/lib/utils/hooks/events/useWindowEvent/useWindowEvent.cjs +24 -0
- package/src/lib/utils/hooks/events/useWindowEvent/useWindowEvent.d.ts +1 -0
- package/src/lib/utils/hooks/events/useWindowEvent/useWindowEvent.js +20 -0
- package/src/lib/utils/hooks/index.d.ts +2 -1
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +65 -3
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +65 -3
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +48 -4
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +48 -4
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +151 -78
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +151 -78
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +48 -5
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +48 -5
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +26 -13
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +0 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +27 -14
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +2 -1
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +2 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +61 -15
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +17 -5
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +62 -16
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +50 -1
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +50 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +54 -4
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +54 -4
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +70 -13
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +71 -14
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +52 -3
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +52 -3
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +8 -8
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +8 -8
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +64 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +64 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +54 -7
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +54 -7
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +52 -4
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +52 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +63 -115
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +63 -115
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.cjs +194 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.d.ts +5 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.js +190 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +21 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.d.ts +4 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +17 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +2 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +2 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +17 -2
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +18 -3
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +8 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.d.ts +4 -2
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +8 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +64 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +64 -1
- package/src/lib/utils/hooks/useHover/useHover.cjs +9 -3
- package/src/lib/utils/hooks/useHover/useHover.js +9 -3
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +8 -1
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/index.d.ts +1 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +143 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.d.ts +13 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +139 -0
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +79 -3
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +79 -3
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +74 -5
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +74 -5
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +54 -4
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +54 -4
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +3 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +1 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +65 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +65 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +171 -24
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.d.ts +4 -2
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +171 -24
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +3 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +3 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs +2 -1
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.js +2 -1
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +1 -0
- package/src/lib/utils/hooks/usePromise/usePromise.js +1 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.cjs +2 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.js +2 -0
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +50 -3
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +50 -3
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +74 -27
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +75 -28
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +63 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +63 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +1 -0
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +50 -31
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +50 -31
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +60 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +60 -2
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +1 -0
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +1 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +88 -13
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +88 -13
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.cjs +2 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.d.ts +2 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.js +2 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +4 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +4 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +4 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +4 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +2 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +2 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +10 -4
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +10 -4
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.cjs +11 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.d.ts +2 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.js +7 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +12 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +12 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.cjs +12 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.js +12 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +5 -3
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +5 -3
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +51 -9
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +51 -9
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +15 -8
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +15 -8
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +70 -44
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.d.ts +5 -7
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +71 -45
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +15 -13
- package/src/lib/views/AccountExistsView/AccountExistsView.js +15 -13
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +53 -2
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +53 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +51 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +51 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +52 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +52 -2
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +12 -6
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +12 -6
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +16 -7
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +16 -7
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +19 -11
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +19 -11
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +14 -6
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +14 -6
- package/src/lib/views/CollectUserDataView/useFields.cjs +1 -0
- package/src/lib/views/CollectUserDataView/useFields.js +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +16 -7
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +16 -7
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +14 -6
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +14 -6
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +15 -7
- package/src/lib/views/EmailUpdate/EmailUpdate.js +15 -7
- package/src/lib/views/EmailVerification/EmailVerification.cjs +51 -58
- package/src/lib/views/EmailVerification/EmailVerification.js +51 -58
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +20 -11
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +20 -11
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +30 -14
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +30 -14
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +2 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +2 -0
- package/src/lib/views/LoginView/LoginView.cjs +20 -9
- package/src/lib/views/LoginView/LoginView.js +20 -9
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +18 -11
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +18 -11
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +14 -7
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +14 -7
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +14 -7
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +14 -7
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +52 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +52 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +13 -5
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +13 -5
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +14 -6
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +14 -6
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +54 -5
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +55 -6
- package/src/lib/views/LoginView/useLoginView.cjs +50 -2
- package/src/lib/views/LoginView/useLoginView.js +50 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +15 -7
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +15 -7
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +18 -10
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +18 -10
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +19 -10
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +19 -10
- package/src/lib/views/NoAccess/NoAccess.cjs +16 -7
- package/src/lib/views/NoAccess/NoAccess.js +16 -7
- package/src/lib/views/NoAccess/useNoAccessText.cjs +66 -4
- package/src/lib/views/NoAccess/useNoAccessText.js +66 -4
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +16 -7
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +16 -7
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +14 -6
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +14 -6
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +90 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.d.ts +6 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +86 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/index.d.ts +1 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +120 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.d.ts +7 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +116 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/index.d.ts +2 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +85 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.d.ts +14 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +81 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/index.d.ts +1 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +121 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.d.ts +9 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +117 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/index.d.ts +1 -0
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +19 -11
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.d.ts +8 -1
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +19 -11
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +49 -36
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +50 -37
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +88 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.d.ts +2 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +84 -0
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/index.d.ts +1 -0
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +37 -16
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.d.ts +8 -1
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +38 -17
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +23 -15
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +23 -15
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +27 -37
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.d.ts +6 -1
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +28 -38
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +116 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.d.ts +2 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +112 -0
- package/src/lib/views/Passkey/RenamePasskeyView/index.d.ts +1 -0
- package/src/lib/views/Passkey/index.d.ts +3 -0
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +8 -4
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +3 -1
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +9 -5
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +8 -4
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.d.ts +3 -1
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +9 -5
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.cjs +17 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.d.ts +3 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.js +13 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/index.d.ts +1 -0
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.cjs +3 -2
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.d.ts +2 -1
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.js +3 -2
- package/src/lib/views/Passkey/utils/index.d.ts +1 -0
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +124 -16
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +31 -6
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +124 -18
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +16 -7
- package/src/lib/views/PendingConnectView/PendingConnectView.js +17 -8
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +20 -11
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +20 -11
- package/src/lib/views/QrCodeView/QRCode.cjs +17 -10
- package/src/lib/views/QrCodeView/QRCode.d.ts +2 -1
- package/src/lib/views/QrCodeView/QRCode.js +17 -10
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +11 -3
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +11 -3
- package/src/lib/views/QrCodeView/QrCodeView.cjs +27 -14
- package/src/lib/views/QrCodeView/QrCodeView.js +28 -15
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +84 -0
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.d.ts +8 -0
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +80 -0
- package/src/lib/views/SelectHardwareWalletView/index.d.ts +1 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +86 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.d.ts +2 -0
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +82 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +94 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +9 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +90 -0
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/index.d.ts +1 -0
- package/src/lib/views/SelectWalletInWalletGroupView/index.d.ts +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +21 -13
- package/src/lib/views/SendBalanceView/SendBalanceView.js +21 -13
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +16 -10
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +16 -10
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +13 -6
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +13 -6
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +13 -6
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +13 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +25 -12
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +25 -12
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +15 -8
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +15 -8
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +14 -6
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +14 -6
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +1 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +1 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +65 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +65 -1
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +15 -7
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +15 -7
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +31 -28
- package/src/lib/views/WalletGroupView/WalletGroupView.js +31 -28
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +73 -22
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +1 -1
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +74 -23
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +14 -6
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +14 -6
- package/src/lib/views/WalletList/WalletList.cjs +59 -12
- package/src/lib/views/WalletList/WalletList.js +59 -12
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +28 -12
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +29 -13
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.types.d.ts +0 -1
- package/src/lib/views/WalletList/data.cjs +1 -0
- package/src/lib/views/WalletList/data.js +1 -0
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +15 -7
- package/src/lib/views/WalletLockedView/WalletLockedView.js +16 -8
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +33 -25
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +33 -25
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +25 -18
- package/src/lib/views/WalletUsedView/WalletUsedView.js +26 -19
- package/src/lib/views/viewToComponentMap.cjs +112 -43
- package/src/lib/views/viewToComponentMap.d.ts +2 -3
- package/src/lib/views/viewToComponentMap.js +112 -43
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +19 -9
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +19 -9
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +16 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +16 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +24 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +25 -12
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +20 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +20 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +31 -19
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +31 -19
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +61 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +61 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +62 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +62 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +16 -7
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +16 -7
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +51 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +51 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +15 -11
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +15 -11
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +15 -5
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +15 -5
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +16 -7
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +31 -22
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +31 -22
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +20 -11
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +3 -3
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +20 -11
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +20 -7
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +20 -7
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +39 -14
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +38 -13
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +16 -8
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +16 -8
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +16 -8
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +6 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +16 -8
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +16 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +33 -24
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +33 -24
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +17 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +17 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +17 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +17 -9
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +18 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +18 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +16 -8
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +16 -8
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +14 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +14 -6
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +16 -7
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +14 -6
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +14 -6
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +16 -8
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +16 -8
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +15 -7
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +15 -7
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +27 -18
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +28 -19
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +16 -7
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +16 -7
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +27 -19
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +27 -19
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +34 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.d.ts +10 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +30 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +4 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +4 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +18 -25
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +4 -3
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +18 -25
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +21 -12
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +21 -12
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.js +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/index.d.ts +1 -0
- package/src/lib/{views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs → widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs} +45 -36
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.d.ts +3 -0
- package/src/lib/{views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js → widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js} +45 -36
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +15 -8
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +15 -8
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +79 -22
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +79 -22
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +78 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +78 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +69 -11
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.d.ts +1 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +69 -11
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +65 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +65 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +68 -18
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +68 -18
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +17 -9
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +17 -9
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +19 -9
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +19 -9
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +16 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +65 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +65 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +14 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +14 -6
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +15 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +15 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +19 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +19 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +19 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +19 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +16 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +67 -18
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +67 -18
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +25 -9
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +25 -9
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +15 -6
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +15 -6
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +36 -44
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +36 -44
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +15 -7
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +15 -7
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +21 -28
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +21 -28
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +41 -13
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +41 -13
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +16 -7
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +53 -18
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +53 -18
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +16 -7
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +16 -7
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +16 -7
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +16 -7
- package/src/version.d.ts +2 -2
- package/src/lib/components/ChainCard/ChainCard.cjs +0 -11
- package/src/lib/components/ChainCard/ChainCard.d.ts +0 -9
- package/src/lib/components/ChainCard/ChainCard.js +0 -7
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +0 -15
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -6
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +0 -11
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.cjs +0 -23
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.d.ts +0 -4
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.js +0 -19
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +0 -76
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +0 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +0 -72
- package/src/lib/context/DynamicContext/useInternalDynamicContext.d.ts +0 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +0 -83
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +0 -13
- package/src/lib/context/QrCodeContext/QrCodeContext.js +0 -77
- package/src/lib/context/QrCodeContext/index.d.ts +0 -1
- package/src/lib/shared/assets/turnkey.cjs +0 -79
- package/src/lib/shared/assets/turnkey.js +0 -55
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.cjs +0 -22
- package/src/lib/utils/functions/isPasskeyEnabled/isPasskeyEnabled.js +0 -18
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/index.d.ts +0 -1
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.cjs +0 -49
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.d.ts +0 -18
- package/src/lib/utils/functions/sendTransactionWithAutoNonce/sendTransactionWithAutoNonce.js +0 -44
- package/src/lib/utils/hooks/events/useEventListener/index.d.ts +0 -1
- package/src/lib/utils/hooks/events/useEventListener/useEventListener.cjs +0 -26
- package/src/lib/utils/hooks/events/useEventListener/useEventListener.d.ts +0 -1
- package/src/lib/utils/hooks/events/useEventListener/useEventListener.js +0 -22
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs +0 -34
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +0 -7
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.js +0 -30
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +0 -7
- package/src/lib/widgets/DynamicWidget/hooks/useContent.d.ts +0 -7
- /package/src/lib/{views/WalletGroupView/components → components}/HardwareWalletToggle/index.d.ts +0 -0
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../../../events/dynamicEvents.js';
|
|
4
|
+
import '../../../../../../_virtual/_tslib.js';
|
|
4
5
|
import '@dynamic-labs/utils';
|
|
5
|
-
import
|
|
6
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
7
|
-
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
8
|
-
import '../../../../context/ErrorContext/ErrorContext.js';
|
|
9
|
-
import '../../../../context/ViewContext/ViewContext.js';
|
|
6
|
+
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
10
7
|
import '@dynamic-labs/sdk-api';
|
|
11
8
|
import '../../../../shared/logger.js';
|
|
12
9
|
import '@dynamic-labs/iconic';
|
|
10
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
11
|
+
import '../../../../context/ViewContext/ViewContext.js';
|
|
13
12
|
import '@dynamic-labs/wallet-book';
|
|
14
13
|
import { shortenWalletAddress } from '../../../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js';
|
|
15
14
|
import '../../../../utils/constants/colors.js';
|
|
15
|
+
import '../../../../utils/constants/values.js';
|
|
16
16
|
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
17
17
|
import 'viem';
|
|
18
18
|
import '../../../../shared/consts/index.js';
|
|
19
|
+
import { useInternalDynamicContext } from '../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
20
|
+
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
21
|
+
import '../../../../context/ErrorContext/ErrorContext.js';
|
|
19
22
|
import '@dynamic-labs/multi-wallet';
|
|
23
|
+
import 'viem/chains';
|
|
20
24
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
21
25
|
import '../../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
22
26
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -37,26 +41,31 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
37
41
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
38
42
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
39
43
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
40
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
41
44
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
42
45
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
43
46
|
import '../DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
47
|
import 'react-focus-lock';
|
|
45
48
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
46
|
-
import 'qrcode';
|
|
47
49
|
import 'i18next';
|
|
50
|
+
import 'qrcode';
|
|
48
51
|
import '../../context/DynamicWidgetContext.js';
|
|
49
52
|
import { DotsMenu } from '../DotsMenu/DotsMenu.js';
|
|
50
53
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
51
54
|
import 'formik';
|
|
52
55
|
import '../../../../components/IconButton/IconButton.js';
|
|
53
56
|
import '../../../../components/Alert/Alert.js';
|
|
57
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
58
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
54
59
|
import '@dynamic-labs/viem-utils';
|
|
55
60
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
56
61
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
57
62
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
58
63
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
59
64
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
65
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
66
|
+
import '@hcaptcha/react-hcaptcha';
|
|
67
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
68
|
+
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
60
69
|
|
|
61
70
|
const UnknownWalletInformation = ({ address, }) => {
|
|
62
71
|
const { handleLogOut } = useInternalDynamicContext();
|
|
@@ -17,15 +17,17 @@ require('../../../../shared/logger.cjs');
|
|
|
17
17
|
require('@dynamic-labs/wallet-book');
|
|
18
18
|
var shortenWalletAddress = require('../../../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs');
|
|
19
19
|
require('../../../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../../../utils/constants/values.cjs');
|
|
20
21
|
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
22
|
require('viem');
|
|
22
23
|
require('@dynamic-labs/utils');
|
|
23
|
-
|
|
24
|
+
require('../../../../context/DynamicContext/DynamicContext.cjs');
|
|
25
|
+
require('../../../../shared/consts/index.cjs');
|
|
24
26
|
require('../../../../events/dynamicEvents.cjs');
|
|
25
27
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
26
28
|
require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
27
|
-
require('../../../../shared/consts/index.cjs');
|
|
28
29
|
require('@dynamic-labs/multi-wallet');
|
|
30
|
+
require('viem/chains');
|
|
29
31
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
30
32
|
require('../../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
31
33
|
require('../../../../config/ApiEndpoint.cjs');
|
|
@@ -40,33 +42,39 @@ require('../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUse
|
|
|
40
42
|
require('../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
41
43
|
require('@dynamic-labs/rpc-providers');
|
|
42
44
|
require('../../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
45
|
+
require('../../../../components/Alert/Alert.cjs');
|
|
46
|
+
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
47
|
+
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
48
|
+
require('../../../../components/IconButton/IconButton.cjs');
|
|
49
|
+
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
50
|
+
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
43
51
|
require('../../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
44
52
|
require('../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
45
53
|
require('../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
46
|
-
require('../../../../components/
|
|
54
|
+
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
55
|
+
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
56
|
+
require('react-focus-lock');
|
|
57
|
+
require('formik');
|
|
58
|
+
var helpers = require('../../helpers/helpers.cjs');
|
|
47
59
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
48
|
-
require('../../../../
|
|
49
|
-
require('../../../../context/
|
|
50
|
-
|
|
60
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
61
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
62
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
63
|
+
var AuthProviderIcon = require('../../../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
64
|
+
require('qrcode');
|
|
65
|
+
require('@hcaptcha/react-hcaptcha');
|
|
66
|
+
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
67
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
51
68
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
69
|
+
var DotsMenu = require('../DotsMenu/DotsMenu.cjs');
|
|
70
|
+
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
71
|
+
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
52
72
|
require('../DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
53
|
-
require('react-focus-lock');
|
|
54
|
-
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
55
|
-
require('qrcode');
|
|
56
|
-
var AuthProviderIcon = require('../../../../components/AuthProviderIcon/AuthProviderIcon.cjs');
|
|
57
|
-
var helpers = require('../../helpers/helpers.cjs');
|
|
58
73
|
require('../../context/DynamicWidgetContext.cjs');
|
|
59
|
-
var DotsMenu = require('../DotsMenu/DotsMenu.cjs');
|
|
60
74
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
61
|
-
require('formik');
|
|
62
|
-
require('../../../../components/IconButton/IconButton.cjs');
|
|
63
|
-
require('../../../../components/Alert/Alert.cjs');
|
|
64
75
|
require('@dynamic-labs/viem-utils');
|
|
65
76
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
66
|
-
require('../../../../
|
|
67
|
-
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
68
|
-
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
69
|
-
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
77
|
+
var useInternalDynamicContext = require('../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
70
78
|
|
|
71
79
|
const Wallet = ({ wallet, ens }) => {
|
|
72
80
|
var _a;
|
|
@@ -13,15 +13,17 @@ import '../../../../shared/logger.js';
|
|
|
13
13
|
import '@dynamic-labs/wallet-book';
|
|
14
14
|
import { shortenWalletAddress } from '../../../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js';
|
|
15
15
|
import '../../../../utils/constants/colors.js';
|
|
16
|
+
import '../../../../utils/constants/values.js';
|
|
16
17
|
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
17
18
|
import 'viem';
|
|
18
19
|
import '@dynamic-labs/utils';
|
|
19
|
-
import
|
|
20
|
+
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
21
|
+
import '../../../../shared/consts/index.js';
|
|
20
22
|
import '../../../../events/dynamicEvents.js';
|
|
21
23
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
22
24
|
import '../../../../context/ErrorContext/ErrorContext.js';
|
|
23
|
-
import '../../../../shared/consts/index.js';
|
|
24
25
|
import '@dynamic-labs/multi-wallet';
|
|
26
|
+
import 'viem/chains';
|
|
25
27
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
26
28
|
import '../../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
27
29
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -36,33 +38,39 @@ import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser
|
|
|
36
38
|
import '../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
37
39
|
import '@dynamic-labs/rpc-providers';
|
|
38
40
|
import '../../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
41
|
+
import '../../../../components/Alert/Alert.js';
|
|
42
|
+
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
43
|
+
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
44
|
+
import '../../../../components/IconButton/IconButton.js';
|
|
45
|
+
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
46
|
+
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
39
47
|
import '../../../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
40
48
|
import '../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
41
49
|
import '../../../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
42
|
-
import '../../../../components/
|
|
50
|
+
import '../../../../components/Popper/Popper/Popper.js';
|
|
51
|
+
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
52
|
+
import 'react-focus-lock';
|
|
53
|
+
import 'formik';
|
|
54
|
+
import { copyToClipboard, getExportKeysOption } from '../../helpers/helpers.js';
|
|
43
55
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
44
|
-
import '../../../../
|
|
45
|
-
import '../../../../context/
|
|
46
|
-
import
|
|
56
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
57
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
58
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
59
|
+
import { AuthProviderIcon } from '../../../../components/AuthProviderIcon/AuthProviderIcon.js';
|
|
60
|
+
import 'qrcode';
|
|
61
|
+
import '@hcaptcha/react-hcaptcha';
|
|
62
|
+
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
63
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
47
64
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
65
|
+
import { DotsMenu } from '../DotsMenu/DotsMenu.js';
|
|
66
|
+
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
67
|
+
import '../../../../context/FooterAnimationContext/index.js';
|
|
48
68
|
import '../DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
49
|
-
import 'react-focus-lock';
|
|
50
|
-
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
51
|
-
import 'qrcode';
|
|
52
|
-
import { AuthProviderIcon } from '../../../../components/AuthProviderIcon/AuthProviderIcon.js';
|
|
53
|
-
import { copyToClipboard, getExportKeysOption } from '../../helpers/helpers.js';
|
|
54
69
|
import '../../context/DynamicWidgetContext.js';
|
|
55
|
-
import { DotsMenu } from '../DotsMenu/DotsMenu.js';
|
|
56
70
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
57
|
-
import 'formik';
|
|
58
|
-
import '../../../../components/IconButton/IconButton.js';
|
|
59
|
-
import '../../../../components/Alert/Alert.js';
|
|
60
71
|
import '@dynamic-labs/viem-utils';
|
|
61
72
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
62
|
-
import '../../../../
|
|
63
|
-
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
64
|
-
import '../../../../components/Popper/Popper/Popper.js';
|
|
65
|
-
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
73
|
+
import { useInternalDynamicContext } from '../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
66
74
|
|
|
67
75
|
const Wallet = ({ wallet, ens }) => {
|
|
68
76
|
var _a;
|
package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
7
|
+
require('@dynamic-labs/sdk-api');
|
|
8
|
+
require('../../../../shared/logger.cjs');
|
|
9
|
+
var getChainIcon = require('../../../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
10
|
+
require('@dynamic-labs/wallet-book');
|
|
11
|
+
require('../../../../utils/constants/colors.cjs');
|
|
12
|
+
require('../../../../utils/constants/values.cjs');
|
|
13
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
14
|
+
require('viem');
|
|
15
|
+
require('react');
|
|
16
|
+
require('@dynamic-labs/utils');
|
|
17
|
+
require('@dynamic-labs/iconic');
|
|
18
|
+
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
19
|
+
require('../../../../shared/consts/index.cjs');
|
|
20
|
+
require('../../../../../../_virtual/_tslib.cjs');
|
|
21
|
+
require('@dynamic-labs/multi-wallet');
|
|
22
|
+
var pixelToRem = require('../../../../utils/functions/pixelToRem/pixelToRem.cjs');
|
|
23
|
+
require('viem/chains');
|
|
24
|
+
var classNames = require('../../../../utils/functions/classNames/classNames.cjs');
|
|
25
|
+
|
|
26
|
+
const WalletIconWithNetwork = ({ iconSize = 24, chainName, Icon, showNetwork = true, }) => {
|
|
27
|
+
const ChainIcon = chainName ? getChainIcon.getChainIcon(chainName) : undefined;
|
|
28
|
+
return (jsxRuntime.jsxs("div", { className: 'wallet-icon-with-network__container', children: [jsxRuntime.jsx(Icon, { style: {
|
|
29
|
+
height: pixelToRem.pixelToRem(iconSize),
|
|
30
|
+
width: pixelToRem.pixelToRem(iconSize),
|
|
31
|
+
} }), ChainIcon && showNetwork && (jsxRuntime.jsx("div", { "data-testid": 'network-container', className: classNames.classNames('wallet-icon-with-network__network-container'), children: jsxRuntime.jsx(ChainIcon, {}) }))] }));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
exports.WalletIconWithNetwork = WalletIconWithNetwork;
|
package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Icon } from '../../../../shared';
|
|
3
|
+
type Props = {
|
|
4
|
+
iconSize?: number;
|
|
5
|
+
chainName: string;
|
|
6
|
+
Icon: Icon;
|
|
7
|
+
showNetwork?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const WalletIconWithNetwork: ({ iconSize, chainName, Icon, showNetwork, }: Props) => JSX.Element;
|
|
10
|
+
export {};
|
package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
3
|
+
import '@dynamic-labs/sdk-api';
|
|
4
|
+
import '../../../../shared/logger.js';
|
|
5
|
+
import { getChainIcon } from '../../../../shared/utils/functions/chain/getChainIcon.js';
|
|
6
|
+
import '@dynamic-labs/wallet-book';
|
|
7
|
+
import '../../../../utils/constants/colors.js';
|
|
8
|
+
import '../../../../utils/constants/values.js';
|
|
9
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
10
|
+
import 'viem';
|
|
11
|
+
import 'react';
|
|
12
|
+
import '@dynamic-labs/utils';
|
|
13
|
+
import '@dynamic-labs/iconic';
|
|
14
|
+
import '../../../../context/ViewContext/ViewContext.js';
|
|
15
|
+
import '../../../../shared/consts/index.js';
|
|
16
|
+
import '../../../../../../_virtual/_tslib.js';
|
|
17
|
+
import '@dynamic-labs/multi-wallet';
|
|
18
|
+
import { pixelToRem } from '../../../../utils/functions/pixelToRem/pixelToRem.js';
|
|
19
|
+
import 'viem/chains';
|
|
20
|
+
import { classNames } from '../../../../utils/functions/classNames/classNames.js';
|
|
21
|
+
|
|
22
|
+
const WalletIconWithNetwork = ({ iconSize = 24, chainName, Icon, showNetwork = true, }) => {
|
|
23
|
+
const ChainIcon = chainName ? getChainIcon(chainName) : undefined;
|
|
24
|
+
return (jsxs("div", { className: 'wallet-icon-with-network__container', children: [jsx(Icon, { style: {
|
|
25
|
+
height: pixelToRem(iconSize),
|
|
26
|
+
width: pixelToRem(iconSize),
|
|
27
|
+
} }), ChainIcon && showNetwork && (jsx("div", { "data-testid": 'network-container', className: classNames('wallet-icon-with-network__network-container'), children: jsx(ChainIcon, {}) }))] }));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { WalletIconWithNetwork };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WalletIconWithNetwork } from './WalletIconWithNetwork';
|
package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs
CHANGED
|
@@ -5,19 +5,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var walletBook = require('@dynamic-labs/wallet-book');
|
|
7
7
|
var StatusDot = require('../../../../components/StatusDot/StatusDot.cjs');
|
|
8
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
8
9
|
require('@dynamic-labs/sdk-api');
|
|
9
10
|
require('../../../../shared/logger.cjs');
|
|
10
11
|
require('@dynamic-labs/iconic');
|
|
11
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
12
12
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
13
13
|
require('react');
|
|
14
14
|
require('../../../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../../../utils/constants/values.cjs');
|
|
15
16
|
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
16
17
|
require('viem');
|
|
17
18
|
require('@dynamic-labs/utils');
|
|
18
19
|
require('../../../../shared/consts/index.cjs');
|
|
20
|
+
require('../../../../../../_virtual/_tslib.cjs');
|
|
19
21
|
require('@dynamic-labs/multi-wallet');
|
|
20
22
|
var pixelToRem = require('../../../../utils/functions/pixelToRem/pixelToRem.cjs');
|
|
23
|
+
require('viem/chains');
|
|
21
24
|
var classNames = require('../../../../utils/functions/classNames/classNames.cjs');
|
|
22
25
|
|
|
23
26
|
const WalletIconWithStatus = ({ iconSize = 24, walletKey, connected, variant = 'primary', }) => (jsxRuntime.jsxs("div", { className: 'wallet-icon-with-status__container', children: [jsxRuntime.jsx(walletBook.WalletIcon, { walletKey: walletKey, style: {
|
package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { WalletIcon } from '@dynamic-labs/wallet-book';
|
|
3
3
|
import { StatusDot } from '../../../../components/StatusDot/StatusDot.js';
|
|
4
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
4
5
|
import '@dynamic-labs/sdk-api';
|
|
5
6
|
import '../../../../shared/logger.js';
|
|
6
7
|
import '@dynamic-labs/iconic';
|
|
7
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
8
8
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '../../../../utils/constants/colors.js';
|
|
11
|
+
import '../../../../utils/constants/values.js';
|
|
11
12
|
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
12
13
|
import 'viem';
|
|
13
14
|
import '@dynamic-labs/utils';
|
|
14
15
|
import '../../../../shared/consts/index.js';
|
|
16
|
+
import '../../../../../../_virtual/_tslib.js';
|
|
15
17
|
import '@dynamic-labs/multi-wallet';
|
|
16
18
|
import { pixelToRem } from '../../../../utils/functions/pixelToRem/pixelToRem.js';
|
|
19
|
+
import 'viem/chains';
|
|
17
20
|
import { classNames } from '../../../../utils/functions/classNames/classNames.js';
|
|
18
21
|
|
|
19
22
|
const WalletIconWithStatus = ({ iconSize = 24, walletKey, connected, variant = 'primary', }) => (jsxs("div", { className: 'wallet-icon-with-status__container', children: [jsx(WalletIcon, { walletKey: walletKey, style: {
|
|
@@ -6,22 +6,25 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var classNames = require('../../../../utils/functions/classNames/classNames.cjs');
|
|
7
7
|
require('react');
|
|
8
8
|
require('../../../../events/dynamicEvents.cjs');
|
|
9
|
+
require('../../../../../../_virtual/_tslib.cjs');
|
|
9
10
|
require('@dynamic-labs/utils');
|
|
10
|
-
|
|
11
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
12
|
-
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
13
|
-
require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
14
|
-
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
11
|
+
require('../../../../context/DynamicContext/DynamicContext.cjs');
|
|
15
12
|
require('@dynamic-labs/sdk-api');
|
|
16
13
|
require('../../../../shared/logger.cjs');
|
|
17
14
|
require('@dynamic-labs/iconic');
|
|
15
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
16
|
+
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
18
17
|
var close = require('../../../../shared/assets/close.cjs');
|
|
19
18
|
require('@dynamic-labs/wallet-book');
|
|
20
19
|
require('../../../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../../../utils/constants/values.cjs');
|
|
21
21
|
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
22
22
|
require('viem');
|
|
23
23
|
require('../../../../shared/consts/index.cjs');
|
|
24
|
+
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
25
|
+
require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
24
26
|
require('@dynamic-labs/multi-wallet');
|
|
27
|
+
require('viem/chains');
|
|
25
28
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
26
29
|
require('../../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
27
30
|
require('../../../../config/ApiEndpoint.cjs');
|
|
@@ -42,42 +45,32 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
42
45
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
43
46
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
44
47
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
45
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
48
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
47
49
|
require('../DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
48
50
|
require('react-focus-lock');
|
|
49
51
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
50
|
-
require('qrcode');
|
|
51
52
|
require('i18next');
|
|
53
|
+
require('qrcode');
|
|
52
54
|
require('../../context/DynamicWidgetContext.cjs');
|
|
53
55
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
54
56
|
require('formik');
|
|
55
57
|
var IconButton = require('../../../../components/IconButton/IconButton.cjs');
|
|
56
58
|
require('../../../../components/Alert/Alert.cjs');
|
|
59
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
60
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
57
61
|
require('@dynamic-labs/viem-utils');
|
|
58
62
|
require('../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
59
63
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
60
64
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
65
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
62
66
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
67
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
63
71
|
|
|
64
|
-
const WidgetPortal = ({ children,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
e.stopPropagation();
|
|
68
|
-
if (!selectedWalletWithAction &&
|
|
69
|
-
accountSwitchState === 'primary_not_connected') {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
setSelectedWalletWithAction(null);
|
|
73
|
-
setMultiWalletWidgetState('idle');
|
|
74
|
-
if (!onBackdropClick)
|
|
75
|
-
return;
|
|
76
|
-
onBackdropClick();
|
|
77
|
-
};
|
|
78
|
-
return (jsxRuntime.jsx("div", { className: 'widget-portal', onClick: (e) => handleBackdropClick(e), "data-testid": 'backdrop', children: jsxRuntime.jsxs("div", { className: classNames.classNames('widget-portal__container', {
|
|
79
|
-
'widget-portal__container--no-padding': disablePadding,
|
|
80
|
-
}), onClick: (e) => e.stopPropagation(), children: [showCloseButton && (jsxRuntime.jsx("div", { className: 'widget-portal__container__header', children: jsxRuntime.jsx(IconButton.IconButton, { className: 'widget-portal__container__close-button', onClick: (e) => handleBackdropClick(e), type: 'button', "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }) })), children] }) }));
|
|
81
|
-
};
|
|
72
|
+
const WidgetPortal = ({ children, onClose, disablePadding }) => (jsxRuntime.jsx("div", { className: 'widget-portal', onClick: onClose, "data-testid": 'backdrop', children: jsxRuntime.jsxs("div", { className: classNames.classNames('widget-portal__container', {
|
|
73
|
+
'widget-portal__container--no-padding': disablePadding,
|
|
74
|
+
}), onClick: (e) => e.stopPropagation(), children: [onClose && (jsxRuntime.jsx("div", { className: 'widget-portal__container__header', children: jsxRuntime.jsx(IconButton.IconButton, { className: 'widget-portal__container__close-button', onClick: (e) => onClose(e), type: 'button', "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }) })), children] }) }));
|
|
82
75
|
|
|
83
76
|
exports.WidgetPortal = WidgetPortal;
|
|
@@ -2,8 +2,9 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
type Props = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
disablePadding?: boolean;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
onClose?: (e: {
|
|
6
|
+
stopPropagation: VoidFunction;
|
|
7
|
+
}) => void;
|
|
7
8
|
};
|
|
8
|
-
export declare const WidgetPortal: ({ children,
|
|
9
|
+
export declare const WidgetPortal: ({ children, onClose, disablePadding }: Props) => JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -2,22 +2,25 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { classNames } from '../../../../utils/functions/classNames/classNames.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '../../../../events/dynamicEvents.js';
|
|
5
|
+
import '../../../../../../_virtual/_tslib.js';
|
|
5
6
|
import '@dynamic-labs/utils';
|
|
6
|
-
import
|
|
7
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
8
|
-
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
9
|
-
import '../../../../context/ErrorContext/ErrorContext.js';
|
|
10
|
-
import '../../../../context/ViewContext/ViewContext.js';
|
|
7
|
+
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
11
8
|
import '@dynamic-labs/sdk-api';
|
|
12
9
|
import '../../../../shared/logger.js';
|
|
13
10
|
import '@dynamic-labs/iconic';
|
|
11
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
12
|
+
import '../../../../context/ViewContext/ViewContext.js';
|
|
14
13
|
import { ReactComponent as SvgClose } from '../../../../shared/assets/close.js';
|
|
15
14
|
import '@dynamic-labs/wallet-book';
|
|
16
15
|
import '../../../../utils/constants/colors.js';
|
|
16
|
+
import '../../../../utils/constants/values.js';
|
|
17
17
|
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
18
18
|
import 'viem';
|
|
19
19
|
import '../../../../shared/consts/index.js';
|
|
20
|
+
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
21
|
+
import '../../../../context/ErrorContext/ErrorContext.js';
|
|
20
22
|
import '@dynamic-labs/multi-wallet';
|
|
23
|
+
import 'viem/chains';
|
|
21
24
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
22
25
|
import '../../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
23
26
|
import '../../../../config/ApiEndpoint.js';
|
|
@@ -38,42 +41,32 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
38
41
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
39
42
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
40
43
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
41
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
42
44
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
43
45
|
import '../DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
46
|
import 'react-focus-lock';
|
|
45
47
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
46
|
-
import 'qrcode';
|
|
47
48
|
import 'i18next';
|
|
49
|
+
import 'qrcode';
|
|
48
50
|
import '../../context/DynamicWidgetContext.js';
|
|
49
51
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
50
52
|
import 'formik';
|
|
51
53
|
import { IconButton } from '../../../../components/IconButton/IconButton.js';
|
|
52
54
|
import '../../../../components/Alert/Alert.js';
|
|
55
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
56
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
53
57
|
import '@dynamic-labs/viem-utils';
|
|
54
58
|
import '../../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
55
59
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
56
60
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
61
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
58
62
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
63
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
59
67
|
|
|
60
|
-
const WidgetPortal = ({ children,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
e.stopPropagation();
|
|
64
|
-
if (!selectedWalletWithAction &&
|
|
65
|
-
accountSwitchState === 'primary_not_connected') {
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
|
-
setSelectedWalletWithAction(null);
|
|
69
|
-
setMultiWalletWidgetState('idle');
|
|
70
|
-
if (!onBackdropClick)
|
|
71
|
-
return;
|
|
72
|
-
onBackdropClick();
|
|
73
|
-
};
|
|
74
|
-
return (jsx("div", { className: 'widget-portal', onClick: (e) => handleBackdropClick(e), "data-testid": 'backdrop', children: jsxs("div", { className: classNames('widget-portal__container', {
|
|
75
|
-
'widget-portal__container--no-padding': disablePadding,
|
|
76
|
-
}), onClick: (e) => e.stopPropagation(), children: [showCloseButton && (jsx("div", { className: 'widget-portal__container__header', children: jsx(IconButton, { className: 'widget-portal__container__close-button', onClick: (e) => handleBackdropClick(e), type: 'button', "data-testid": 'close-button', children: jsx(SvgClose, {}) }) })), children] }) }));
|
|
77
|
-
};
|
|
68
|
+
const WidgetPortal = ({ children, onClose, disablePadding }) => (jsx("div", { className: 'widget-portal', onClick: onClose, "data-testid": 'backdrop', children: jsxs("div", { className: classNames('widget-portal__container', {
|
|
69
|
+
'widget-portal__container--no-padding': disablePadding,
|
|
70
|
+
}), onClick: (e) => e.stopPropagation(), children: [onClose && (jsx("div", { className: 'widget-portal__container__header', children: jsx(IconButton, { className: 'widget-portal__container__close-button', onClick: (e) => onClose(e), type: 'button', "data-testid": 'close-button', children: jsx(SvgClose, {}) }) })), children] }) }));
|
|
78
71
|
|
|
79
72
|
export { WidgetPortal };
|
|
@@ -4,22 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
|
|
8
|
-
require('../../../events/dynamicEvents.cjs');
|
|
9
|
-
require('@dynamic-labs/utils');
|
|
10
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
11
|
-
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
12
|
-
require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
13
|
-
require('../../../context/ViewContext/ViewContext.cjs');
|
|
7
|
+
require('../../../context/DynamicContext/DynamicContext.cjs');
|
|
14
8
|
require('@dynamic-labs/sdk-api');
|
|
15
9
|
require('../../../shared/logger.cjs');
|
|
16
10
|
require('@dynamic-labs/iconic');
|
|
11
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
12
|
+
require('../../../context/ViewContext/ViewContext.cjs');
|
|
17
13
|
require('@dynamic-labs/wallet-book');
|
|
18
14
|
require('../../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../../utils/constants/values.cjs');
|
|
19
16
|
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
17
|
require('viem');
|
|
18
|
+
require('@dynamic-labs/utils');
|
|
21
19
|
require('../../../shared/consts/index.cjs');
|
|
20
|
+
require('../../../events/dynamicEvents.cjs');
|
|
21
|
+
require('../../../../../_virtual/_tslib.cjs');
|
|
22
|
+
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
|
+
require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
22
24
|
require('@dynamic-labs/multi-wallet');
|
|
25
|
+
require('viem/chains');
|
|
23
26
|
require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
24
27
|
require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
25
28
|
require('../../../config/ApiEndpoint.cjs');
|
|
@@ -49,16 +52,22 @@ require('react-focus-lock');
|
|
|
49
52
|
require('formik');
|
|
50
53
|
require('i18next');
|
|
51
54
|
require('../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
52
|
-
require('../../../
|
|
53
|
-
require('../../../context/
|
|
55
|
+
require('../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
|
+
require('../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
57
|
+
require('../../../views/WalletList/WalletList.cjs');
|
|
58
|
+
var useViewController = require('../hooks/useViewController/useViewController.cjs');
|
|
59
|
+
require('qrcode');
|
|
60
|
+
require('@hcaptcha/react-hcaptcha');
|
|
61
|
+
require('../../../context/LoadingContext/LoadingContext.cjs');
|
|
62
|
+
require('../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
54
63
|
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
64
|
+
require('../../DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
65
|
+
require('../../../context/FooterAnimationContext/index.cjs');
|
|
55
66
|
require('../components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
56
|
-
require('../../../context/LoadingContext/LoadingContext.cjs');
|
|
57
|
-
require('qrcode');
|
|
58
67
|
require('../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
59
|
-
var useViewController = require('../hooks/useViewController/useViewController.cjs');
|
|
60
68
|
require('@dynamic-labs/viem-utils');
|
|
61
69
|
require('../views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
70
|
+
var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
62
71
|
|
|
63
72
|
const DynamicWidgetContext = React.createContext(undefined);
|
|
64
73
|
const DynamicWidgetContextProvider = ({ children, }) => {
|