@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,25 +1,29 @@
|
|
|
1
|
+
import { __awaiter } from '../../../../_virtual/_tslib.js';
|
|
1
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import { useRef, useState, useCallback } from 'react';
|
|
3
4
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import '../../events/dynamicEvents.js';
|
|
5
|
+
import { dynamicEvents } from '../../events/dynamicEvents.js';
|
|
5
6
|
import '@dynamic-labs/utils';
|
|
6
7
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
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';
|
|
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 { useViewContext } from '../../context/ViewContext/ViewContext.js';
|
|
14
13
|
import { ReactComponent as SvgClose } from '../../shared/assets/close.js';
|
|
15
14
|
import { ReactComponent as SvgSignCircle } from '../../shared/assets/sign-circle.js';
|
|
16
15
|
import '@dynamic-labs/wallet-book';
|
|
17
16
|
import '../../utils/constants/colors.js';
|
|
17
|
+
import '../../utils/constants/values.js';
|
|
18
18
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
19
19
|
import 'viem';
|
|
20
20
|
import { usePreventPageScroll } from '../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js';
|
|
21
21
|
import { authModalZIndex } from '../../shared/consts/index.js';
|
|
22
|
+
import { useInternalDynamicContext } from '../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
23
|
+
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
24
|
+
import '../../context/ErrorContext/ErrorContext.js';
|
|
22
25
|
import '@dynamic-labs/multi-wallet';
|
|
26
|
+
import 'viem/chains';
|
|
23
27
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
24
28
|
import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
25
29
|
import '../../config/ApiEndpoint.js';
|
|
@@ -27,6 +31,7 @@ import '../../context/EmailVerificationContext/EmailVerificationContext.js';
|
|
|
27
31
|
import 'react-dom';
|
|
28
32
|
import '../../context/ThemeContext/ThemeContext.js';
|
|
29
33
|
import { useMutation } from '../../utils/hooks/useMutation/useMutation.js';
|
|
34
|
+
import { usePasskeyRecovery } from '../../utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js';
|
|
30
35
|
import '@dynamic-labs/types';
|
|
31
36
|
import 'yup';
|
|
32
37
|
import '../../context/MockContext/MockContext.js';
|
|
@@ -42,7 +47,6 @@ import { VerticalDrawerTransition } from '../../components/Transition/VerticalDr
|
|
|
42
47
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
43
48
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
44
49
|
import '../../context/FooterAnimationContext/index.js';
|
|
45
|
-
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
46
50
|
import { useIsTurnkeyWallet } from '../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js';
|
|
47
51
|
import { PoweredByDynamic } from '../../components/PoweredByDynamic/PoweredByDynamic.js';
|
|
48
52
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
@@ -52,9 +56,9 @@ import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
|
52
56
|
import { Portal } from '../../components/Portal/Portal.js';
|
|
53
57
|
import { IconWithSpinner } from '../../components/IconWithSpinner/IconWithSpinner.js';
|
|
54
58
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
55
|
-
import 'qrcode';
|
|
56
59
|
import { Icon } from '../../components/Icon/Icon.js';
|
|
57
60
|
import 'i18next';
|
|
61
|
+
import 'qrcode';
|
|
58
62
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
59
63
|
import { ErrorContainer } from '../../components/ErrorContainer/ErrorContainer.js';
|
|
60
64
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -65,8 +69,8 @@ import { IconButton } from '../../components/IconButton/IconButton.js';
|
|
|
65
69
|
import { Typography } from '../../components/Typography/Typography.js';
|
|
66
70
|
import '../../components/Alert/Alert.js';
|
|
67
71
|
import { AppOriginTile } from '../../components/AppOriginTile/AppOriginTile.js';
|
|
68
|
-
import { SecureTurnkeyWalletCard } from '../../components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js';
|
|
69
72
|
import { PasskeyCreatedSuccessBanner } from '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
73
|
+
import { usePasskeyContext } from '../../context/PasskeyContext/PasskeyContext.js';
|
|
70
74
|
import '@dynamic-labs/viem-utils';
|
|
71
75
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
72
76
|
import { getProperErrorMessage } from './getProperErrorMessage.js';
|
|
@@ -76,12 +80,20 @@ import { NeedHelpSection } from '../../components/NeedHelpSection/NeedHelpSectio
|
|
|
76
80
|
import '../../components/Popper/Popper/Popper.js';
|
|
77
81
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
78
82
|
import { SignMessagePreview } from '../../components/SignMessagePreview/SignMessagePreview.js';
|
|
83
|
+
import '../../views/WalletList/WalletList.js';
|
|
84
|
+
import '@hcaptcha/react-hcaptcha';
|
|
85
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
86
|
+
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
79
87
|
|
|
80
88
|
const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message, handler, onReject, onSignMessage, }) => {
|
|
81
89
|
usePreventPageScroll(true);
|
|
82
90
|
const didConfirmRef = useRef(false);
|
|
83
91
|
const [show, setShow] = useState(true);
|
|
84
|
-
const {
|
|
92
|
+
const { initPasskeyRecoveryProcess, shouldInitRecovery } = usePasskeyRecovery();
|
|
93
|
+
const { isTurnkeyWallet } = useIsTurnkeyWallet();
|
|
94
|
+
const { setShowAuthFlow } = useInternalDynamicContext();
|
|
95
|
+
const { setView } = useViewContext();
|
|
96
|
+
const { userNeedsCrossDomainPasskey } = usePasskeyContext();
|
|
85
97
|
const { t } = useTranslation();
|
|
86
98
|
const handleOnReject = useCallback(() => {
|
|
87
99
|
didConfirmRef.current = false;
|
|
@@ -99,10 +111,27 @@ const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message,
|
|
|
99
111
|
}
|
|
100
112
|
onReject(signMessageError || new Error('user rejected signing'));
|
|
101
113
|
}, [signedMessage, onSignMessage, onReject, signMessageError]);
|
|
114
|
+
const handleMessageSign = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
115
|
+
if (yield shouldInitRecovery()) {
|
|
116
|
+
yield initPasskeyRecoveryProcess('email', 'signMessage');
|
|
117
|
+
}
|
|
118
|
+
if (isTurnkeyWallet && userNeedsCrossDomainPasskey) {
|
|
119
|
+
setView('passkey-new-domain-detected');
|
|
120
|
+
setShowAuthFlow(true, {
|
|
121
|
+
ignoreIfIsEmbeddedWidget: false,
|
|
122
|
+
performMultiWalletChecks: false,
|
|
123
|
+
});
|
|
124
|
+
dynamicEvents.once('passkeyRecoveryCompleted', () => {
|
|
125
|
+
confirm();
|
|
126
|
+
});
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
confirm();
|
|
130
|
+
});
|
|
102
131
|
const closeButton = (jsx(IconButton, { type: 'button', onClick: handleOnReject, "data-testid": 'close', disabled: isLoading, children: jsx(SvgClose, {}) }));
|
|
103
132
|
return (jsx(Portal, { handleClose: handleOnReject, isShown: show, zIndex: authModalZIndex, withBackdrop: true, elementId: 'dynamic-sign-message', transitionEvents: {
|
|
104
133
|
onUnmount: handleOnModalUnmount,
|
|
105
|
-
}, children: jsx(Modal, { children: jsxs(ModalCard, { children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'sign-message-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', copykey: 'dyn_sign_message.title', children: t('dyn_sign_message.title') }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: signMessageError && (jsx("div", { className: 'sign-message-confirmation__error', children: jsx(ErrorContainer, { children: getProperErrorMessage(signMessageError) }) })) }), jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsx("div", { className: 'sign-message-confirmation__message', children: jsx(SignMessagePreview, { message: message.toString() }) })] }),
|
|
134
|
+
}, children: jsx(Modal, { children: jsxs(ModalCard, { children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'sign-message-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', copykey: 'dyn_sign_message.title', children: t('dyn_sign_message.title') }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: signMessageError && (jsx("div", { className: 'sign-message-confirmation__error', children: jsx(ErrorContainer, { children: getProperErrorMessage(signMessageError) }) })) }), jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsx("div", { className: 'sign-message-confirmation__message', children: jsx(SignMessagePreview, { message: message.toString() }) })] }), jsxs("div", { className: 'sign-message-confirmation__actions', children: [jsx(Button, { buttonVariant: 'secondary', onClick: handleOnReject, expanded: true, buttonPadding: 'large', disabled: isLoading, copykey: 'dyn_sign_message.cancel_button', children: t('dyn_sign_message.cancel_button') }), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: handleMessageSign, expanded: true, loading: isLoading, copykey: 'dyn_sign_message.sign_button', dataTestId: 'sign-button', children: t('dyn_sign_message.sign_button') })] }), jsx(NeedHelpSection, {}), jsx(PoweredByDynamic, {})] })] }) }) }));
|
|
106
135
|
};
|
|
107
136
|
|
|
108
137
|
export { SignMessageConfirmationModal };
|
|
@@ -6,23 +6,25 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var viem = require('viem');
|
|
8
8
|
require('../../events/dynamicEvents.cjs');
|
|
9
|
+
require('../../../../_virtual/_tslib.cjs');
|
|
9
10
|
require('@dynamic-labs/utils');
|
|
10
11
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
11
|
-
require('@dynamic-labs/wallet-connector-core');
|
|
12
|
-
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
13
|
-
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
14
|
-
require('../../context/ViewContext/ViewContext.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
|
require('@dynamic-labs/wallet-book');
|
|
19
18
|
require('../../utils/constants/colors.cjs');
|
|
19
|
+
require('../../utils/constants/values.cjs');
|
|
20
20
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
21
|
var usePreventPageScroll = require('../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs');
|
|
22
22
|
var index = require('../../shared/consts/index.cjs');
|
|
23
|
+
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
24
|
+
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
23
25
|
require('@dynamic-labs/multi-wallet');
|
|
24
26
|
var isMagicConnector = require('../../utils/functions/isMagicConnector/isMagicConnector.cjs');
|
|
25
|
-
|
|
27
|
+
require('viem/chains');
|
|
26
28
|
require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
27
29
|
require('../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
28
30
|
require('../../config/ApiEndpoint.cjs');
|
|
@@ -44,26 +46,31 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
44
46
|
require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
45
47
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
46
48
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
47
|
-
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
48
49
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
49
50
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
50
51
|
var Modal = require('../../components/Modal/Modal.cjs');
|
|
51
52
|
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
52
53
|
var Portal = require('../../components/Portal/Portal.cjs');
|
|
53
54
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
54
|
-
require('qrcode');
|
|
55
55
|
require('i18next');
|
|
56
|
+
require('qrcode');
|
|
56
57
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
57
58
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
58
59
|
require('formik');
|
|
59
60
|
require('../../components/IconButton/IconButton.cjs');
|
|
60
61
|
require('../../components/Alert/Alert.cjs');
|
|
62
|
+
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
63
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
61
64
|
var TransactionConfirmationView = require('../../views/TransactionConfirmationView/TransactionConfirmationView.cjs');
|
|
62
65
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
63
66
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
64
67
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
65
68
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
66
69
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
70
|
+
require('../../views/WalletList/WalletList.cjs');
|
|
71
|
+
require('@hcaptcha/react-hcaptcha');
|
|
72
|
+
require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
73
|
+
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
67
74
|
|
|
68
75
|
const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionResponseSuccess, transaction, provider, walletConnector, copykey, }) => {
|
|
69
76
|
usePreventPageScroll.usePreventPageScroll(true);
|
|
@@ -88,7 +95,7 @@ const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionR
|
|
|
88
95
|
}, [onTransactionResponseSuccess, onReject]);
|
|
89
96
|
return (jsxRuntime.jsx(Portal.Portal, { handleClose: closeModal, isShown: show, zIndex: index.authModalZIndex, withBackdrop: true, elementId: 'dynamic-send-transaction', transitionEvents: {
|
|
90
97
|
onUnmount: handleOnModalUnmount,
|
|
91
|
-
}, children: jsxRuntime.jsx(Modal.Modal, { children: jsxRuntime.jsx(ModalCard.ModalCard, { children: jsxRuntime.jsx(TransactionConfirmationView.TransactionConfirmationView, { provider: provider, transaction: transactionWithGasPrice, title: title, copykey: copykey, mutation: () =>
|
|
98
|
+
}, children: jsxRuntime.jsx(Modal.Modal, { children: jsxRuntime.jsx(ModalCard.ModalCard, { children: jsxRuntime.jsx(TransactionConfirmationView.TransactionConfirmationView, { provider: provider, transaction: transactionWithGasPrice, title: title, copykey: copykey, mutation: () => handler(transactionWithGasPrice), onClickClose: closeModal, onError: (error) => (errorRef.current = error), displayPoweredByDynamicFooter: true, onSuccess: (transactionResponse) => {
|
|
92
99
|
errorRef.current = null;
|
|
93
100
|
transactionResponseRef.current = transactionResponse;
|
|
94
101
|
closeModal();
|
|
@@ -2,23 +2,25 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
3
|
import { TransactionExecutionError, BaseError } from 'viem';
|
|
4
4
|
import '../../events/dynamicEvents.js';
|
|
5
|
+
import '../../../../_virtual/_tslib.js';
|
|
5
6
|
import '@dynamic-labs/utils';
|
|
6
7
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
7
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
8
|
-
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
9
|
-
import '../../context/ErrorContext/ErrorContext.js';
|
|
10
|
-
import '../../context/ViewContext/ViewContext.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 '@dynamic-labs/wallet-book';
|
|
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 { usePreventPageScroll } from '../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js';
|
|
18
18
|
import { authModalZIndex } from '../../shared/consts/index.js';
|
|
19
|
+
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
20
|
+
import '../../context/ErrorContext/ErrorContext.js';
|
|
19
21
|
import '@dynamic-labs/multi-wallet';
|
|
20
22
|
import { isMagicConnector } from '../../utils/functions/isMagicConnector/isMagicConnector.js';
|
|
21
|
-
import
|
|
23
|
+
import 'viem/chains';
|
|
22
24
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
23
25
|
import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
24
26
|
import '../../config/ApiEndpoint.js';
|
|
@@ -40,26 +42,31 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
40
42
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
41
43
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
42
44
|
import '../../context/FooterAnimationContext/index.js';
|
|
43
|
-
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
44
45
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
45
46
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
46
47
|
import { Modal } from '../../components/Modal/Modal.js';
|
|
47
48
|
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
48
49
|
import { Portal } from '../../components/Portal/Portal.js';
|
|
49
50
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
50
|
-
import 'qrcode';
|
|
51
51
|
import 'i18next';
|
|
52
|
+
import 'qrcode';
|
|
52
53
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
53
54
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
54
55
|
import 'formik';
|
|
55
56
|
import '../../components/IconButton/IconButton.js';
|
|
56
57
|
import '../../components/Alert/Alert.js';
|
|
58
|
+
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
59
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
57
60
|
import { TransactionConfirmationView } from '../../views/TransactionConfirmationView/TransactionConfirmationView.js';
|
|
58
61
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
59
62
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
60
63
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
61
64
|
import '../../components/Popper/Popper/Popper.js';
|
|
62
65
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
66
|
+
import '../../views/WalletList/WalletList.js';
|
|
67
|
+
import '@hcaptcha/react-hcaptcha';
|
|
68
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
69
|
+
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
63
70
|
|
|
64
71
|
const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionResponseSuccess, transaction, provider, walletConnector, copykey, }) => {
|
|
65
72
|
usePreventPageScroll(true);
|
|
@@ -84,7 +91,7 @@ const TransactionConfirmationModal = ({ title, handler, onReject, onTransactionR
|
|
|
84
91
|
}, [onTransactionResponseSuccess, onReject]);
|
|
85
92
|
return (jsx(Portal, { handleClose: closeModal, isShown: show, zIndex: authModalZIndex, withBackdrop: true, elementId: 'dynamic-send-transaction', transitionEvents: {
|
|
86
93
|
onUnmount: handleOnModalUnmount,
|
|
87
|
-
}, children: jsx(Modal, { children: jsx(ModalCard, { children: jsx(TransactionConfirmationView, { provider: provider, transaction: transactionWithGasPrice, title: title, copykey: copykey, mutation: () =>
|
|
94
|
+
}, children: jsx(Modal, { children: jsx(ModalCard, { children: jsx(TransactionConfirmationView, { provider: provider, transaction: transactionWithGasPrice, title: title, copykey: copykey, mutation: () => handler(transactionWithGasPrice), onClickClose: closeModal, onError: (error) => (errorRef.current = error), displayPoweredByDynamicFooter: true, onSuccess: (transactionResponse) => {
|
|
88
95
|
errorRef.current = null;
|
|
89
96
|
transactionResponseRef.current = transactionResponse;
|
|
90
97
|
closeModal();
|
|
@@ -8,19 +8,21 @@ var React = require('react');
|
|
|
8
8
|
require('../../events/dynamicEvents.cjs');
|
|
9
9
|
require('@dynamic-labs/utils');
|
|
10
10
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
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');
|
|
15
11
|
require('@dynamic-labs/sdk-api');
|
|
16
12
|
require('../../shared/logger.cjs');
|
|
17
13
|
require('@dynamic-labs/iconic');
|
|
14
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
15
|
+
require('../../context/ViewContext/ViewContext.cjs');
|
|
18
16
|
require('@dynamic-labs/wallet-book');
|
|
19
17
|
require('../../utils/constants/colors.cjs');
|
|
18
|
+
require('../../utils/constants/values.cjs');
|
|
20
19
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
20
|
require('viem');
|
|
22
21
|
var index = require('../../shared/consts/index.cjs');
|
|
22
|
+
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
23
|
+
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
23
24
|
require('@dynamic-labs/multi-wallet');
|
|
25
|
+
require('viem/chains');
|
|
24
26
|
require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
25
27
|
require('../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
26
28
|
require('../../config/ApiEndpoint.cjs');
|
|
@@ -41,20 +43,21 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
41
43
|
require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
42
44
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
43
45
|
require('../../context/FooterAnimationContext/index.cjs');
|
|
44
|
-
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
46
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
47
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
48
|
var Modal = require('../../components/Modal/Modal.cjs');
|
|
48
49
|
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
49
50
|
var Portal = require('../../components/Portal/Portal.cjs');
|
|
50
51
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
51
|
-
require('qrcode');
|
|
52
52
|
require('i18next');
|
|
53
|
+
require('qrcode');
|
|
53
54
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
54
55
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
55
56
|
require('formik');
|
|
56
57
|
require('../../components/IconButton/IconButton.cjs');
|
|
57
58
|
require('../../components/Alert/Alert.cjs');
|
|
59
|
+
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
60
|
+
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
58
61
|
require('@dynamic-labs/viem-utils');
|
|
59
62
|
require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
60
63
|
var UserFieldEditorView = require('../../views/UserFieldEditorView/UserFieldEditorView.cjs');
|
|
@@ -62,6 +65,10 @@ require('../../components/InlineWidget/InlineWidget.cjs');
|
|
|
62
65
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
63
66
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
64
67
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
68
|
+
require('../../views/WalletList/WalletList.cjs');
|
|
69
|
+
require('@hcaptcha/react-hcaptcha');
|
|
70
|
+
require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
71
|
+
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
65
72
|
|
|
66
73
|
const UserFieldEditorModal = (_a) => {
|
|
67
74
|
var { onCancel, onSubmit, fields } = _a, textOptions = _tslib.__rest(_a, ["onCancel", "onSubmit", "fields"]);
|
|
@@ -4,19 +4,21 @@ import { useState, useRef, useCallback } from 'react';
|
|
|
4
4
|
import '../../events/dynamicEvents.js';
|
|
5
5
|
import '@dynamic-labs/utils';
|
|
6
6
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
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';
|
|
11
7
|
import '@dynamic-labs/sdk-api';
|
|
12
8
|
import '../../shared/logger.js';
|
|
13
9
|
import '@dynamic-labs/iconic';
|
|
10
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
11
|
+
import '../../context/ViewContext/ViewContext.js';
|
|
14
12
|
import '@dynamic-labs/wallet-book';
|
|
15
13
|
import '../../utils/constants/colors.js';
|
|
14
|
+
import '../../utils/constants/values.js';
|
|
16
15
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
17
16
|
import 'viem';
|
|
18
17
|
import { authModalZIndex } from '../../shared/consts/index.js';
|
|
18
|
+
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
19
|
+
import '../../context/ErrorContext/ErrorContext.js';
|
|
19
20
|
import '@dynamic-labs/multi-wallet';
|
|
21
|
+
import 'viem/chains';
|
|
20
22
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
21
23
|
import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
22
24
|
import '../../config/ApiEndpoint.js';
|
|
@@ -37,20 +39,21 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
37
39
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
38
40
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
39
41
|
import '../../context/FooterAnimationContext/index.js';
|
|
40
|
-
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
41
42
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
43
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
43
44
|
import { Modal } from '../../components/Modal/Modal.js';
|
|
44
45
|
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
45
46
|
import { Portal } from '../../components/Portal/Portal.js';
|
|
46
47
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
47
|
-
import 'qrcode';
|
|
48
48
|
import 'i18next';
|
|
49
|
+
import 'qrcode';
|
|
49
50
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
50
51
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
51
52
|
import 'formik';
|
|
52
53
|
import '../../components/IconButton/IconButton.js';
|
|
53
54
|
import '../../components/Alert/Alert.js';
|
|
55
|
+
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
56
|
+
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
54
57
|
import '@dynamic-labs/viem-utils';
|
|
55
58
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
56
59
|
import { UserFieldEditorView } from '../../views/UserFieldEditorView/UserFieldEditorView.js';
|
|
@@ -58,6 +61,10 @@ import '../../components/InlineWidget/InlineWidget.js';
|
|
|
58
61
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
59
62
|
import '../../components/Popper/Popper/Popper.js';
|
|
60
63
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
64
|
+
import '../../views/WalletList/WalletList.js';
|
|
65
|
+
import '@hcaptcha/react-hcaptcha';
|
|
66
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
67
|
+
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
61
68
|
|
|
62
69
|
const UserFieldEditorModal = (_a) => {
|
|
63
70
|
var { onCancel, onSubmit, fields } = _a, textOptions = __rest(_a, ["onCancel", "onSubmit", "fields"]);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
|
+
|
|
27
|
+
var _path;
|
|
28
|
+
var _excluded = ["title", "titleId"];
|
|
29
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
30
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
32
|
+
var SvgDomain = function SvgDomain(_ref) {
|
|
33
|
+
var title = _ref.title,
|
|
34
|
+
titleId = _ref.titleId,
|
|
35
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
36
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
37
|
+
width: 65,
|
|
38
|
+
height: 64,
|
|
39
|
+
viewBox: "0 0 65 64",
|
|
40
|
+
fill: "none",
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
"aria-labelledby": titleId
|
|
43
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
44
|
+
id: titleId
|
|
45
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M32.5 64c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32C14.827 0 .5 14.327.5 32c0 17.673 14.327 32 32 32Zm-4.928-29.305h9.717c-.207 4.908-1.087 9.168-2.3 12.206-.7 1.756-1.433 2.9-2.036 3.54-.245.26-.42.387-.523.448-.102-.06-.277-.189-.522-.449-.603-.638-1.336-1.783-2.037-3.539-1.213-3.038-2.092-7.298-2.3-12.206Zm2.3-16.655c-1.242 3.108-2.134 7.497-2.314 12.55h9.744c-.18-5.053-1.071-9.442-2.313-12.55-.7-1.756-1.433-2.9-2.036-3.54-.245-.26-.42-.388-.523-.449-.102.061-.277.19-.522.45-.603.638-1.336 1.783-2.037 3.539ZM14.5 30.59h8.951c.216-6.53 1.541-12.27 3.503-16.036C20.23 16.789 15.22 23.03 14.5 30.59Zm.036 4.105h8.928c.25 6.387 1.563 11.993 3.49 15.692-6.622-2.201-11.582-8.288-12.418-15.692Zm35.789 0h-8.928c-.25 6.387-1.563 11.993-3.49 15.692 6.621-2.201 11.581-8.288 12.418-15.692Zm.125-2.224v.066-.133.066Zm-9.04-1.88h8.95c-.719-7.56-5.73-13.802-12.454-16.037 1.962 3.766 3.288 9.507 3.503 16.036Zm-9.09 20.35c0-.001.008-.004.023-.007-.015.006-.023.008-.023.007Zm.198-.007a.072.072 0 0 1 .023.007s-.008-.001-.023-.007ZM32.541 14s-.008.004-.023.007c.015-.006.023-.008.023-.007Zm-.198.007A.068.068 0 0 1 32.32 14s.008.001.023.007Z",
|
|
49
|
+
fill: "#4779FF"
|
|
50
|
+
})));
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
exports.ReactComponent = SvgDomain;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
var _excluded = ["title", "titleId"];
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
var SvgDomain = function SvgDomain(_ref) {
|
|
9
|
+
var title = _ref.title,
|
|
10
|
+
titleId = _ref.titleId,
|
|
11
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
+
width: 65,
|
|
14
|
+
height: 64,
|
|
15
|
+
viewBox: "0 0 65 64",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
"aria-labelledby": titleId
|
|
19
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
20
|
+
id: titleId
|
|
21
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M32.5 64c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32C14.827 0 .5 14.327.5 32c0 17.673 14.327 32 32 32Zm-4.928-29.305h9.717c-.207 4.908-1.087 9.168-2.3 12.206-.7 1.756-1.433 2.9-2.036 3.54-.245.26-.42.387-.523.448-.102-.06-.277-.189-.522-.449-.603-.638-1.336-1.783-2.037-3.539-1.213-3.038-2.092-7.298-2.3-12.206Zm2.3-16.655c-1.242 3.108-2.134 7.497-2.314 12.55h9.744c-.18-5.053-1.071-9.442-2.313-12.55-.7-1.756-1.433-2.9-2.036-3.54-.245-.26-.42-.388-.523-.449-.102.061-.277.19-.522.45-.603.638-1.336 1.783-2.037 3.539ZM14.5 30.59h8.951c.216-6.53 1.541-12.27 3.503-16.036C20.23 16.789 15.22 23.03 14.5 30.59Zm.036 4.105h8.928c.25 6.387 1.563 11.993 3.49 15.692-6.622-2.201-11.582-8.288-12.418-15.692Zm35.789 0h-8.928c-.25 6.387-1.563 11.993-3.49 15.692 6.621-2.201 11.581-8.288 12.418-15.692Zm.125-2.224v.066-.133.066Zm-9.04-1.88h8.95c-.719-7.56-5.73-13.802-12.454-16.037 1.962 3.766 3.288 9.507 3.503 16.036Zm-9.09 20.35c0-.001.008-.004.023-.007-.015.006-.023.008-.023.007Zm.198-.007a.072.072 0 0 1 .023.007s-.008-.001-.023-.007ZM32.541 14s-.008.004-.023.007c.015-.006.023-.008.023-.007Zm-.198.007A.068.068 0 0 1 32.32 14s.008.001.023.007Z",
|
|
25
|
+
fill: "#4779FF"
|
|
26
|
+
})));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { SvgDomain as ReactComponent };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var React = require('react');
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
|
+
|
|
27
|
+
var _path;
|
|
28
|
+
var _excluded = ["title", "titleId"];
|
|
29
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
30
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
31
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
32
|
+
var SvgExportPrivateKey = function SvgExportPrivateKey(_ref) {
|
|
33
|
+
var title = _ref.title,
|
|
34
|
+
titleId = _ref.titleId,
|
|
35
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
36
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
37
|
+
width: 28,
|
|
38
|
+
height: 28,
|
|
39
|
+
viewBox: "0 0 28 28",
|
|
40
|
+
fill: "none",
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
"aria-labelledby": titleId
|
|
43
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
44
|
+
id: titleId
|
|
45
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
46
|
+
fillRule: "evenodd",
|
|
47
|
+
clipRule: "evenodd",
|
|
48
|
+
d: "M19.834 4.667a2.333 2.333 0 0 0-2.333-2.334H7a4.668 4.668 0 0 0-4.592 3.83 4.654 4.654 0 0 1 3.425-1.496h14ZM21 7a4.667 4.667 0 0 1 4.667 4.667V21A4.667 4.667 0 0 1 21 25.667H7A4.667 4.667 0 0 1 2.333 21v-9.333A4.667 4.667 0 0 1 7 7h14Zm-4.915 3.792a3.649 3.649 0 1 1 0 7.297 3.649 3.649 0 0 1 0-7.297Zm0 1.824a1.824 1.824 0 1 1 0 3.649 1.824 1.824 0 0 1 0-3.649Zm-3.16 5.115a4.565 4.565 0 0 1-.714-.924l-4.336 4.336 1.29 1.29 1.254-1.253 1.279 1.278 1.29-1.29-1.279-1.278 1.721-1.722a4.598 4.598 0 0 1-.505-.437Z",
|
|
49
|
+
fill: "#383C48",
|
|
50
|
+
fillOpacity: 0.4
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.ReactComponent = SvgExportPrivateKey;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
var _excluded = ["title", "titleId"];
|
|
5
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
6
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
8
|
+
var SvgExportPrivateKey = function SvgExportPrivateKey(_ref) {
|
|
9
|
+
var title = _ref.title,
|
|
10
|
+
titleId = _ref.titleId,
|
|
11
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
13
|
+
width: 28,
|
|
14
|
+
height: 28,
|
|
15
|
+
viewBox: "0 0 28 28",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
"aria-labelledby": titleId
|
|
19
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
20
|
+
id: titleId
|
|
21
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M19.834 4.667a2.333 2.333 0 0 0-2.333-2.334H7a4.668 4.668 0 0 0-4.592 3.83 4.654 4.654 0 0 1 3.425-1.496h14ZM21 7a4.667 4.667 0 0 1 4.667 4.667V21A4.667 4.667 0 0 1 21 25.667H7A4.667 4.667 0 0 1 2.333 21v-9.333A4.667 4.667 0 0 1 7 7h14Zm-4.915 3.792a3.649 3.649 0 1 1 0 7.297 3.649 3.649 0 0 1 0-7.297Zm0 1.824a1.824 1.824 0 1 1 0 3.649 1.824 1.824 0 0 1 0-3.649Zm-3.16 5.115a4.565 4.565 0 0 1-.714-.924l-4.336 4.336 1.29 1.29 1.254-1.253 1.279 1.278 1.29-1.29-1.279-1.278 1.721-1.722a4.598 4.598 0 0 1-.505-.437Z",
|
|
25
|
+
fill: "#383C48",
|
|
26
|
+
fillOpacity: 0.4
|
|
27
|
+
})));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { SvgExportPrivateKey as ReactComponent };
|