@dynamic-labs/sdk-react-core 2.1.0-alpha.0 → 2.1.0-alpha.2
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 +28 -0
- package/_virtual/_tslib.cjs +1 -0
- package/_virtual/_tslib.js +1 -0
- package/_virtual/style-inject.cjs +1 -0
- package/_virtual/style-inject.js +1 -0
- package/package.cjs +3 -2
- package/package.js +3 -2
- package/package.json +14 -14
- package/src/index.cjs +8 -3
- package/src/index.d.ts +3 -3
- package/src/index.js +6 -3
- package/src/lib/Main.cjs +2 -1
- package/src/lib/Main.js +2 -1
- package/src/lib/app.cjs +1 -0
- package/src/lib/app.js +1 -0
- package/src/lib/assets/dynamic-logo.cjs +1 -0
- package/src/lib/assets/dynamic-logo.js +1 -0
- package/src/lib/assets/index.d.ts +1 -0
- package/src/lib/assets/no-wallet-found.cjs +1 -0
- package/src/lib/assets/no-wallet-found.js +1 -0
- package/src/lib/assets/search.cjs +1 -0
- package/src/lib/assets/search.js +1 -0
- package/src/lib/assets/secure-account.cjs +121 -0
- package/src/lib/assets/secure-account.js +97 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -1
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.cjs +1 -0
- package/src/lib/components/Accordion/components/VerticalAccordion/VerticalAccordion.js +1 -0
- 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 +2 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -1
- package/src/lib/components/AppOriginTile/AppOriginTile.cjs +1 -0
- package/src/lib/components/AppOriginTile/AppOriginTile.js +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +2 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +2 -1
- package/src/lib/components/Badge/Badge.cjs +1 -0
- package/src/lib/components/Badge/Badge.js +1 -0
- package/src/lib/components/Button/Button.cjs +4 -5
- package/src/lib/components/Button/Button.d.ts +1 -4
- package/src/lib/components/Button/Button.js +4 -5
- package/src/lib/components/Captcha/Captcha.cjs +2 -1
- package/src/lib/components/Captcha/Captcha.js +2 -1
- package/src/lib/components/ChainIcon/ChainIcon.cjs +1 -0
- package/src/lib/components/ChainIcon/ChainIcon.js +1 -0
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -0
- package/src/lib/components/Checkbox/Checkbox.js +1 -0
- package/src/lib/components/Chip/Chip.cjs +1 -0
- package/src/lib/components/Chip/Chip.js +1 -0
- package/src/lib/components/CopyButton/CopyButton.cjs +3 -2
- package/src/lib/components/CopyButton/CopyButton.js +3 -2
- package/src/lib/components/Divider/Divider.cjs +2 -1
- package/src/lib/components/Divider/Divider.js +2 -1
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.cjs +1 -0
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.js +1 -0
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +3 -2
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +3 -2
- package/src/lib/components/DynamicFooter/DynamicFooter.cjs +1 -0
- package/src/lib/components/DynamicFooter/DynamicFooter.js +1 -0
- package/src/lib/components/EmailForm/EmailForm.cjs +4 -3
- package/src/lib/components/EmailForm/EmailForm.js +4 -3
- package/src/lib/components/EmailIcon/EmailIcon.cjs +1 -0
- package/src/lib/components/EmailIcon/EmailIcon.js +1 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.cjs +1 -0
- package/src/lib/components/EnterTileAnimation/EnterTileAnimation.js +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.js +1 -0
- package/src/lib/components/FormFieldLabel/FormFieldLabel.cjs +1 -0
- package/src/lib/components/FormFieldLabel/FormFieldLabel.js +1 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.cjs +1 -0
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.js +1 -0
- package/src/lib/components/Icon/Icon.cjs +1 -0
- package/src/lib/components/Icon/Icon.js +1 -0
- package/src/lib/components/IconButton/IconButton.cjs +1 -0
- package/src/lib/components/IconButton/IconButton.js +1 -0
- package/src/lib/components/IconListTile/IconListTile.cjs +1 -0
- package/src/lib/components/IconListTile/IconListTile.js +1 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -0
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +1 -0
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +1 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -0
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -0
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -0
- package/src/lib/components/Image/Image.cjs +1 -0
- package/src/lib/components/Image/Image.js +1 -0
- package/src/lib/components/InfoItem/InfoItem.cjs +1 -0
- package/src/lib/components/InfoItem/InfoItem.js +1 -0
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.cjs +1 -0
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.js +1 -0
- package/src/lib/components/InlineWidget/InlineWidget.cjs +1 -0
- package/src/lib/components/InlineWidget/InlineWidget.js +1 -0
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.cjs +1 -0
- package/src/lib/components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.js +1 -0
- package/src/lib/components/Input/Input.cjs +1 -0
- package/src/lib/components/Input/Input.js +1 -0
- package/src/lib/components/IsBrowser/IsBrowser.cjs +1 -0
- package/src/lib/components/IsBrowser/IsBrowser.js +1 -0
- package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.cjs +1 -0
- package/src/lib/components/LegacySafariCssOverrides/LegacySafariCssOverrides.js +1 -0
- package/src/lib/components/ListTile/ListTile.cjs +1 -0
- package/src/lib/components/ListTile/ListTile.js +1 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.cjs +1 -0
- package/src/lib/components/ListTileAnimatedTrailing/ListTileAnimatedTrailing.js +1 -0
- package/src/lib/components/LogoutButton/LogoutButton.cjs +4 -3
- package/src/lib/components/LogoutButton/LogoutButton.js +4 -3
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +2 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +2 -1
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +1 -0
- package/src/lib/components/MenuList/MenuList/MenuList.js +1 -0
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.cjs +1 -0
- package/src/lib/components/MenuList/utils/watchToScrollInHierarchy/watchToScrollInHierarchy.js +1 -0
- package/src/lib/components/MockedQrCode/MockedQrCode.cjs +1 -0
- package/src/lib/components/MockedQrCode/MockedQrCode.js +1 -0
- package/src/lib/components/Modal/Modal.cjs +2 -1
- package/src/lib/components/Modal/Modal.js +2 -1
- package/src/lib/components/ModalCard/ModalCard.cjs +1 -0
- package/src/lib/components/ModalCard/ModalCard.js +1 -0
- package/src/lib/components/ModalHeader/ModalHeader.cjs +1 -0
- package/src/lib/components/ModalHeader/ModalHeader.js +1 -0
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +1 -0
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +1 -0
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +2 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +2 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +2 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +2 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.js +2 -1
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkAction/NetworkAction.js +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.js +1 -0
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +2 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +2 -1
- 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 +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -0
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.cjs +1 -0
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.js +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.cjs +2 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +2 -1
- package/src/lib/components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs +1 -0
- package/src/lib/components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js +1 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +2 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +2 -1
- package/src/lib/components/PhoneIcon/PhoneIcon.cjs +1 -0
- package/src/lib/components/PhoneIcon/PhoneIcon.js +1 -0
- package/src/lib/components/PhoneNumberField/PhoneNumberField.cjs +2 -1
- package/src/lib/components/PhoneNumberField/PhoneNumberField.js +2 -1
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.cjs +1 -0
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js +1 -0
- package/src/lib/components/PinField/PinField.cjs +1 -0
- package/src/lib/components/PinField/PinField.js +1 -0
- package/src/lib/components/PinInput/PinInput.cjs +1 -0
- package/src/lib/components/PinInput/PinInput.js +1 -0
- package/src/lib/components/Popper/Popper/Popper.cjs +1 -0
- package/src/lib/components/Popper/Popper/Popper.js +1 -0
- package/src/lib/components/Popper/PopperContent/PopperContent.cjs +1 -0
- package/src/lib/components/Popper/PopperContent/PopperContent.js +1 -0
- package/src/lib/components/Popper/PopperContext/PopperContext.cjs +1 -0
- package/src/lib/components/Popper/PopperContext/PopperContext.js +1 -0
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.cjs +1 -0
- package/src/lib/components/Popper/utils/getChildPosition/getChildPosition.js +1 -0
- package/src/lib/components/Popper/utils/isScrollable/isScrollable.cjs +1 -0
- package/src/lib/components/Popper/utils/isScrollable/isScrollable.js +1 -0
- package/src/lib/components/Portal/Portal.cjs +2 -1
- package/src/lib/components/Portal/Portal.js +2 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +2 -1
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +2 -1
- package/src/lib/components/QRCode/QRCode.cjs +2 -1
- package/src/lib/components/QRCode/QRCode.js +2 -1
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.cjs +5 -4
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.js +5 -4
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.cjs +2 -1
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.js +2 -1
- package/src/lib/components/RenderView/RenderView.cjs +2 -1
- package/src/lib/components/RenderView/RenderView.js +2 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +2 -1
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +2 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +2 -1
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +2 -1
- package/src/lib/components/Search/Search.cjs +1 -0
- package/src/lib/components/Search/Search.js +1 -0
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +2 -1
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +2 -1
- package/src/lib/components/Select/Select.cjs +1 -0
- package/src/lib/components/Select/Select.js +1 -0
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.cjs +1 -0
- package/src/lib/components/Select/utils/getDisplayValue/getDisplayValue.js +1 -0
- package/src/lib/components/SelectNetworkButton/SelectNetworkButton.cjs +3 -2
- package/src/lib/components/SelectNetworkButton/SelectNetworkButton.js +3 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -2
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +2 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +2 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -0
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -0
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +2 -1
- package/src/lib/components/ShadowDOM/ShadowDOM.js +2 -1
- package/src/lib/components/ShadowDOM/utils.cjs +1 -0
- package/src/lib/components/ShadowDOM/utils.js +1 -0
- package/src/lib/components/SignMessagePreview/SignMessagePreview.cjs +1 -0
- package/src/lib/components/SignMessagePreview/SignMessagePreview.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/SignMessagePreview/utils/isSignTypedData/isSignTypedData.cjs +1 -0
- package/src/lib/components/SignMessagePreview/utils/isSignTypedData/isSignTypedData.js +1 -0
- package/src/lib/components/Skeleton/Skeleton.cjs +1 -0
- package/src/lib/components/Skeleton/Skeleton.js +1 -0
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +2 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +2 -1
- package/src/lib/components/Spinner/spinner.cjs +1 -0
- package/src/lib/components/Spinner/spinner.js +1 -0
- package/src/lib/components/StatusDot/StatusDot.cjs +1 -0
- package/src/lib/components/StatusDot/StatusDot.js +1 -0
- package/src/lib/components/Step/Step.cjs +1 -0
- package/src/lib/components/Step/Step.js +1 -0
- package/src/lib/components/Stepper/Stepper.cjs +1 -0
- package/src/lib/components/Stepper/Stepper.js +1 -0
- package/src/lib/components/Switch/Switch.cjs +1 -0
- package/src/lib/components/Switch/Switch.js +1 -0
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.cjs +3 -2
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.js +3 -2
- package/src/lib/components/TextButton/TextButton.cjs +1 -0
- package/src/lib/components/TextButton/TextButton.js +1 -0
- package/src/lib/components/Toggle/Toggle.cjs +1 -0
- package/src/lib/components/Toggle/Toggle.js +1 -0
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +2 -1
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +2 -1
- package/src/lib/components/Toolkit/Toolkit.cjs +2 -1
- package/src/lib/components/Toolkit/Toolkit.js +2 -1
- package/src/lib/components/Toolkit/components/AuthModeSwitch.cjs +1 -0
- package/src/lib/components/Toolkit/components/AuthModeSwitch.js +1 -0
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +2 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +2 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +2 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +2 -1
- package/src/lib/components/Toolkit/components/PrimaryColorInput.cjs +1 -0
- package/src/lib/components/Toolkit/components/PrimaryColorInput.js +1 -0
- package/src/lib/components/Toolkit/components/TemplateSelect.cjs +1 -0
- package/src/lib/components/Toolkit/components/TemplateSelect.js +1 -0
- package/src/lib/components/Toolkit/components/ThemeSwitch.cjs +1 -0
- package/src/lib/components/Toolkit/components/ThemeSwitch.js +1 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +2 -1
- package/src/lib/components/Tooltip/Tooltip.js +2 -1
- package/src/lib/components/TosAndPp/TosAndPp.cjs +2 -1
- package/src/lib/components/TosAndPp/TosAndPp.js +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +4 -3
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +4 -3
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -0
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +4 -3
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +4 -3
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.cjs +1 -0
- package/src/lib/components/Transition/OpacityTransition/OpacityTransition.js +1 -0
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.cjs +1 -0
- package/src/lib/components/Transition/SlideInUpTransition/SlideInUpTransition.js +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -1
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.cjs +1 -0
- package/src/lib/components/Transition/ZoomTransition/ZoomTransition.js +1 -0
- package/src/lib/components/Typography/Typography.cjs +1 -0
- package/src/lib/components/Typography/Typography.js +1 -0
- package/src/lib/components/TypographyButton/TypographyButton.cjs +18 -0
- package/src/lib/components/TypographyButton/TypographyButton.d.ts +8 -0
- package/src/lib/components/TypographyButton/TypographyButton.js +14 -0
- package/src/lib/components/TypographyButton/index.d.ts +1 -0
- package/src/lib/components/UserAddress/UserAddress.cjs +2 -1
- package/src/lib/components/UserAddress/UserAddress.d.ts +1 -1
- package/src/lib/components/UserAddress/UserAddress.js +2 -1
- package/src/lib/components/UserAvatar/UserAvatar.cjs +1 -0
- package/src/lib/components/UserAvatar/UserAvatar.d.ts +1 -1
- package/src/lib/components/UserAvatar/UserAvatar.js +1 -0
- package/src/lib/components/UserProfile/UserProfile.cjs +31 -30
- package/src/lib/components/UserProfile/UserProfile.js +31 -30
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +4 -3
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +4 -3
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.js +1 -0
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +3 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.d.ts +3 -3
- package/src/lib/components/UserProfileForm/UserProfileForm.js +3 -2
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.cjs +1 -0
- package/src/lib/components/WalletGroupViewLayout/WalletGroupViewLayout.js +1 -0
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +1 -0
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +1 -0
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/config/ApiEndpoint.cjs +1 -0
- package/src/lib/config/ApiEndpoint.js +1 -0
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.cjs +1 -0
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.js +1 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.cjs +1 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +1 -0
- package/src/lib/context/CaptchaContext/CaptchaContext.cjs +1 -0
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpContext.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpContext.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.cjs +10 -9
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.js +10 -9
- package/src/lib/context/ConnectWithOtpContext/constants.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/constants.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/types.d.ts +1 -1
- package/src/lib/context/ConnectWithOtpContext/useConnectWithOtp.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/useConnectWithOtp.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createMagicHandler.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createMagicHandler.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.d.ts +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +1 -0
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +5 -2
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +18 -17
- package/src/lib/context/DynamicContext/DynamicContext.js +5 -2
- package/src/lib/context/DynamicContext/helpers/helpers.cjs +1 -0
- package/src/lib/context/DynamicContext/helpers/helpers.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/types.d.ts +2 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +2 -1
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +2 -1
- package/src/lib/context/DynamicContext/hooks/useMultiWallet/useMultiWallet.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useMultiWallet/useMultiWallet.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +12 -3
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +12 -3
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.types.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/useParentDynamicContextGuard.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/useParentDynamicContextGuard.js +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useSelectedWalletConnector/useSelectedWalletConnector.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useSelectedWalletConnector/useSelectedWalletConnector.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +1 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +1 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +2 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +2 -1
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +2 -1
- package/src/lib/context/DynamicContext/types/index.d.ts +44 -43
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.cjs +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.js +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useInternalDynamicContext.js +1 -0
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +2 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +2 -1
- package/src/lib/context/DynamicContext/validators/validators.cjs +1 -0
- package/src/lib/context/DynamicContext/validators/validators.d.ts +2 -1
- package/src/lib/context/DynamicContext/validators/validators.js +1 -0
- package/src/lib/context/ErrorContext/ErrorContext.cjs +1 -0
- package/src/lib/context/ErrorContext/ErrorContext.js +1 -0
- package/src/lib/context/FieldsStateContext/FieldsStateContext.cjs +1 -0
- package/src/lib/context/FieldsStateContext/FieldsStateContext.js +1 -0
- package/src/lib/context/FooterAnimationContext/index.cjs +1 -0
- package/src/lib/context/FooterAnimationContext/index.js +1 -0
- package/src/lib/context/FundingContext/FundingContext.cjs +3 -2
- package/src/lib/context/FundingContext/FundingContext.js +3 -2
- package/src/lib/context/FundingContext/useFunding/useFunding.cjs +2 -1
- package/src/lib/context/FundingContext/useFunding/useFunding.js +2 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +2 -1
- package/src/lib/context/LoadingContext/LoadingContext.js +2 -1
- package/src/lib/context/MockContext/MockContext.cjs +1 -0
- package/src/lib/context/MockContext/MockContext.js +1 -0
- package/src/lib/context/MockContext/constants/index.cjs +1 -0
- package/src/lib/context/MockContext/constants/index.js +1 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +4 -3
- package/src/lib/context/PasskeyContext/PasskeyContext.js +4 -3
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +2 -1
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +2 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +2 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.cjs +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.errors.js +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +2 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +2 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +2 -1
- package/src/lib/context/ThemeContext/ThemeContext.cjs +1 -0
- package/src/lib/context/ThemeContext/ThemeContext.js +1 -0
- package/src/lib/context/ThemeContext/themesData.cjs +1 -0
- package/src/lib/context/ThemeContext/themesData.js +1 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.cjs +1 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.js +1 -0
- package/src/lib/context/UseNetworkValidation/UseNetworkValidation.cjs +1 -0
- package/src/lib/context/UseNetworkValidation/UseNetworkValidation.js +1 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +2 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +2 -1
- package/src/lib/context/UserWalletsContext/UserWalletsContext.cjs +1 -0
- package/src/lib/context/UserWalletsContext/UserWalletsContext.js +1 -0
- package/src/lib/context/VerificationContext/VerificationContext.cjs +1 -0
- package/src/lib/context/VerificationContext/VerificationContext.d.ts +2 -2
- package/src/lib/context/VerificationContext/VerificationContext.js +1 -0
- package/src/lib/context/ViewContext/ViewContext.cjs +1 -0
- package/src/lib/context/ViewContext/ViewContext.js +1 -0
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/context/WalletContext/WalletContext.cjs +2 -1
- package/src/lib/context/WalletContext/WalletContext.js +2 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +1 -0
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +1 -0
- package/src/lib/data/api/api.cjs +1 -0
- package/src/lib/data/api/api.js +1 -0
- package/src/lib/data/api/email/email.cjs +6 -5
- package/src/lib/data/api/email/email.d.ts +2 -2
- package/src/lib/data/api/email/email.js +6 -5
- package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +15 -14
- package/src/lib/data/api/embeddedWallets/embeddedWallets.js +15 -14
- package/src/lib/data/api/mfa/mfa.cjs +174 -0
- package/src/lib/data/api/mfa/mfa.js +162 -0
- package/src/lib/data/api/oauth/oauth.cjs +7 -6
- package/src/lib/data/api/oauth/oauth.js +7 -6
- package/src/lib/data/api/onramp/onramp.cjs +2 -1
- package/src/lib/data/api/onramp/onramp.d.ts +2 -2
- package/src/lib/data/api/onramp/onramp.js +2 -1
- package/src/lib/data/api/session/session.cjs +3 -2
- package/src/lib/data/api/session/session.js +3 -2
- package/src/lib/data/api/settings/settings.cjs +1 -0
- package/src/lib/data/api/settings/settings.js +1 -0
- package/src/lib/data/api/sms/sms.cjs +7 -6
- package/src/lib/data/api/sms/sms.d.ts +2 -2
- package/src/lib/data/api/sms/sms.js +7 -6
- package/src/lib/data/api/user/user.cjs +2 -1
- package/src/lib/data/api/user/user.d.ts +2 -1
- package/src/lib/data/api/user/user.js +2 -1
- package/src/lib/data/api/utils.cjs +1 -0
- package/src/lib/data/api/utils.js +1 -0
- package/src/lib/data/api/wallets/wallets.cjs +13 -5
- package/src/lib/data/api/wallets/wallets.js +14 -6
- package/src/lib/events/dynamicEvents.cjs +1 -0
- package/src/lib/events/dynamicEvents.d.ts +2 -1
- package/src/lib/events/dynamicEvents.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/EmptyHelpContent/EmptyHelpContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/NewToWeb3WalletItem/NewToWeb3WalletItem.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/utils/getChainStepState/getChainStepState.js +1 -0
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +2 -1
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +2 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +4 -3
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +4 -3
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +4 -3
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +4 -3
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +4 -3
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +4 -3
- package/src/lib/locale/en/translation.cjs +39 -2
- package/src/lib/locale/en/translation.d.ts +38 -2
- package/src/lib/locale/en/translation.js +39 -2
- package/src/lib/locale/helpers/deepMerge.cjs +1 -0
- package/src/lib/locale/helpers/deepMerge.js +1 -0
- package/src/lib/locale/locale.cjs +7 -2
- package/src/lib/locale/locale.d.ts +3 -1
- package/src/lib/locale/locale.js +7 -2
- package/src/lib/main.global.cjs +2 -1
- package/src/lib/main.global.js +2 -1
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.cjs +2 -1
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.js +2 -1
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +2 -1
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +2 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +2 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +2 -1
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +2 -1
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +2 -1
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +2 -1
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +2 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +5 -4
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +5 -4
- package/src/lib/modals/SignMessageConfirmationModal/getProperErrorMessage.cjs +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/getProperErrorMessage.js +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +2 -1
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +2 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +2 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +2 -1
- package/src/lib/shared/assets/add.cjs +1 -0
- package/src/lib/shared/assets/add.js +1 -0
- package/src/lib/shared/assets/alt-key.cjs +1 -0
- package/src/lib/shared/assets/alt-key.js +1 -0
- package/src/lib/shared/assets/android-face-id.cjs +1 -0
- package/src/lib/shared/assets/android-face-id.js +1 -0
- package/src/lib/shared/assets/android-touch-id.cjs +1 -0
- package/src/lib/shared/assets/android-touch-id.js +1 -0
- package/src/lib/shared/assets/arrow-down.cjs +1 -0
- package/src/lib/shared/assets/arrow-down.js +1 -0
- package/src/lib/shared/assets/arrow-left.cjs +1 -0
- package/src/lib/shared/assets/arrow-left.js +1 -0
- package/src/lib/shared/assets/arrow-right-background.cjs +1 -0
- package/src/lib/shared/assets/arrow-right-background.js +1 -0
- package/src/lib/shared/assets/arrow-right.cjs +1 -0
- package/src/lib/shared/assets/arrow-right.js +1 -0
- package/src/lib/shared/assets/at.cjs +1 -0
- package/src/lib/shared/assets/at.js +1 -0
- package/src/lib/shared/assets/check-circle.cjs +1 -0
- package/src/lib/shared/assets/check-circle.js +1 -0
- package/src/lib/shared/assets/check-connection.cjs +1 -0
- package/src/lib/shared/assets/check-connection.js +1 -0
- package/src/lib/shared/assets/check.cjs +1 -0
- package/src/lib/shared/assets/check.js +1 -0
- package/src/lib/shared/assets/chevron-down.cjs +1 -0
- package/src/lib/shared/assets/chevron-down.js +1 -0
- package/src/lib/shared/assets/chevron-left.cjs +1 -0
- package/src/lib/shared/assets/chevron-left.js +1 -0
- package/src/lib/shared/assets/close.cjs +1 -0
- package/src/lib/shared/assets/close.js +1 -0
- package/src/lib/shared/assets/copy.cjs +1 -0
- package/src/lib/shared/assets/copy.js +1 -0
- package/src/lib/shared/assets/domain.cjs +1 -0
- package/src/lib/shared/assets/domain.js +1 -0
- package/src/lib/shared/assets/dots-horizontal.cjs +1 -0
- package/src/lib/shared/assets/dots-horizontal.js +1 -0
- package/src/lib/shared/assets/double-arrow-right.cjs +1 -0
- package/src/lib/shared/assets/double-arrow-right.js +1 -0
- package/src/lib/shared/assets/download.cjs +1 -0
- package/src/lib/shared/assets/download.js +1 -0
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +1 -0
- package/src/lib/shared/assets/embedded-wallet-icon.js +1 -0
- package/src/lib/shared/assets/error.cjs +1 -0
- package/src/lib/shared/assets/error.js +1 -0
- package/src/lib/shared/assets/export-embedded-hero.cjs +1 -0
- package/src/lib/shared/assets/export-embedded-hero.js +1 -0
- package/src/lib/shared/assets/export-private-key.cjs +1 -0
- package/src/lib/shared/assets/export-private-key.js +1 -0
- package/src/lib/shared/assets/export-recovery-phrase.cjs +1 -0
- package/src/lib/shared/assets/export-recovery-phrase.js +1 -0
- package/src/lib/shared/assets/externalLink.cjs +1 -0
- package/src/lib/shared/assets/externalLink.js +1 -0
- package/src/lib/shared/assets/eye-off-icon.cjs +1 -0
- package/src/lib/shared/assets/eye-off-icon.js +1 -0
- package/src/lib/shared/assets/face-id.cjs +1 -0
- package/src/lib/shared/assets/face-id.js +1 -0
- package/src/lib/shared/assets/footer-eye-icon.cjs +1 -0
- package/src/lib/shared/assets/footer-eye-icon.js +1 -0
- package/src/lib/shared/assets/footer-gas-icon.cjs +1 -0
- package/src/lib/shared/assets/footer-gas-icon.js +1 -0
- package/src/lib/shared/assets/footer-info-icon.cjs +1 -0
- package/src/lib/shared/assets/footer-info-icon.js +1 -0
- package/src/lib/shared/assets/footer-key-icon.cjs +1 -0
- package/src/lib/shared/assets/footer-key-icon.js +1 -0
- package/src/lib/shared/assets/gear.cjs +1 -0
- package/src/lib/shared/assets/gear.js +1 -0
- package/src/lib/shared/assets/iphone-face-id.cjs +1 -0
- package/src/lib/shared/assets/iphone-face-id.js +1 -0
- package/src/lib/shared/assets/iphone-touch-id.cjs +1 -0
- package/src/lib/shared/assets/iphone-touch-id.js +1 -0
- package/src/lib/shared/assets/justified-text.cjs +1 -0
- package/src/lib/shared/assets/justified-text.js +1 -0
- package/src/lib/shared/assets/key.cjs +1 -0
- package/src/lib/shared/assets/key.js +1 -0
- package/src/lib/shared/assets/link.cjs +1 -0
- package/src/lib/shared/assets/link.js +1 -0
- package/src/lib/shared/assets/location.cjs +1 -0
- package/src/lib/shared/assets/location.js +1 -0
- package/src/lib/shared/assets/lock.cjs +1 -0
- package/src/lib/shared/assets/lock.js +1 -0
- package/src/lib/shared/assets/logout.cjs +1 -0
- package/src/lib/shared/assets/logout.js +1 -0
- package/src/lib/shared/assets/mail.cjs +1 -0
- package/src/lib/shared/assets/mail.js +1 -0
- package/src/lib/shared/assets/multiple-account-security.cjs +1 -0
- package/src/lib/shared/assets/multiple-account-security.js +1 -0
- package/src/lib/shared/assets/passkey-account-security.cjs +1 -0
- package/src/lib/shared/assets/passkey-account-security.js +1 -0
- package/src/lib/shared/assets/passkey-intro-icon.cjs +1 -0
- package/src/lib/shared/assets/passkey-intro-icon.js +1 -0
- package/src/lib/shared/assets/passkey-intro2.cjs +1 -0
- package/src/lib/shared/assets/passkey-intro2.js +1 -0
- package/src/lib/shared/assets/password-hero.cjs +1 -0
- package/src/lib/shared/assets/password-hero.js +1 -0
- package/src/lib/shared/assets/pencil-alt-icon.cjs +1 -0
- package/src/lib/shared/assets/pencil-alt-icon.js +1 -0
- package/src/lib/shared/assets/pencil.cjs +1 -0
- package/src/lib/shared/assets/pencil.js +1 -0
- package/src/lib/shared/assets/phone.cjs +1 -0
- package/src/lib/shared/assets/phone.js +1 -0
- package/src/lib/shared/assets/prompt-account-switch.cjs +1 -0
- package/src/lib/shared/assets/prompt-account-switch.js +1 -0
- package/src/lib/shared/assets/puzzle.cjs +1 -0
- package/src/lib/shared/assets/puzzle.js +1 -0
- package/src/lib/shared/assets/question-mark.cjs +1 -0
- package/src/lib/shared/assets/question-mark.js +1 -0
- package/src/lib/shared/assets/save-password-hero.cjs +1 -0
- package/src/lib/shared/assets/save-password-hero.js +1 -0
- package/src/lib/shared/assets/send.cjs +1 -0
- package/src/lib/shared/assets/send.js +1 -0
- package/src/lib/shared/assets/sign-circle.cjs +1 -0
- package/src/lib/shared/assets/sign-circle.js +1 -0
- package/src/lib/shared/assets/sign-in-with-email.cjs +1 -0
- package/src/lib/shared/assets/sign-in-with-email.js +1 -0
- package/src/lib/shared/assets/sign-in-with-phone.cjs +1 -0
- package/src/lib/shared/assets/sign-in-with-phone.js +1 -0
- package/src/lib/shared/assets/size-labels.cjs +1 -0
- package/src/lib/shared/assets/size-labels.js +1 -0
- package/src/lib/shared/assets/spinner.cjs +1 -0
- package/src/lib/shared/assets/spinner.js +1 -0
- package/src/lib/shared/assets/stroke.cjs +1 -0
- package/src/lib/shared/assets/stroke.js +1 -0
- package/src/lib/shared/assets/switch-horizontal.cjs +1 -0
- package/src/lib/shared/assets/switch-horizontal.js +1 -0
- package/src/lib/shared/assets/three-dots.cjs +1 -0
- package/src/lib/shared/assets/three-dots.js +1 -0
- package/src/lib/shared/assets/tooltip-arrow.cjs +1 -0
- package/src/lib/shared/assets/tooltip-arrow.js +1 -0
- package/src/lib/shared/assets/unlink.cjs +1 -0
- package/src/lib/shared/assets/unlink.js +1 -0
- package/src/lib/shared/assets/user-account-2.cjs +1 -0
- package/src/lib/shared/assets/user-account-2.js +1 -0
- package/src/lib/shared/assets/user-card.cjs +1 -0
- package/src/lib/shared/assets/user-card.js +1 -0
- package/src/lib/shared/assets/user.cjs +1 -0
- package/src/lib/shared/assets/user.js +1 -0
- package/src/lib/shared/assets/wallet-claim-hero.cjs +1 -0
- package/src/lib/shared/assets/wallet-claim-hero.js +1 -0
- package/src/lib/shared/assets/wallet-connect-logo.cjs +1 -0
- package/src/lib/shared/assets/wallet-connect-logo.js +1 -0
- package/src/lib/shared/assets/wallet-v2.cjs +1 -0
- package/src/lib/shared/assets/wallet-v2.js +1 -0
- package/src/lib/shared/assets/work-suitcase.cjs +1 -0
- package/src/lib/shared/assets/work-suitcase.js +1 -0
- package/src/lib/shared/consts/index.cjs +1 -0
- package/src/lib/shared/consts/index.js +1 -0
- package/src/lib/shared/logger.cjs +1 -0
- package/src/lib/shared/logger.js +1 -0
- package/src/lib/shared/types/dynamicEventsCallbacks.d.ts +1 -2
- package/src/lib/shared/types/dynamicHandlers.d.ts +1 -1
- package/src/lib/shared/types/general.d.ts +0 -9
- package/src/lib/shared/types/index.d.ts +1 -2
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +1 -0
- package/src/lib/shared/utils/classes/storage/localStorage.js +1 -0
- package/src/lib/shared/utils/functions/capitalize/capitalize.cjs +1 -0
- package/src/lib/shared/utils/functions/capitalize/capitalize.js +1 -0
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.cjs +1 -0
- package/src/lib/shared/utils/functions/chain/getChainDisplayName.js +1 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.js +1 -0
- package/src/lib/shared/utils/functions/debounce/debounce.cjs +1 -0
- package/src/lib/shared/utils/functions/debounce/debounce.js +1 -0
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.cjs +1 -0
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.js +1 -0
- package/src/lib/shared/utils/functions/decodeMinJwt/decodeMinJwt.cjs +1 -0
- package/src/lib/shared/utils/functions/decodeMinJwt/decodeMinJwt.js +1 -0
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.cjs +1 -0
- package/src/lib/shared/utils/functions/detectBrowser/detectBrowser.js +1 -0
- package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.cjs +1 -0
- package/src/lib/shared/utils/functions/generateRandomPassword/generateRandomPassword.js +1 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.cjs +1 -0
- package/src/lib/shared/utils/functions/getBrowserIcon/getBrowserIcon.js +1 -0
- package/src/lib/shared/utils/functions/getValueByKey/index.cjs +1 -0
- package/src/lib/shared/utils/functions/getValueByKey/index.js +1 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +1 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.cjs +1 -0
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb3/isDisplayOrderPriorityForWeb3.js +1 -0
- package/src/lib/shared/utils/functions/isSSR/isSSR.cjs +1 -0
- package/src/lib/shared/utils/functions/isSSR/isSSR.js +1 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +1 -0
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.d.ts +1 -1
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +1 -0
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.cjs +1 -0
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.js +1 -0
- package/src/lib/shared/utils/functions/parseToken/parseToken.cjs +1 -0
- package/src/lib/shared/utils/functions/parseToken/parseToken.js +1 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +1 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +1 -0
- package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.cjs +1 -0
- package/src/lib/shared/utils/functions/shortenEmail/shortenEmail.js +1 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.cjs +1 -0
- package/src/lib/shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js +1 -0
- package/src/lib/shared/utils/functions/splitCamelCase/splitCamelCase.cjs +1 -0
- package/src/lib/shared/utils/functions/splitCamelCase/splitCamelCase.js +1 -0
- package/src/lib/shared/utils/functions/validatePassword/validatePassword.cjs +1 -0
- package/src/lib/shared/utils/functions/validatePassword/validatePassword.js +1 -0
- package/src/lib/shared/utils/functions/validateType/validateType.cjs +1 -0
- package/src/lib/shared/utils/functions/validateType/validateType.js +1 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +1 -0
- package/src/lib/shared/utils/functions/wallet/createWallet.js +1 -0
- package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.cjs +1 -0
- package/src/lib/shared/utils/hooks/useEffectOnce/useEffectOnce.js +1 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.cjs +1 -0
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useForwardedRef/useForwardedRef.js +1 -0
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +1 -0
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +2 -1
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js +1 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +1 -0
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +1 -0
- package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.cjs +1 -0
- package/src/lib/shared/utils/hooks/useMediaQuery/useMediaQuery.js +1 -0
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +1 -0
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +1 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +1 -0
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +1 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.cjs +1 -0
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.d.ts +1 -1
- package/src/lib/shared/utils/hooks/useThrottle/useThrottle.js +1 -0
- package/src/lib/styles/index.shadow.cjs +2 -1
- package/src/lib/styles/index.shadow.js +2 -1
- package/src/lib/utils/constants/colors.cjs +1 -0
- package/src/lib/utils/constants/colors.js +1 -0
- package/src/lib/utils/constants/errors.cjs +22 -0
- package/src/lib/utils/constants/errors.d.ts +10 -0
- package/src/lib/utils/constants/errors.js +13 -1
- package/src/lib/utils/constants/fields.cjs +1 -0
- package/src/lib/utils/constants/fields.js +1 -0
- package/src/lib/utils/constants/localStorage.cjs +1 -0
- package/src/lib/utils/constants/localStorage.js +1 -0
- package/src/lib/utils/constants/onrampProviders.cjs +1 -0
- package/src/lib/utils/constants/onrampProviders.js +1 -0
- package/src/lib/utils/constants/values.cjs +2 -1
- package/src/lib/utils/constants/values.js +2 -1
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.cjs +1 -0
- package/src/lib/utils/functions/animationFrameTimeout/animationFrameTimeout.js +1 -0
- package/src/lib/utils/functions/classNames/classNames.cjs +1 -0
- package/src/lib/utils/functions/classNames/classNames.js +1 -0
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.cjs +1 -0
- package/src/lib/utils/functions/classNames/utils/isClassNamesObjectArg.js +1 -0
- package/src/lib/utils/functions/classNames/utils/isString.cjs +1 -0
- package/src/lib/utils/functions/classNames/utils/isString.js +1 -0
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.cjs +1 -0
- package/src/lib/utils/functions/convertHexToRGBA/convertHexToRGBA.js +1 -0
- package/src/lib/utils/functions/createOwnerWallet/createOwnerWallet.cjs +1 -0
- package/src/lib/utils/functions/createOwnerWallet/createOwnerWallet.js +1 -0
- package/src/lib/utils/functions/createUserProfile/createUserProfile.cjs +1 -0
- package/src/lib/utils/functions/createUserProfile/createUserProfile.d.ts +1 -1
- package/src/lib/utils/functions/createUserProfile/createUserProfile.js +1 -0
- package/src/lib/utils/functions/createWalletClientFromWallet/createWalletClientFromWallet.cjs +1 -0
- package/src/lib/utils/functions/createWalletClientFromWallet/createWalletClientFromWallet.js +1 -0
- package/src/lib/utils/functions/digestSHA256/digestSHA256.cjs +1 -0
- package/src/lib/utils/functions/digestSHA256/digestSHA256.js +1 -0
- package/src/lib/utils/functions/encodeBase64URL/encodeBase64URL.cjs +1 -0
- package/src/lib/utils/functions/encodeBase64URL/encodeBase64URL.js +1 -0
- package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.cjs +1 -0
- package/src/lib/utils/functions/findCoinbaseMPCWallet/findCoinbaseMPCWallet.js +1 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +1 -0
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +1 -0
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.cjs +14 -2
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.d.ts +3 -1
- package/src/lib/utils/functions/findTurnkeyWallet/findTurnkeyWallet.js +13 -2
- package/src/lib/utils/functions/findTurnkeyWallet/index.d.ts +1 -1
- package/src/lib/utils/functions/formatPhone/formatPhone.cjs +1 -0
- package/src/lib/utils/functions/formatPhone/formatPhone.js +1 -0
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -0
- package/src/lib/utils/functions/generateMessages/index.js +1 -0
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.cjs +1 -0
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.d.ts +1 -1
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.js +1 -0
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.cjs +1 -0
- package/src/lib/utils/functions/getAppOrigin/getAppOrigin.js +1 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +1 -0
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +1 -0
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +1 -0
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +1 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.cjs +1 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.js +1 -0
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.cjs +1 -0
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.js +1 -0
- package/src/lib/utils/functions/getEmbeddedWalletAuthHandler/getEmbeddedWalletAuthHandler.cjs +17 -0
- package/src/lib/utils/functions/getEmbeddedWalletAuthHandler/getEmbeddedWalletAuthHandler.d.ts +2 -0
- package/src/lib/utils/functions/getEmbeddedWalletAuthHandler/getEmbeddedWalletAuthHandler.js +13 -0
- package/src/lib/utils/functions/getEmbeddedWalletAuthHandler/index.d.ts +1 -0
- package/src/lib/utils/functions/getEmbeddedWalletSessionExpiration/getEmbeddedWalletSessionExpiration.cjs +26 -0
- package/src/lib/utils/functions/getEmbeddedWalletSessionExpiration/getEmbeddedWalletSessionExpiration.d.ts +7 -0
- package/src/lib/utils/functions/getEmbeddedWalletSessionExpiration/getEmbeddedWalletSessionExpiration.js +22 -0
- package/src/lib/utils/functions/getEmbeddedWalletSessionExpiration/index.d.ts +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.cjs +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.js +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.cjs +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.js +1 -0
- package/src/lib/utils/functions/getEnabledKYC/index.cjs +1 -0
- package/src/lib/utils/functions/getEnabledKYC/index.js +1 -0
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.cjs +1 -0
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.js +1 -0
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.cjs +1 -0
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.js +1 -0
- package/src/lib/utils/functions/getMissingChains/getMissingChains.cjs +1 -0
- package/src/lib/utils/functions/getMissingChains/getMissingChains.js +1 -0
- package/src/lib/utils/functions/getNetwork/getNetwork.cjs +1 -0
- package/src/lib/utils/functions/getNetwork/getNetwork.js +1 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.cjs +1 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.js +1 -0
- package/src/lib/utils/functions/getOrdinalNumber/getOrdinalNumber.cjs +1 -0
- package/src/lib/utils/functions/getOrdinalNumber/getOrdinalNumber.js +1 -0
- package/src/lib/utils/functions/getProviderByType/getProviderByType.cjs +1 -0
- package/src/lib/utils/functions/getProviderByType/getProviderByType.js +1 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.cjs +1 -0
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.js +1 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +1 -0
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +1 -0
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.cjs +1 -0
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.d.ts +1 -1
- package/src/lib/utils/functions/getSiweStatement/getSiweStatement.js +1 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.cjs +1 -0
- package/src/lib/utils/functions/getSocialNetworkIcon/getSocialNetworkIcon.js +1 -0
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.cjs +1 -0
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.js +1 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.cjs +1 -0
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.js +1 -0
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.cjs +1 -0
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.d.ts +1 -1
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.js +1 -0
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.cjs +1 -0
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.d.ts +5 -5
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.js +1 -0
- package/src/lib/utils/functions/getUserVerifiedCredentialType/getUserVerifiedCredentialType.cjs +1 -0
- package/src/lib/utils/functions/getUserVerifiedCredentialType/getUserVerifiedCredentialType.js +1 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.cjs +1 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.js +1 -0
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +2 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +2 -1
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.cjs +1 -0
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.js +1 -0
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.cjs +1 -0
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.js +1 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.cjs +1 -0
- package/src/lib/utils/functions/getWalletGroupType/getWalletGroupType.js +1 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +1 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +1 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.cjs +1 -0
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.js +1 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.cjs +1 -0
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.js +1 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +2 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.d.ts +1 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +2 -1
- package/src/lib/utils/functions/hasEmbeddedWallet/hasEmbeddedWallet.cjs +15 -0
- package/src/lib/utils/functions/hasEmbeddedWallet/hasEmbeddedWallet.d.ts +1 -0
- package/src/lib/utils/functions/hasEmbeddedWallet/hasEmbeddedWallet.js +11 -0
- package/src/lib/utils/functions/hasEmbeddedWallet/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +3 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +1 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +1 -0
- package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.cjs +1 -0
- package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.js +1 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +1 -0
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +1 -0
- package/src/lib/utils/functions/isEmailValid/isEmailValid.cjs +1 -0
- package/src/lib/utils/functions/isEmailValid/isEmailValid.js +1 -0
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.cjs +10 -2
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.d.ts +1 -1
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.js +10 -2
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.cjs +1 -0
- package/src/lib/utils/functions/isHardwareWalletEnabled/isHardwareWalletEnabled.js +1 -0
- package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.cjs +1 -0
- package/src/lib/utils/functions/isNetworkUnsupported/isNetworkUnsupported.js +1 -0
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.cjs +1 -0
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.js +1 -0
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +1 -0
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +1 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.cjs +1 -0
- package/src/lib/utils/functions/isProgrammableNetworkSwitchSupported/isProgrammableNetworkSwitchSupported.js +1 -0
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.cjs +1 -0
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.js +1 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs +1 -0
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.d.ts +2 -1
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.js +1 -0
- package/src/lib/utils/functions/isSocialKycEnabled/isSocialKycEnabled.cjs +1 -0
- package/src/lib/utils/functions/isSocialKycEnabled/isSocialKycEnabled.js +1 -0
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.cjs +1 -0
- package/src/lib/utils/functions/isSupportedNetwork/isSupportedNetwork.js +1 -0
- package/src/lib/utils/functions/isTestnet/isTestnet.cjs +1 -0
- package/src/lib/utils/functions/isTestnet/isTestnet.js +1 -0
- package/src/lib/utils/functions/isTurnkeyEnabled/isTurnkeyEnabled.cjs +1 -0
- package/src/lib/utils/functions/isTurnkeyEnabled/isTurnkeyEnabled.js +1 -0
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.cjs +2 -1
- package/src/lib/utils/functions/isWalletConnected/isWalletConnected.js +2 -1
- package/src/lib/utils/functions/isWalletLinked/isWalletLinked.cjs +1 -0
- package/src/lib/utils/functions/isWalletLinked/isWalletLinked.js +1 -0
- package/src/lib/utils/functions/mergeNetworks/mergeNetworks.cjs +1 -0
- package/src/lib/utils/functions/mergeNetworks/mergeNetworks.js +1 -0
- package/src/lib/utils/functions/modulo/modulo.cjs +1 -0
- package/src/lib/utils/functions/modulo/modulo.js +1 -0
- package/src/lib/utils/functions/parseTheme/parseTheme.cjs +1 -0
- package/src/lib/utils/functions/parseTheme/parseTheme.js +1 -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/pixelToRem/pixelToRem.cjs +1 -0
- package/src/lib/utils/functions/pixelToRem/pixelToRem.js +1 -0
- package/src/lib/utils/functions/randomString/randomString.cjs +1 -0
- package/src/lib/utils/functions/randomString/randomString.js +1 -0
- package/src/lib/utils/functions/removeElementById/removeElementById.cjs +1 -0
- package/src/lib/utils/functions/removeElementById/removeElementById.js +1 -0
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.cjs +1 -0
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.js +1 -0
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +1 -0
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +1 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +1 -0
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +1 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.cjs +1 -0
- package/src/lib/utils/functions/shouldManuallyReconnectOnRefresh/shouldManuallyReconnectOnRefresh.js +1 -0
- 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/stringifyURIQuery/stringifyURIQuery.cjs +1 -0
- package/src/lib/utils/functions/stringifyURIQuery/stringifyURIQuery.js +1 -0
- package/src/lib/utils/functions/typeGuard/isThemeSetting.cjs +1 -0
- package/src/lib/utils/functions/typeGuard/isThemeSetting.js +1 -0
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.cjs +1 -0
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.d.ts +1 -1
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.js +1 -0
- package/src/lib/utils/functions/validatePhoneLength/validatePhoneLength.cjs +1 -0
- package/src/lib/utils/functions/validatePhoneLength/validatePhoneLength.js +1 -0
- package/src/lib/utils/functions/walletFilters/index.cjs +1 -0
- package/src/lib/utils/functions/walletFilters/index.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/findLastWalletIndex/findLastPriorityIndex.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.js +1 -0
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +1 -0
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +1 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.cjs +1 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.d.ts +2 -1
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.js +1 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs +1 -0
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.js +1 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +5 -4
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +5 -4
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +6 -5
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +6 -5
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.cjs +2 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.js +2 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +3 -2
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +3 -2
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs +1 -0
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.js +1 -0
- package/src/lib/utils/hooks/events/useWalletConnectorEvent/useWalletConnectorEvent.cjs +1 -0
- package/src/lib/utils/hooks/events/useWalletConnectorEvent/useWalletConnectorEvent.d.ts +1 -1
- package/src/lib/utils/hooks/events/useWalletConnectorEvent/useWalletConnectorEvent.js +1 -0
- package/src/lib/utils/hooks/events/useWindowEvent/useWindowEvent.cjs +1 -0
- package/src/lib/utils/hooks/events/useWindowEvent/useWindowEvent.js +1 -0
- package/src/lib/utils/hooks/index.d.ts +2 -1
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.cjs +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingAccountSwitch.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.cjs +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/substates/useAwaitingSignature.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.cjs +1 -0
- package/src/lib/utils/hooks/multiWallet/useMultiWalletWidgetState/useMultiWalletWidgetState.js +1 -0
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +3 -2
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +3 -2
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +3 -2
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +3 -2
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +22 -19
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +22 -19
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +2 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +2 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +1 -0
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +1 -0
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +1 -0
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +1 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.cjs +1 -0
- package/src/lib/utils/hooks/useConfirmationModal/useConfirmationModal.js +1 -0
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.cjs +1 -0
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.js +1 -0
- package/src/lib/utils/hooks/useConnectWallet/updateUserWalletsFromConnectedWallets/updateUserWalletsFromConnectedWallets.cjs +1 -0
- package/src/lib/utils/hooks/useConnectWallet/updateUserWalletsFromConnectedWallets/updateUserWalletsFromConnectedWallets.js +1 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +1 -0
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +1 -0
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +1 -0
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +1 -0
- package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.cjs +1 -0
- package/src/lib/utils/hooks/useConnectedAccountWallet/useConnectedAccountWallet.js +1 -0
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +2 -1
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +2 -1
- package/src/lib/utils/hooks/useCountdown/useCountdown.cjs +1 -0
- package/src/lib/utils/hooks/useCountdown/useCountdown.js +1 -0
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +6 -5
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +6 -5
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +2 -1
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +2 -1
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +17 -0
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +17 -0
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +2 -1
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +2 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +2 -1
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +2 -1
- package/src/lib/utils/hooks/useElementById/useElementById.cjs +1 -0
- package/src/lib/utils/hooks/useElementById/useElementById.js +1 -0
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +2 -1
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +2 -1
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +5 -4
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +5 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/index.d.ts +2 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +27 -77
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +8 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +27 -77
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/index.d.ts +2 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/{useCoinbaseMPC → useMPCEmbeddedWallet/useCoinbaseMPC}/useCoinbaseMPC.cjs +63 -62
- package/src/lib/utils/hooks/useEmbeddedWallet/{useCoinbaseMPC → useMPCEmbeddedWallet/useCoinbaseMPC}/useCoinbaseMPC.d.ts +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/{useCoinbaseMPC → useMPCEmbeddedWallet/useCoinbaseMPC}/useCoinbaseMPC.js +63 -62
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.cjs +165 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.d.ts +17 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useMPCEmbeddedWallet/useMPCEmbeddedWallet.js +161 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.cjs +10 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.d.ts +2 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/constants.js +5 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/index.d.ts +2 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +242 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.d.ts +19 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +238 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/{useTurnkey → useSecureEnclaveEmbeddedWallet/useTurnkey}/useTurnkey.cjs +59 -58
- package/src/lib/utils/hooks/useEmbeddedWallet/{useTurnkey → useSecureEnclaveEmbeddedWallet/useTurnkey}/useTurnkey.d.ts +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/{useTurnkey → useSecureEnclaveEmbeddedWallet/useTurnkey}/useTurnkey.js +59 -58
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +2 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +2 -1
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +2 -1
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +2 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +1 -0
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +1 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +2 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +2 -1
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -0
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -0
- package/src/lib/utils/hooks/useFindSocialIcon/useFindSocialIcon.cjs +1 -0
- package/src/lib/utils/hooks/useFindSocialIcon/useFindSocialIcon.js +1 -0
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.cjs +1 -0
- package/src/lib/utils/hooks/useForceUpdate/useForceUpdate.js +1 -0
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +2 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +2 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +2 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.d.ts +1 -1
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +2 -1
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.cjs +2 -1
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.d.ts +1 -1
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.js +2 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +2 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.d.ts +1 -1
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +2 -1
- package/src/lib/utils/hooks/useHover/useHover.cjs +1 -0
- package/src/lib/utils/hooks/useHover/useHover.js +1 -0
- package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.cjs +1 -0
- package/src/lib/utils/hooks/useIconThemeVariant/useIconThemeVariant.js +1 -0
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +7 -6
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +7 -6
- package/src/lib/utils/hooks/useInterval/useInterval.cjs +1 -0
- package/src/lib/utils/hooks/useInterval/useInterval.js +1 -0
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.cjs +1 -0
- package/src/lib/utils/hooks/useIsFirstRender/useIsFirstRender.js +1 -0
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +2 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +2 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +2 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +2 -1
- package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.cjs +1 -0
- package/src/lib/utils/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js +1 -0
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +2 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +2 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +1 -0
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +1 -0
- package/src/lib/utils/hooks/useMfa/index.d.ts +1 -0
- package/src/lib/utils/hooks/useMfa/useMfa.cjs +193 -0
- package/src/lib/utils/hooks/useMfa/useMfa.d.ts +15 -0
- package/src/lib/utils/hooks/useMfa/useMfa.js +189 -0
- package/src/lib/utils/hooks/useMutation/useMutation.cjs +1 -0
- package/src/lib/utils/hooks/useMutation/useMutation.js +1 -0
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +2 -1
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +2 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.cjs +2 -1
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.js +2 -1
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.cjs +1 -0
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.js +1 -0
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +2 -1
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +2 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +37 -32
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +37 -32
- package/src/lib/utils/hooks/usePrevious/usePrevious.cjs +1 -0
- package/src/lib/utils/hooks/usePrevious/usePrevious.js +1 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +1 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +1 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs +1 -0
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.js +1 -0
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +1 -0
- package/src/lib/utils/hooks/usePromise/usePromise.d.ts +1 -1
- package/src/lib/utils/hooks/usePromise/usePromise.js +1 -0
- package/src/lib/utils/hooks/usePromise/utils/createReducer/createReducer.cjs +1 -0
- package/src/lib/utils/hooks/usePromise/utils/createReducer/createReducer.js +1 -0
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/resolveFetcher.cjs +2 -1
- package/src/lib/utils/hooks/usePromise/utils/resolveFetcher/resolveFetcher.js +2 -1
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.cjs +1 -0
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.d.ts +1 -1
- package/src/lib/utils/hooks/useResizeObserver/useResizeObserver.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/useSendDynamicProps/useSendDynamicProps.cjs +1 -0
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.cjs +1 -0
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.js +1 -0
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +2 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +2 -1
- package/src/lib/utils/hooks/useSocialAuth/farcaster.cjs +2 -1
- package/src/lib/utils/hooks/useSocialAuth/farcaster.d.ts +1 -0
- package/src/lib/utils/hooks/useSocialAuth/farcaster.js +2 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +14 -12
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.d.ts +2 -2
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +14 -12
- package/src/lib/utils/hooks/useTimeout/useTimeout.cjs +1 -0
- package/src/lib/utils/hooks/useTimeout/useTimeout.js +1 -0
- package/src/lib/utils/hooks/useTransition/useTransition.cjs +1 -0
- package/src/lib/utils/hooks/useTransition/useTransition.js +1 -0
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.cjs +1 -0
- package/src/lib/utils/hooks/useTransitionEvents/useTransitionEvents.js +1 -0
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.cjs +1 -0
- package/src/lib/utils/hooks/useUpdateEffect/useUpdateEffect.js +1 -0
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +2 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +2 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +2 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.d.ts +1 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +2 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +2 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +2 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +3 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +3 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.cjs +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.d.ts +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.js +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +1 -0
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +1 -0
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +1 -0
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +1 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +1 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +11 -10
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +11 -10
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +2 -1
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +2 -1
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/errors/ConnectorSetupError.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/errors/ConnectorSetupError.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +2 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/primaryWalletIdValidator/primaryWalletIdValidator.js +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.cjs +2 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.js +2 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/updateUserWalletsFromLinkedWallets/updateUserWalletsFromLinkedWallets.cjs +1 -0
- package/src/lib/utils/hooks/useWalletConnectors/utils/updateUserWalletsFromLinkedWallets/updateUserWalletsFromLinkedWallets.js +1 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +1 -0
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +2 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +1 -0
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +3 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +3 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +4 -3
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +4 -3
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +1 -0
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +1 -0
- package/src/lib/utils/validations/index.d.ts +3 -0
- package/src/lib/utils/validations/validateMPCProviderEnabled/index.d.ts +1 -0
- package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.cjs +18 -0
- package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.d.ts +2 -0
- package/src/lib/utils/validations/validateMPCProviderEnabled/validateMPCProviderEnabled.js +14 -0
- package/src/lib/utils/validations/validateTurnkeyProviderEnabled/index.d.ts +1 -0
- package/src/lib/utils/validations/validateTurnkeyProviderEnabled/validateTurnkeyProviderEnabled.cjs +18 -0
- package/src/lib/utils/validations/validateTurnkeyProviderEnabled/validateTurnkeyProviderEnabled.d.ts +2 -0
- package/src/lib/utils/validations/validateTurnkeyProviderEnabled/validateTurnkeyProviderEnabled.js +14 -0
- package/src/lib/utils/validations/validateUserIsLoggedIn/index.d.ts +1 -0
- package/src/lib/utils/validations/validateUserIsLoggedIn/validateUserIsLoggedIn.cjs +31 -0
- package/src/lib/utils/validations/validateUserIsLoggedIn/validateUserIsLoggedIn.d.ts +4 -0
- package/src/lib/utils/validations/validateUserIsLoggedIn/validateUserIsLoggedIn.js +27 -0
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +2 -1
- package/src/lib/views/AccountExistsView/AccountExistsView.js +2 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +2 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +2 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +2 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +2 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +2 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +2 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +2 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +2 -1
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +4 -3
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +4 -3
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +2 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +2 -1
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +4 -3
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.d.ts +1 -1
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +4 -3
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.cjs +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.js +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.cjs +2 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.js +2 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs +2 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js +2 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.cjs +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/utils/getDisplayErrorMessage/getDisplayErrorMessage.js +1 -0
- package/src/lib/views/CollectUserDataView/useFields.cjs +1 -0
- package/src/lib/views/CollectUserDataView/useFields.js +1 -0
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.cjs +2 -1
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.d.ts +1 -1
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js +2 -1
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +4 -3
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +4 -3
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +2 -1
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +2 -1
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +6 -5
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +6 -5
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +4 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.js +4 -3
- package/src/lib/views/EmailVerification/EmailVerification.cjs +5 -4
- package/src/lib/views/EmailVerification/EmailVerification.js +5 -4
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +2 -1
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +2 -1
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +6 -5
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +6 -5
- package/src/lib/views/EmbeddedReveal/constants.cjs +1 -0
- package/src/lib/views/EmbeddedReveal/constants.js +1 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +8 -7
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.d.ts +3 -3
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +8 -7
- package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +4 -3
- package/src/lib/views/EnterPasswordView/EnterPasswordView.js +4 -3
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.cjs +2 -1
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.js +2 -1
- package/src/lib/views/LoginView/LoginView.cjs +1 -0
- package/src/lib/views/LoginView/LoginView.js +1 -0
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.cjs +2 -1
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.js +2 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +2 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +2 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +4 -3
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +4 -3
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +2 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +2 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +2 -1
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.cjs +2 -1
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.js +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +2 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +2 -1
- package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.cjs +1 -0
- package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.js +1 -0
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +2 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +2 -1
- package/src/lib/views/{MergeUserAccountsView/MergeUserAccountsView.cjs → MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.cjs} +9 -8
- package/src/lib/views/MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.d.ts +6 -0
- package/src/lib/views/{MergeUserAccountsView/MergeUserAccountsView.js → MergeUserAccountsWithSameEmailView/MergeUserAccountsWithSameEmailView.js} +9 -8
- package/src/lib/views/MergeUserAccountsWithSameEmailView/index.d.ts +1 -0
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.cjs +97 -0
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.d.ts +2 -0
- package/src/lib/views/MfaChooseDeviceView/MfaChooseDeviceView.js +93 -0
- package/src/lib/views/MfaChooseDeviceView/index.d.ts +1 -0
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.cjs +94 -0
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.d.ts +6 -0
- package/src/lib/views/MfaSecureDeviceView/MfaSecureDeviceView.js +90 -0
- package/src/lib/views/MfaSecureDeviceView/index.d.ts +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +2 -1
- package/src/lib/views/NoAccess/NoAccess.cjs +4 -3
- package/src/lib/views/NoAccess/NoAccess.js +4 -3
- package/src/lib/views/NoAccess/useNoAccessText.cjs +2 -1
- package/src/lib/views/NoAccess/useNoAccessText.js +2 -1
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +2 -1
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +2 -1
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +2 -1
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +2 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +2 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +2 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +6 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +6 -5
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +2 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +2 -1
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +3 -2
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +3 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +2 -1
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +2 -1
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +4 -3
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +4 -3
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +2 -1
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +2 -1
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs +2 -1
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js +2 -1
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +4 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +4 -3
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/constants.cjs +1 -0
- package/src/lib/views/Passkey/PasskeyRecovery/constants.js +1 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +4 -3
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +4 -3
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +5 -4
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +2 -2
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +5 -4
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +3 -2
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.d.ts +2 -2
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +3 -2
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.cjs +1 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.js +1 -0
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.cjs +1 -0
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.js +1 -0
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +24 -23
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +24 -23
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +2 -1
- package/src/lib/views/PendingConnectView/PendingConnectView.js +2 -1
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +4 -3
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +4 -3
- package/src/lib/views/QrCodeView/QrCodeView.cjs +2 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +2 -1
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +2 -1
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +2 -1
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +2 -1
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +2 -1
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +2 -1
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +2 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +2 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +2 -1
- package/src/lib/views/SmsVerification/SmsVerification.cjs +2 -1
- package/src/lib/views/SmsVerification/SmsVerification.js +2 -1
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +3 -2
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +3 -2
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +2 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +2 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +4 -3
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +4 -3
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +2 -1
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/useTransactionTotal.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionTotal/useTransactionTotal.js +1 -0
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +2 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +2 -1
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +1 -0
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +1 -0
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +2 -1
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +2 -1
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +4 -3
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +4 -3
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +2 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.js +2 -1
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +2 -1
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +2 -1
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +2 -1
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +2 -1
- package/src/lib/views/WalletList/WalletList.cjs +2 -1
- package/src/lib/views/WalletList/WalletList.js +2 -1
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +2 -1
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +2 -1
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +2 -1
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +2 -1
- package/src/lib/views/WalletList/data.cjs +1 -0
- package/src/lib/views/WalletList/data.js +1 -0
- package/src/lib/views/WalletList/hooks/useTabState.cjs +2 -1
- package/src/lib/views/WalletList/hooks/useTabState.js +2 -1
- package/src/lib/views/WalletList/utils/getEffectiveRecommendedWallets.cjs +1 -0
- package/src/lib/views/WalletList/utils/getEffectiveRecommendedWallets.js +1 -0
- package/src/lib/views/WalletList/utils/getEffectiveWalletFilter.cjs +1 -0
- package/src/lib/views/WalletList/utils/getEffectiveWalletFilter.js +1 -0
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +4 -3
- package/src/lib/views/WalletLockedView/WalletLockedView.js +4 -3
- package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +2 -1
- package/src/lib/views/WalletRedirectView/WalletRedirectView.js +2 -1
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +4 -3
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +4 -3
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +5 -4
- package/src/lib/views/WalletUsedView/WalletUsedView.js +5 -4
- package/src/lib/views/viewToComponentMap.cjs +8 -3
- package/src/lib/views/viewToComponentMap.d.ts +3 -1
- package/src/lib/views/viewToComponentMap.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +29 -28
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +29 -28
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +2 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +2 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +2 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +2 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +2 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +2 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedWidget.cjs +1 -0
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedWidget.js +1 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +2 -1
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +2 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetCard/DynamicWidgetCard.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetFooter/DynamicWidgetFooter.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +5 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/DynamicWidgetVariants.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +5 -4
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +1 -0
- 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/getTimeSince.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/helpers/getTimeSince.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/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +4 -3
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/useViewController.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useViewController/useViewController.js +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +5 -4
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +4 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +4 -3
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +10 -13
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +10 -13
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +4 -3
- package/src/lib/widgets/FundingWidget/FundingWidget.cjs +1 -0
- package/src/lib/widgets/FundingWidget/FundingWidget.js +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +2 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +2 -1
- package/src/polyfills.cjs +1 -0
- package/src/polyfills.js +1 -0
- package/src/shim/process.cjs +1 -0
- package/src/shim/process.js +1 -0
- package/src/version.cjs +1 -0
- package/src/version.js +1 -0
- package/src/lib/shared/types/user.d.ts +0 -15
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.d.ts +0 -6
- package/src/lib/views/MergeUserAccountsView/index.d.ts +0 -1
- /package/src/lib/utils/hooks/useEmbeddedWallet/{useCoinbaseMPC → useMPCEmbeddedWallet/useCoinbaseMPC}/index.d.ts +0 -0
- /package/src/lib/utils/hooks/useEmbeddedWallet/{useTurnkey → useSecureEnclaveEmbeddedWallet/useTurnkey}/index.d.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -37,14 +38,14 @@ require('../../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
|
37
38
|
require('../../../../context/VerificationContext/VerificationContext.cjs');
|
|
38
39
|
require('react-dom');
|
|
39
40
|
require('../../../../context/WalletContext/WalletContext.cjs');
|
|
41
|
+
var useIsTurnkeyWallet = require('../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs');
|
|
42
|
+
var passkeyRecovery = require('../../utils/passkeyRecovery/passkeyRecovery.cjs');
|
|
40
43
|
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
41
44
|
var useMutation = require('../../../../utils/hooks/useMutation/useMutation.cjs');
|
|
42
|
-
var passkeyRecovery = require('../../utils/passkeyRecovery/passkeyRecovery.cjs');
|
|
43
|
-
var useIsTurnkeyWallet = require('../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs');
|
|
44
45
|
require('@dynamic-labs/types');
|
|
45
46
|
require('yup');
|
|
46
|
-
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
47
47
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
48
|
+
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
48
49
|
require('../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
49
50
|
require('../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
50
51
|
require('@dynamic-labs/rpc-providers');
|
|
@@ -65,7 +66,7 @@ require('../../../../components/IconButton/IconButton.cjs');
|
|
|
65
66
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
66
67
|
var ErrorContainer = require('../../../../components/ErrorContainer/ErrorContainer.cjs');
|
|
67
68
|
require('formik');
|
|
68
|
-
var
|
|
69
|
+
var TypographyButton = require('../../../../components/TypographyButton/TypographyButton.cjs');
|
|
69
70
|
require('../../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
70
71
|
require('../../../../components/Alert/Alert.cjs');
|
|
71
72
|
require('../../../../components/Input/Input.cjs');
|
|
@@ -119,7 +120,7 @@ const PasskeyCompleteRecovery = () => {
|
|
|
119
120
|
const translationKey = isTurnkeyWalletWithoutAuthenticator
|
|
120
121
|
? 'dyn_passkey_secure_modal'
|
|
121
122
|
: 'dyn_passkey_recovery';
|
|
122
|
-
return (jsxRuntime.jsxs("div", { className: 'passkey-recovery-view', children: [jsxRuntime.jsx("div", { className: 'passkey-recovery-view__header', children: jsxRuntime.jsx(passkeyIntroIcon.ReactComponent, {}) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.complete.description`) }), errorText && jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: errorText }), jsxRuntime.jsx("div", { className: 'passkey-recovery-view__actions', children: jsxRuntime.jsx(
|
|
123
|
+
return (jsxRuntime.jsxs("div", { className: 'passkey-recovery-view', children: [jsxRuntime.jsx("div", { className: 'passkey-recovery-view__header', children: jsxRuntime.jsx(passkeyIntroIcon.ReactComponent, {}) }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.complete.description`) }), errorText && jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: errorText }), jsxRuntime.jsx("div", { className: 'passkey-recovery-view__actions', children: jsxRuntime.jsx(TypographyButton.TypographyButton, { buttonVariant: 'brand-primary', buttonPadding: 'large', dataTestId: 'passkey-recovery-complete-button', onClick: () => completeRecovery(), disabled: isLoading, showInternalLoading: false, typographyProps: {
|
|
123
124
|
color: 'inherit',
|
|
124
125
|
}, children: jsxRuntime.jsxs("div", { className: 'passkey-recovery-view__inline-button', children: [jsxRuntime.jsx(PasskeyDeviceIcon.PasskeyDeviceIcon, { size: 'small' }), jsxRuntime.jsx(Typography.Typography, { children: t(`${translationKey}.complete.complete_button`) })] }) }) }), jsxRuntime.jsx(NeedHelpSection.NeedHelpSection, { isRecoveryFlow: true })] }));
|
|
125
126
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
4
|
import { useMemo } from 'react';
|
|
@@ -33,14 +34,14 @@ import '../../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
|
33
34
|
import '../../../../context/VerificationContext/VerificationContext.js';
|
|
34
35
|
import 'react-dom';
|
|
35
36
|
import '../../../../context/WalletContext/WalletContext.js';
|
|
37
|
+
import { useIsTurnkeyWallet } from '../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js';
|
|
38
|
+
import { completePasskeyRecovery } from '../../utils/passkeyRecovery/passkeyRecovery.js';
|
|
36
39
|
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
37
40
|
import { useMutation } from '../../../../utils/hooks/useMutation/useMutation.js';
|
|
38
|
-
import { completePasskeyRecovery } from '../../utils/passkeyRecovery/passkeyRecovery.js';
|
|
39
|
-
import { useIsTurnkeyWallet } from '../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js';
|
|
40
41
|
import '@dynamic-labs/types';
|
|
41
42
|
import 'yup';
|
|
42
|
-
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
43
43
|
import '../../../../context/MockContext/MockContext.js';
|
|
44
|
+
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
44
45
|
import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
45
46
|
import '../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
46
47
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -61,7 +62,7 @@ import '../../../../components/IconButton/IconButton.js';
|
|
|
61
62
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
62
63
|
import { ErrorContainer } from '../../../../components/ErrorContainer/ErrorContainer.js';
|
|
63
64
|
import 'formik';
|
|
64
|
-
import {
|
|
65
|
+
import { TypographyButton } from '../../../../components/TypographyButton/TypographyButton.js';
|
|
65
66
|
import '../../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
66
67
|
import '../../../../components/Alert/Alert.js';
|
|
67
68
|
import '../../../../components/Input/Input.js';
|
|
@@ -115,7 +116,7 @@ const PasskeyCompleteRecovery = () => {
|
|
|
115
116
|
const translationKey = isTurnkeyWalletWithoutAuthenticator
|
|
116
117
|
? 'dyn_passkey_secure_modal'
|
|
117
118
|
: 'dyn_passkey_recovery';
|
|
118
|
-
return (jsxs("div", { className: 'passkey-recovery-view', children: [jsx("div", { className: 'passkey-recovery-view__header', children: jsx(SvgPasskeyIntroIcon, {}) }), jsx(Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.complete.description`) }), errorText && jsx(ErrorContainer, { children: errorText }), jsx("div", { className: 'passkey-recovery-view__actions', children: jsx(
|
|
119
|
+
return (jsxs("div", { className: 'passkey-recovery-view', children: [jsx("div", { className: 'passkey-recovery-view__header', children: jsx(SvgPasskeyIntroIcon, {}) }), jsx(Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.complete.description`) }), errorText && jsx(ErrorContainer, { children: errorText }), jsx("div", { className: 'passkey-recovery-view__actions', children: jsx(TypographyButton, { buttonVariant: 'brand-primary', buttonPadding: 'large', dataTestId: 'passkey-recovery-complete-button', onClick: () => completeRecovery(), disabled: isLoading, showInternalLoading: false, typographyProps: {
|
|
119
120
|
color: 'inherit',
|
|
120
121
|
}, children: jsxs("div", { className: 'passkey-recovery-view__inline-button', children: [jsx(PasskeyDeviceIcon, { size: 'small' }), jsx(Typography, { children: t(`${translationKey}.complete.complete_button`) })] }) }) }), jsx(NeedHelpSection, { isRecoveryFlow: true })] }));
|
|
121
122
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -37,14 +38,14 @@ require('../../../../context/VerificationContext/VerificationContext.cjs');
|
|
|
37
38
|
require('react-dom');
|
|
38
39
|
var useElementById = require('../../../../utils/hooks/useElementById/useElementById.cjs');
|
|
39
40
|
require('../../../../context/WalletContext/WalletContext.cjs');
|
|
40
|
-
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
41
|
-
var constants = require('../constants.cjs');
|
|
42
41
|
var useIsTurnkeyWallet = require('../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs');
|
|
42
|
+
var constants = require('../constants.cjs');
|
|
43
|
+
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
43
44
|
var useInitEmbeddedWalletAuthMethod = require('../../../../utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs');
|
|
44
45
|
require('@dynamic-labs/types');
|
|
45
46
|
require('yup');
|
|
46
|
-
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
47
47
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
48
|
+
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
48
49
|
require('../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
49
50
|
require('../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
50
51
|
require('@dynamic-labs/rpc-providers');
|
|
@@ -67,7 +68,7 @@ var IconButton = require('../../../../components/IconButton/IconButton.cjs');
|
|
|
67
68
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
68
69
|
var ErrorContainer = require('../../../../components/ErrorContainer/ErrorContainer.cjs');
|
|
69
70
|
require('formik');
|
|
70
|
-
var
|
|
71
|
+
var TypographyButton = require('../../../../components/TypographyButton/TypographyButton.cjs');
|
|
71
72
|
require('../../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
72
73
|
var ModalHeader = require('../../../../components/ModalHeader/ModalHeader.cjs');
|
|
73
74
|
require('../../../../components/Alert/Alert.cjs');
|
|
@@ -106,7 +107,7 @@ const PasskeyInitRecovery = ({ authenticatorType, }) => {
|
|
|
106
107
|
? 'dyn_passkey_secure_modal'
|
|
107
108
|
: 'dyn_passkey_recovery';
|
|
108
109
|
const closeButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setShowAuthFlow(false, { emitCancelAuth: true }), "data-testid": 'close-button', children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
109
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: t(`${translationKey}.start.title`) }) }), jsxRuntime.jsxs("div", { className: 'passkey-recovery-view', children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: EmailIcon, isSpinning: isLoading, iconSize: 96 }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.start.description`) }), errorText && jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: errorText }), jsxRuntime.jsx("div", { className: 'passkey-recovery-view__actions', children: jsxRuntime.jsx(
|
|
110
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: t(`${translationKey}.start.title`) }) }), jsxRuntime.jsxs("div", { className: 'passkey-recovery-view', children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: EmailIcon, isSpinning: isLoading, iconSize: 96 }), jsxRuntime.jsx(Typography.Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.start.description`) }), errorText && jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: errorText }), jsxRuntime.jsx("div", { className: 'passkey-recovery-view__actions', children: jsxRuntime.jsx(TypographyButton.TypographyButton, { buttonPadding: 'large', dataTestId: 'passkey-recovery-button', onClick: () => initAuthMethod({
|
|
110
111
|
authenticatorType,
|
|
111
112
|
iframeContainer: iframeContainerRef.current,
|
|
112
113
|
}), disabled: isLoading, showInternalLoading: false, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx(Typography.Typography, { children: t(`${translationKey}.start.start_button`) }) }) }) }), jsxRuntime.jsx(NeedHelpSection.NeedHelpSection, { isRecoveryFlow: true })] })] }));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
3
|
import { useMemo } from 'react';
|
|
3
4
|
import { useTranslation } from 'react-i18next';
|
|
@@ -33,14 +34,14 @@ import '../../../../context/VerificationContext/VerificationContext.js';
|
|
|
33
34
|
import 'react-dom';
|
|
34
35
|
import { useElementById } from '../../../../utils/hooks/useElementById/useElementById.js';
|
|
35
36
|
import '../../../../context/WalletContext/WalletContext.js';
|
|
36
|
-
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
37
|
-
import { iframeContainerId } from '../constants.js';
|
|
38
37
|
import { useIsTurnkeyWallet } from '../../../../utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js';
|
|
38
|
+
import { iframeContainerId } from '../constants.js';
|
|
39
|
+
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
39
40
|
import { useInitEmbeddedWalletAuthMethod } from '../../../../utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js';
|
|
40
41
|
import '@dynamic-labs/types';
|
|
41
42
|
import 'yup';
|
|
42
|
-
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
43
43
|
import '../../../../context/MockContext/MockContext.js';
|
|
44
|
+
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
44
45
|
import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
45
46
|
import '../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
46
47
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -63,7 +64,7 @@ import { IconButton } from '../../../../components/IconButton/IconButton.js';
|
|
|
63
64
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
64
65
|
import { ErrorContainer } from '../../../../components/ErrorContainer/ErrorContainer.js';
|
|
65
66
|
import 'formik';
|
|
66
|
-
import {
|
|
67
|
+
import { TypographyButton } from '../../../../components/TypographyButton/TypographyButton.js';
|
|
67
68
|
import '../../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
68
69
|
import { ModalHeader } from '../../../../components/ModalHeader/ModalHeader.js';
|
|
69
70
|
import '../../../../components/Alert/Alert.js';
|
|
@@ -102,7 +103,7 @@ const PasskeyInitRecovery = ({ authenticatorType, }) => {
|
|
|
102
103
|
? 'dyn_passkey_secure_modal'
|
|
103
104
|
: 'dyn_passkey_recovery';
|
|
104
105
|
const closeButton = (jsx(IconButton, { type: 'button', onClick: () => setShowAuthFlow(false, { emitCancelAuth: true }), "data-testid": 'close-button', children: jsx(SvgClose, {}) }));
|
|
105
|
-
return (jsxs(Fragment, { children: [jsx(ModalHeader, { trailing: closeButton, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: t(`${translationKey}.start.title`) }) }), jsxs("div", { className: 'passkey-recovery-view', children: [jsx(IconWithSpinner, { Icon: EmailIcon, isSpinning: isLoading, iconSize: 96 }), jsx(Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.start.description`) }), errorText && jsx(ErrorContainer, { children: errorText }), jsx("div", { className: 'passkey-recovery-view__actions', children: jsx(
|
|
106
|
+
return (jsxs(Fragment, { children: [jsx(ModalHeader, { trailing: closeButton, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', children: t(`${translationKey}.start.title`) }) }), jsxs("div", { className: 'passkey-recovery-view', children: [jsx(IconWithSpinner, { Icon: EmailIcon, isSpinning: isLoading, iconSize: 96 }), jsx(Typography, { variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'passkey-recovery-view__subtitle', children: t(`${translationKey}.start.description`) }), errorText && jsx(ErrorContainer, { children: errorText }), jsx("div", { className: 'passkey-recovery-view__actions', children: jsx(TypographyButton, { buttonPadding: 'large', dataTestId: 'passkey-recovery-button', onClick: () => initAuthMethod({
|
|
106
107
|
authenticatorType,
|
|
107
108
|
iframeContainer: iframeContainerRef.current,
|
|
108
109
|
}), disabled: isLoading, showInternalLoading: false, children: jsx("div", { children: jsx(Typography, { children: t(`${translationKey}.start.start_button`) }) }) }) }), jsx(NeedHelpSection, { isRecoveryFlow: true })] })] }));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -42,8 +43,8 @@ require('../../../context/WalletContext/WalletContext.cjs');
|
|
|
42
43
|
require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
43
44
|
require('@dynamic-labs/types');
|
|
44
45
|
require('yup');
|
|
45
|
-
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
46
46
|
require('../../../context/MockContext/MockContext.cjs');
|
|
47
|
+
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
47
48
|
require('../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
48
49
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
49
50
|
require('@dynamic-labs/rpc-providers');
|
|
@@ -62,7 +63,7 @@ require('../../../context/LoadingContext/LoadingContext.cjs');
|
|
|
62
63
|
require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
63
64
|
var IconButton = require('../../../components/IconButton/IconButton.cjs');
|
|
64
65
|
require('../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
65
|
-
var
|
|
66
|
+
var TypographyButton = require('../../../components/TypographyButton/TypographyButton.cjs');
|
|
66
67
|
require('../../TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
67
68
|
var ModalHeader = require('../../../components/ModalHeader/ModalHeader.cjs');
|
|
68
69
|
require('../../../components/Alert/Alert.cjs');
|
|
@@ -113,7 +114,7 @@ const RenamePasskeyView = () => {
|
|
|
113
114
|
if (passkey) {
|
|
114
115
|
return (jsxRuntime.jsxs("div", { className: 'edit-passkeys-widget-view', children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { leading: backButton, trailing: closeButton }), jsxRuntime.jsx("div", { className: 'edit-passkeys-widget-view__icon', children: passkeyIcon }), jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', className: 'edit-passkeys-widget-view__title', copykey: 'dyn_rename_passkeys.title', children: t('dyn_rename_passkeys.title') }), jsxRuntime.jsx(formik.Formik, { initialValues: { alias: (_a = passkey.alias) !== null && _a !== void 0 ? _a : '' }, onSubmit: (values) => {
|
|
115
116
|
handleUpdatePasskey(values.alias);
|
|
116
|
-
}, children: ({ values }) => (jsxRuntime.jsxs(formik.Form, { className: 'edit-passkeys-widget-view__body', children: [jsxRuntime.jsx(formik.Field, { "data-testid": 'input-field', name: 'alias', type: 'text', label: t('dyn_rename_passkeys.input_label'), copykey: 'dyn_rename_passkeys.input_label', className: 'edit-passkeys-widget-view__input', as: Input.Input, error: error, maxLength: 32 }), jsxRuntime.jsx(
|
|
117
|
+
}, children: ({ values }) => (jsxRuntime.jsxs(formik.Form, { className: 'edit-passkeys-widget-view__body', children: [jsxRuntime.jsx(formik.Field, { "data-testid": 'input-field', name: 'alias', type: 'text', label: t('dyn_rename_passkeys.input_label'), copykey: 'dyn_rename_passkeys.input_label', className: 'edit-passkeys-widget-view__input', as: Input.Input, error: error, maxLength: 32 }), jsxRuntime.jsx(TypographyButton.TypographyButton, { type: 'submit', className: 'edit-passkeys-widget-view__body', buttonPadding: 'large', disabled: !values.alias, copykey: 'dyn_rename_passkeys.save', children: t('dyn_rename_passkeys.save') }), error && (jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'body_small', color: 'error-1', copykey: 'dyn_rename_passkeys.error', children: t('dyn_rename_passkeys.error') }))] })) })] }));
|
|
117
118
|
}
|
|
118
119
|
return (jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', className: 'edit-passkeys-widget-view__title', children: t('dyn_rename_passkeys.not_found') }));
|
|
119
120
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
4
|
import { useState } from 'react';
|
|
@@ -38,8 +39,8 @@ import '../../../context/WalletContext/WalletContext.js';
|
|
|
38
39
|
import '../../../context/ThemeContext/ThemeContext.js';
|
|
39
40
|
import '@dynamic-labs/types';
|
|
40
41
|
import 'yup';
|
|
41
|
-
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
42
42
|
import '../../../context/MockContext/MockContext.js';
|
|
43
|
+
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
43
44
|
import '../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
44
45
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
45
46
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -58,7 +59,7 @@ import '../../../context/LoadingContext/LoadingContext.js';
|
|
|
58
59
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
59
60
|
import { IconButton } from '../../../components/IconButton/IconButton.js';
|
|
60
61
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
61
|
-
import {
|
|
62
|
+
import { TypographyButton } from '../../../components/TypographyButton/TypographyButton.js';
|
|
62
63
|
import '../../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
63
64
|
import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
|
|
64
65
|
import '../../../components/Alert/Alert.js';
|
|
@@ -109,7 +110,7 @@ const RenamePasskeyView = () => {
|
|
|
109
110
|
if (passkey) {
|
|
110
111
|
return (jsxs("div", { className: 'edit-passkeys-widget-view', children: [jsx(ModalHeader, { leading: backButton, trailing: closeButton }), jsx("div", { className: 'edit-passkeys-widget-view__icon', children: passkeyIcon }), jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', className: 'edit-passkeys-widget-view__title', copykey: 'dyn_rename_passkeys.title', children: t('dyn_rename_passkeys.title') }), jsx(Formik, { initialValues: { alias: (_a = passkey.alias) !== null && _a !== void 0 ? _a : '' }, onSubmit: (values) => {
|
|
111
112
|
handleUpdatePasskey(values.alias);
|
|
112
|
-
}, children: ({ values }) => (jsxs(Form, { className: 'edit-passkeys-widget-view__body', children: [jsx(Field, { "data-testid": 'input-field', name: 'alias', type: 'text', label: t('dyn_rename_passkeys.input_label'), copykey: 'dyn_rename_passkeys.input_label', className: 'edit-passkeys-widget-view__input', as: Input, error: error, maxLength: 32 }), jsx(
|
|
113
|
+
}, children: ({ values }) => (jsxs(Form, { className: 'edit-passkeys-widget-view__body', children: [jsx(Field, { "data-testid": 'input-field', name: 'alias', type: 'text', label: t('dyn_rename_passkeys.input_label'), copykey: 'dyn_rename_passkeys.input_label', className: 'edit-passkeys-widget-view__input', as: Input, error: error, maxLength: 32 }), jsx(TypographyButton, { type: 'submit', className: 'edit-passkeys-widget-view__body', buttonPadding: 'large', disabled: !values.alias, copykey: 'dyn_rename_passkeys.save', children: t('dyn_rename_passkeys.save') }), error && (jsx(Typography, { as: 'h1', variant: 'body_small', color: 'error-1', copykey: 'dyn_rename_passkeys.error', children: t('dyn_rename_passkeys.error') }))] })) })] }));
|
|
113
114
|
}
|
|
114
115
|
return (jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', className: 'edit-passkeys-widget-view__title', children: t('dyn_rename_passkeys.not_found') }));
|
|
115
116
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
5
|
|
|
5
6
|
var _tslib = require('../../../../../../_virtual/_tslib.cjs');
|
|
6
7
|
var utils = require('@dynamic-labs/utils');
|
|
7
|
-
var decodeJwt = require('../../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
8
8
|
require('@dynamic-labs/sdk-api-core');
|
|
9
|
+
var decodeJwt = require('../../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
9
10
|
require('../../../../shared/logger.cjs');
|
|
10
11
|
require('@dynamic-labs/iconic');
|
|
11
12
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -26,8 +27,8 @@ require('react-international-phone');
|
|
|
26
27
|
require('viem');
|
|
27
28
|
require('viem/chains');
|
|
28
29
|
|
|
29
|
-
const createEmbeddedWalletWithPasskey = (
|
|
30
|
-
var
|
|
30
|
+
const createEmbeddedWalletWithPasskey = (_a) => _tslib.__awaiter(void 0, [_a], void 0, function* ({ user, walletConnector, environmentId, authToken, chains, }) {
|
|
31
|
+
var _b;
|
|
31
32
|
if (!authToken) {
|
|
32
33
|
throw new utils.DynamicError('Auth token is not defined');
|
|
33
34
|
}
|
|
@@ -40,7 +41,7 @@ const createEmbeddedWalletWithPasskey = ({ user, walletConnector, environmentId,
|
|
|
40
41
|
walletConnector.setEmail(user.email);
|
|
41
42
|
if (!user.email) {
|
|
42
43
|
const passkeyIdentifier = user.phoneNumber ||
|
|
43
|
-
((
|
|
44
|
+
((_b = user.verifiedCredentials.find((vc) => vc.oauthDisplayName)) === null || _b === void 0 ? void 0 : _b.oauthDisplayName) ||
|
|
44
45
|
'';
|
|
45
46
|
walletConnector.setPasskeyIdentifier(passkeyIdentifier);
|
|
46
47
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEmailWalletConnector, IPasskeyWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
2
1
|
import { ChainEnum } from '@dynamic-labs/sdk-api-core';
|
|
3
|
-
import { UserProfile } from '
|
|
2
|
+
import { UserProfile } from '@dynamic-labs/types';
|
|
3
|
+
import { IEmailWalletConnector, IPasskeyWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
4
4
|
export declare const createEmbeddedWalletWithPasskey: ({ user, walletConnector, environmentId, authToken, chains, }: {
|
|
5
5
|
authToken: string | undefined;
|
|
6
6
|
environmentId: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { DynamicError } from '@dynamic-labs/utils';
|
|
3
|
-
import { decodeJwt } from '../../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api-core';
|
|
5
|
+
import { decodeJwt } from '../../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
5
6
|
import '../../../../shared/logger.js';
|
|
6
7
|
import '@dynamic-labs/iconic';
|
|
7
8
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -22,8 +23,8 @@ import 'react-international-phone';
|
|
|
22
23
|
import 'viem';
|
|
23
24
|
import 'viem/chains';
|
|
24
25
|
|
|
25
|
-
const createEmbeddedWalletWithPasskey = (
|
|
26
|
-
var
|
|
26
|
+
const createEmbeddedWalletWithPasskey = (_a) => __awaiter(void 0, [_a], void 0, function* ({ user, walletConnector, environmentId, authToken, chains, }) {
|
|
27
|
+
var _b;
|
|
27
28
|
if (!authToken) {
|
|
28
29
|
throw new DynamicError('Auth token is not defined');
|
|
29
30
|
}
|
|
@@ -36,7 +37,7 @@ const createEmbeddedWalletWithPasskey = ({ user, walletConnector, environmentId,
|
|
|
36
37
|
walletConnector.setEmail(user.email);
|
|
37
38
|
if (!user.email) {
|
|
38
39
|
const passkeyIdentifier = user.phoneNumber ||
|
|
39
|
-
((
|
|
40
|
+
((_b = user.verifiedCredentials.find((vc) => vc.oauthDisplayName)) === null || _b === void 0 ? void 0 : _b.oauthDisplayName) ||
|
|
40
41
|
'';
|
|
41
42
|
walletConnector.setPasskeyIdentifier(passkeyIdentifier);
|
|
42
43
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
5
|
|
|
5
6
|
var _tslib = require('../../../../../../_virtual/_tslib.cjs');
|
|
6
7
|
var utils = require('@dynamic-labs/utils');
|
|
7
|
-
var decodeJwt = require('../../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
8
8
|
require('@dynamic-labs/sdk-api-core');
|
|
9
|
+
var decodeJwt = require('../../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
9
10
|
require('../../../../shared/logger.cjs');
|
|
10
11
|
require('@dynamic-labs/iconic');
|
|
11
12
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -26,7 +27,7 @@ require('react-international-phone');
|
|
|
26
27
|
require('viem');
|
|
27
28
|
require('viem/chains');
|
|
28
29
|
|
|
29
|
-
const createPregeneratedWallet = (
|
|
30
|
+
const createPregeneratedWallet = (_a) => _tslib.__awaiter(void 0, [_a], void 0, function* ({ user, walletConnector, environmentId, authToken, chains, }) {
|
|
30
31
|
if (!authToken) {
|
|
31
32
|
throw new utils.DynamicError('Auth token is not defined');
|
|
32
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEmailWalletConnector, IPasskeyWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
2
1
|
import { ChainEnum } from '@dynamic-labs/sdk-api-core';
|
|
3
|
-
import { UserProfile } from '
|
|
2
|
+
import { UserProfile } from '@dynamic-labs/types';
|
|
3
|
+
import { IEmailWalletConnector, IPasskeyWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
4
4
|
export declare const createPregeneratedWallet: ({ user, walletConnector, environmentId, authToken, chains, }: {
|
|
5
5
|
authToken: string | undefined;
|
|
6
6
|
environmentId: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { DynamicError } from '@dynamic-labs/utils';
|
|
3
|
-
import { decodeJwt } from '../../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api-core';
|
|
5
|
+
import { decodeJwt } from '../../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
5
6
|
import '../../../../shared/logger.js';
|
|
6
7
|
import '@dynamic-labs/iconic';
|
|
7
8
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -22,7 +23,7 @@ import 'react-international-phone';
|
|
|
22
23
|
import 'viem';
|
|
23
24
|
import 'viem/chains';
|
|
24
25
|
|
|
25
|
-
const createPregeneratedWallet = (
|
|
26
|
+
const createPregeneratedWallet = (_a) => __awaiter(void 0, [_a], void 0, function* ({ user, walletConnector, environmentId, authToken, chains, }) {
|
|
26
27
|
if (!authToken) {
|
|
27
28
|
throw new DynamicError('Auth token is not defined');
|
|
28
29
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -30,8 +31,8 @@ require('viem');
|
|
|
30
31
|
require('viem/chains');
|
|
31
32
|
var constants = require('../../PasskeyRecovery/constants.cjs');
|
|
32
33
|
|
|
33
|
-
const initEmbeddedWalletSession = ({ authenticatorType, authToken, iframeContainer, iframeElementId, environmentId, userEmail, wallet, sessionExpiration, })
|
|
34
|
-
var
|
|
34
|
+
const initEmbeddedWalletSession = (_a) => _tslib.__awaiter(void 0, [_a], void 0, function* ({ authenticatorType, authToken, iframeContainer, iframeElementId, environmentId, userEmail, wallet, sessionExpiration, }) {
|
|
35
|
+
var _b;
|
|
35
36
|
if (!authToken) {
|
|
36
37
|
throw new utils.DynamicError('Auth token is not defined');
|
|
37
38
|
}
|
|
@@ -40,7 +41,7 @@ const initEmbeddedWalletSession = ({ authenticatorType, authToken, iframeContain
|
|
|
40
41
|
!walletConnectorCore.isPasskeyWalletConnector(wallet === null || wallet === void 0 ? void 0 : wallet.connector)) {
|
|
41
42
|
throw new utils.DynamicError('PasskeyWalletConnector not found');
|
|
42
43
|
}
|
|
43
|
-
const turnkeyRecoveryHandler = (
|
|
44
|
+
const turnkeyRecoveryHandler = (_b = wallet.connector) === null || _b === void 0 ? void 0 : _b.getAuthenticatorHandler();
|
|
44
45
|
if (authenticatorType === 'passkey' &&
|
|
45
46
|
turnkeyRecoveryHandler.isSessionActive()) {
|
|
46
47
|
return addNewPasskeyAuthenticator({
|
|
@@ -67,8 +68,8 @@ const initEmbeddedWalletSession = ({ authenticatorType, authToken, iframeContain
|
|
|
67
68
|
: response.turnkeyUserId;
|
|
68
69
|
return;
|
|
69
70
|
});
|
|
70
|
-
const passkeyRecoveryBundleValidation = (
|
|
71
|
-
var
|
|
71
|
+
const passkeyRecoveryBundleValidation = (_c) => _tslib.__awaiter(void 0, [_c], void 0, function* ({ authToken, bundleInput, wallet, }) {
|
|
72
|
+
var _d, _e, _f, _g;
|
|
72
73
|
if (!bundleInput) {
|
|
73
74
|
throw new utils.DynamicError('Code must be informed');
|
|
74
75
|
}
|
|
@@ -81,8 +82,8 @@ const passkeyRecoveryBundleValidation = ({ authToken, bundleInput, wallet, }) =>
|
|
|
81
82
|
if (!decodedJwt) {
|
|
82
83
|
throw new utils.DynamicError('User must be logged in with a valid token');
|
|
83
84
|
}
|
|
84
|
-
const organizationId = (
|
|
85
|
-
const turnkeyRecoveryHandler = (
|
|
85
|
+
const organizationId = (_f = (_e = (_d = decodedJwt.verifiedCredentials) === null || _d === void 0 ? void 0 : _d.find(({ walletName }) => walletName === null || walletName === void 0 ? void 0 : walletName.startsWith('turnkey'))) === null || _e === void 0 ? void 0 : _e.walletProperties) === null || _f === void 0 ? void 0 : _f.turnkeySubOrganizationId;
|
|
86
|
+
const turnkeyRecoveryHandler = (_g = wallet.connector) === null || _g === void 0 ? void 0 : _g.getAuthenticatorHandler();
|
|
86
87
|
yield turnkeyRecoveryHandler.verifyRecoveryCode(bundleInput, organizationId);
|
|
87
88
|
const sessionSettings = {
|
|
88
89
|
createdAt: new Date().getTime(),
|
|
@@ -91,8 +92,8 @@ const passkeyRecoveryBundleValidation = ({ authToken, bundleInput, wallet, }) =>
|
|
|
91
92
|
};
|
|
92
93
|
localStorage.LocalStorage.setToLS(localStorage$1.EMBEDDED_WALLET_SESSION_SETTINGS, sessionSettings);
|
|
93
94
|
});
|
|
94
|
-
const resentRecoveryEmail = (
|
|
95
|
-
var
|
|
95
|
+
const resentRecoveryEmail = (_h) => _tslib.__awaiter(void 0, [_h], void 0, function* ({ authenticatorType, authToken, environmentId, wallet, }) {
|
|
96
|
+
var _j;
|
|
96
97
|
if (!authToken) {
|
|
97
98
|
throw new utils.DynamicError('Auth token is not defined');
|
|
98
99
|
}
|
|
@@ -101,7 +102,7 @@ const resentRecoveryEmail = ({ authenticatorType, authToken, environmentId, wall
|
|
|
101
102
|
!walletConnectorCore.isPasskeyWalletConnector(wallet === null || wallet === void 0 ? void 0 : wallet.connector)) {
|
|
102
103
|
throw new utils.DynamicError('PasskeyWalletConnector not found');
|
|
103
104
|
}
|
|
104
|
-
const publicKey = (
|
|
105
|
+
const publicKey = (_j = wallet.connector) === null || _j === void 0 ? void 0 : _j.getAuthenticatorHandler().publicKey;
|
|
105
106
|
if (!publicKey) {
|
|
106
107
|
throw new utils.DynamicError('Could not proceed with your request. Please restart the process.');
|
|
107
108
|
}
|
|
@@ -113,8 +114,8 @@ const resentRecoveryEmail = ({ authenticatorType, authToken, environmentId, wall
|
|
|
113
114
|
walletId: wallet === null || wallet === void 0 ? void 0 : wallet.id,
|
|
114
115
|
});
|
|
115
116
|
});
|
|
116
|
-
const completePasskeyRecovery = (
|
|
117
|
-
var
|
|
117
|
+
const completePasskeyRecovery = (_k) => _tslib.__awaiter(void 0, [_k], void 0, function* ({ authToken, userEmail, environmentId, wallet, }) {
|
|
118
|
+
var _l, _m, _o;
|
|
118
119
|
if (!authToken) {
|
|
119
120
|
throw new utils.DynamicError('User must be logged in');
|
|
120
121
|
}
|
|
@@ -129,7 +130,7 @@ const completePasskeyRecovery = ({ authToken, userEmail, environmentId, wallet,
|
|
|
129
130
|
}
|
|
130
131
|
const connector = wallet.connector;
|
|
131
132
|
connector.setEmail(userEmail);
|
|
132
|
-
const organizationId = (
|
|
133
|
+
const organizationId = (_o = (_m = (_l = decodedJwt.verifiedCredentials) === null || _l === void 0 ? void 0 : _l.find(({ walletName }) => walletName === null || walletName === void 0 ? void 0 : walletName.startsWith('turnkey'))) === null || _m === void 0 ? void 0 : _m.walletProperties) === null || _o === void 0 ? void 0 : _o.turnkeySubOrganizationId;
|
|
133
134
|
if (!organizationId) {
|
|
134
135
|
throw new utils.DynamicError('Invalid token!');
|
|
135
136
|
}
|
|
@@ -169,8 +170,8 @@ const completePasskeyRecovery = ({ authToken, userEmail, environmentId, wallet,
|
|
|
169
170
|
passkeyRecoveryResponse,
|
|
170
171
|
};
|
|
171
172
|
});
|
|
172
|
-
const addNewPasskeyAuthenticator = (
|
|
173
|
-
var
|
|
173
|
+
const addNewPasskeyAuthenticator = (_p) => _tslib.__awaiter(void 0, [_p], void 0, function* ({ authToken, userEmail, environmentId, wallet, }) {
|
|
174
|
+
var _q, _r, _s;
|
|
174
175
|
if (!authToken) {
|
|
175
176
|
throw new utils.DynamicError('User must be logged in');
|
|
176
177
|
}
|
|
@@ -185,7 +186,7 @@ const addNewPasskeyAuthenticator = ({ authToken, userEmail, environmentId, walle
|
|
|
185
186
|
}
|
|
186
187
|
const connector = wallet.connector;
|
|
187
188
|
connector.setEmail(userEmail);
|
|
188
|
-
const organizationId = (
|
|
189
|
+
const organizationId = (_s = (_r = (_q = decodedJwt.verifiedCredentials) === null || _q === void 0 ? void 0 : _q.find(({ walletName }) => walletName === null || walletName === void 0 ? void 0 : walletName.startsWith('turnkey'))) === null || _r === void 0 ? void 0 : _r.walletProperties) === null || _s === void 0 ? void 0 : _s.turnkeySubOrganizationId;
|
|
189
190
|
if (!organizationId) {
|
|
190
191
|
throw new utils.DynamicError('Invalid token!');
|
|
191
192
|
}
|
|
@@ -239,8 +240,8 @@ const canRestoreEmbeddedWalletSession = (sessionExpirationTime) => {
|
|
|
239
240
|
}
|
|
240
241
|
return true;
|
|
241
242
|
};
|
|
242
|
-
const restoreEmbeddedWalletSession = (
|
|
243
|
-
var
|
|
243
|
+
const restoreEmbeddedWalletSession = (_t) => _tslib.__awaiter(void 0, [_t], void 0, function* ({ authToken, iframeContainer, iframeElementId, wallet, sessionExpiration, }) {
|
|
244
|
+
var _u, _v, _w, _x;
|
|
244
245
|
if (!authToken) {
|
|
245
246
|
throw new utils.DynamicError('Auth token is not defined');
|
|
246
247
|
}
|
|
@@ -254,7 +255,7 @@ const restoreEmbeddedWalletSession = ({ authToken, iframeContainer, iframeElemen
|
|
|
254
255
|
throw new utils.DynamicError('PasskeyWalletConnector not found');
|
|
255
256
|
}
|
|
256
257
|
const sessionSettings = localStorage.LocalStorage.getFromLS(localStorage$1.EMBEDDED_WALLET_SESSION_SETTINGS);
|
|
257
|
-
const turnkeyRecoveryHandler = (
|
|
258
|
+
const turnkeyRecoveryHandler = (_u = wallet.connector) === null || _u === void 0 ? void 0 : _u.getAuthenticatorHandler();
|
|
258
259
|
if (!sessionSettings || Boolean(turnkeyRecoveryHandler.recoveryUserId)) {
|
|
259
260
|
return false;
|
|
260
261
|
}
|
|
@@ -263,12 +264,12 @@ const restoreEmbeddedWalletSession = ({ authToken, iframeContainer, iframeElemen
|
|
|
263
264
|
throw new utils.DynamicError('Could not open embedded wallet connection communication');
|
|
264
265
|
}
|
|
265
266
|
turnkeyRecoveryHandler.recoveryUserId = sessionSettings.userId;
|
|
266
|
-
const organizationId = (
|
|
267
|
+
const organizationId = (_x = (_w = (_v = decodedJwt.verifiedCredentials) === null || _v === void 0 ? void 0 : _v.find(({ walletName }) => walletName === null || walletName === void 0 ? void 0 : walletName.startsWith('turnkey'))) === null || _w === void 0 ? void 0 : _w.walletProperties) === null || _x === void 0 ? void 0 : _x.turnkeySubOrganizationId;
|
|
267
268
|
yield turnkeyRecoveryHandler.verifyRecoveryCode(sessionSettings.emailCode, organizationId);
|
|
268
269
|
return true;
|
|
269
270
|
});
|
|
270
|
-
const addEmailRecovery = (
|
|
271
|
-
var
|
|
271
|
+
const addEmailRecovery = (_y) => _tslib.__awaiter(void 0, [_y], void 0, function* ({ authToken, userEmail, environmentId, wallet, }) {
|
|
272
|
+
var _z, _0;
|
|
272
273
|
if (!authToken) {
|
|
273
274
|
throw new utils.DynamicError('User must be logged in');
|
|
274
275
|
}
|
|
@@ -282,7 +283,7 @@ const addEmailRecovery = ({ authToken, userEmail, environmentId, wallet, }) => _
|
|
|
282
283
|
!walletConnectorCore.isEmailWalletConnector(wallet === null || wallet === void 0 ? void 0 : wallet.connector)) {
|
|
283
284
|
throw new utils.DynamicError('PasskeyWalletConnector not found');
|
|
284
285
|
}
|
|
285
|
-
const { turnkeySubOrganizationId, turnkeyUserId } = (
|
|
286
|
+
const { turnkeySubOrganizationId, turnkeyUserId } = (_0 = (_z = decodedJwt.verifiedCredentials) === null || _z === void 0 ? void 0 : _z.find(({ walletName }) => walletName === null || walletName === void 0 ? void 0 : walletName.startsWith('turnkey'))) === null || _0 === void 0 ? void 0 : _0.walletProperties;
|
|
286
287
|
if (!turnkeySubOrganizationId || !turnkeyUserId) {
|
|
287
288
|
throw new utils.DynamicError('Invalid token!');
|
|
288
289
|
}
|
|
@@ -9,7 +9,7 @@ export declare const initEmbeddedWalletSession: ({ authenticatorType, authToken,
|
|
|
9
9
|
environmentId: string;
|
|
10
10
|
userEmail: string;
|
|
11
11
|
wallet: Wallet | null;
|
|
12
|
-
sessionExpiration?: number
|
|
12
|
+
sessionExpiration?: number;
|
|
13
13
|
}) => Promise<{
|
|
14
14
|
decodedJwt: Omit<DynamicJwt, 'jwt'>;
|
|
15
15
|
passkeyRecoveryResponse: VerifyResponse;
|
|
@@ -49,7 +49,7 @@ export declare const restoreEmbeddedWalletSession: ({ authToken, iframeContainer
|
|
|
49
49
|
iframeContainer: HTMLElement;
|
|
50
50
|
iframeElementId: string;
|
|
51
51
|
wallet: Wallet | null;
|
|
52
|
-
sessionExpiration?: number
|
|
52
|
+
sessionExpiration?: number;
|
|
53
53
|
}) => Promise<boolean>;
|
|
54
54
|
export declare const addEmailRecovery: ({ authToken, userEmail, environmentId, wallet, }: {
|
|
55
55
|
authToken: string | undefined;
|