@dynamic-labs/sdk-react-core 2.0.0-alpha.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +329 -0
- package/package.cjs +2 -2
- package/package.js +2 -2
- package/package.json +14 -14
- package/src/index.cjs +40 -208
- package/src/index.d.ts +95 -14
- package/src/index.js +24 -101
- package/src/lib/Main.cjs +21 -16
- package/src/lib/Main.js +22 -17
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +7 -7
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +7 -7
- package/src/lib/components/Alert/Alert.cjs +1 -2
- package/src/lib/components/Alert/Alert.js +1 -2
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +7 -7
- package/src/lib/components/AnimatePresence/AnimatePresence.js +7 -7
- package/src/lib/components/AppOriginTile/AppOriginTile.cjs +17 -1
- package/src/lib/components/AppOriginTile/AppOriginTile.js +18 -2
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +7 -7
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +7 -7
- package/src/lib/components/Captcha/Captcha.cjs +7 -7
- package/src/lib/components/Captcha/Captcha.js +7 -7
- package/src/lib/components/ChainIcon/ChainIcon.cjs +1 -2
- package/src/lib/components/ChainIcon/ChainIcon.js +1 -2
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -2
- package/src/lib/components/Checkbox/Checkbox.js +1 -2
- package/src/lib/components/CopyButton/CopyButton.cjs +7 -2
- package/src/lib/components/CopyButton/CopyButton.d.ts +5 -3
- package/src/lib/components/CopyButton/CopyButton.js +7 -2
- package/src/lib/components/Divider/Divider.cjs +13 -13
- package/src/lib/components/Divider/Divider.d.ts +4 -4
- package/src/lib/components/Divider/Divider.js +13 -13
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +7 -7
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +7 -7
- package/src/lib/components/DynamicFooter/DynamicFooter.cjs +8 -1
- package/src/lib/components/DynamicFooter/DynamicFooter.js +8 -1
- package/src/lib/components/EmailForm/EmailForm.cjs +103 -0
- package/src/lib/components/EmailForm/EmailForm.d.ts +13 -0
- package/src/lib/components/EmailForm/EmailForm.js +99 -0
- package/src/lib/components/EmailForm/index.d.ts +1 -0
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -3
- package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -3
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.cjs +1 -2
- package/src/lib/components/HardwareWalletToggle/HardwareWalletToggle.js +1 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +3 -2
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +3 -2
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +3 -2
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.js +3 -2
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +3 -2
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +3 -2
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +3 -2
- package/src/lib/components/IconWithStatus/IconWithStatus.js +3 -2
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.cjs +4 -71
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.d.ts +1 -0
- package/src/lib/components/InlineSubmitButton/InlineSubmitButton.js +4 -71
- package/src/lib/components/LogoutButton/LogoutButton.cjs +7 -7
- package/src/lib/components/LogoutButton/LogoutButton.js +7 -7
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +7 -7
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +7 -7
- package/src/lib/components/MenuList/MenuList/MenuList.cjs +1 -2
- package/src/lib/components/MenuList/MenuList/MenuList.js +1 -2
- package/src/lib/components/MockedQrCode/MockedQrCode.cjs +65 -1
- package/src/lib/components/MockedQrCode/MockedQrCode.js +65 -1
- package/src/lib/components/Modal/Modal.cjs +7 -7
- package/src/lib/components/Modal/Modal.js +7 -7
- package/src/lib/components/ModalHeader/ModalHeader.cjs +14 -4
- package/src/lib/components/ModalHeader/ModalHeader.js +14 -4
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +8 -8
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +7 -7
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +8 -11
- package/src/lib/components/NetworkPicker/NetworkPicker.js +8 -11
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +11 -11
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +11 -11
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +11 -11
- package/src/lib/components/NetworkPicker/components/Network/Network.js +11 -11
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.cjs +7 -1
- package/src/lib/components/NetworkPicker/components/NetworkControl/NetworkControl.js +7 -1
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.cjs +11 -11
- package/src/lib/components/NetworkPicker/components/NetworkControlSkeleton/NetworkControlSkeleton.js +11 -11
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +16 -12
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +17 -13
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -2
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +3 -4
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +2 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +3 -4
- package/src/lib/components/OverlayCard/OverlayCard.cjs +12 -9
- package/src/lib/components/OverlayCard/OverlayCard.d.ts +2 -2
- package/src/lib/components/OverlayCard/OverlayCard.js +12 -9
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +7 -7
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +7 -7
- package/src/lib/components/PhoneNumberField/PhoneNumberField.cjs +116 -0
- package/src/lib/components/PhoneNumberField/PhoneNumberField.d.ts +17 -0
- package/src/lib/components/PhoneNumberField/PhoneNumberField.js +112 -0
- package/src/lib/components/PhoneNumberField/index.d.ts +1 -0
- package/src/lib/{views/LoginView/sections/PhoneNumberSignInSection → components/PhoneNumberField}/usePhoneInputLogic/usePhoneInputLogic.cjs +50 -154
- package/src/lib/{views/LoginView/sections/PhoneNumberSignInSection → components/PhoneNumberField}/usePhoneInputLogic/usePhoneInputLogic.d.ts +12 -10
- package/src/lib/components/PhoneNumberField/usePhoneInputLogic/usePhoneInputLogic.js +227 -0
- package/src/lib/components/Portal/Portal.cjs +8 -7
- package/src/lib/components/Portal/Portal.js +8 -7
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +7 -7
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +7 -7
- package/src/lib/{views/QrCodeView → components/QRCode}/QRCode.cjs +23 -23
- package/src/lib/{views/QrCodeView → components/QRCode}/QRCode.js +23 -23
- package/src/lib/components/QRCode/index.d.ts +1 -0
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.cjs +110 -0
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.d.ts +14 -0
- package/src/lib/components/QrCodeWrapper/QrCodeContainer/QrCodeContainer.js +106 -0
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.cjs +87 -0
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.d.ts +11 -0
- package/src/lib/components/QrCodeWrapper/QrCodeWrapper.js +83 -0
- package/src/lib/components/QrCodeWrapper/index.d.ts +1 -0
- package/src/lib/components/RenderView/RenderView.cjs +10 -9
- package/src/lib/components/RenderView/RenderView.js +10 -9
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.cjs +10 -10
- package/src/lib/components/RetrySendVerificationCodeSection/RetrySendVerificationCodeSection.js +10 -10
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.cjs +105 -0
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.d.ts +2 -0
- package/src/lib/components/SandboxIndicatorWrapper/SandboxIndicatorWrapper.js +101 -0
- package/src/lib/components/SandboxIndicatorWrapper/index.d.ts +1 -0
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.cjs +7 -7
- package/src/lib/components/SecureEmbeddedWalletCard/SecureEmbeddedWalletCard.js +7 -7
- package/src/lib/components/Select/Select.cjs +1 -2
- package/src/lib/components/Select/Select.js +1 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +11 -17
- package/src/lib/components/SendBalanceForm/SendBalanceForm.d.ts +2 -2
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +11 -17
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +81 -13
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.d.ts +3 -7
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +81 -13
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -2
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -2
- package/src/lib/components/ShadowDOM/ShadowDOM.cjs +7 -7
- package/src/lib/components/ShadowDOM/ShadowDOM.js +7 -7
- package/src/lib/components/ShadowDOM/utils.cjs +1 -2
- package/src/lib/components/ShadowDOM/utils.js +1 -2
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.cjs +1 -2
- package/src/lib/components/SignMessagePreview/components/SignTypedDataPreview/SignTypedDataPreview.js +1 -2
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +8 -8
- package/src/lib/components/SocialSignIn/SocialSignIn.d.ts +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +8 -8
- package/src/lib/components/Spinner/spinner.cjs +1 -2
- package/src/lib/components/Spinner/spinner.js +1 -2
- package/src/lib/components/Step/Step.cjs +1 -2
- package/src/lib/components/Step/Step.js +1 -2
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.cjs +7 -7
- package/src/lib/components/SyncEmbeddedWalletAuthFlow/SyncEmbeddedWalletAuthFlow.js +7 -7
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.cjs +11 -11
- package/src/lib/components/ToggleVisibilityButton/ToggleVisibilityButton.js +11 -11
- package/src/lib/components/Toolkit/Toolkit.cjs +9 -10
- package/src/lib/components/Toolkit/Toolkit.js +9 -10
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.cjs +7 -7
- package/src/lib/components/Toolkit/components/LoginWithEmailSwitch.js +7 -7
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +7 -7
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +7 -7
- package/src/lib/components/Toolkit/components/index.d.ts +0 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +7 -7
- package/src/lib/components/Tooltip/Tooltip.js +7 -7
- package/src/lib/components/TosAndPp/TosAndPp.cjs +7 -7
- package/src/lib/components/TosAndPp/TosAndPp.js +7 -7
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +7 -7
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +7 -7
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +7 -7
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +7 -7
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +7 -7
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +7 -7
- package/src/lib/components/UserAddress/UserAddress.cjs +8 -8
- package/src/lib/components/UserAddress/UserAddress.js +8 -8
- package/src/lib/components/UserAvatar/UserAvatar.cjs +6 -2
- package/src/lib/components/UserAvatar/UserAvatar.d.ts +3 -1
- package/src/lib/components/UserAvatar/UserAvatar.js +6 -2
- package/src/lib/components/UserProfile/UserProfile.cjs +24 -11
- package/src/lib/components/UserProfile/UserProfile.js +24 -11
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +29 -14
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +29 -14
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.cjs +26 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.d.ts +9 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedUserFieldIcon/VerifiedUserFieldIcon.js +22 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/components/index.d.ts +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +11 -11
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +11 -11
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +11 -11
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.d.ts +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +11 -11
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.cjs +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.d.ts +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/components/ConnectedAccountAvatar/ConnectedAccountAvatar.js +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +13 -13
- package/src/lib/components/UserProfileForm/UserProfileForm.d.ts +2 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.js +13 -13
- package/src/lib/components/WalletInformationCard/WalletInformationCard.cjs +1 -2
- package/src/lib/components/WalletInformationCard/WalletInformationCard.js +1 -2
- package/src/lib/components/index.d.ts +10 -4
- package/src/lib/context/AccessDeniedContext/AccessDeniedContext.d.ts +1 -1
- package/src/lib/context/AccountExistsContext/AccountExistsContext.d.ts +1 -1
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpContext.cjs +9 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpContext.d.ts +3 -0
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpContext.js +5 -0
- package/src/lib/context/{ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs → ConnectWithOtpContext/ConnectWithOtpProvider.cjs} +43 -26
- package/src/lib/context/ConnectWithOtpContext/ConnectWithOtpProvider.d.ts +2 -0
- package/src/lib/context/{ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js → ConnectWithOtpContext/ConnectWithOtpProvider.js} +39 -22
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/constants.cjs +3 -4
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/constants.d.ts +1 -1
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/constants.js +1 -2
- package/src/lib/context/ConnectWithOtpContext/index.d.ts +2 -0
- package/src/lib/context/ConnectWithOtpContext/types.d.ts +20 -0
- package/src/lib/context/{ConnectWithEmailOtpContext/useConnectWithEmailOtp.cjs → ConnectWithOtpContext/useConnectWithOtp.cjs} +6 -5
- package/src/lib/context/ConnectWithOtpContext/useConnectWithOtp.d.ts +6 -0
- package/src/lib/context/{ConnectWithEmailOtpContext/useConnectWithEmailOtp.js → ConnectWithOtpContext/useConnectWithOtp.js} +6 -5
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +45 -0
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/utils/createEmailHandler.d.ts +1 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +41 -0
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/utils/createMagicHandler.cjs +2 -1
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/utils/createMagicHandler.d.ts +1 -1
- package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/utils/createMagicHandler.js +2 -1
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +46 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.d.ts +3 -0
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +42 -0
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.cjs +35 -0
- package/src/lib/context/ConnectWithOtpContext/utils/findEmailProvider.js +31 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +98 -119
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +7 -1
- package/src/lib/context/DynamicContext/DynamicContext.js +93 -114
- package/src/lib/context/DynamicContext/helpers/helpers.cjs +19 -4
- package/src/lib/context/DynamicContext/helpers/helpers.d.ts +5 -2
- package/src/lib/context/DynamicContext/helpers/helpers.js +18 -5
- package/src/lib/context/DynamicContext/hooks/index.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -2
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -2
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +3 -2
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +3 -2
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/types.d.ts +3 -7
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.cjs +19 -26
- package/src/lib/context/DynamicContext/hooks/useHandleLogout/useHandleLogout.js +19 -26
- package/src/lib/context/DynamicContext/hooks/useMultiWallet/useMultiWallet.cjs +15 -0
- package/src/lib/{utils/hooks/multiWallet → context/DynamicContext/hooks}/useMultiWallet/useMultiWallet.d.ts +2 -4
- package/src/lib/context/DynamicContext/hooks/useMultiWallet/useMultiWallet.js +11 -0
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +2 -3
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +2 -3
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.types.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/useParentDynamicContextGuard.cjs +15 -0
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/useParentDynamicContextGuard.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useParentDynamicContextGuard/useParentDynamicContextGuard.js +11 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +1 -2
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +1 -2
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +31 -19
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +4 -3
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +31 -19
- package/src/lib/context/DynamicContext/types/index.d.ts +16 -21
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +5 -10
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +15 -41
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +15 -41
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.cjs +1 -5
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.d.ts +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext/useDynamicContext.js +1 -5
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.cjs +7 -7
- package/src/lib/context/DynamicContext/useDynamicContext/useOverrides/useOverrides.js +7 -7
- package/src/lib/context/DynamicContext/validators/validators.cjs +1 -2
- package/src/lib/context/DynamicContext/validators/validators.js +1 -2
- package/src/lib/context/ErrorContext/ErrorContext.cjs +3 -0
- package/src/lib/context/ErrorContext/ErrorContext.js +3 -0
- package/src/lib/context/FieldsStateContext/FieldsStateContext.cjs +23 -0
- package/src/lib/context/FieldsStateContext/FieldsStateContext.d.ts +12 -0
- package/src/lib/context/FieldsStateContext/FieldsStateContext.js +17 -0
- package/src/lib/context/FieldsStateContext/index.d.ts +1 -0
- package/src/lib/context/FundingContext/FundingContext.cjs +13 -13
- package/src/lib/context/FundingContext/FundingContext.js +11 -11
- package/src/lib/context/LoadingContext/LoadingContext.cjs +8 -7
- package/src/lib/context/LoadingContext/LoadingContext.js +8 -7
- package/src/lib/context/MockContext/MockContext.cjs +9 -8
- package/src/lib/context/MockContext/MockContext.js +9 -8
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +26 -21
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +1 -1
- package/src/lib/context/PasskeyContext/PasskeyContext.js +25 -20
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.cjs +17 -11
- package/src/lib/context/PhantomRedirectContext/PhantomRedirectContext.js +17 -11
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.cjs +91 -18
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.d.ts +3 -1
- package/src/lib/context/PhantomRedirectContext/useResponseHandlers.js +91 -18
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +16 -13
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +18 -15
- package/src/lib/context/SendBalanceContext/SendBalanceContext.types.d.ts +1 -2
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +7 -7
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.d.ts +1 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +7 -7
- package/src/lib/context/ThemeContext/ThemeContext.cjs +43 -47
- package/src/lib/context/ThemeContext/ThemeContext.d.ts +1 -1
- package/src/lib/context/ThemeContext/ThemeContext.js +44 -48
- package/src/lib/context/ThemeContext/themesData.cjs +1 -2
- package/src/lib/context/ThemeContext/themesData.d.ts +1 -1
- package/src/lib/context/ThemeContext/themesData.js +1 -2
- package/src/lib/context/ThemeContext/utils/findThemeMode/findThemeMode.d.ts +1 -1
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.cjs +19 -0
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.d.ts +2 -2
- package/src/lib/context/ThemeContext/utils/stylesheetBuilder/stylesheetBuilder.js +19 -0
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +9 -8
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.d.ts +1 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +9 -8
- package/src/lib/context/UserWalletsContext/UserWalletsContext.cjs +26 -1
- package/src/lib/context/UserWalletsContext/UserWalletsContext.d.ts +4 -2
- package/src/lib/context/UserWalletsContext/UserWalletsContext.js +27 -2
- package/src/lib/context/VerificationContext/VerificationContext.d.ts +2 -9
- package/src/lib/context/ViewContext/types/index.d.ts +1 -1
- package/src/lib/context/WalletContext/WalletContext.cjs +7 -7
- package/src/lib/context/WalletContext/WalletContext.js +7 -7
- package/src/lib/data/api/api.cjs +24 -0
- package/src/lib/data/api/api.d.ts +2 -0
- package/src/lib/data/api/api.js +20 -0
- package/src/lib/data/api/email/email.cjs +118 -0
- package/src/lib/data/api/email/email.d.ts +26 -0
- package/src/lib/data/api/email/email.js +110 -0
- package/src/lib/data/api/email/index.d.ts +1 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +191 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +30 -0
- package/src/lib/data/api/embeddedWallets/embeddedWallets.js +177 -0
- package/src/lib/data/api/embeddedWallets/index.d.ts +2 -0
- package/src/lib/data/api/embeddedWallets/types.d.ts +39 -0
- package/src/lib/data/api/index.d.ts +11 -0
- package/src/lib/data/api/mfa/index.d.ts +1 -0
- package/src/lib/data/api/mfa/mfa.d.ts +45 -0
- package/src/lib/data/api/oauth/index.d.ts +1 -0
- package/src/lib/data/api/oauth/oauth.cjs +136 -0
- package/src/lib/data/api/oauth/oauth.d.ts +11 -0
- package/src/lib/data/api/oauth/oauth.js +128 -0
- package/src/lib/data/api/onramp/index.d.ts +1 -0
- package/src/lib/data/api/onramp/onramp.cjs +22 -0
- package/src/lib/data/api/onramp/onramp.d.ts +8 -0
- package/src/lib/data/api/onramp/onramp.js +18 -0
- package/src/lib/data/api/session/index.d.ts +1 -0
- package/src/lib/data/api/session/session.cjs +77 -0
- package/src/lib/data/api/session/session.d.ts +17 -0
- package/src/lib/data/api/session/session.js +69 -0
- package/src/lib/data/api/settings/index.d.ts +1 -0
- package/src/lib/data/api/settings/settings.cjs +58 -0
- package/src/lib/data/api/settings/settings.d.ts +7 -0
- package/src/lib/data/api/settings/settings.js +53 -0
- package/src/lib/data/api/sms/index.d.ts +1 -0
- package/src/lib/data/api/sms/sms.cjs +102 -0
- package/src/lib/data/api/sms/sms.d.ts +32 -0
- package/src/lib/data/api/sms/sms.js +95 -0
- package/src/lib/data/api/user/index.d.ts +1 -0
- package/src/lib/data/api/user/user.cjs +77 -0
- package/src/lib/data/api/user/user.d.ts +9 -0
- package/src/lib/data/api/user/user.js +71 -0
- package/src/lib/data/api/utils.cjs +20 -0
- package/src/lib/data/api/utils.d.ts +1 -0
- package/src/lib/data/api/utils.js +16 -0
- package/src/lib/data/api/wallets/index.d.ts +1 -0
- package/src/lib/data/api/wallets/wallets.cjs +137 -0
- package/src/lib/data/api/wallets/wallets.d.ts +10 -0
- package/src/lib/data/api/wallets/wallets.js +130 -0
- package/src/lib/data/index.d.ts +1 -0
- package/src/lib/events/dynamicEvents.d.ts +11 -9
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +10 -10
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +10 -10
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +36 -16
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +36 -16
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +7 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +7 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +8 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.d.ts +1 -1
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +8 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +11 -11
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +11 -11
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +11 -11
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +8 -7
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +8 -7
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +11 -11
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +11 -11
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +11 -11
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +11 -11
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +11 -11
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +11 -11
- package/src/lib/locale/en/translation.cjs +196 -30
- package/src/lib/locale/en/translation.d.ts +194 -26
- package/src/lib/locale/en/translation.js +196 -30
- package/src/lib/locale/locale.cjs +12 -4
- package/src/lib/locale/locale.d.ts +3 -2
- package/src/lib/locale/locale.js +12 -4
- package/src/lib/main.global.cjs +1 -1
- package/src/lib/main.global.js +1 -1
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.cjs +11 -11
- package/src/lib/modals/ConfirmationModal/ConfirmationModal.js +11 -11
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.cjs +7 -7
- package/src/lib/modals/CreatePasswordModal/CreatePasswordModal.js +7 -7
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +11 -11
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.d.ts +1 -1
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +11 -11
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.cjs +7 -7
- package/src/lib/modals/EnterPasswordModal/EnterPasswordModal.js +7 -7
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +14 -14
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.d.ts +1 -2
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +14 -14
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +13 -13
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +13 -13
- 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 +15 -16
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +15 -16
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +3 -4
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +11 -11
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.d.ts +1 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +11 -11
- package/src/lib/shared/assets/embedded-wallet-icon.cjs +6 -4
- package/src/lib/shared/assets/embedded-wallet-icon.js +6 -4
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/shared/assets/passkey-intro2.cjs +92 -0
- package/src/lib/shared/assets/passkey-intro2.js +68 -0
- package/src/lib/shared/consts/index.cjs +1 -1
- package/src/lib/shared/consts/index.js +1 -1
- package/src/lib/shared/types/connectionAndSignature.d.ts +3 -3
- package/src/lib/shared/types/dynamicEventsCallbacks.d.ts +21 -19
- package/src/lib/shared/types/dynamicHandlers.d.ts +9 -0
- package/src/lib/shared/types/general.d.ts +9 -0
- package/src/lib/shared/types/index.d.ts +1 -0
- package/src/lib/shared/types/localStorage.d.ts +1 -1
- package/src/lib/shared/types/user.d.ts +1 -1
- package/src/lib/shared/types/wallets.d.ts +3 -16
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.cjs +6 -13
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.d.ts +1 -1
- package/src/lib/shared/utils/functions/decodeJwt/decodeJwt.js +6 -13
- package/src/lib/shared/utils/functions/decodeMinJwt/decodeMinJwt.cjs +22 -0
- package/src/lib/shared/utils/functions/decodeMinJwt/decodeMinJwt.d.ts +2 -0
- package/src/lib/shared/utils/functions/decodeMinJwt/decodeMinJwt.js +18 -0
- package/src/lib/shared/utils/functions/decodeMinJwt/index.d.ts +1 -0
- package/src/lib/shared/utils/functions/index.d.ts +1 -3
- package/src/lib/shared/utils/functions/lastAuthenticatedAccount/index.d.ts +1 -1
- package/src/lib/shared/utils/functions/parseToken/parseToken.cjs +18 -0
- package/src/lib/shared/utils/functions/parseToken/parseToken.d.ts +1 -0
- package/src/lib/shared/utils/functions/parseToken/parseToken.js +14 -0
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.cjs +2 -2
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.d.ts +1 -1
- package/src/lib/shared/utils/functions/providerLabel/providerLabel.js +1 -1
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +1 -1
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +0 -10
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +0 -10
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/fields.cjs +7 -0
- package/src/lib/utils/constants/fields.d.ts +1 -0
- package/src/lib/utils/constants/fields.js +3 -0
- package/src/lib/utils/constants/index.d.ts +2 -1
- package/src/lib/utils/constants/localStorage.cjs +4 -4
- package/src/lib/utils/constants/localStorage.d.ts +2 -2
- package/src/lib/utils/constants/localStorage.js +3 -3
- package/src/lib/utils/constants/values.cjs +8 -10
- package/src/lib/utils/constants/values.d.ts +1 -1
- package/src/lib/utils/constants/values.js +2 -3
- package/src/lib/utils/functions/createOwnerWallet/createOwnerWallet.d.ts +1 -1
- package/src/lib/utils/functions/createUserProfile/createUserProfile.d.ts +1 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.cjs +8 -5
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.d.ts +1 -1
- package/src/lib/utils/functions/findEmbeddedWalletFromVerifiedCredentials/findEmbeddedWalletFromVerifiedCredentials.js +8 -5
- package/src/lib/utils/functions/formatPhone/formatPhone.cjs +6 -1
- package/src/lib/utils/functions/formatPhone/formatPhone.js +6 -1
- package/src/lib/utils/functions/getActiveOauthCredential/getActiveOauthCredential.d.ts +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +1 -2
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +1 -2
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.cjs +20 -6
- package/src/lib/utils/functions/getCoinbaseMPCConnectorFetchers/getCoinbaseMPCConnectorFetchers.js +16 -2
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.cjs +25 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.d.ts +4 -0
- package/src/lib/utils/functions/getCustomCountries/getCustomCountries.js +20 -0
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.cjs +3 -2
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.d.ts +1 -1
- package/src/lib/utils/functions/getEOAWallet/getEOAWallet.js +3 -2
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.cjs +39 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.d.ts +2 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/getEnabledEmbeddedWalletProviders.js +35 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletProviders/index.d.ts +1 -0
- package/src/lib/utils/functions/getEnabledEmbeddedWalletsAuthenticators/getEnabledEmbeddedWalletsAuthenticators.d.ts +1 -1
- package/src/lib/utils/functions/getEnabledKYC/index.d.ts +1 -1
- package/src/lib/utils/functions/getEnabledOAuthProviders/index.d.ts +1 -1
- package/src/lib/utils/functions/getEnabledProviders/index.d.ts +1 -1
- package/src/lib/utils/functions/getEnabledSocialSignInProvidersAsProviderEnum/getEnabledSocialSignInProvidersAsProviderEnum.d.ts +1 -1
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.cjs +30 -0
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.d.ts +1 -0
- package/src/lib/utils/functions/getMinAuthToken/getMinAuthToken.js +26 -0
- package/src/lib/utils/functions/getMinAuthToken/index.d.ts +1 -0
- package/src/lib/utils/functions/getOauthLoginUrl/getOauthLoginUrl.d.ts +1 -1
- package/src/lib/utils/functions/getProviderByType/getProviderByType.d.ts +1 -1
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.cjs +2 -2
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.d.ts +1 -1
- package/src/lib/utils/functions/getProviderEnumForSocialSignInProvider/getProviderEnumForSocialSignInProvider.js +1 -1
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +2 -3
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.d.ts +1 -1
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +2 -3
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.cjs +2 -2
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.d.ts +1 -1
- package/src/lib/utils/functions/getSocialSignInProviderForProviderEnum/getSocialSignInProviderForProviderEnum.js +1 -1
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.cjs +2 -2
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.d.ts +1 -1
- package/src/lib/utils/functions/getSocialSignInProviderFromString/getSocialSignInProviderFromString.js +1 -1
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.cjs +4 -2
- package/src/lib/utils/functions/getUserIdentifier/getUserIdentifier.js +4 -2
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.cjs +8 -5
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.d.ts +1 -1
- package/src/lib/utils/functions/getUserProfileFields/getUserProfileFields.js +7 -4
- package/src/lib/utils/functions/getUserVerifiedCredentialType/getUserVerifiedCredentialType.cjs +23 -0
- package/src/lib/utils/functions/getUserVerifiedCredentialType/getUserVerifiedCredentialType.d.ts +8 -0
- package/src/lib/utils/functions/getUserVerifiedCredentialType/getUserVerifiedCredentialType.js +19 -0
- package/src/lib/utils/functions/getUserVerifiedCredentialType/index.d.ts +1 -0
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.cjs +2 -3
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.d.ts +1 -1
- package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.js +2 -3
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +3 -3
- package/src/lib/utils/functions/getWalletAdditionalAddressByType/getWalletAdditionalAddressByType.d.ts +1 -1
- package/src/lib/utils/functions/getWalletConnectorNetworks/getWalletConnectorNetworks.d.ts +1 -1
- package/src/lib/utils/functions/getWalletProvider/getWalletProvider.d.ts +2 -1
- package/src/lib/utils/functions/getWalletVerifiedCredential/getWalletVerifiedCredential.d.ts +1 -1
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +12 -20
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.d.ts +1 -2
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +12 -20
- package/src/lib/utils/functions/index.d.ts +6 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/index.d.ts +1 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.cjs +38 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.d.ts +2 -0
- package/src/lib/utils/functions/isAllowedToLinkWallet/isAllowedToLinkWallet.js +34 -0
- package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.cjs +2 -2
- package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isCoinbaseWaasEnabled/isCoinbaseWaasEnabled.js +1 -1
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.cjs +5 -11
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isEmailProviderEnabled/isEmailProviderEnabled.js +3 -9
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.cjs +3 -3
- package/src/lib/utils/functions/isEmbeddedWalletPresent/isEmbeddedWalletPresent.js +1 -1
- package/src/lib/utils/functions/isOnrampProvider/isOnrampProvider.d.ts +1 -1
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.cjs +4 -3
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isPhoneNumberProviderEnabled/isPhoneNumberProviderEnabled.js +3 -2
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.cjs +2 -2
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.js +1 -1
- package/src/lib/utils/functions/isSocialKycEnabled/isSocialKycEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isTurnkeyEnabled/isTurnkeyEnabled.cjs +2 -2
- package/src/lib/utils/functions/isTurnkeyEnabled/isTurnkeyEnabled.d.ts +1 -1
- package/src/lib/utils/functions/isTurnkeyEnabled/isTurnkeyEnabled.js +1 -1
- package/src/lib/utils/functions/parseTheme/parseTheme.d.ts +1 -1
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +1 -2
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +1 -2
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWallet/requiresPasswordForEmbeddedWallet.d.ts +1 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.cjs +3 -2
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.d.ts +1 -1
- package/src/lib/utils/functions/requiresPasswordForEmbeddedWalletOnSignup/requiresPasswordForEmbeddedWalletOnSignup.js +3 -2
- package/src/lib/utils/functions/storeAuthToken/index.cjs +3 -3
- package/src/lib/utils/functions/storeAuthToken/index.d.ts +1 -1
- package/src/lib/utils/functions/storeAuthToken/index.js +4 -4
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/index.d.ts +1 -0
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.cjs +19 -0
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.d.ts +1 -0
- package/src/lib/utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.js +15 -0
- package/src/lib/utils/functions/validatePhoneLength/index.d.ts +1 -0
- package/src/lib/utils/functions/validatePhoneLength/validatePhoneLength.cjs +15 -0
- package/src/lib/utils/functions/validatePhoneLength/validatePhoneLength.d.ts +3 -0
- package/src/lib/utils/functions/validatePhoneLength/validatePhoneLength.js +11 -0
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.cjs +9 -4
- package/src/lib/utils/functions/walletListBuilder/utils/getCalculatedOffset/getCalculatedOffset.js +9 -4
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +26 -9
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +13 -0
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +26 -10
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.cjs +2 -2
- package/src/lib/utils/hooks/authenticationHooks/helpers/showPendingConnectView.js +2 -2
- package/src/lib/utils/hooks/authenticationHooks/index.d.ts +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +10 -18
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.d.ts +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +10 -18
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +26 -18
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.d.ts +4 -4
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +26 -18
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/index.d.ts +1 -0
- package/src/lib/utils/hooks/authenticationHooks/{useEmailVerificationRequest/useEmailVerificationRequest.cjs → useOtpVerificationRequest/useOtpVerificationRequest.cjs} +70 -35
- package/src/lib/utils/hooks/authenticationHooks/useOtpVerificationRequest/useOtpVerificationRequest.d.ts +17 -0
- package/src/lib/utils/hooks/authenticationHooks/{useEmailVerificationRequest/useEmailVerificationRequest.js → useOtpVerificationRequest/useOtpVerificationRequest.js} +70 -36
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +8 -8
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.d.ts +3 -3
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +8 -8
- package/src/lib/utils/hooks/index.d.ts +6 -2
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.cjs +7 -7
- package/src/lib/utils/hooks/multiWallet/useSyncPrimaryWallet/useSyncPrimaryWallet.js +7 -7
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +7 -7
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +7 -7
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +19 -10
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +19 -10
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +7 -7
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +7 -7
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +1 -2
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +1 -2
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.cjs +1 -2
- package/src/lib/utils/hooks/useColorSchemePreference/useColorSchemePreference.js +1 -2
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.cjs +1 -1
- package/src/lib/utils/hooks/useConfirmationPortal/useConfirmationPortal.js +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +31 -51
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +7 -15
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +31 -51
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +2 -61
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +2 -61
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +7 -7
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +7 -7
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +15 -20
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.d.ts +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +12 -17
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +16 -17
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.d.ts +1 -1
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +16 -17
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +14 -6
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +14 -6
- package/src/lib/utils/hooks/useDynamicModals/index.d.ts +1 -0
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.cjs +114 -0
- package/src/lib/{context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.d.ts → utils/hooks/useDynamicModals/useDynamicModals.d.ts} +3 -6
- package/src/lib/utils/hooks/useDynamicModals/useDynamicModals.js +110 -0
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.cjs +7 -7
- package/src/lib/utils/hooks/useDynamicScopes/useDynamicScopes.js +7 -7
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +15 -19
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +10 -14
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +10 -10
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +10 -10
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.cjs +46 -51
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.d.ts +0 -5
- package/src/lib/utils/hooks/useEmbeddedWallet/useCoinbaseMPC/useCoinbaseMPC.js +43 -48
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +21 -23
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.d.ts +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +21 -23
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.cjs +28 -25
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.d.ts +1 -1
- package/src/lib/utils/hooks/useEmbeddedWallet/useTurnkey/useTurnkey.js +28 -25
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.cjs +79 -1
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedWalletAuthenticator/useEmbeddedWalletAuthenticator.js +79 -1
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.cjs +20 -24
- package/src/lib/utils/hooks/useEmbeddedWalletPassword/useEmbeddedWalletPassword.js +19 -23
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +7 -6
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +4 -3
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +85 -92
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.d.ts +3 -9
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +87 -92
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -2
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -2
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +6 -9
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.d.ts +3 -5
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +6 -9
- package/src/lib/utils/hooks/useHandleVerificationRequired/index.d.ts +1 -0
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.cjs +93 -0
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.d.ts +15 -0
- package/src/lib/utils/hooks/useHandleVerificationRequired/useHandleVerificationRequired.js +87 -0
- package/src/lib/utils/hooks/useHandleVerifiedUser/index.d.ts +1 -0
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.cjs +101 -0
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.d.ts +5 -0
- package/src/lib/utils/hooks/useHandleVerifiedUser/useHandleVerifiedUser.js +97 -0
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +11 -12
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +11 -12
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.cjs +10 -12
- package/src/lib/utils/hooks/useInitEmbeddedWalletAuthMethod/useInitEmbeddedWalletAuthMethod.js +10 -12
- package/src/lib/utils/hooks/useInterval/useInterval.cjs +27 -0
- package/src/lib/utils/hooks/useInterval/useInterval.js +23 -0
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +17 -12
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +17 -12
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +12 -8
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.d.ts +2 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +12 -8
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +7 -7
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +7 -7
- package/src/lib/utils/hooks/useNetworkDataFromWallet/index.d.ts +1 -0
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.cjs +91 -0
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.d.ts +3 -0
- package/src/lib/utils/hooks/useNetworkDataFromWallet/useNetworkDataFromWallet.js +87 -0
- package/src/lib/utils/hooks/useNetworkNotSupported/index.d.ts +1 -0
- package/src/lib/utils/hooks/{useSendBalance/useSendBalance.cjs → useNetworkNotSupported/useNetworkNotSupported.cjs} +42 -57
- package/src/lib/utils/hooks/useNetworkNotSupported/useNetworkNotSupported.d.ts +3 -0
- package/src/lib/utils/hooks/{useSendBalance/useSendBalance.js → useNetworkNotSupported/useNetworkNotSupported.js} +43 -58
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.cjs +3 -1
- package/src/lib/utils/hooks/useOnUnmount/useOnUnmount.js +4 -2
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.cjs +7 -7
- package/src/lib/utils/hooks/useOnlyConnectedMode/useOnlyConnectedMode.js +7 -7
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +72 -18
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.d.ts +1 -0
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +70 -16
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +3 -2
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +3 -2
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs +1 -2
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.d.ts +1 -1
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/useProcessNetworkConfigurations.js +1 -2
- package/src/lib/utils/hooks/usePromise/usePromise.cjs +2 -3
- package/src/lib/utils/hooks/usePromise/usePromise.js +2 -3
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +6 -5
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +6 -5
- package/src/lib/utils/hooks/useSendDynamicProps/index.d.ts +1 -0
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +87 -0
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.d.ts +11 -0
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +81 -0
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.cjs +2 -2
- package/src/lib/utils/hooks/useSetWalletConnectorFetchers/useSetWalletConnectorFetchers.js +2 -2
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.cjs +2 -3
- package/src/lib/utils/hooks/useSetWalletConnectorVerifiedCredentials/useSetWalletConnectorVerifiedCredentials.js +2 -3
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.cjs +16 -16
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.d.ts +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +16 -16
- package/src/lib/utils/hooks/useSocialAuth/farcaster.cjs +88 -0
- package/src/lib/utils/hooks/useSocialAuth/farcaster.d.ts +34 -0
- package/src/lib/utils/hooks/useSocialAuth/farcaster.js +82 -0
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +114 -49
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.d.ts +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +113 -48
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.cjs +10 -10
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.d.ts +1 -1
- package/src/lib/utils/hooks/useUpdateUserProfileByJWTCallback/useUpdateUserProfileByJWTCallback.js +10 -10
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +9 -2
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.d.ts +2 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +10 -3
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +48 -46
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.d.ts +8 -3
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +49 -47
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/types.d.ts +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +28 -16
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.d.ts +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +28 -16
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/validateUpdateRequest/validateUpdateRequest.d.ts +1 -1
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs +1 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.d.ts +4 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js +1 -4
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +5 -6
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.d.ts +4 -1
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +5 -6
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +33 -31
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.d.ts +2 -2
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +33 -31
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.cjs +7 -7
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.d.ts +2 -2
- package/src/lib/utils/hooks/useViewSettings/useViewSettings.js +7 -7
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.cjs +7 -4
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.js +7 -4
- package/src/lib/utils/hooks/useWalletConnectorOptions/useWalletConnectorOptions.d.ts +3 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +4 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +3 -2
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +4 -3
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +3 -2
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +3 -2
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +3 -2
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +8 -4
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +8 -4
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.cjs +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/convertLegacyPhantomLedgerConnector/convertLegacyPhantomLedgerConnector.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +5 -4
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +4 -3
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/utils/smartWallet/smartWallet.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +1 -34
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +1 -6
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +2 -35
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +12 -10
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +12 -10
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +12 -12
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.d.ts +5 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +12 -12
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.types.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +3 -2
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +3 -2
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +11 -11
- package/src/lib/views/AccountExistsView/AccountExistsView.js +11 -11
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +7 -7
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +7 -7
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +7 -7
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +7 -7
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +7 -7
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +7 -7
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +11 -11
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +11 -11
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.cjs +11 -11
- package/src/lib/views/CoinbaseMPCClaimIntro/CoinbaseMPCClaimIntro.js +11 -11
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +11 -11
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +11 -11
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +23 -15
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +22 -14
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.cjs +58 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.d.ts +19 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserDataFields.js +54 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.cjs +103 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.d.ts +14 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/UserField.js +99 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/UserField/index.d.ts +1 -0
- package/src/lib/views/{TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs → CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.cjs} +39 -52
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.d.ts +13 -0
- package/src/lib/views/{TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js → CollectUserDataView/UserDataFields/UserPhoneField/UserPhoneField.js} +39 -52
- package/src/lib/views/CollectUserDataView/UserDataFields/UserPhoneField/index.d.ts +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.d.ts +1 -11
- package/src/lib/views/CollectUserDataView/useFields.cjs +27 -6
- package/src/lib/views/CollectUserDataView/useFields.d.ts +18 -11
- package/src/lib/views/CollectUserDataView/useFields.js +27 -6
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.cjs +13 -12
- package/src/lib/views/CollectUserDataViewNoWallet/CollectUserDataViewNoWallet.js +13 -12
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.cjs +11 -11
- package/src/lib/views/CreatePasswordView/CreatePasswordStep/CreatePasswordStep.js +11 -11
- package/src/lib/views/CreatePasswordView/CreatePasswordView.cjs +7 -7
- package/src/lib/views/CreatePasswordView/CreatePasswordView.js +7 -7
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.cjs +11 -10
- package/src/lib/views/CreatePasswordView/SavePasswordStep/SavePasswordStep.js +11 -10
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +11 -11
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +11 -11
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +16 -16
- package/src/lib/views/EmailUpdate/EmailUpdate.js +15 -15
- package/src/lib/views/EmailVerification/EmailVerification.cjs +97 -50
- package/src/lib/views/EmailVerification/EmailVerification.d.ts +7 -2
- package/src/lib/views/EmailVerification/EmailVerification.js +92 -45
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +13 -13
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +13 -13
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +19 -17
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +19 -17
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +6 -5
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +5 -4
- package/src/lib/views/EnterPasswordView/EnterPasswordView.cjs +11 -11
- package/src/lib/views/EnterPasswordView/EnterPasswordView.js +11 -11
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.cjs +83 -0
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.d.ts +5 -0
- package/src/lib/views/FarcasterConnectView/FarcasterConnectView.js +79 -0
- package/src/lib/views/FarcasterConnectView/index.d.ts +1 -0
- package/src/lib/views/LoginView/LoginView.cjs +8 -110
- package/src/lib/views/LoginView/LoginView.js +7 -109
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.cjs +123 -0
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.d.ts +10 -0
- package/src/lib/views/LoginView/LoginViewSection/LoginViewSection.js +119 -0
- package/src/lib/views/LoginView/LoginViewSection/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +16 -34
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.d.ts +5 -4
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +17 -35
- package/src/lib/views/LoginView/sections/LoginWidget.d.ts +1 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs +33 -42
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js +34 -43
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/index.d.ts +1 -0
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.cjs +155 -0
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.d.ts +10 -0
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/useSubmitPhoneNumber/useSubmitPhoneNumber.js +151 -0
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +12 -12
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +12 -12
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +11 -11
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +11 -11
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +10 -10
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.d.ts +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +7 -7
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.cjs +12 -12
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.d.ts +2 -0
- package/src/lib/views/LoginView/sections/ToggleableSection/ToggleableSection.js +12 -12
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +11 -11
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +11 -11
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +11 -11
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +11 -11
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +8 -8
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +8 -8
- package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.cjs +6 -6
- package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.d.ts +1 -1
- package/src/lib/views/LoginView/useLoginView/getLoginViewStructure/getLoginViewStructure.js +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.cjs +9 -9
- package/src/lib/views/LoginView/useLoginView/useLoginView.d.ts +1 -1
- package/src/lib/views/LoginView/useLoginView/useLoginView.js +7 -7
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +30 -30
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.d.ts +6 -2
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +27 -27
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +20 -42
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +21 -43
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +19 -42
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +19 -42
- package/src/lib/views/NoAccess/NoAccess.cjs +12 -12
- package/src/lib/views/NoAccess/NoAccess.js +12 -12
- package/src/lib/views/NoAccess/useNoAccessText.cjs +7 -7
- package/src/lib/views/NoAccess/useNoAccessText.js +7 -7
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +12 -12
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +12 -12
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +11 -11
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +11 -11
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.cjs +35 -23
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.d.ts +1 -0
- package/src/lib/views/Passkey/EmbeddedAuthChoice/AuthChoiceInfo/AuthChoiceInfo.js +35 -23
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs +12 -12
- package/src/lib/views/Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js +12 -12
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.cjs +11 -11
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/ActionCard/ActionCard.js +11 -11
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.cjs +11 -11
- package/src/lib/views/Passkey/EmbeddedAuthChoiceCards/EmbeddedAuthChoiceCards.js +11 -11
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +11 -11
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +11 -11
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +26 -26
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +27 -27
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.cjs +11 -11
- package/src/lib/views/Passkey/PasskeyNewDomainDetectedView/PasskeyNewDomainDetectedView.js +11 -11
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs +130 -0
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.d.ts +11 -0
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js +126 -0
- package/src/lib/views/Passkey/PasskeyRecovery/AddRecoveryEmail/index.d.ts +1 -0
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +11 -11
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +11 -11
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +14 -16
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +14 -16
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +11 -11
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +11 -11
- package/src/lib/views/Passkey/PasskeyRecovery/index.d.ts +1 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +16 -16
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +15 -15
- package/src/lib/views/Passkey/types/index.d.ts +5 -0
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.cjs +17 -6
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.d.ts +4 -3
- package/src/lib/views/Passkey/utils/createEmbeddedWalletWithPasskey/createEmbeddedWalletWithPasskey.js +16 -5
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.cjs +8 -5
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.d.ts +4 -3
- package/src/lib/views/Passkey/utils/createPregeneratedWallet/createPregeneratedWallet.js +7 -4
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.cjs +2 -2
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.js +2 -2
- package/src/lib/views/Passkey/utils/findPasskeyEmailWalletConnector/findPasskeyEmailWalletConnector.d.ts +1 -1
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +47 -10
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +13 -4
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +44 -8
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +11 -11
- package/src/lib/views/PendingConnectView/PendingConnectView.js +11 -11
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +11 -11
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +11 -11
- package/src/lib/views/QrCodeView/QrCodeView.cjs +14 -21
- package/src/lib/views/QrCodeView/QrCodeView.js +15 -22
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.cjs +11 -11
- package/src/lib/views/SelectHardwareWalletView/SelectHardwareWalletView.js +11 -11
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.cjs +7 -7
- package/src/lib/views/SelectWalletInWalletGroupView/SelectWalletInWalletGroupView.js +7 -7
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +12 -12
- package/src/lib/views/SelectWalletInWalletGroupView/components/WalletGroupItem/WalletGroupItem.js +12 -12
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +50 -52
- package/src/lib/views/SendBalanceView/SendBalanceView.d.ts +1 -2
- package/src/lib/views/SendBalanceView/SendBalanceView.js +51 -53
- package/src/lib/views/SmsVerification/SmsVerification.cjs +77 -2
- package/src/lib/views/SmsVerification/SmsVerification.js +77 -2
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +131 -67
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.d.ts +2 -2
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +132 -68
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +12 -12
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +11 -11
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +11 -11
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +11 -11
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +72 -87
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +5 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +73 -89
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs +2 -2
- package/src/lib/views/TransactionConfirmationView/helpers/transactionErrorMessage.js +2 -2
- package/src/lib/views/TransactionConfirmationView/hooks/index.d.ts +0 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +12 -12
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +12 -12
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.cjs +1 -2
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.d.ts +1 -1
- package/src/lib/views/UserFieldEditorView/UserFieldsToIcon/UserFieldsToIcon.js +1 -2
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.cjs +7 -7
- package/src/lib/views/UserFieldEditorView/useAssignDefaultValues/useAssignDefaultValues.js +7 -7
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +20 -22
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +20 -22
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +8 -8
- package/src/lib/views/WalletGroupView/WalletGroupView.js +8 -8
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +12 -12
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +12 -12
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +11 -11
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +11 -11
- package/src/lib/views/WalletList/WalletList.cjs +20 -11
- package/src/lib/views/WalletList/WalletList.js +20 -11
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.cjs +11 -11
- package/src/lib/views/WalletList/WalletListGridTabs/WalletListGridTabs.js +11 -11
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +12 -12
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +12 -12
- package/src/lib/views/WalletList/data.cjs +1 -2
- package/src/lib/views/WalletList/data.js +1 -2
- package/src/lib/views/WalletList/hooks/useTabState.cjs +7 -7
- package/src/lib/views/WalletList/hooks/useTabState.js +7 -7
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +11 -11
- package/src/lib/views/WalletLockedView/WalletLockedView.js +11 -11
- package/src/lib/views/WalletRedirectView/WalletRedirectView.cjs +11 -11
- package/src/lib/views/WalletRedirectView/WalletRedirectView.js +11 -11
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +7 -7
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +7 -7
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +24 -30
- package/src/lib/views/WalletUsedView/WalletUsedView.js +24 -30
- package/src/lib/views/index.d.ts +1 -0
- package/src/lib/views/viewToComponentMap.cjs +17 -11
- package/src/lib/views/viewToComponentMap.d.ts +8 -5
- package/src/lib/views/viewToComponentMap.js +17 -11
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +10 -10
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +10 -10
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +7 -6
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +7 -6
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +11 -11
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +7 -7
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +7 -7
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +21 -10
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +21 -10
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +13 -11
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +13 -11
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +7 -7
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +7 -7
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +14 -13
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +14 -13
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +13 -13
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +15 -13
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +15 -13
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +17 -15
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +18 -16
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +11 -10
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +11 -10
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +12 -12
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +12 -12
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +28 -14
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +29 -15
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +14 -17
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +15 -18
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +7 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +12 -12
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +12 -12
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +16 -16
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +16 -16
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +11 -11
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +7 -6
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +7 -6
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/WalletIconWithNetwork.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithNetwork/index.d.ts +0 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +11 -11
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +7 -7
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.cjs +1 -2
- package/src/lib/widgets/DynamicWidget/helpers/getPasskeyProviderFromUserAgent.js +1 -2
- package/src/lib/widgets/DynamicWidget/helpers/getTimeSince.cjs +11 -10
- package/src/lib/widgets/DynamicWidget/helpers/getTimeSince.js +2 -1
- package/src/lib/widgets/DynamicWidget/helpers/helpers.cjs +5 -7
- package/src/lib/widgets/DynamicWidget/helpers/helpers.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/helpers/helpers.js +3 -5
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchCurrency/useFetchCurrency.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +7 -7
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.cjs +37 -0
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/hooks/useWalletDownloadLinks/useWalletDownloadLinks.js +33 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +15 -21
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +17 -23
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +11 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +11 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +11 -11
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +7 -7
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +7 -7
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +15 -15
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +15 -15
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +11 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +11 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +12 -11
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +12 -11
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +11 -10
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +11 -10
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +44 -19
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +44 -19
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +15 -15
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +15 -15
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +11 -11
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +11 -11
- package/src/version.cjs +1 -1
- package/src/version.js +1 -1
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.cjs +0 -18
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.d.ts +0 -6
- package/src/lib/components/Toolkit/components/MultiWalletSwitch.js +0 -14
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +0 -90
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.d.ts +0 -7
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +0 -86
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.d.ts +0 -2
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.cjs +0 -9
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.d.ts +0 -3
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.js +0 -5
- package/src/lib/context/ConnectWithEmailOtpContext/index.d.ts +0 -2
- package/src/lib/context/ConnectWithEmailOtpContext/types.d.ts +0 -17
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.d.ts +0 -6
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.cjs +0 -29
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.js +0 -25
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.cjs +0 -20
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.js +0 -16
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.cjs +0 -46
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.d.ts +0 -13
- package/src/lib/context/DynamicContext/handleDisconnectWallet/handleDisconnectWallet.js +0 -42
- package/src/lib/context/DynamicContext/handleDisconnectWallet/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +0 -49
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +0 -45
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.cjs +0 -44
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useVerificationInProgress/useVerificationInProgress.js +0 -40
- package/src/lib/data/api.cjs +0 -717
- package/src/lib/data/api.d.ts +0 -168
- package/src/lib/data/api.js +0 -677
- package/src/lib/shared/assets/add-wallet.cjs +0 -58
- package/src/lib/shared/assets/add-wallet.js +0 -34
- package/src/lib/shared/assets/alt-embedded-wallet.cjs +0 -54
- package/src/lib/shared/assets/alt-embedded-wallet.js +0 -30
- package/src/lib/shared/assets/circle-locker.cjs +0 -53
- package/src/lib/shared/assets/circle-locker.js +0 -29
- package/src/lib/shared/assets/dynamic-logo.cjs +0 -51
- package/src/lib/shared/assets/dynamic-logo.js +0 -27
- package/src/lib/shared/assets/passkey-success-icon.cjs +0 -94
- package/src/lib/shared/assets/passkey-success-icon.js +0 -70
- package/src/lib/shared/assets/sparkles.cjs +0 -53
- package/src/lib/shared/assets/sparkles.js +0 -29
- package/src/lib/shared/assets/wallet-outline.cjs +0 -51
- package/src/lib/shared/assets/wallet-outline.js +0 -27
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +0 -25
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +0 -21
- package/src/lib/shared/utils/functions/ceil/ceil.cjs +0 -10
- package/src/lib/shared/utils/functions/ceil/ceil.d.ts +0 -1
- package/src/lib/shared/utils/functions/ceil/ceil.js +0 -6
- package/src/lib/shared/utils/functions/ceil/index.d.ts +0 -1
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.cjs +0 -28
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.d.ts +0 -2
- package/src/lib/shared/utils/functions/formatBigNumber/formatBigNumber.js +0 -24
- package/src/lib/shared/utils/functions/formatBigNumber/index.d.ts +0 -1
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.cjs +0 -12
- package/src/lib/shared/utils/functions/isDisplayOrderPriorityForWeb2/isDisplayOrderPriorityForWeb2.js +0 -8
- package/src/lib/shared/utils/functions/trimEnd/index.d.ts +0 -1
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.cjs +0 -13
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.d.ts +0 -1
- package/src/lib/shared/utils/functions/trimEnd/trimEnd.js +0 -9
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.cjs +0 -9
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.d.ts +0 -2
- package/src/lib/utils/functions/authenication/isEmailVerificationRequired/isEmailVerificationRequired.js +0 -5
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/index.d.ts +0 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.d.ts +0 -8
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +0 -29
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +0 -25
- package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.cjs +0 -43
- package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.d.ts +0 -16
- package/src/lib/utils/hooks/useSendBalance/helpers/EVMSendBalance.js +0 -39
- package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.cjs +0 -35
- package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.d.ts +0 -21
- package/src/lib/utils/hooks/useSendBalance/helpers/SendBalanceBase.js +0 -31
- package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.cjs +0 -51
- package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.d.ts +0 -18
- package/src/lib/utils/hooks/useSendBalance/helpers/SolanaSendBalance.js +0 -47
- package/src/lib/utils/hooks/useSendBalance/helpers/index.d.ts +0 -3
- package/src/lib/utils/hooks/useSendBalance/index.d.ts +0 -1
- package/src/lib/utils/hooks/useSendBalance/useSendBalance.d.ts +0 -17
- package/src/lib/utils/hooks/useTransactionEstimatedGas/index.d.ts +0 -1
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.cjs +0 -35
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.d.ts +0 -21
- package/src/lib/utils/hooks/useTransactionEstimatedGas/useTransactionEstimatedGas.js +0 -31
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +0 -108
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +0 -104
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkIfNumberHasError/checkIfNumberHasError.cjs +0 -12
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkIfNumberHasError/checkIfNumberHasError.d.ts +0 -5
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkIfNumberHasError/checkIfNumberHasError.js +0 -8
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/checkIfNumberHasError/index.d.ts +0 -1
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.cjs +0 -23
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.d.ts +0 -4
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/getCustomCountries/getCustomCountries.js +0 -18
- package/src/lib/views/LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js +0 -330
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +0 -94
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +0 -14
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +0 -90
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/index.d.ts +0 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.d.ts +0 -12
- /package/src/lib/{views/LoginView/sections/PhoneNumberSignInSection → components/PhoneNumberField}/usePhoneInputLogic/index.d.ts +0 -0
- /package/src/lib/{views/QrCodeView → components/QRCode}/QRCode.d.ts +0 -0
- /package/src/lib/{views/QrCodeView → components/QrCodeWrapper}/QrCodeContainer/index.d.ts +0 -0
- /package/src/lib/context/{ConnectWithEmailOtpContext → ConnectWithOtpContext}/utils/findEmailProvider.d.ts +0 -0
- /package/src/lib/{utils/hooks/multiWallet → context/DynamicContext/hooks}/useMultiWallet/index.d.ts +0 -0
- /package/src/lib/{views/LoginView/sections/PhoneNumberSignInSection → utils/functions}/getCustomCountries/index.d.ts +0 -0
|
@@ -2,36 +2,37 @@ import { __awaiter } from '../../../../_virtual/_tslib.js';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
|
-
import { DynamicError } from '@dynamic-labs/utils';
|
|
6
5
|
import { WalletIcon } from '@dynamic-labs/wallet-book';
|
|
7
6
|
import '../../events/dynamicEvents.js';
|
|
7
|
+
import '@dynamic-labs/utils';
|
|
8
8
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
9
|
-
import
|
|
9
|
+
import '@dynamic-labs/sdk-api-core';
|
|
10
|
+
import { logger } from '../../shared/logger.js';
|
|
10
11
|
import '@dynamic-labs/iconic';
|
|
11
12
|
import '@dynamic-labs/wallet-connector-core';
|
|
12
13
|
import { useViewContext } from '../../context/ViewContext/ViewContext.js';
|
|
13
|
-
import { logger } from '../../shared/logger.js';
|
|
14
14
|
import { shortenWalletAddress } from '../../shared/utils/functions/shortenWalletAddress/shortenWalletAddress.js';
|
|
15
15
|
import '../../utils/constants/colors.js';
|
|
16
16
|
import '../../utils/constants/values.js';
|
|
17
17
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
18
|
-
import 'viem';
|
|
19
|
-
import '@dynamic-labs/sdk-api';
|
|
20
18
|
import '../../shared/consts/index.js';
|
|
21
19
|
import { useInternalDynamicContext } from '../../context/DynamicContext/useDynamicContext/useInternalDynamicContext.js';
|
|
22
20
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
23
21
|
import { useErrorContext } from '../../context/ErrorContext/ErrorContext.js';
|
|
24
|
-
import { createUserProfile } from '../../utils/functions/createUserProfile/createUserProfile.js';
|
|
25
22
|
import '@dynamic-labs/multi-wallet';
|
|
26
23
|
import 'react-international-phone';
|
|
27
24
|
import { getVerifyArgs } from '../../utils/functions/getVerifyArgs/getVerifyArgs.js';
|
|
28
|
-
import
|
|
25
|
+
import 'viem';
|
|
29
26
|
import 'viem/chains';
|
|
30
|
-
import
|
|
27
|
+
import '../../config/ApiEndpoint.js';
|
|
28
|
+
import '../../locale/locale.js';
|
|
29
|
+
import { transferWallet } from '../../data/api/wallets/wallets.js';
|
|
30
|
+
import { updateJWTAndCreateUserProfile } from '../../utils/functions/updateJWTAndCreateUserProfile/updateJWTAndCreateUserProfile.js';
|
|
31
31
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
32
32
|
import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
33
33
|
import { getSiweStatement } from '../../utils/functions/getSiweStatement/getSiweStatement.js';
|
|
34
34
|
import { getWalletProvider } from '../../utils/functions/getWalletProvider/getWalletProvider.js';
|
|
35
|
+
import { useInternalUserWallets } from '../../context/UserWalletsContext/UserWalletsContext.js';
|
|
35
36
|
import '../../context/VerificationContext/VerificationContext.js';
|
|
36
37
|
import 'react-dom';
|
|
37
38
|
import '../../context/WalletContext/WalletContext.js';
|
|
@@ -39,47 +40,44 @@ import { usePromise } from '../../utils/hooks/usePromise/usePromise.js';
|
|
|
39
40
|
import '../../context/ThemeContext/ThemeContext.js';
|
|
40
41
|
import '@dynamic-labs/types';
|
|
41
42
|
import 'yup';
|
|
43
|
+
import '../../context/FieldsStateContext/FieldsStateContext.js';
|
|
42
44
|
import '../../context/MockContext/MockContext.js';
|
|
43
45
|
import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
44
46
|
import '../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
45
47
|
import '@dynamic-labs/rpc-providers';
|
|
46
|
-
import '../../context/UserWalletsContext/UserWalletsContext.js';
|
|
47
|
-
import 'i18next';
|
|
48
48
|
import { Typography } from '../../components/Typography/Typography.js';
|
|
49
|
+
import '../../context/FooterAnimationContext/index.js';
|
|
49
50
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
50
51
|
import '../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
51
52
|
import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
52
53
|
import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
53
54
|
import '../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
54
|
-
import '../../context/
|
|
55
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
55
56
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
56
57
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
57
58
|
import 'react-focus-lock';
|
|
58
59
|
import { useLoadingContext } from '../../context/LoadingContext/LoadingContext.js';
|
|
59
|
-
import 'qrcode';
|
|
60
60
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
61
61
|
import '../../components/IconButton/IconButton.js';
|
|
62
62
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
63
|
-
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
64
63
|
import 'formik';
|
|
65
64
|
import { Button } from '../../components/Button/Button.js';
|
|
65
|
+
import '../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
66
66
|
import '../../components/Alert/Alert.js';
|
|
67
|
+
import '../../components/Input/Input.js';
|
|
67
68
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
68
69
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
69
|
-
import '../TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
70
70
|
import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
71
71
|
import { Checkbox } from '../../components/Checkbox/Checkbox.js';
|
|
72
72
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
73
|
-
import '../../components/Input/Input.js';
|
|
74
73
|
import '../../components/IsBrowser/IsBrowser.js';
|
|
75
74
|
import '../../components/Popper/Popper/Popper.js';
|
|
76
75
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
76
|
+
import 'qrcode';
|
|
77
77
|
import '../WalletList/WalletList.js';
|
|
78
|
-
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
79
78
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
80
79
|
import '@hcaptcha/react-hcaptcha';
|
|
81
|
-
import '
|
|
82
|
-
import '../LoginView/sections/PhoneNumberSignInSection/usePhoneInputLogic/usePhoneInputLogic.js';
|
|
80
|
+
import '../LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
83
81
|
|
|
84
82
|
const WalletUsedView = () => {
|
|
85
83
|
const [isChecked, setIsChecked] = useState(false);
|
|
@@ -87,7 +85,8 @@ const WalletUsedView = () => {
|
|
|
87
85
|
const { setErrorMessage } = useErrorContext();
|
|
88
86
|
const { loading, setLoading } = useLoadingContext();
|
|
89
87
|
const { setView, goToInitialView } = useViewContext();
|
|
90
|
-
const { environmentId, displaySiweStatement, authToken,
|
|
88
|
+
const { environmentId, displaySiweStatement, authToken, setShowAuthFlow, setUser, appName, siweStatement, setPrimaryWalletId, primaryWallet, setMultiWalletWidgetState, connectWallet, selectedWalletConnector: walletConnector, isSingleWalletAccount, consumeNonce, handleLogOut, } = useInternalDynamicContext();
|
|
89
|
+
const { addedWalletsIds } = useInternalUserWallets();
|
|
91
90
|
const { data: walletAddress } = usePromise(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
92
91
|
const accounts = yield (walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.getConnectedAccounts());
|
|
93
92
|
return accounts === null || accounts === void 0 ? void 0 : accounts[0];
|
|
@@ -144,19 +143,14 @@ const WalletUsedView = () => {
|
|
|
144
143
|
walletConnector,
|
|
145
144
|
walletProvider,
|
|
146
145
|
});
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
throw new DynamicError('Invalid JWT!');
|
|
150
|
-
const decodedJwt = decodeJwt(jwt);
|
|
151
|
-
if (!decodedJwt)
|
|
152
|
-
throw new DynamicError('Invalid token!');
|
|
153
|
-
const userProfile = createUserProfile(decodedJwt);
|
|
146
|
+
const response = yield transferWallet(environmentId, verifyArgs, authToken);
|
|
147
|
+
const userProfile = updateJWTAndCreateUserProfile(response === null || response === void 0 ? void 0 : response.jwt, response === null || response === void 0 ? void 0 : response.minifiedJwt);
|
|
154
148
|
updatePrimaryWalletId(walletConnector, userProfile);
|
|
155
|
-
storeAuthToken(jwt);
|
|
156
149
|
setUser(userProfile);
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
150
|
+
const walletId = userProfile.lastVerifiedCredentialId;
|
|
151
|
+
if (walletId) {
|
|
152
|
+
addedWalletsIds.current.push(walletId);
|
|
153
|
+
}
|
|
160
154
|
setShowAuthFlow(false);
|
|
161
155
|
}
|
|
162
156
|
catch (error) {
|
package/src/lib/views/index.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export { NoAccess } from './NoAccess';
|
|
|
5
5
|
export { PendingSignatureView } from './PendingSignatureView';
|
|
6
6
|
export { QrCodeView } from './QrCodeView';
|
|
7
7
|
export { WalletList } from './WalletList';
|
|
8
|
+
export { FarcasterConnectView } from './FarcasterConnectView';
|
|
8
9
|
export { NetworkNotSupportedSwitchManual } from './NetworkNotSupportedSwitchManual';
|
|
9
10
|
export { viewToComponentMap } from './viewToComponentMap';
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
6
|
var AccountExistsView = require('./AccountExistsView/AccountExistsView.cjs');
|
|
6
7
|
var BridgeNextWalletConnectionView = require('./BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs');
|
|
7
8
|
var BridgeSummaryView = require('./BridgeSummaryView/BridgeSummaryView.cjs');
|
|
@@ -16,6 +17,7 @@ var EmailUpdate = require('./EmailUpdate/EmailUpdate.cjs');
|
|
|
16
17
|
var EmailVerification = require('./EmailVerification/EmailVerification.cjs');
|
|
17
18
|
var EmailWalletOTPVerificationView = require('./EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs');
|
|
18
19
|
var EmbeddedRevealView = require('./EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs');
|
|
20
|
+
var FarcasterConnectView = require('./FarcasterConnectView/FarcasterConnectView.cjs');
|
|
19
21
|
var LoginView = require('./LoginView/LoginView.cjs');
|
|
20
22
|
var MergeUserAccountsView = require('./MergeUserAccountsView/MergeUserAccountsView.cjs');
|
|
21
23
|
var NetworkNotSupported = require('./NetworkNotSupported/NetworkNotSupported.cjs');
|
|
@@ -23,19 +25,19 @@ var NetworkNotSupportedSwitchManual = require('./NetworkNotSupportedSwitchManual
|
|
|
23
25
|
var NoAccess = require('./NoAccess/NoAccess.cjs');
|
|
24
26
|
var NoQrNotInstalledView = require('./NoQrNotInstalledView/NoQrNotInstalledView.cjs');
|
|
25
27
|
var PasskeyIntroView = require('./Passkey/PasskeyIntroView/PasskeyIntroView.cjs');
|
|
28
|
+
var AddRecoveryEmail = require('./Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.cjs');
|
|
26
29
|
var PasskeyBundleRecovery = require('./Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs');
|
|
27
30
|
var PasskeyCompleteRecovery = require('./Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs');
|
|
28
31
|
var PasskeyInitRecovery = require('./Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs');
|
|
29
32
|
var RenamePasskeyView = require('./Passkey/RenamePasskeyView/RenamePasskeyView.cjs');
|
|
30
33
|
var EmbeddedAuthChoice = require('./Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.cjs');
|
|
31
|
-
require('react/jsx-runtime');
|
|
32
34
|
require('react-i18next');
|
|
33
35
|
require('react');
|
|
34
36
|
require('../events/dynamicEvents.cjs');
|
|
35
37
|
require('../../../_virtual/_tslib.cjs');
|
|
36
38
|
require('@dynamic-labs/utils');
|
|
37
39
|
require('../context/DynamicContext/DynamicContext.cjs');
|
|
38
|
-
require('@dynamic-labs/sdk-api');
|
|
40
|
+
require('@dynamic-labs/sdk-api-core');
|
|
39
41
|
require('../shared/logger.cjs');
|
|
40
42
|
require('@dynamic-labs/iconic');
|
|
41
43
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -44,54 +46,55 @@ require('@dynamic-labs/wallet-book');
|
|
|
44
46
|
require('../utils/constants/colors.cjs');
|
|
45
47
|
require('../utils/constants/values.cjs');
|
|
46
48
|
require('../shared/utils/classes/storage/localStorage.cjs');
|
|
47
|
-
require('viem');
|
|
48
49
|
require('../shared/consts/index.cjs');
|
|
49
50
|
require('../context/CaptchaContext/CaptchaContext.cjs');
|
|
50
51
|
require('../context/ErrorContext/ErrorContext.cjs');
|
|
51
52
|
require('@dynamic-labs/multi-wallet');
|
|
52
53
|
require('react-international-phone');
|
|
54
|
+
require('viem');
|
|
53
55
|
require('viem/chains');
|
|
54
56
|
require('../config/ApiEndpoint.cjs');
|
|
57
|
+
require('../locale/locale.cjs');
|
|
55
58
|
require('../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
56
59
|
require('../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
60
|
+
require('../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
57
61
|
require('../context/VerificationContext/VerificationContext.cjs');
|
|
58
62
|
require('react-dom');
|
|
59
63
|
require('../context/WalletContext/WalletContext.cjs');
|
|
60
64
|
require('../context/ThemeContext/ThemeContext.cjs');
|
|
61
65
|
require('@dynamic-labs/types');
|
|
62
66
|
require('yup');
|
|
67
|
+
require('../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
63
68
|
require('../context/MockContext/MockContext.cjs');
|
|
64
69
|
require('../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
65
70
|
require('../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
66
71
|
require('@dynamic-labs/rpc-providers');
|
|
67
|
-
require('../context/
|
|
72
|
+
require('../context/FooterAnimationContext/index.cjs');
|
|
68
73
|
require('../components/ShadowDOM/ShadowDOM.cjs');
|
|
69
74
|
require('../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
70
75
|
require('../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
71
76
|
require('../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
72
77
|
require('../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
73
|
-
require('../context/
|
|
78
|
+
require('../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
74
79
|
require('../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
75
80
|
require('../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
76
81
|
require('react-focus-lock');
|
|
77
82
|
require('../context/LoadingContext/LoadingContext.cjs');
|
|
78
|
-
require('i18next');
|
|
79
|
-
require('qrcode');
|
|
80
83
|
require('../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
81
84
|
require('../components/IconButton/IconButton.cjs');
|
|
82
85
|
require('../components/MenuList/Dropdown/Dropdown.cjs');
|
|
83
|
-
require('../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
84
86
|
require('formik');
|
|
87
|
+
require('./TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
85
88
|
require('../components/Alert/Alert.cjs');
|
|
89
|
+
require('../components/Input/Input.cjs');
|
|
86
90
|
require('../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
87
91
|
require('../context/PasskeyContext/PasskeyContext.cjs');
|
|
88
|
-
require('./TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
89
92
|
require('../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
90
93
|
require('../components/InlineWidget/InlineWidget.cjs');
|
|
91
|
-
require('../components/Input/Input.cjs');
|
|
92
94
|
require('../components/IsBrowser/IsBrowser.cjs');
|
|
93
95
|
require('../components/Popper/Popper/Popper.cjs');
|
|
94
96
|
require('../components/Popper/PopperContext/PopperContext.cjs');
|
|
97
|
+
require('qrcode');
|
|
95
98
|
var PendingSignatureView = require('./PendingSignatureView/PendingSignatureView.cjs');
|
|
96
99
|
var QrCodeView = require('./QrCodeView/QrCodeView.cjs');
|
|
97
100
|
var WalletList = require('./WalletList/WalletList.cjs');
|
|
@@ -123,6 +126,7 @@ const viewToComponentMap = {
|
|
|
123
126
|
'embedded-reveal-account-view': EmbeddedRevealView.EmbeddedRevealView,
|
|
124
127
|
'embedded-reveal-view': EmbeddedRevealView.EmbeddedRevealView,
|
|
125
128
|
'embedded-wallet-auth-choice': EmbeddedAuthChoice.EmbeddedAuthChoice,
|
|
129
|
+
'farcaster-connect-view': FarcasterConnectView.FarcasterConnectView,
|
|
126
130
|
'gate-blocked-wallet': NoAccess.NoAccess,
|
|
127
131
|
'login-with-email-or-wallet': LoginView.LoginView,
|
|
128
132
|
'login-with-email-or-wallet-full-wallet-list': LoginView.LoginView,
|
|
@@ -137,6 +141,7 @@ const viewToComponentMap = {
|
|
|
137
141
|
'no-qr-not-installed': NoQrNotInstalledView.NoQrNotInstalledView,
|
|
138
142
|
'passkey-intro': PasskeyIntroView.PasskeyIntroView,
|
|
139
143
|
'passkey-new-domain-detected': PasskeyNewDomainDetectedView.PasskeyNewDomainDetectedView,
|
|
144
|
+
'passkey-recovery-add-email': AddRecoveryEmail.AddRecoveryEmail,
|
|
140
145
|
'passkey-recovery-bundle': PasskeyBundleRecovery.PasskeyBundleRecovery,
|
|
141
146
|
'passkey-recovery-complete': PasskeyCompleteRecovery.PasskeyCompleteRecovery,
|
|
142
147
|
'passkey-recovery-start': PasskeyInitRecovery.PasskeyInitRecovery,
|
|
@@ -151,10 +156,11 @@ const viewToComponentMap = {
|
|
|
151
156
|
'social-wrong-account': SocialWrongAccountView.SocialWrongAccountView,
|
|
152
157
|
'update-email': EmailUpdate.EmailUpdate,
|
|
153
158
|
'verify-email': EmailVerification.EmailVerification,
|
|
159
|
+
'verify-sms': SmsVerification.SmsVerification,
|
|
154
160
|
'wait-for-email-confirmation-view': EmailConfirmationWaitingView.EmailConfirmationWaitingView,
|
|
155
161
|
'wallet-cannot-be-transferred': WalletCannotBeTransferredView.WalletCannotBeTransferredView,
|
|
156
162
|
'wallet-claim-intro': CoinbaseMPCClaimIntro.CoinbaseMPCClaimIntro,
|
|
157
|
-
'wallet-connect-mobile-wallets-list': WalletList.WalletList,
|
|
163
|
+
'wallet-connect-mobile-wallets-list': () => (jsxRuntime.jsx(WalletList.WalletList, { isWalletConnectList: true })),
|
|
158
164
|
'wallet-group': WalletGroupView.WalletGroupView,
|
|
159
165
|
'wallet-list': WalletList.WalletList,
|
|
160
166
|
'wallet-locked-view': WalletLockedView.WalletLockedView,
|
|
@@ -8,7 +8,7 @@ export declare const viewToComponentMap: {
|
|
|
8
8
|
'chainalysis-blocked-wallet': () => JSX.Element;
|
|
9
9
|
'collect-user-data': () => JSX.Element | null;
|
|
10
10
|
'collect-user-data-login-no-wallet': import("react").FC<{
|
|
11
|
-
userIdentification: keyof import("@dynamic-labs/sdk-api").UserFields | "chain" | "ens" | "environmentId" | "isAuthenticatedWithAWallet" | "lastVerifiedCredentialId" | "lists" | "newUser" | "sessionId" | "userId" | "verifiedCredentials" | "wallet" | "scope";
|
|
11
|
+
userIdentification: keyof import("@dynamic-labs/sdk-api-core").UserFields | "chain" | "ens" | "environmentId" | "isAuthenticatedWithAWallet" | "lastVerifiedCredentialId" | "lists" | "newUser" | "sessionId" | "userId" | "verifiedCredentials" | "wallet" | "scope";
|
|
12
12
|
userIdentificationOverride?: string | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
'create-password-view': import("react").FC<import("./CreatePasswordView/CreatePasswordView").CreatePasswordViewProps>;
|
|
@@ -16,13 +16,14 @@ export declare const viewToComponentMap: {
|
|
|
16
16
|
'embedded-reveal-account-view': import("react").FC<import("./EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView").EmbeddedRevealViewProps>;
|
|
17
17
|
'embedded-reveal-view': import("react").FC<import("./EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView").EmbeddedRevealViewProps>;
|
|
18
18
|
'embedded-wallet-auth-choice': import("react").FC<import("./Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice").EmbeddedAuthChoiceProps>;
|
|
19
|
+
'farcaster-connect-view': ({ url }: import("./FarcasterConnectView/FarcasterConnectView").FarcasterConnectViewProps) => JSX.Element;
|
|
19
20
|
'gate-blocked-wallet': () => JSX.Element;
|
|
20
21
|
'login-with-email-or-wallet': () => JSX.Element;
|
|
21
22
|
'login-with-email-or-wallet-full-wallet-list': () => JSX.Element;
|
|
22
|
-
'login-with-email-verification': ()
|
|
23
|
+
'login-with-email-verification': import("react").FC<import("./EmailVerification/EmailVerification").EmailVerificationProps>;
|
|
23
24
|
'login-with-sms-verification': import("react").FC;
|
|
24
25
|
'login-with-wallet-only': () => JSX.Element;
|
|
25
|
-
'merge-user-accounts': ()
|
|
26
|
+
'merge-user-accounts': import("react").FC<import("./MergeUserAccountsView/MergeUserAccountsView").MergeUserAccountsViewProps>;
|
|
26
27
|
'multi-wallet-wallet-list': ({ isWalletConnectList, }: import("./WalletList").WalletListProps) => JSX.Element;
|
|
27
28
|
'network-not-supported': () => JSX.Element | null;
|
|
28
29
|
'network-not-supported-manual': import("react").FC;
|
|
@@ -30,6 +31,7 @@ export declare const viewToComponentMap: {
|
|
|
30
31
|
'no-qr-not-installed': () => JSX.Element | null;
|
|
31
32
|
'passkey-intro': import("react").FC;
|
|
32
33
|
'passkey-new-domain-detected': import("react").FC;
|
|
34
|
+
'passkey-recovery-add-email': import("react").FC<import("./Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail").AddRecoveryEmailProps>;
|
|
33
35
|
'passkey-recovery-bundle': import("react").FC<import("./Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery").PasskeyBundleValidationProps>;
|
|
34
36
|
'passkey-recovery-complete': import("react").FC;
|
|
35
37
|
'passkey-recovery-start': import("react").FC<import("./Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery").PasskeyInitRecoveryProps>;
|
|
@@ -46,11 +48,12 @@ export declare const viewToComponentMap: {
|
|
|
46
48
|
'social-redirect-view': () => JSX.Element;
|
|
47
49
|
'social-wrong-account': () => JSX.Element | null;
|
|
48
50
|
'update-email': () => JSX.Element;
|
|
49
|
-
'verify-email': ()
|
|
51
|
+
'verify-email': import("react").FC<import("./EmailVerification/EmailVerification").EmailVerificationProps>;
|
|
52
|
+
'verify-sms': import("react").FC;
|
|
50
53
|
'wait-for-email-confirmation-view': () => JSX.Element;
|
|
51
54
|
'wallet-cannot-be-transferred': () => JSX.Element;
|
|
52
55
|
'wallet-claim-intro': () => JSX.Element;
|
|
53
|
-
'wallet-connect-mobile-wallets-list': (
|
|
56
|
+
'wallet-connect-mobile-wallets-list': () => JSX.Element;
|
|
54
57
|
'wallet-group': import("react").FC;
|
|
55
58
|
'wallet-list': ({ isWalletConnectList, }: import("./WalletList").WalletListProps) => JSX.Element;
|
|
56
59
|
'wallet-locked-view': () => JSX.Element | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
1
2
|
import { AccountExistsView } from './AccountExistsView/AccountExistsView.js';
|
|
2
3
|
import { BridgeNextWalletConnectionView } from './BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js';
|
|
3
4
|
import { BridgeSummaryView } from './BridgeSummaryView/BridgeSummaryView.js';
|
|
@@ -12,6 +13,7 @@ import { EmailUpdate } from './EmailUpdate/EmailUpdate.js';
|
|
|
12
13
|
import { EmailVerification } from './EmailVerification/EmailVerification.js';
|
|
13
14
|
import { EmailWalletOTPVerificationView } from './EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js';
|
|
14
15
|
import { EmbeddedRevealView } from './EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js';
|
|
16
|
+
import { FarcasterConnectView } from './FarcasterConnectView/FarcasterConnectView.js';
|
|
15
17
|
import { LoginView } from './LoginView/LoginView.js';
|
|
16
18
|
import { MergeUserAccountsView } from './MergeUserAccountsView/MergeUserAccountsView.js';
|
|
17
19
|
import { NetworkNotSupported } from './NetworkNotSupported/NetworkNotSupported.js';
|
|
@@ -19,19 +21,19 @@ import { NetworkNotSupportedSwitchManual } from './NetworkNotSupportedSwitchManu
|
|
|
19
21
|
import { NoAccess } from './NoAccess/NoAccess.js';
|
|
20
22
|
import { NoQrNotInstalledView } from './NoQrNotInstalledView/NoQrNotInstalledView.js';
|
|
21
23
|
import { PasskeyIntroView } from './Passkey/PasskeyIntroView/PasskeyIntroView.js';
|
|
24
|
+
import { AddRecoveryEmail } from './Passkey/PasskeyRecovery/AddRecoveryEmail/AddRecoveryEmail.js';
|
|
22
25
|
import { PasskeyBundleRecovery } from './Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js';
|
|
23
26
|
import { PasskeyCompleteRecovery } from './Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js';
|
|
24
27
|
import { PasskeyInitRecovery } from './Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js';
|
|
25
28
|
import { RenamePasskeyView } from './Passkey/RenamePasskeyView/RenamePasskeyView.js';
|
|
26
29
|
import { EmbeddedAuthChoice } from './Passkey/EmbeddedAuthChoice/EmbeddedAuthChoice.js';
|
|
27
|
-
import 'react/jsx-runtime';
|
|
28
30
|
import 'react-i18next';
|
|
29
31
|
import 'react';
|
|
30
32
|
import '../events/dynamicEvents.js';
|
|
31
33
|
import '../../../_virtual/_tslib.js';
|
|
32
34
|
import '@dynamic-labs/utils';
|
|
33
35
|
import '../context/DynamicContext/DynamicContext.js';
|
|
34
|
-
import '@dynamic-labs/sdk-api';
|
|
36
|
+
import '@dynamic-labs/sdk-api-core';
|
|
35
37
|
import '../shared/logger.js';
|
|
36
38
|
import '@dynamic-labs/iconic';
|
|
37
39
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -40,54 +42,55 @@ import '@dynamic-labs/wallet-book';
|
|
|
40
42
|
import '../utils/constants/colors.js';
|
|
41
43
|
import '../utils/constants/values.js';
|
|
42
44
|
import '../shared/utils/classes/storage/localStorage.js';
|
|
43
|
-
import 'viem';
|
|
44
45
|
import '../shared/consts/index.js';
|
|
45
46
|
import '../context/CaptchaContext/CaptchaContext.js';
|
|
46
47
|
import '../context/ErrorContext/ErrorContext.js';
|
|
47
48
|
import '@dynamic-labs/multi-wallet';
|
|
48
49
|
import 'react-international-phone';
|
|
50
|
+
import 'viem';
|
|
49
51
|
import 'viem/chains';
|
|
50
52
|
import '../config/ApiEndpoint.js';
|
|
53
|
+
import '../locale/locale.js';
|
|
51
54
|
import '../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
52
55
|
import '../context/AccountExistsContext/AccountExistsContext.js';
|
|
56
|
+
import '../context/UserWalletsContext/UserWalletsContext.js';
|
|
53
57
|
import '../context/VerificationContext/VerificationContext.js';
|
|
54
58
|
import 'react-dom';
|
|
55
59
|
import '../context/WalletContext/WalletContext.js';
|
|
56
60
|
import '../context/ThemeContext/ThemeContext.js';
|
|
57
61
|
import '@dynamic-labs/types';
|
|
58
62
|
import 'yup';
|
|
63
|
+
import '../context/FieldsStateContext/FieldsStateContext.js';
|
|
59
64
|
import '../context/MockContext/MockContext.js';
|
|
60
65
|
import '../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
61
66
|
import '../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
62
67
|
import '@dynamic-labs/rpc-providers';
|
|
63
|
-
import '../context/
|
|
68
|
+
import '../context/FooterAnimationContext/index.js';
|
|
64
69
|
import '../components/ShadowDOM/ShadowDOM.js';
|
|
65
70
|
import '../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
66
71
|
import '../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
67
72
|
import '../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
68
73
|
import '../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
69
|
-
import '../context/
|
|
74
|
+
import '../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
70
75
|
import '../context/WalletGroupContext/WalletGroupContext.js';
|
|
71
76
|
import '../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
72
77
|
import 'react-focus-lock';
|
|
73
78
|
import '../context/LoadingContext/LoadingContext.js';
|
|
74
|
-
import 'i18next';
|
|
75
|
-
import 'qrcode';
|
|
76
79
|
import '../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
77
80
|
import '../components/IconButton/IconButton.js';
|
|
78
81
|
import '../components/MenuList/Dropdown/Dropdown.js';
|
|
79
|
-
import '../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
80
82
|
import 'formik';
|
|
83
|
+
import './TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
81
84
|
import '../components/Alert/Alert.js';
|
|
85
|
+
import '../components/Input/Input.js';
|
|
82
86
|
import '../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
83
87
|
import '../context/PasskeyContext/PasskeyContext.js';
|
|
84
|
-
import './TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
85
88
|
import '../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
86
89
|
import '../components/InlineWidget/InlineWidget.js';
|
|
87
|
-
import '../components/Input/Input.js';
|
|
88
90
|
import '../components/IsBrowser/IsBrowser.js';
|
|
89
91
|
import '../components/Popper/Popper/Popper.js';
|
|
90
92
|
import '../components/Popper/PopperContext/PopperContext.js';
|
|
93
|
+
import 'qrcode';
|
|
91
94
|
import { PendingSignatureView } from './PendingSignatureView/PendingSignatureView.js';
|
|
92
95
|
import { QrCodeView } from './QrCodeView/QrCodeView.js';
|
|
93
96
|
import { WalletList } from './WalletList/WalletList.js';
|
|
@@ -119,6 +122,7 @@ const viewToComponentMap = {
|
|
|
119
122
|
'embedded-reveal-account-view': EmbeddedRevealView,
|
|
120
123
|
'embedded-reveal-view': EmbeddedRevealView,
|
|
121
124
|
'embedded-wallet-auth-choice': EmbeddedAuthChoice,
|
|
125
|
+
'farcaster-connect-view': FarcasterConnectView,
|
|
122
126
|
'gate-blocked-wallet': NoAccess,
|
|
123
127
|
'login-with-email-or-wallet': LoginView,
|
|
124
128
|
'login-with-email-or-wallet-full-wallet-list': LoginView,
|
|
@@ -133,6 +137,7 @@ const viewToComponentMap = {
|
|
|
133
137
|
'no-qr-not-installed': NoQrNotInstalledView,
|
|
134
138
|
'passkey-intro': PasskeyIntroView,
|
|
135
139
|
'passkey-new-domain-detected': PasskeyNewDomainDetectedView,
|
|
140
|
+
'passkey-recovery-add-email': AddRecoveryEmail,
|
|
136
141
|
'passkey-recovery-bundle': PasskeyBundleRecovery,
|
|
137
142
|
'passkey-recovery-complete': PasskeyCompleteRecovery,
|
|
138
143
|
'passkey-recovery-start': PasskeyInitRecovery,
|
|
@@ -147,10 +152,11 @@ const viewToComponentMap = {
|
|
|
147
152
|
'social-wrong-account': SocialWrongAccountView,
|
|
148
153
|
'update-email': EmailUpdate,
|
|
149
154
|
'verify-email': EmailVerification,
|
|
155
|
+
'verify-sms': SmsVerification,
|
|
150
156
|
'wait-for-email-confirmation-view': EmailConfirmationWaitingView,
|
|
151
157
|
'wallet-cannot-be-transferred': WalletCannotBeTransferredView,
|
|
152
158
|
'wallet-claim-intro': CoinbaseMPCClaimIntro,
|
|
153
|
-
'wallet-connect-mobile-wallets-list': WalletList,
|
|
159
|
+
'wallet-connect-mobile-wallets-list': () => (jsx(WalletList, { isWalletConnectList: true })),
|
|
154
160
|
'wallet-group': WalletGroupView,
|
|
155
161
|
'wallet-list': WalletList,
|
|
156
162
|
'wallet-locked-view': WalletLockedView,
|
|
@@ -9,7 +9,7 @@ require('../../events/dynamicEvents.cjs');
|
|
|
9
9
|
require('../../../../_virtual/_tslib.cjs');
|
|
10
10
|
require('@dynamic-labs/utils');
|
|
11
11
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
12
|
-
require('@dynamic-labs/sdk-api');
|
|
12
|
+
require('@dynamic-labs/sdk-api-core');
|
|
13
13
|
require('../../shared/logger.cjs');
|
|
14
14
|
var getChainIcon = require('../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
15
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -18,7 +18,6 @@ var shortenWalletAddress = require('../../shared/utils/functions/shortenWalletAd
|
|
|
18
18
|
require('../../utils/constants/colors.cjs');
|
|
19
19
|
require('../../utils/constants/values.cjs');
|
|
20
20
|
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
21
|
-
require('viem');
|
|
22
21
|
var index = require('../../shared/utils/hooks/useOnClickOutside/index.cjs');
|
|
23
22
|
require('@dynamic-labs/iconic');
|
|
24
23
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
@@ -28,54 +27,55 @@ require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
|
28
27
|
require('../../context/ErrorContext/ErrorContext.cjs');
|
|
29
28
|
require('@dynamic-labs/multi-wallet');
|
|
30
29
|
require('react-international-phone');
|
|
30
|
+
require('viem');
|
|
31
31
|
require('viem/chains');
|
|
32
32
|
require('../../config/ApiEndpoint.cjs');
|
|
33
|
+
require('../../locale/locale.cjs');
|
|
33
34
|
require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
34
35
|
require('../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
36
|
+
require('../../context/UserWalletsContext/UserWalletsContext.cjs');
|
|
35
37
|
require('../../context/VerificationContext/VerificationContext.cjs');
|
|
36
38
|
require('react-dom');
|
|
37
39
|
require('../../context/WalletContext/WalletContext.cjs');
|
|
38
40
|
require('../../context/ThemeContext/ThemeContext.cjs');
|
|
39
41
|
require('@dynamic-labs/types');
|
|
40
42
|
require('yup');
|
|
43
|
+
require('../../context/FieldsStateContext/FieldsStateContext.cjs');
|
|
41
44
|
require('../../context/MockContext/MockContext.cjs');
|
|
42
45
|
require('../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
|
|
43
46
|
require('../../context/UserFieldEditorContext/UserFieldEditorContext.cjs');
|
|
44
47
|
require('@dynamic-labs/rpc-providers');
|
|
45
|
-
require('../../context/
|
|
46
|
-
require('i18next');
|
|
48
|
+
require('../../context/FooterAnimationContext/index.cjs');
|
|
47
49
|
var ShadowDOM = require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
48
50
|
require('../../components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
49
51
|
require('../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
50
52
|
require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
51
53
|
require('../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
|
|
52
|
-
require('../../context/
|
|
54
|
+
require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
53
55
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
54
56
|
require('../DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
55
57
|
require('react-focus-lock');
|
|
56
58
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
57
|
-
require('qrcode');
|
|
58
59
|
require('../DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
59
60
|
require('../../components/IconButton/IconButton.cjs');
|
|
60
61
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
61
|
-
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
62
62
|
require('formik');
|
|
63
|
+
require('../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
63
64
|
require('../../components/Alert/Alert.cjs');
|
|
65
|
+
require('../../components/Input/Input.cjs');
|
|
64
66
|
require('../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
65
67
|
require('../../context/PasskeyContext/PasskeyContext.cjs');
|
|
66
|
-
require('../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
|
|
67
68
|
require('../DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
68
69
|
var InlineWidgetButton = require('../../components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.cjs');
|
|
69
70
|
var InlineWidget = require('../../components/InlineWidget/InlineWidget.cjs');
|
|
70
|
-
require('../../components/Input/Input.cjs');
|
|
71
71
|
require('../../components/IsBrowser/IsBrowser.cjs');
|
|
72
72
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
73
73
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
74
|
+
require('qrcode');
|
|
74
75
|
require('../../views/WalletList/WalletList.cjs');
|
|
75
|
-
require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
76
76
|
require('./views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
77
77
|
require('@hcaptcha/react-hcaptcha');
|
|
78
|
-
require('../../views/LoginView/sections/PhoneNumberSignInSection/
|
|
78
|
+
require('../../views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.cjs');
|
|
79
79
|
var DynamicBridgeUserProfile = require('./components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs');
|
|
80
80
|
var DynamicBridgeWidgetContext = require('./context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs');
|
|
81
81
|
|
|
@@ -5,7 +5,7 @@ import '../../events/dynamicEvents.js';
|
|
|
5
5
|
import '../../../../_virtual/_tslib.js';
|
|
6
6
|
import '@dynamic-labs/utils';
|
|
7
7
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
8
|
-
import '@dynamic-labs/sdk-api';
|
|
8
|
+
import '@dynamic-labs/sdk-api-core';
|
|
9
9
|
import '../../shared/logger.js';
|
|
10
10
|
import { getChainIcon } from '../../shared/utils/functions/chain/getChainIcon.js';
|
|
11
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -14,7 +14,6 @@ import { shortenWalletAddress } from '../../shared/utils/functions/shortenWallet
|
|
|
14
14
|
import '../../utils/constants/colors.js';
|
|
15
15
|
import '../../utils/constants/values.js';
|
|
16
16
|
import '../../shared/utils/classes/storage/localStorage.js';
|
|
17
|
-
import 'viem';
|
|
18
17
|
import { useOnClickOutside } from '../../shared/utils/hooks/useOnClickOutside/index.js';
|
|
19
18
|
import '@dynamic-labs/iconic';
|
|
20
19
|
import '../../context/ViewContext/ViewContext.js';
|
|
@@ -24,54 +23,55 @@ import '../../context/CaptchaContext/CaptchaContext.js';
|
|
|
24
23
|
import '../../context/ErrorContext/ErrorContext.js';
|
|
25
24
|
import '@dynamic-labs/multi-wallet';
|
|
26
25
|
import 'react-international-phone';
|
|
26
|
+
import 'viem';
|
|
27
27
|
import 'viem/chains';
|
|
28
28
|
import '../../config/ApiEndpoint.js';
|
|
29
|
+
import '../../locale/locale.js';
|
|
29
30
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
30
31
|
import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
32
|
+
import '../../context/UserWalletsContext/UserWalletsContext.js';
|
|
31
33
|
import '../../context/VerificationContext/VerificationContext.js';
|
|
32
34
|
import 'react-dom';
|
|
33
35
|
import '../../context/WalletContext/WalletContext.js';
|
|
34
36
|
import '../../context/ThemeContext/ThemeContext.js';
|
|
35
37
|
import '@dynamic-labs/types';
|
|
36
38
|
import 'yup';
|
|
39
|
+
import '../../context/FieldsStateContext/FieldsStateContext.js';
|
|
37
40
|
import '../../context/MockContext/MockContext.js';
|
|
38
41
|
import '../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
|
|
39
42
|
import '../../context/UserFieldEditorContext/UserFieldEditorContext.js';
|
|
40
43
|
import '@dynamic-labs/rpc-providers';
|
|
41
|
-
import '../../context/
|
|
42
|
-
import 'i18next';
|
|
44
|
+
import '../../context/FooterAnimationContext/index.js';
|
|
43
45
|
import { ShadowDOM } from '../../components/ShadowDOM/ShadowDOM.js';
|
|
44
46
|
import '../../components/Transition/ZoomTransition/ZoomTransition.js';
|
|
45
47
|
import '../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
46
48
|
import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
47
49
|
import '../../components/OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
|
|
48
|
-
import '../../context/
|
|
50
|
+
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
49
51
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
50
52
|
import '../DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
51
53
|
import 'react-focus-lock';
|
|
52
54
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
53
|
-
import 'qrcode';
|
|
54
55
|
import '../DynamicWidget/context/DynamicWidgetContext.js';
|
|
55
56
|
import '../../components/IconButton/IconButton.js';
|
|
56
57
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
57
|
-
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
58
58
|
import 'formik';
|
|
59
|
+
import '../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
59
60
|
import '../../components/Alert/Alert.js';
|
|
61
|
+
import '../../components/Input/Input.js';
|
|
60
62
|
import '../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
61
63
|
import '../../context/PasskeyContext/PasskeyContext.js';
|
|
62
|
-
import '../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
|
|
63
64
|
import '../DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
64
65
|
import { InlineWidgetButton } from '../../components/InlineWidget/components/InlineWidgetButton/InlineWidgetButton.js';
|
|
65
66
|
import { InlineWidget } from '../../components/InlineWidget/InlineWidget.js';
|
|
66
|
-
import '../../components/Input/Input.js';
|
|
67
67
|
import '../../components/IsBrowser/IsBrowser.js';
|
|
68
68
|
import '../../components/Popper/Popper/Popper.js';
|
|
69
69
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
70
|
+
import 'qrcode';
|
|
70
71
|
import '../../views/WalletList/WalletList.js';
|
|
71
|
-
import '../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
72
72
|
import './views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
73
73
|
import '@hcaptcha/react-hcaptcha';
|
|
74
|
-
import '../../views/LoginView/sections/PhoneNumberSignInSection/
|
|
74
|
+
import '../../views/LoginView/sections/PhoneNumberSignInSection/PhoneNumberSignInSection.js';
|
|
75
75
|
import { DynamicBridgeUserProfile } from './components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js';
|
|
76
76
|
import { useDynamicBridgeWidgetContext } from './context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js';
|
|
77
77
|
|