@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
|
@@ -12,8 +12,8 @@ export declare const useSocialAuth: ({ sessionTimeout, authMode, onSettled, onEr
|
|
|
12
12
|
readonly checkValidProvider: (provider: ProviderEnum) => boolean;
|
|
13
13
|
readonly connectSocialAccount: ({ provider, validator, captchaToken, }: {
|
|
14
14
|
provider: ProviderEnum;
|
|
15
|
-
validator?: (
|
|
16
|
-
captchaToken?: string
|
|
15
|
+
validator?: (provider: ProviderEnum) => boolean;
|
|
16
|
+
captchaToken?: string;
|
|
17
17
|
}) => Promise<void>;
|
|
18
18
|
readonly error: SocialOAuthError | undefined;
|
|
19
19
|
readonly handleError: (code: SocialOAuthErrorCode, message: string) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useState, useRef } from 'react';
|
|
3
4
|
import { ProviderEnum, OauthResultStatus } from '@dynamic-labs/sdk-api-core';
|
|
@@ -39,14 +40,15 @@ import '../../../context/VerificationContext/VerificationContext.js';
|
|
|
39
40
|
import { useUpdateUserProfileByJWTCallback } from '../useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js';
|
|
40
41
|
import 'react-dom';
|
|
41
42
|
import { useEmbeddedWallet } from '../useEmbeddedWallet/useEmbeddedWallet.js';
|
|
43
|
+
import '../../../context/WalletContext/WalletContext.js';
|
|
42
44
|
import '../../../context/ThemeContext/ThemeContext.js';
|
|
43
45
|
import { useCreateUserProfileByJWTCallback } from '../useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js';
|
|
44
46
|
import { useHandleVerifiedUser } from '../useHandleVerifiedUser/useHandleVerifiedUser.js';
|
|
45
47
|
import { connect, watchStatus } from './farcaster.js';
|
|
46
48
|
import 'yup';
|
|
49
|
+
import '../../../context/MockContext/MockContext.js';
|
|
47
50
|
import 'react-i18next';
|
|
48
51
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
49
|
-
import '../../../context/MockContext/MockContext.js';
|
|
50
52
|
import '../useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
51
53
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
52
54
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -66,7 +68,6 @@ import '../../../components/Popper/Popper/Popper.js';
|
|
|
66
68
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
67
69
|
import 'react-focus-lock';
|
|
68
70
|
import 'qrcode';
|
|
69
|
-
import '../../../context/WalletContext/WalletContext.js';
|
|
70
71
|
import 'formik';
|
|
71
72
|
import '../../../views/WalletList/WalletList.js';
|
|
72
73
|
import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
@@ -102,7 +103,7 @@ const providersWithoutWindowOpenerRefence = ['twitter'];
|
|
|
102
103
|
// Hook to handle common social auth logic (for social linking and social sign in)
|
|
103
104
|
const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
104
105
|
var _a;
|
|
105
|
-
const { environmentId, onboardingOnlyJwt, setOnboardingOnlyJwt, setCallback, setShowAuthFlow, projectSettings, consumeNonce, } = useInternalDynamicContext();
|
|
106
|
+
const { environmentId, onboardingOnlyJwt, setOnboardingOnlyJwt, setCallback, setShowAuthFlow, projectSettings, consumeNonce, redirectUrl, } = useInternalDynamicContext();
|
|
106
107
|
const { handleVerifiedUserWithJWT } = useHandleVerifiedUser();
|
|
107
108
|
const { setView } = useViewContext();
|
|
108
109
|
const { setExistentAccountData } = useAccountExistsContext();
|
|
@@ -219,8 +220,8 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
219
220
|
handleError(SocialOAuthErrorCode.GENERAL_ERROR, error);
|
|
220
221
|
}
|
|
221
222
|
});
|
|
222
|
-
const connectSocialAccount = (
|
|
223
|
-
var
|
|
223
|
+
const connectSocialAccount = (_d) => __awaiter(void 0, [_d], void 0, function* ({ provider, validator, captchaToken, }) {
|
|
224
|
+
var _e, _f;
|
|
224
225
|
clearInterval(authWindowInterval.current);
|
|
225
226
|
clearError();
|
|
226
227
|
setIsProcessing(true);
|
|
@@ -243,9 +244,9 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
243
244
|
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: false });
|
|
244
245
|
};
|
|
245
246
|
const handleAuthWindowMessage = (event) => __awaiter(void 0, void 0, void 0, function* () {
|
|
246
|
-
var
|
|
247
|
+
var _g, _h;
|
|
247
248
|
const message = event.data;
|
|
248
|
-
const apiProvider = getProviderByType((
|
|
249
|
+
const apiProvider = getProviderByType((_g = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _g !== void 0 ? _g : [], provider);
|
|
249
250
|
if (!(apiProvider === null || apiProvider === void 0 ? void 0 : apiProvider.redirectUrl)) {
|
|
250
251
|
return;
|
|
251
252
|
}
|
|
@@ -283,7 +284,7 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
283
284
|
return;
|
|
284
285
|
}
|
|
285
286
|
setIsProcessing(true);
|
|
286
|
-
if (!((
|
|
287
|
+
if (!((_h = providersWaitingOauthMessage.current) === null || _h === void 0 ? void 0 : _h[provider])) {
|
|
287
288
|
handleError(SocialOAuthErrorCode.SESSION_TIMEOUT, `Connecting ${provider} account session timeout.`);
|
|
288
289
|
return;
|
|
289
290
|
}
|
|
@@ -324,12 +325,12 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
324
325
|
}
|
|
325
326
|
setIsProcessing(false);
|
|
326
327
|
});
|
|
327
|
-
const loginUrl = getOauthLoginUrl((
|
|
328
|
+
const loginUrl = getOauthLoginUrl((_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _e !== void 0 ? _e : [], provider);
|
|
328
329
|
if (!loginUrl) {
|
|
329
330
|
handleError(SocialOAuthErrorCode.NO_OAUTH_URL, `Failed to get login url to connect social account: ${provider}`);
|
|
330
331
|
return;
|
|
331
332
|
}
|
|
332
|
-
if (!((
|
|
333
|
+
if (!((_f = providersWaitingOauthMessage.current) === null || _f === void 0 ? void 0 : _f[provider])) {
|
|
333
334
|
window.addEventListener('message', handleAuthWindowMessage);
|
|
334
335
|
providersWaitingOauthMessage.current = Object.assign(Object.assign({}, providersWaitingOauthMessage.current), { [provider]: true });
|
|
335
336
|
}
|
|
@@ -377,10 +378,10 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
377
378
|
authWindowTimeout = authWindowTimeout * 3;
|
|
378
379
|
}
|
|
379
380
|
authWindowInterval.current = setInterval(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
380
|
-
var
|
|
381
|
+
var _j;
|
|
381
382
|
shouldPool.current = false;
|
|
382
383
|
// clear all states/listeners, assuming user closed the window before completing oauth
|
|
383
|
-
if ((
|
|
384
|
+
if ((_j = providersWaitingOauthMessage.current) === null || _j === void 0 ? void 0 : _j[provider]) {
|
|
384
385
|
clearListeners();
|
|
385
386
|
handleError(SocialOAuthErrorCode.OAUTH_WINDOW_TIMEOUT, `Connecting ${provider} account window timeout.`);
|
|
386
387
|
}
|
|
@@ -396,6 +397,7 @@ const useSocialAuth = ({ sessionTimeout, authMode, onSettled, onError, }) => {
|
|
|
396
397
|
const data = yield connect({
|
|
397
398
|
domain,
|
|
398
399
|
nonce: dynamicNonce,
|
|
400
|
+
redirectUrl,
|
|
399
401
|
siweUri: window.location.origin,
|
|
400
402
|
});
|
|
401
403
|
if (!(data === null || data === void 0 ? void 0 : data.url) || !(data === null || data === void 0 ? void 0 : data.channelToken)) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __rest } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useRef, useState, useCallback, useEffect } from 'react';
|
|
3
4
|
import { animationFrameTimeout, clearAnimationFrameTimeout } from '../../functions/animationFrameTimeout/animationFrameTimeout.js';
|
package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -36,9 +37,9 @@ require('../../../context/WalletContext/WalletContext.cjs');
|
|
|
36
37
|
require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
37
38
|
require('@dynamic-labs/types');
|
|
38
39
|
require('yup');
|
|
40
|
+
require('../../../context/MockContext/MockContext.cjs');
|
|
39
41
|
require('react-i18next');
|
|
40
42
|
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
41
|
-
require('../../../context/MockContext/MockContext.cjs');
|
|
42
43
|
require('../useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
43
44
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
44
45
|
require('@dynamic-labs/rpc-providers');
|
package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useCallback } from 'react';
|
|
3
4
|
import '../../../context/DynamicContext/DynamicContext.js';
|
|
@@ -32,9 +33,9 @@ import '../../../context/WalletContext/WalletContext.js';
|
|
|
32
33
|
import '../../../context/ThemeContext/ThemeContext.js';
|
|
33
34
|
import '@dynamic-labs/types';
|
|
34
35
|
import 'yup';
|
|
36
|
+
import '../../../context/MockContext/MockContext.js';
|
|
35
37
|
import 'react-i18next';
|
|
36
38
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
37
|
-
import '../../../context/MockContext/MockContext.js';
|
|
38
39
|
import '../useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
39
40
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
40
41
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -6,6 +7,7 @@ var _tslib = require('../../../../../_virtual/_tslib.cjs');
|
|
|
6
7
|
var React = require('react');
|
|
7
8
|
var yup = require('yup');
|
|
8
9
|
var utils = require('@dynamic-labs/utils');
|
|
10
|
+
var MockContext = require('../../../context/MockContext/MockContext.cjs');
|
|
9
11
|
require('@dynamic-labs/sdk-api-core');
|
|
10
12
|
var logger = require('../../../shared/logger.cjs');
|
|
11
13
|
require('@dynamic-labs/iconic');
|
|
@@ -19,7 +21,6 @@ require('../../constants/values.cjs');
|
|
|
19
21
|
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
22
|
var index$1 = require('../../../shared/consts/index.cjs');
|
|
21
23
|
var useFields = require('../../../views/CollectUserDataView/useFields.cjs');
|
|
22
|
-
var MockContext = require('../../../context/MockContext/MockContext.cjs');
|
|
23
24
|
|
|
24
25
|
// Hook that returns the prepared data to work with the formik
|
|
25
26
|
// In order to update or display user information
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormikHelpers } from 'formik';
|
|
2
2
|
import { ProjectSettingsKyc } from '@dynamic-labs/sdk-api-core';
|
|
3
|
-
import { UserProfile } from '
|
|
3
|
+
import { UserProfile } from '@dynamic-labs/types';
|
|
4
4
|
export type UserDataFormValues = {
|
|
5
5
|
email?: string;
|
|
6
6
|
policiesConsent?: boolean;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
4
|
import { object } from 'yup';
|
|
4
5
|
import { DynamicError, EmailAlreadyExistsError, TooManyEmailVerificationsError, UsernameAlreadyExistsError, InvalidPhoneNumberError } from '@dynamic-labs/utils';
|
|
6
|
+
import { useMockContext } from '../../../context/MockContext/MockContext.js';
|
|
5
7
|
import '@dynamic-labs/sdk-api-core';
|
|
6
8
|
import { logger } from '../../../shared/logger.js';
|
|
7
9
|
import '@dynamic-labs/iconic';
|
|
@@ -15,7 +17,6 @@ import '../../constants/values.js';
|
|
|
15
17
|
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
16
18
|
import { countryCodes, tShirtSizes, teamNames } from '../../../shared/consts/index.js';
|
|
17
19
|
import { useFields } from '../../../views/CollectUserDataView/useFields.js';
|
|
18
|
-
import { useMockContext } from '../../../context/MockContext/MockContext.js';
|
|
19
20
|
|
|
20
21
|
// Hook that returns the prepared data to work with the formik
|
|
21
22
|
// In order to update or display user information
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -39,9 +40,9 @@ require('../../../../context/WalletContext/WalletContext.cjs');
|
|
|
39
40
|
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
40
41
|
var useHandleVerificationRequired = require('../../useHandleVerificationRequired/useHandleVerificationRequired.cjs');
|
|
41
42
|
require('@dynamic-labs/types');
|
|
43
|
+
require('../../../../context/MockContext/MockContext.cjs');
|
|
42
44
|
require('react-i18next');
|
|
43
45
|
var FieldsStateContext = require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
44
|
-
require('../../../../context/MockContext/MockContext.cjs');
|
|
45
46
|
require('../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
46
47
|
require('@dynamic-labs/rpc-providers');
|
|
47
48
|
require('../../../../components/Alert/Alert.cjs');
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useCallback, useRef } from 'react';
|
|
3
4
|
import { object, string, boolean } from 'yup';
|
|
@@ -35,9 +36,9 @@ import '../../../../context/WalletContext/WalletContext.js';
|
|
|
35
36
|
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
36
37
|
import { useHandleVerificationRequired, isVerificationRequired } from '../../useHandleVerificationRequired/useHandleVerificationRequired.js';
|
|
37
38
|
import '@dynamic-labs/types';
|
|
39
|
+
import '../../../../context/MockContext/MockContext.js';
|
|
38
40
|
import 'react-i18next';
|
|
39
41
|
import { useFieldsState } from '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
40
|
-
import '../../../../context/MockContext/MockContext.js';
|
|
41
42
|
import '../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
42
43
|
import '@dynamic-labs/rpc-providers';
|
|
43
44
|
import '../../../../components/Alert/Alert.js';
|
package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -35,9 +36,9 @@ require('../../../../context/WalletContext/WalletContext.cjs');
|
|
|
35
36
|
require('../../../../context/ThemeContext/ThemeContext.cjs');
|
|
36
37
|
require('@dynamic-labs/types');
|
|
37
38
|
require('yup');
|
|
39
|
+
require('../../../../context/MockContext/MockContext.cjs');
|
|
38
40
|
require('react-i18next');
|
|
39
41
|
require('../../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
40
|
-
require('../../../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../useUpdateUser/useUpdateUser.cjs');
|
|
42
43
|
var UserFieldEditorContext = require('../../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
43
44
|
var validateUpdateRequest = require('./validateUpdateRequest/validateUpdateRequest.cjs');
|
|
@@ -75,7 +76,7 @@ require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/Passke
|
|
|
75
76
|
var useInternalDynamicContext = require('../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
76
77
|
|
|
77
78
|
/** Saves the values updated by the user */
|
|
78
|
-
const saveUserValues = ({ fields: newValues, updateUserResult: { isEmailVerificationRequired, isSmsVerificationRequired, }, }, setShowAuthFlow, setView, resolve, reject)
|
|
79
|
+
const saveUserValues = (_a, setShowAuthFlow_1, setView_1, resolve_1, reject_1) => _tslib.__awaiter(void 0, [_a, setShowAuthFlow_1, setView_1, resolve_1, reject_1], void 0, function* ({ fields: newValues, updateUserResult: { isEmailVerificationRequired, isSmsVerificationRequired, }, }, setShowAuthFlow, setView, resolve, reject) {
|
|
79
80
|
// If no verification is needed, we are done
|
|
80
81
|
if (!isEmailVerificationRequired && !isSmsVerificationRequired) {
|
|
81
82
|
resolve(newValues);
|
package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { useContext, useCallback } from 'react';
|
|
3
4
|
import { DynamicError } from '@dynamic-labs/utils';
|
|
@@ -31,9 +32,9 @@ import '../../../../context/WalletContext/WalletContext.js';
|
|
|
31
32
|
import '../../../../context/ThemeContext/ThemeContext.js';
|
|
32
33
|
import '@dynamic-labs/types';
|
|
33
34
|
import 'yup';
|
|
35
|
+
import '../../../../context/MockContext/MockContext.js';
|
|
34
36
|
import 'react-i18next';
|
|
35
37
|
import '../../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
36
|
-
import '../../../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../useUpdateUser/useUpdateUser.js';
|
|
38
39
|
import { UserFieldEditorContext } from '../../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
39
40
|
import { validateUpdateRequest } from './validateUpdateRequest/validateUpdateRequest.js';
|
|
@@ -71,7 +72,7 @@ import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/Passkey
|
|
|
71
72
|
import { useInternalDynamicContext } from '../../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
72
73
|
|
|
73
74
|
/** Saves the values updated by the user */
|
|
74
|
-
const saveUserValues = ({ fields: newValues, updateUserResult: { isEmailVerificationRequired, isSmsVerificationRequired, }, }, setShowAuthFlow, setView, resolve, reject)
|
|
75
|
+
const saveUserValues = (_a, setShowAuthFlow_1, setView_1, resolve_1, reject_1) => __awaiter(void 0, [_a, setShowAuthFlow_1, setView_1, resolve_1, reject_1], void 0, function* ({ fields: newValues, updateUserResult: { isEmailVerificationRequired, isSmsVerificationRequired, }, }, setShowAuthFlow, setView, resolve, reject) {
|
|
75
76
|
// If no verification is needed, we are done
|
|
76
77
|
if (!isEmailVerificationRequired && !isSmsVerificationRequired) {
|
|
77
78
|
resolve(newValues);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProjectSettings, UserFields } from '@dynamic-labs/sdk-api-core';
|
|
2
|
-
import { UserProfile } from '
|
|
2
|
+
import { UserProfile } from '@dynamic-labs/types';
|
|
3
3
|
/** This function is used to verify that an update request with modal is valid
|
|
4
4
|
* @returns empty string if request is valid, a string with the error message otherwise
|
|
5
5
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -5,9 +6,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
6
|
var _tslib = require('../../../../../_virtual/_tslib.cjs');
|
|
6
7
|
var utils = require('@dynamic-labs/utils');
|
|
7
8
|
var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
|
|
8
|
-
var AccessDeniedContext = require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
9
|
-
var AccountExistsContext = require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
10
9
|
require('react');
|
|
10
|
+
require('../../../events/dynamicEvents.cjs');
|
|
11
11
|
require('../../../context/DynamicContext/DynamicContext.cjs');
|
|
12
12
|
var decodeJwt = require('../../../shared/utils/functions/decodeJwt/decodeJwt.cjs');
|
|
13
13
|
require('@dynamic-labs/sdk-api-core');
|
|
@@ -21,7 +21,7 @@ require('../../constants/colors.cjs');
|
|
|
21
21
|
require('../../constants/values.cjs');
|
|
22
22
|
var localStorage = require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
23
23
|
require('../../../shared/consts/index.cjs');
|
|
24
|
-
require('../../../
|
|
24
|
+
var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
25
25
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
26
26
|
var ErrorContext = require('../../../context/ErrorContext/ErrorContext.cjs');
|
|
27
27
|
var createUserProfile = require('../../functions/createUserProfile/createUserProfile.cjs');
|
|
@@ -34,9 +34,11 @@ require('viem/chains');
|
|
|
34
34
|
require('../../../config/ApiEndpoint.cjs');
|
|
35
35
|
require('../../../locale/locale.cjs');
|
|
36
36
|
var wallets = require('../../../data/api/wallets/wallets.cjs');
|
|
37
|
+
var AccessDeniedContext = require('../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
38
|
+
var AccountExistsContext = require('../../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
39
|
+
var UserWalletsContext = require('../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
37
40
|
var getSiweStatement = require('../../functions/getSiweStatement/getSiweStatement.cjs');
|
|
38
41
|
var getWalletProvider = require('../../functions/getWalletProvider/getWalletProvider.cjs');
|
|
39
|
-
var UserWalletsContext = require('../../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
40
42
|
require('../../../context/VerificationContext/VerificationContext.cjs');
|
|
41
43
|
require('react-dom');
|
|
42
44
|
require('../../../context/WalletContext/WalletContext.cjs');
|
|
@@ -44,9 +46,9 @@ require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
|
44
46
|
require('@dynamic-labs/types');
|
|
45
47
|
var useHandleVerifiedUser = require('../useHandleVerifiedUser/useHandleVerifiedUser.cjs');
|
|
46
48
|
require('yup');
|
|
49
|
+
require('../../../context/MockContext/MockContext.cjs');
|
|
47
50
|
require('react-i18next');
|
|
48
51
|
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
49
|
-
require('../../../context/MockContext/MockContext.cjs');
|
|
50
52
|
require('../useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
51
53
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
52
54
|
require('@dynamic-labs/rpc-providers');
|
|
@@ -80,7 +82,6 @@ require('../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWi
|
|
|
80
82
|
require('../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
81
83
|
require('../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
82
84
|
require('../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
83
|
-
var useInternalDynamicContext = require('../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.cjs');
|
|
84
85
|
|
|
85
86
|
// This logic is used to both verify or link a wallet
|
|
86
87
|
// Since we are re-using the different screens to authenticate or link the wallet.
|
|
@@ -228,8 +229,8 @@ const useVerifyWallet = ({ consumeNonce, displaySiweStatement, environmentId, pr
|
|
|
228
229
|
setErrorMessage(e.code);
|
|
229
230
|
}
|
|
230
231
|
};
|
|
231
|
-
return ({ walletConnector, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride, })
|
|
232
|
-
var
|
|
232
|
+
return (_a) => _tslib.__awaiter(void 0, [_a], void 0, function* ({ walletConnector, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride, }) {
|
|
233
|
+
var _b;
|
|
233
234
|
const walletProvider = getWalletProvider.getWalletProvider(walletConnector);
|
|
234
235
|
try {
|
|
235
236
|
const { response, verifyArgs } = yield generateJWT(walletConnector, walletProvider, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride);
|
|
@@ -237,12 +238,12 @@ const useVerifyWallet = ({ consumeNonce, displaySiweStatement, environmentId, pr
|
|
|
237
238
|
if (decodedJwt === undefined)
|
|
238
239
|
throw new utils.DynamicError('Invalid token!');
|
|
239
240
|
try {
|
|
240
|
-
(
|
|
241
|
+
(_b = events === null || events === void 0 ? void 0 : events.onSignedMessage) === null || _b === void 0 ? void 0 : _b.call(events, {
|
|
241
242
|
messageToSign: verifyArgs.messageToSign,
|
|
242
243
|
signedMessage: verifyArgs.signedMessage,
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
|
-
catch (
|
|
246
|
+
catch (_c) {
|
|
246
247
|
logger.logger.warn('Error calling onSignedMessage callback');
|
|
247
248
|
}
|
|
248
249
|
const user = yield createUserProfile.createUserProfile(decodedJwt);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import { __awaiter } from '../../../../../_virtual/_tslib.js';
|
|
2
3
|
import { DynamicError, WalletUsedError, ChainalysisError, GateBlockedError, NoAccessError, AccountExistsError } from '@dynamic-labs/utils';
|
|
3
4
|
import { isSocialWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
4
|
-
import { useAccessDeniedContext } from '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
5
|
-
import { useAccountExistsContext } from '../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
6
5
|
import 'react';
|
|
6
|
+
import '../../../events/dynamicEvents.js';
|
|
7
7
|
import '../../../context/DynamicContext/DynamicContext.js';
|
|
8
8
|
import { decodeJwt } from '../../../shared/utils/functions/decodeJwt/decodeJwt.js';
|
|
9
9
|
import '@dynamic-labs/sdk-api-core';
|
|
@@ -17,7 +17,7 @@ import '../../constants/colors.js';
|
|
|
17
17
|
import '../../constants/values.js';
|
|
18
18
|
import { LocalStorage } from '../../../shared/utils/classes/storage/localStorage.js';
|
|
19
19
|
import '../../../shared/consts/index.js';
|
|
20
|
-
import '../../../
|
|
20
|
+
import { useInternalDynamicContext } from '../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
21
21
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
22
22
|
import { useErrorContext } from '../../../context/ErrorContext/ErrorContext.js';
|
|
23
23
|
import { createUserProfile } from '../../functions/createUserProfile/createUserProfile.js';
|
|
@@ -30,9 +30,11 @@ import 'viem/chains';
|
|
|
30
30
|
import '../../../config/ApiEndpoint.js';
|
|
31
31
|
import '../../../locale/locale.js';
|
|
32
32
|
import { verifyWallet, linkWallet } from '../../../data/api/wallets/wallets.js';
|
|
33
|
+
import { useAccessDeniedContext } from '../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
34
|
+
import { useAccountExistsContext } from '../../../context/AccountExistsContext/AccountExistsContext.js';
|
|
35
|
+
import { useInternalUserWallets } from '../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
33
36
|
import { getSiweStatement } from '../../functions/getSiweStatement/getSiweStatement.js';
|
|
34
37
|
import { getWalletProvider } from '../../functions/getWalletProvider/getWalletProvider.js';
|
|
35
|
-
import { useInternalUserWallets } from '../../../context/UserWalletsContext/UserWalletsContext.js';
|
|
36
38
|
import '../../../context/VerificationContext/VerificationContext.js';
|
|
37
39
|
import 'react-dom';
|
|
38
40
|
import '../../../context/WalletContext/WalletContext.js';
|
|
@@ -40,9 +42,9 @@ import '../../../context/ThemeContext/ThemeContext.js';
|
|
|
40
42
|
import '@dynamic-labs/types';
|
|
41
43
|
import { useHandleVerifiedUser } from '../useHandleVerifiedUser/useHandleVerifiedUser.js';
|
|
42
44
|
import 'yup';
|
|
45
|
+
import '../../../context/MockContext/MockContext.js';
|
|
43
46
|
import 'react-i18next';
|
|
44
47
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
45
|
-
import '../../../context/MockContext/MockContext.js';
|
|
46
48
|
import '../useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
47
49
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
48
50
|
import '@dynamic-labs/rpc-providers';
|
|
@@ -76,7 +78,6 @@ import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWid
|
|
|
76
78
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
77
79
|
import '../../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
78
80
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
79
|
-
import { useInternalDynamicContext } from '../../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
80
81
|
|
|
81
82
|
// This logic is used to both verify or link a wallet
|
|
82
83
|
// Since we are re-using the different screens to authenticate or link the wallet.
|
|
@@ -224,8 +225,8 @@ const useVerifyWallet = ({ consumeNonce, displaySiweStatement, environmentId, pr
|
|
|
224
225
|
setErrorMessage(e.code);
|
|
225
226
|
}
|
|
226
227
|
};
|
|
227
|
-
return ({ walletConnector, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride, })
|
|
228
|
-
var
|
|
228
|
+
return (_a) => __awaiter(void 0, [_a], void 0, function* ({ walletConnector, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride, }) {
|
|
229
|
+
var _b;
|
|
229
230
|
const walletProvider = getWalletProvider(walletConnector);
|
|
230
231
|
try {
|
|
231
232
|
const { response, verifyArgs } = yield generateJWT(walletConnector, walletProvider, getAddressOpts, publicWalletAddress, captchaToken, oauth, signedMessageOverride, messageToSignOverride);
|
|
@@ -233,12 +234,12 @@ const useVerifyWallet = ({ consumeNonce, displaySiweStatement, environmentId, pr
|
|
|
233
234
|
if (decodedJwt === undefined)
|
|
234
235
|
throw new DynamicError('Invalid token!');
|
|
235
236
|
try {
|
|
236
|
-
(
|
|
237
|
+
(_b = events === null || events === void 0 ? void 0 : events.onSignedMessage) === null || _b === void 0 ? void 0 : _b.call(events, {
|
|
237
238
|
messageToSign: verifyArgs.messageToSign,
|
|
238
239
|
signedMessage: verifyArgs.signedMessage,
|
|
239
240
|
});
|
|
240
241
|
}
|
|
241
|
-
catch (
|
|
242
|
+
catch (_c) {
|
|
242
243
|
logger.warn('Error calling onSignedMessage callback');
|
|
243
244
|
}
|
|
244
245
|
const user = yield createUserProfile(decodedJwt);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
'use strict';
|
|
2
3
|
|
|
3
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -35,9 +36,9 @@ require('../../../context/WalletContext/WalletContext.cjs');
|
|
|
35
36
|
require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
36
37
|
require('@dynamic-labs/types');
|
|
37
38
|
require('yup');
|
|
39
|
+
require('../../../context/MockContext/MockContext.cjs');
|
|
38
40
|
require('react-i18next');
|
|
39
41
|
require('../../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
40
|
-
require('../../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
42
43
|
require('../../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
43
44
|
require('@dynamic-labs/rpc-providers');
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client'
|
|
1
2
|
import 'react';
|
|
2
3
|
import '../../../context/DynamicContext/DynamicContext.js';
|
|
3
4
|
import '@dynamic-labs/sdk-api-core';
|
|
@@ -31,9 +32,9 @@ import '../../../context/WalletContext/WalletContext.js';
|
|
|
31
32
|
import '../../../context/ThemeContext/ThemeContext.js';
|
|
32
33
|
import '@dynamic-labs/types';
|
|
33
34
|
import 'yup';
|
|
35
|
+
import '../../../context/MockContext/MockContext.js';
|
|
34
36
|
import 'react-i18next';
|
|
35
37
|
import '../../../context/FieldsStateContext/FieldsStateContext.js';
|
|
36
|
-
import '../../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
38
39
|
import '../../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
39
40
|
import '@dynamic-labs/rpc-providers';
|