@dynamic-labs/sdk-react-core 1.1.0-alpha.0 → 1.1.0-alpha.10
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 +106 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +14 -13
- package/src/index.cjs +30 -7
- package/src/index.d.ts +2 -1
- package/src/index.js +18 -5
- package/src/lib/Main.cjs +5 -5
- package/src/lib/Main.js +5 -5
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -1
- package/src/lib/components/Alert/Alert.types.d.ts +2 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +2 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +2 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +2 -1
- package/src/lib/components/Button/Button.cjs +2 -2
- package/src/lib/components/Button/Button.d.ts +2 -1
- package/src/lib/components/Button/Button.js +2 -2
- package/src/lib/components/ChainCard/ChainCard.d.ts +2 -2
- package/src/lib/components/CopyButton/CopyButton.d.ts +2 -1
- package/src/lib/components/Divider/Divider.cjs +3 -2
- package/src/lib/components/Divider/Divider.js +3 -2
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.cjs +13 -0
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.d.ts +7 -0
- package/src/lib/components/DynamicBaseWidget/DynamicBaseWidget.js +9 -0
- package/src/lib/components/DynamicBaseWidget/index.d.ts +1 -0
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +2 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +3 -2
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +2 -2
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.cjs +1 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.d.ts +2 -1
- package/src/lib/components/DynamicConnectButton/components/ConnectButton.js +1 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +2 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.d.ts +2 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.js +2 -2
- package/src/lib/components/Input/Input.types.d.ts +2 -1
- package/src/lib/components/ListTile/ListTile.cjs +1 -1
- package/src/lib/components/ListTile/ListTile.js +1 -1
- package/src/lib/components/ListTile/ListTile.types.d.ts +2 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +2 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +2 -1
- package/src/lib/components/Modal/Modal.cjs +2 -1
- package/src/lib/components/Modal/Modal.d.ts +1 -2
- package/src/lib/components/Modal/Modal.js +2 -1
- package/src/lib/components/Modal/index.d.ts +1 -1
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.cjs +9 -5
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.d.ts +1 -1
- package/src/lib/components/ModalHeaderBanner/ModalHeaderBanner.js +9 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +5 -4
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +5 -4
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +2 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +3 -2
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +3 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +3 -2
- package/src/lib/components/NetworkPicker/components/Network/Network.js +3 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +3 -2
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +3 -2
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -1
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +10 -8
- package/src/lib/components/OTPVerificationView/OTPVerificationView.d.ts +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +10 -8
- package/src/lib/components/OverlayCard/OverlayCard.cjs +2 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +2 -1
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +3 -2
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +3 -2
- package/src/lib/components/Portal/Portal.cjs +2 -1
- package/src/lib/components/Portal/Portal.js +2 -1
- package/src/lib/components/Search/Search.cjs +1 -1
- package/src/lib/components/Search/Search.d.ts +2 -1
- package/src/lib/components/Search/Search.js +1 -1
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.cjs +2 -2
- package/src/lib/components/SecureTurnkeyWalletCard/SecureTurnkeyWalletCard.js +2 -2
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +5 -1
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +5 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.cjs +3 -3
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +3 -3
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -1
- package/src/lib/components/ShadowDOM/index.d.ts +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +2 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.js +2 -1
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +2 -1
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +2 -1
- package/src/lib/components/TextButton/TextButton.d.ts +2 -1
- package/src/lib/components/Toggle/Toggle.cjs +14 -0
- package/src/lib/components/Toggle/Toggle.d.ts +7 -0
- package/src/lib/components/Toggle/Toggle.js +10 -0
- package/src/lib/components/Toggle/index.d.ts +1 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +4 -3
- package/src/lib/components/Tooltip/Tooltip.d.ts +2 -1
- package/src/lib/components/Tooltip/Tooltip.js +4 -3
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +3 -3
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.d.ts +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +3 -3
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.d.ts +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/components/TransactionRow/TransactionRow.js +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +3 -2
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +3 -2
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -1
- package/src/lib/components/Typography/Typography.types.d.ts +2 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +2 -1
- package/src/lib/components/UserAddress/UserAddress.js +2 -1
- package/src/lib/components/UserProfile/UserProfile.cjs +2 -2
- package/src/lib/components/UserProfile/UserProfile.d.ts +1 -0
- package/src/lib/components/UserProfile/UserProfile.js +2 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +5 -4
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.d.ts +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +5 -4
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +3 -2
- package/src/lib/components/index.d.ts +1 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +122 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +118 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.cjs +9 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.d.ts +3 -0
- package/src/lib/context/ConnectWithEmailOtpContext/connectWithEmailOtpContext.js +5 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.cjs +15 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.d.ts +4 -0
- package/src/lib/context/ConnectWithEmailOtpContext/constants.js +10 -0
- package/src/lib/context/ConnectWithEmailOtpContext/index.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/types.d.ts +13 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.cjs +19 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.d.ts +6 -0
- package/src/lib/context/ConnectWithEmailOtpContext/useConnectWithEmailOtp.js +15 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.cjs +27 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createEmailHandler.js +23 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.cjs +21 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.d.ts +3 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/createMagicHandler.js +17 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.cjs +20 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/utils/findEmailProvider.js +16 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +55 -55
- package/src/lib/context/DynamicContext/DynamicContext.js +56 -56
- package/src/lib/context/DynamicContext/hooks/index.d.ts +3 -2
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +16 -16
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +17 -17
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.cjs +48 -0
- package/src/lib/context/DynamicContext/hooks/{useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts → useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.d.ts} +4 -7
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/useSetShowLinkNewWalletModal.js +44 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.cjs +59 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +37 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +55 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +76 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.d.ts +3 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +72 -0
- package/src/lib/context/DynamicContext/types/index.d.ts +11 -10
- package/src/lib/context/DynamicContext/useCustomerCallbacks/types.d.ts +3 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +4 -24
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.d.ts +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +4 -24
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +9 -2
- package/src/lib/context/DynamicContext/useDynamicContext.d.ts +4 -1
- package/src/lib/context/DynamicContext/useDynamicContext.js +9 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +4 -1
- package/src/lib/context/FundingContext/FundingContext.js +4 -1
- package/src/lib/context/LoadingContext/LoadingContext.cjs +55 -15
- package/src/lib/context/LoadingContext/LoadingContext.d.ts +1 -1
- package/src/lib/context/LoadingContext/LoadingContext.js +56 -16
- package/src/lib/context/MockContext/MockContext.cjs +1 -0
- package/src/lib/context/MockContext/MockContext.js +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +2 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.js +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +2 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +6 -16
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +7 -17
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +2 -1
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +2 -1
- package/src/lib/context/ViewContext/ViewContext.cjs +4 -15
- package/src/lib/context/ViewContext/ViewContext.d.ts +2 -4
- package/src/lib/context/ViewContext/ViewContext.js +5 -16
- package/src/lib/data/api.cjs +15 -13
- package/src/lib/data/api.d.ts +7 -2
- package/src/lib/data/api.js +16 -14
- package/src/lib/{context/DynamicContext/internalEvents/internalEvents.cjs → events/dynamicEvents.cjs} +2 -3
- package/src/lib/events/dynamicEvents.d.ts +18 -0
- package/src/lib/events/dynamicEvents.js +5 -0
- package/src/lib/events/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +4 -3
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +4 -3
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +5 -4
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +5 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +4 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +4 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +4 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +4 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +3 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +3 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +5 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +5 -4
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +8 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +8 -7
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +3 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +3 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +3 -2
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +3 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +3 -2
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +3 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +2 -0
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +3 -1
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +3 -2
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +3 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +5 -4
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +2 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +5 -4
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +5 -4
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.d.ts +2 -1
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +5 -4
- package/src/lib/locale/en/translation.cjs +248 -3
- package/src/lib/locale/en/translation.d.ts +247 -2
- package/src/lib/locale/en/translation.js +248 -3
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +5 -4
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +5 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +5 -4
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +5 -4
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +7 -6
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +7 -6
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +7 -6
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +7 -6
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.types.d.ts +2 -1
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +5 -4
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +5 -4
- package/src/lib/shared/assets/alt-embedded-wallet.cjs +54 -0
- package/src/lib/shared/assets/alt-embedded-wallet.js +30 -0
- package/src/lib/shared/assets/alt-key.cjs +54 -0
- package/src/lib/shared/assets/alt-key.js +30 -0
- package/src/lib/shared/assets/export-embedded-hero.cjs +90 -0
- package/src/lib/shared/assets/export-embedded-hero.js +66 -0
- package/src/lib/shared/assets/eye-off-icon.cjs +53 -0
- package/src/lib/shared/assets/eye-off-icon.js +29 -0
- package/src/lib/shared/assets/face-id.cjs +53 -0
- package/src/lib/shared/assets/face-id.js +29 -0
- package/src/lib/shared/assets/index.d.ts +7 -0
- package/src/lib/shared/assets/lock.cjs +54 -0
- package/src/lib/shared/assets/lock.js +30 -0
- package/src/lib/shared/assets/wallet-v2.cjs +53 -0
- package/src/lib/shared/assets/wallet-v2.js +29 -0
- package/src/lib/shared/consts/index.cjs +1 -0
- package/src/lib/shared/consts/index.js +1 -0
- package/src/lib/shared/types/index.d.ts +8 -1
- package/src/lib/shared/utils/functions/chain/getChainIcon.cjs +1 -0
- package/src/lib/shared/utils/functions/chain/getChainIcon.js +2 -1
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +4 -2
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +5 -3
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +32 -16
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +32 -16
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +1 -1
- package/src/lib/utils/functions/index.d.ts +1 -0
- package/src/lib/utils/functions/isEmailValid/index.d.ts +1 -0
- package/src/lib/utils/functions/isEmailValid/isEmailValid.cjs +8 -0
- package/src/lib/utils/functions/isEmailValid/isEmailValid.d.ts +1 -0
- package/src/lib/utils/functions/isEmailValid/isEmailValid.js +4 -0
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.cjs +9 -1
- package/src/lib/utils/functions/isProviderEnabled/isProviderEnabled.js +9 -1
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.cjs +2 -4
- package/src/lib/utils/functions/isSelectedWalletAlreadyConnected/isSelectedWalletAlreadyConnected.js +2 -4
- package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.cjs +13 -2
- package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.js +13 -2
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +5 -3
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +5 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +3 -3
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +4 -4
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +16 -9
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +16 -9
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +28 -1
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +28 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -1
- package/src/lib/utils/hooks/events/index.d.ts +3 -0
- package/src/lib/utils/hooks/events/types.d.ts +14 -0
- package/src/lib/utils/hooks/events/useDynamicEvents/index.d.ts +1 -0
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.cjs +21 -0
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.d.ts +8 -0
- package/src/lib/utils/hooks/events/useDynamicEvents/useDynamicEvents.js +17 -0
- package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.cjs +1 -0
- package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.d.ts +2 -11
- package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/useWalletConnectorEvent.js +1 -0
- package/src/lib/utils/hooks/index.d.ts +3 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +3 -2
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.d.ts +6 -1
- package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +3 -2
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +5 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +1 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +5 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +3 -3
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +3 -3
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +3 -5
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +2 -2
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +3 -5
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +57 -48
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.d.ts +1 -1
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +57 -48
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +51 -7
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.d.ts +3 -0
- package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +51 -7
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +3 -3
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +3 -3
- package/src/lib/utils/hooks/useEmbeddedReveal/index.d.ts +1 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +70 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.d.ts +4 -0
- package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +66 -0
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +18 -12
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +18 -12
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +5 -3
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +5 -3
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.cjs +1 -1
- package/src/lib/utils/hooks/useIsTurnkeyWallet/useIsTurnkeyWallet.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +9 -13
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +9 -13
- package/src/lib/utils/hooks/useProcessNetworkConfigurations/index.d.ts +1 -0
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs → useProcessNetworkConfigurations/useProcessNetworkConfigurations.cjs} +53 -67
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.d.ts → useProcessNetworkConfigurations/useProcessNetworkConfigurations.d.ts} +3 -2
- package/src/lib/utils/hooks/{useFetchNetworkConfigurations/useFetchNetworkConfigurations.js → useProcessNetworkConfigurations/useProcessNetworkConfigurations.js} +53 -67
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +20 -14
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +20 -14
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs +26 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js +26 -4
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +10 -7
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +10 -7
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +2 -2
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +2 -2
- package/src/lib/utils/hooks/useWalletConnectorNetwork/index.d.ts +1 -0
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.cjs +42 -0
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.d.ts +18 -0
- package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.js +38 -0
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.cjs +5 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/findWallet/findWallet.js +5 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +2 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.d.ts +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +2 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +3 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +3 -2
- 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 +5 -4
- package/src/lib/views/AccountExistsView/AccountExistsView.js +5 -4
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.cjs +1 -1
- package/src/lib/views/BridgeNextWalletConnectionView/BridgeNextWalletConnectionView.js +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.cjs +2 -2
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +2 -2
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.cjs +1 -1
- package/src/lib/views/BridgeWelcomeView/BridgeWelcomeView.js +1 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +6 -4
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +6 -4
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +7 -6
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +7 -6
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +3 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +3 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +12 -10
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +12 -10
- package/src/lib/views/CollectUserDataView/useFields.cjs +11 -0
- package/src/lib/views/CollectUserDataView/useFields.d.ts +11 -0
- package/src/lib/views/CollectUserDataView/useFields.js +11 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +6 -5
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +6 -5
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +4 -3
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +4 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +5 -4
- package/src/lib/views/EmailUpdate/EmailUpdate.js +5 -4
- package/src/lib/views/EmailVerification/EmailVerification.cjs +39 -30
- package/src/lib/views/EmailVerification/EmailVerification.js +39 -30
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +12 -6
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +12 -6
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +160 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.d.ts +2 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +156 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/constants.cjs +9 -0
- package/src/lib/views/EmbeddedReveal/constants.d.ts +2 -0
- package/src/lib/views/EmbeddedReveal/constants.js +4 -0
- package/src/lib/views/EmbeddedReveal/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/index.d.ts +1 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +139 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.d.ts +21 -0
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +132 -0
- package/src/lib/views/LoginView/LoginView.cjs +60 -7
- package/src/lib/views/LoginView/LoginView.js +60 -7
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +8 -9
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.d.ts +0 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +9 -9
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +3 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +3 -2
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +4 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +4 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +5 -4
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.d.ts +3 -2
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +5 -4
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +4 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +4 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.cjs +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSimpleSignIn/WalletSimpleSignIn.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +7 -6
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +7 -6
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +8 -8
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +8 -8
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +9 -9
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +9 -9
- package/src/lib/views/NoAccess/NoAccess.cjs +4 -3
- package/src/lib/views/NoAccess/NoAccess.js +4 -3
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +9 -4
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +9 -4
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +13 -7
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +13 -7
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +3 -2
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +3 -2
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +6 -5
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +6 -5
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +4 -3
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +4 -3
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +8 -7
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +8 -7
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +9 -8
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +9 -8
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.cjs +17 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.d.ts +3 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/findEmailOtpWalletConnector.js +13 -0
- package/src/lib/views/Passkey/utils/findEmailOtpWalletConnector/index.d.ts +1 -0
- package/src/lib/views/Passkey/utils/index.d.ts +1 -0
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.d.ts +2 -2
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +2 -2
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +10 -6
- package/src/lib/views/PendingConnectView/PendingConnectView.js +10 -6
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +11 -7
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +11 -7
- package/src/lib/views/QrCodeView/QRCode.cjs +3 -3
- package/src/lib/views/QrCodeView/QRCode.js +3 -3
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +13 -9
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +13 -9
- package/src/lib/views/QrCodeView/QrCodeView.cjs +2 -1
- package/src/lib/views/QrCodeView/QrCodeView.js +2 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +3 -2
- package/src/lib/views/SendBalanceView/SendBalanceView.js +3 -2
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +2 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.d.ts +2 -1
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +2 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +4 -3
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +4 -3
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +7 -5
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +7 -5
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -8
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.d.ts +2 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -8
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +2 -1
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +3 -2
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +3 -2
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +4 -3
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +4 -3
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +72 -1
- package/src/lib/views/WalletGroupView/WalletGroupView.js +73 -2
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +74 -0
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +7 -0
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +70 -0
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/index.d.ts +1 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +2 -4
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +2 -1
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +2 -4
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.cjs +4 -3
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +4 -3
- package/src/lib/views/WalletList/WalletList.cjs +6 -9
- package/src/lib/views/WalletList/WalletList.js +6 -9
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +3 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +3 -2
- package/src/lib/views/WalletList/data.d.ts +1 -1
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +6 -4
- package/src/lib/views/WalletLockedView/WalletLockedView.js +6 -4
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +7 -5
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +7 -5
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +9 -8
- package/src/lib/views/WalletUsedView/WalletUsedView.js +9 -8
- package/src/lib/views/viewToComponentMap.cjs +3 -0
- package/src/lib/views/viewToComponentMap.js +3 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +6 -3
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +3 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +3 -2
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.cjs +8 -8
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedAuthFlow/DynamicEmbeddedAuthFlow.js +8 -8
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +1 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.cjs +33 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.d.ts +2 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/DynamicMultiWalletPromptsWidget.js +29 -0
- package/src/lib/widgets/DynamicMultiWalletPromptsWidget/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +4 -3
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +76 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +72 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +67 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +63 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +14 -12
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +14 -12
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +7 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +7 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.cjs +17 -40
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetPrompts/DynamicWidgetPrompts.js +23 -46
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +8 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +8 -5
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.d.ts +3 -2
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +5 -4
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +71 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +7 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +67 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +3 -2
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +2 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +3 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +2 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +66 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +67 -22
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.cjs +40 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/hooks/useMultiWalletPromptState/useMultiWalletPromptState.js +36 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.cjs +51 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +46 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +7 -4
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +8 -6
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +14 -6
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +14 -7
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +7 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +8 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +10 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +10 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +12 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +22 -8
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +22 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +9 -3
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +11 -6
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +4 -3
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +39 -13
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +2 -5
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +38 -13
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +10 -5
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +7 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +7 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +4 -3
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +3 -2
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +95 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +91 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +5 -4
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +5 -4
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +3 -2
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +3 -2
- package/src/lib/widgets/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +0 -33
- package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +0 -29
- package/src/lib/context/DynamicContext/internalEvents/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/internalEvents/internalEvents.d.ts +0 -13
- package/src/lib/context/DynamicContext/internalEvents/internalEvents.js +0 -6
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +0 -1
- /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.cjs +0 -0
- /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.d.ts +0 -0
- /package/src/lib/utils/hooks/{useEventListener → events/useEventListener}/useEventListener.js +0 -0
- /package/src/lib/utils/hooks/{useWalletConnectorEvent → events/useWalletConnectorEvent}/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/index.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.cjs +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.d.ts +0 -0
- /package/src/lib/utils/hooks/{useFetchNetworkConfigurations → useProcessNetworkConfigurations}/utils/mergeCustomerEvmNetworksWithServerNetworks/mergeCustomerEvmNetworksWithServerNetworks.js +0 -0
|
@@ -19,14 +19,18 @@ const translation = {
|
|
|
19
19
|
trail_message_social: 'through {{socialOauth}}',
|
|
20
20
|
},
|
|
21
21
|
/**
|
|
22
|
-
* @description copy keys for
|
|
22
|
+
* @description copy keys for active wallet information (address, network, etc)
|
|
23
23
|
* @default
|
|
24
24
|
* {
|
|
25
25
|
testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
|
|
26
|
+
ordinals_address: 'Ordinals address',
|
|
27
|
+
payment_address: 'Payment address',
|
|
26
28
|
}
|
|
27
29
|
*/
|
|
28
30
|
dyn_active_wallet_info: {
|
|
29
31
|
testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
|
|
32
|
+
ordinals_address: 'Ordinals address',
|
|
33
|
+
payment_address: 'Payment address',
|
|
30
34
|
},
|
|
31
35
|
/**
|
|
32
36
|
* @description copy keys for bridge view
|
|
@@ -54,6 +58,18 @@ const translation = {
|
|
|
54
58
|
title: 'Connect to {{appName}}',
|
|
55
59
|
},
|
|
56
60
|
},
|
|
61
|
+
/**
|
|
62
|
+
* @description copy keys for Dynamic Captcha
|
|
63
|
+
* @default
|
|
64
|
+
* {
|
|
65
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
66
|
+
verify_user_title: "Let's verify you're human",
|
|
67
|
+
}
|
|
68
|
+
*/
|
|
69
|
+
dyn_captcha: {
|
|
70
|
+
verify_user_subtitle: 'We need to quickly verify you’re human before we proceed.',
|
|
71
|
+
verify_user_title: "Let's verify you're human",
|
|
72
|
+
},
|
|
57
73
|
/**
|
|
58
74
|
* @description copy keys for chainalysis blocked wallet view
|
|
59
75
|
* @default
|
|
@@ -114,6 +130,8 @@ const translation = {
|
|
|
114
130
|
error_message: 'This network is not available, please update.',
|
|
115
131
|
title: 'Update Network',
|
|
116
132
|
},
|
|
133
|
+
update_email_tooltip:
|
|
134
|
+
'This email is tied to your wallet so cannot be updated',
|
|
117
135
|
}
|
|
118
136
|
*/
|
|
119
137
|
dyn_collect_user_data: {
|
|
@@ -163,6 +181,7 @@ const translation = {
|
|
|
163
181
|
error_message: 'This network is not available, please update.',
|
|
164
182
|
title: 'Update Network',
|
|
165
183
|
},
|
|
184
|
+
update_email_tooltip: 'This email is tied to your wallet so cannot be updated',
|
|
166
185
|
},
|
|
167
186
|
/**
|
|
168
187
|
* @description copy keys for email verification view after email logging in with magiclink
|
|
@@ -266,6 +285,12 @@ const translation = {
|
|
|
266
285
|
wallet_list: {
|
|
267
286
|
button_only: 'Continue with a wallet',
|
|
268
287
|
},
|
|
288
|
+
wrong_social_account: {
|
|
289
|
+
retry_button: 'Try again',
|
|
290
|
+
retry_title: 'Please connect with: ',
|
|
291
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
292
|
+
title: 'Whoops. Wrong Account',
|
|
293
|
+
},
|
|
269
294
|
}
|
|
270
295
|
*/
|
|
271
296
|
dyn_login: {
|
|
@@ -311,6 +336,12 @@ const translation = {
|
|
|
311
336
|
wallet_list: {
|
|
312
337
|
button_only: 'Continue with a wallet',
|
|
313
338
|
},
|
|
339
|
+
wrong_social_account: {
|
|
340
|
+
retry_button: 'Try again',
|
|
341
|
+
retry_title: 'Please connect with: ',
|
|
342
|
+
subtitle: 'You must connect with the same account you originally signed in with.',
|
|
343
|
+
title: 'Whoops. Wrong Account',
|
|
344
|
+
},
|
|
314
345
|
},
|
|
315
346
|
/**
|
|
316
347
|
* @description copy keys for Dynamic manage passkeys view which are used inside dynamic widget
|
|
@@ -332,7 +363,7 @@ const translation = {
|
|
|
332
363
|
}
|
|
333
364
|
*/
|
|
334
365
|
dyn_manage_passkeys: {
|
|
335
|
-
title: '
|
|
366
|
+
title: 'Manage passkeys',
|
|
336
367
|
passkey_from: 'from',
|
|
337
368
|
passkey_providers: {
|
|
338
369
|
android: 'Android Phone',
|
|
@@ -346,20 +377,97 @@ const translation = {
|
|
|
346
377
|
},
|
|
347
378
|
recovery_button: 'Set up new passkey',
|
|
348
379
|
},
|
|
380
|
+
/**
|
|
381
|
+
* @description export keys for Dynamic embedded reveal view
|
|
382
|
+
* @default
|
|
383
|
+
* {
|
|
384
|
+
title: 'Export wallet',
|
|
385
|
+
agreement_title: 'Agree to continue',
|
|
386
|
+
private_key_title: 'Private key',
|
|
387
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
388
|
+
description:
|
|
389
|
+
'Your wallet is non-custodial, meaning you are always in control of it.',
|
|
390
|
+
statement_1: {
|
|
391
|
+
title: 'Do not publicly share your {{keyType}}',
|
|
392
|
+
description: 'Your {{keyType}} controls your account and assets.',
|
|
393
|
+
},
|
|
394
|
+
checkbox_label:
|
|
395
|
+
'I am responsible for safeguarding and using my wallet key information.',
|
|
396
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
397
|
+
reveal_button_label: 'Reveal',
|
|
398
|
+
copy_button_label: 'Copy to clipboard',
|
|
399
|
+
done_button_label: "I'm Done",
|
|
400
|
+
},
|
|
401
|
+
*/
|
|
402
|
+
dyn_embedded_reveal: {
|
|
403
|
+
title: 'Export wallet',
|
|
404
|
+
agreement_title: 'Agree to continue',
|
|
405
|
+
private_key_title: 'Private key',
|
|
406
|
+
recovery_phrase_title: 'Secret recovery phrase',
|
|
407
|
+
badge_label: 'Sensitive information',
|
|
408
|
+
statement_1: {
|
|
409
|
+
title: 'Your wallet is non-custodial',
|
|
410
|
+
description: 'You are always in control of it.',
|
|
411
|
+
},
|
|
412
|
+
statement_2: {
|
|
413
|
+
title: 'Do not publicly share your wallet key',
|
|
414
|
+
description: 'Your {{credential_type}} controls your account and assets.',
|
|
415
|
+
},
|
|
416
|
+
checkbox_label: 'I am responsible for safeguarding and using my wallet key information.',
|
|
417
|
+
reveal_description: 'Make sure to safely back up this information',
|
|
418
|
+
reveal_button_label: 'Reveal',
|
|
419
|
+
copy_button_label: 'Copy to clipboard',
|
|
420
|
+
done_button_label: "I'm Done",
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
* @description wallet settings for Dynamic wallet settings view which are used inside dynamic widget
|
|
424
|
+
* @default
|
|
425
|
+
* {
|
|
426
|
+
title: 'Wallet settings',
|
|
427
|
+
signing_section: {
|
|
428
|
+
title: 'Security & Signing Methods',
|
|
429
|
+
passkey_button: 'Passkeys',
|
|
430
|
+
},
|
|
431
|
+
export_section: {
|
|
432
|
+
title: 'Export & Backup',
|
|
433
|
+
srp_button: 'Recovery phrase',
|
|
434
|
+
private_key_button: 'Private key',
|
|
435
|
+
},
|
|
436
|
+
}
|
|
437
|
+
*/
|
|
438
|
+
dyn_wallet_settings: {
|
|
439
|
+
title: 'Wallet settings',
|
|
440
|
+
signing_section: {
|
|
441
|
+
title: 'Security & Signing Methods',
|
|
442
|
+
passkey_button: 'Passkeys',
|
|
443
|
+
},
|
|
444
|
+
export_section: {
|
|
445
|
+
title: 'Export & Backup',
|
|
446
|
+
srp_button: 'Recovery phrase',
|
|
447
|
+
private_key_button: 'Private key',
|
|
448
|
+
},
|
|
449
|
+
},
|
|
349
450
|
/**
|
|
350
451
|
* @description copy keys for merge user accounts view
|
|
351
452
|
* @default
|
|
352
453
|
* {
|
|
353
454
|
cancel_button: "No, I'll use a different email",
|
|
354
455
|
confirm_button: 'Yes, link to existing account',
|
|
456
|
+
errors: {
|
|
457
|
+
merge_error: 'Something went wrong, please try again.',
|
|
458
|
+
},
|
|
355
459
|
existing_account: 'An account already exists that uses',
|
|
356
460
|
existing_account_trail: 'email.',
|
|
357
461
|
title: 'Would you like to link this wallet to this existing account?',
|
|
462
|
+
},
|
|
358
463
|
}
|
|
359
464
|
*/
|
|
360
465
|
dyn_merge_user_accounts: {
|
|
361
466
|
cancel_button: "No, I'll use a different email",
|
|
362
467
|
confirm_button: 'Yes, link to existing account',
|
|
468
|
+
errors: {
|
|
469
|
+
merge_error: 'Something went wrong, please try again.',
|
|
470
|
+
},
|
|
363
471
|
existing_account: 'An account already exists that uses',
|
|
364
472
|
existing_account_trail: 'email.',
|
|
365
473
|
title: 'Would you like to link this wallet to this existing account?',
|
|
@@ -467,6 +575,7 @@ const translation = {
|
|
|
467
575
|
confirm_code: 'Confirm verification code',
|
|
468
576
|
hang_tight: 'Hang tight while we get things ready for you',
|
|
469
577
|
verification_succeeded: 'Verification code confirmed',
|
|
578
|
+
title: 'Confirm verification code',
|
|
470
579
|
}
|
|
471
580
|
*/
|
|
472
581
|
dyn_otp_verification: {
|
|
@@ -475,6 +584,7 @@ const translation = {
|
|
|
475
584
|
confirm_code: 'Confirm verification code',
|
|
476
585
|
hang_tight: 'Hang tight while we get things ready for you',
|
|
477
586
|
verification_succeeded: 'Verification code confirmed',
|
|
587
|
+
title: 'Confirm verification code',
|
|
478
588
|
},
|
|
479
589
|
/**
|
|
480
590
|
* @description copy key for passkey created success banner
|
|
@@ -551,7 +661,7 @@ const translation = {
|
|
|
551
661
|
'To complete this process, ensure you are using the same device/browser.',
|
|
552
662
|
start_button: 'Send me an email',
|
|
553
663
|
title: 'Initiate Request',
|
|
554
|
-
}
|
|
664
|
+
},
|
|
555
665
|
}
|
|
556
666
|
*/
|
|
557
667
|
dyn_passkey_recovery: {
|
|
@@ -575,6 +685,80 @@ const translation = {
|
|
|
575
685
|
title: 'Initiate Request',
|
|
576
686
|
},
|
|
577
687
|
},
|
|
688
|
+
/**
|
|
689
|
+
* @description copy keys for Dynamic pending wallet connection
|
|
690
|
+
* @default
|
|
691
|
+
* {
|
|
692
|
+
mobile: 'Click connect in your mobile wallet',
|
|
693
|
+
computer: 'Click connect in your wallet popup',
|
|
694
|
+
}
|
|
695
|
+
*/
|
|
696
|
+
dyn_pending_connection: {
|
|
697
|
+
mobile: 'Click connect in your mobile wallet',
|
|
698
|
+
computer: 'Click connect in your wallet popup',
|
|
699
|
+
},
|
|
700
|
+
/**
|
|
701
|
+
* @description copy keys for Dynamic pending signature, we have overrides for phantom ledger which does not support message signing.
|
|
702
|
+
* @default
|
|
703
|
+
* {
|
|
704
|
+
click_to_sign: 'Click to Sign',
|
|
705
|
+
note: 'Note: ',
|
|
706
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
707
|
+
phantom_ledger_warning: "Ledger with Phantom doesn't support message signing. When logging in, a small fee (which should not apply) may appear. See below to learn more.",
|
|
708
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
709
|
+
}
|
|
710
|
+
*/
|
|
711
|
+
dyn_pending_signature: {
|
|
712
|
+
click_to_sign: 'Click to Sign',
|
|
713
|
+
note: 'Note: ',
|
|
714
|
+
phantom_ledger_sign: "Click sign in your wallet to confirm you own this wallet (this doesn't cost gas).",
|
|
715
|
+
phantom_ledger_warning: "Ledger with Phantom doesn't support message signing. When logging in, a small fee (which should not apply) may appear. See below to learn more.",
|
|
716
|
+
regular_sign_description: 'Click sign-in in your wallet to confirm you own this wallet.',
|
|
717
|
+
},
|
|
718
|
+
/**
|
|
719
|
+
* @description copy keys for Dynamic QR code Wallet Connection Pop-Up
|
|
720
|
+
* @default
|
|
721
|
+
* {
|
|
722
|
+
copy_button: 'Copy QR URI',
|
|
723
|
+
open_button: 'Open {{wallet}} App',
|
|
724
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
725
|
+
wallet_not_installed: {
|
|
726
|
+
browser_install: 'Install {{browser}} extension',
|
|
727
|
+
install: 'Install {{wallet}} extension to connect',
|
|
728
|
+
refresh: 'Refresh the page once installed',
|
|
729
|
+
select: 'Select from your preferred options below:',
|
|
730
|
+
},
|
|
731
|
+
}
|
|
732
|
+
*/
|
|
733
|
+
dyn_qr_code: {
|
|
734
|
+
copy_button: 'Copy QR URI',
|
|
735
|
+
open_button: 'Open {{wallet}} App',
|
|
736
|
+
scan_title: "Scan this QR code from your mobile wallet or phone's camera to connect.",
|
|
737
|
+
wallet_not_installed: {
|
|
738
|
+
browser_install: 'Install {{browser}} extension',
|
|
739
|
+
install: 'Install {{wallet}} extension to connect',
|
|
740
|
+
refresh: 'Refresh the page once installed',
|
|
741
|
+
select: 'Select from your preferred options below:',
|
|
742
|
+
},
|
|
743
|
+
},
|
|
744
|
+
/**
|
|
745
|
+
* @description copy keys for Dynamic wallet locked/disconnected
|
|
746
|
+
* @default
|
|
747
|
+
* {
|
|
748
|
+
connect_continue: 'Connect your wallet to continue',
|
|
749
|
+
title: 'Welcome back',
|
|
750
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
751
|
+
connect: 'Connect wallet',
|
|
752
|
+
logout: 'Log out',
|
|
753
|
+
}
|
|
754
|
+
*/
|
|
755
|
+
dyn_wallet_locked: {
|
|
756
|
+
connect_continue: 'Connect your wallet to continue',
|
|
757
|
+
title: 'Welcome back',
|
|
758
|
+
subtitle: "We couldn't connect to your wallet. Click connect to retry the connection ",
|
|
759
|
+
connect: 'Connect wallet',
|
|
760
|
+
logout: 'Log out',
|
|
761
|
+
},
|
|
578
762
|
/**
|
|
579
763
|
* @description copy keys for passkeys creation flow for existent embedded wallets
|
|
580
764
|
* @default
|
|
@@ -763,6 +947,18 @@ const translation = {
|
|
|
763
947
|
gas_not_sponsored: 'The gas fee has increased. Confirm if you still want to complete this transaction.',
|
|
764
948
|
},
|
|
765
949
|
},
|
|
950
|
+
/**
|
|
951
|
+
* @description copy keys for Select Chain view
|
|
952
|
+
* @default
|
|
953
|
+
* {
|
|
954
|
+
description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
|
|
955
|
+
using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
|
|
956
|
+
}
|
|
957
|
+
*/
|
|
958
|
+
dyn_select_chain: {
|
|
959
|
+
description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
|
|
960
|
+
using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
|
|
961
|
+
},
|
|
766
962
|
/**
|
|
767
963
|
* @description copy keys for sign message flow views
|
|
768
964
|
* @default
|
|
@@ -859,6 +1055,7 @@ const translation = {
|
|
|
859
1055
|
warning: 'Linking your wallet to this account will unlink it from its previously associated account',
|
|
860
1056
|
},
|
|
861
1057
|
log_out_button: 'Log out',
|
|
1058
|
+
title: 'Transfer this wallet?'
|
|
862
1059
|
}
|
|
863
1060
|
*/
|
|
864
1061
|
dyn_wallet_link: {
|
|
@@ -874,6 +1071,7 @@ const translation = {
|
|
|
874
1071
|
warning: 'Linking your wallet to this account will unlink it from its previously associated account',
|
|
875
1072
|
},
|
|
876
1073
|
log_out_button: 'Log out',
|
|
1074
|
+
title: 'Transfer this wallet?',
|
|
877
1075
|
},
|
|
878
1076
|
/**
|
|
879
1077
|
* @description copy keys for connecting wallets list view
|
|
@@ -926,12 +1124,21 @@ const translation = {
|
|
|
926
1124
|
* @default
|
|
927
1125
|
* {
|
|
928
1126
|
sign: {
|
|
1127
|
+
spinner: {
|
|
1128
|
+
cancel: 'Cancel',
|
|
1129
|
+
confirm_transfer:
|
|
1130
|
+
'Sign the message to confirm transferring this wallet to this account.',
|
|
1131
|
+
},
|
|
929
1132
|
title: 'Sign to confirm transfer',
|
|
930
1133
|
},
|
|
931
1134
|
}
|
|
932
1135
|
*/
|
|
933
1136
|
dyn_wallet_transfer: {
|
|
934
1137
|
sign: {
|
|
1138
|
+
spinner: {
|
|
1139
|
+
cancel: 'Cancel',
|
|
1140
|
+
confirm_transfer: 'Sign the message to confirm transferring this wallet to this account.',
|
|
1141
|
+
},
|
|
935
1142
|
title: 'Sign to confirm transfer',
|
|
936
1143
|
},
|
|
937
1144
|
},
|
|
@@ -948,6 +1155,44 @@ const translation = {
|
|
|
948
1155
|
connect: 'Connect your wallet',
|
|
949
1156
|
empty_wallets: '{{action}} additional wallets to see them here.',
|
|
950
1157
|
other_wallets: 'My other wallets',
|
|
1158
|
+
empty_wallets_action_link: 'Link',
|
|
1159
|
+
empty_wallets_action_connect: 'Connect',
|
|
1160
|
+
},
|
|
1161
|
+
/**
|
|
1162
|
+
* @description copy keys for Unlink wallet prompt
|
|
1163
|
+
* @default
|
|
1164
|
+
* {
|
|
1165
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1166
|
+
unlink_title: 'Unlink your wallet?',
|
|
1167
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1168
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1169
|
+
disconnect_button: 'Yes, disconnect',
|
|
1170
|
+
unlink_button: 'Yes, unlink',
|
|
1171
|
+
cancel_button: 'No',
|
|
1172
|
+
}
|
|
1173
|
+
*/
|
|
1174
|
+
dyn_unlink_wallet_pop_up: {
|
|
1175
|
+
disconnect_title: 'Disconnect your wallet?',
|
|
1176
|
+
unlink_title: 'Unlink your wallet?',
|
|
1177
|
+
disconnect_description: 'Are you sure you want to disconnect your wallet?',
|
|
1178
|
+
unlink_description: 'Are you sure you want to unlink your wallet?',
|
|
1179
|
+
disconnect_button: 'Yes, disconnect',
|
|
1180
|
+
unlink_button: 'Yes, unlink',
|
|
1181
|
+
cancel_button: 'No',
|
|
1182
|
+
},
|
|
1183
|
+
/**
|
|
1184
|
+
* @description copy keys for Detected new wallet prompt
|
|
1185
|
+
* @default
|
|
1186
|
+
* {
|
|
1187
|
+
title: 'Account Change Detected',
|
|
1188
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1189
|
+
confirm_button: 'Yes, link this wallet',
|
|
1190
|
+
}
|
|
1191
|
+
*/
|
|
1192
|
+
dyn_detected_new_wallet: {
|
|
1193
|
+
title: 'Account Change Detected',
|
|
1194
|
+
description: 'Your active account in {{walletName}} has changed. This account is not currently linked to this app. Do you want to add it?',
|
|
1195
|
+
confirm_button: 'Yes, link this wallet',
|
|
951
1196
|
},
|
|
952
1197
|
};
|
|
953
1198
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
7
|
+
require('../../events/dynamicEvents.cjs');
|
|
7
8
|
require('@dynamic-labs/utils');
|
|
8
9
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
9
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -40,9 +41,12 @@ require('../../components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
|
40
41
|
require('../../components/ShadowDOM/ShadowDOM.cjs');
|
|
41
42
|
require('../../components/OverlayCard/OverlayCard.context.cjs');
|
|
42
43
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
44
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
45
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
46
|
+
require('react-focus-lock');
|
|
47
|
+
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
43
48
|
require('qrcode');
|
|
44
49
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
|
-
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
46
50
|
require('i18next');
|
|
47
51
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
48
52
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -55,11 +59,8 @@ var WalletProgressStepper = require('../../layout/DynamicAuthLayout/WalletProgre
|
|
|
55
59
|
var useAuthLayoutChecks = require('../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs');
|
|
56
60
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
57
61
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
58
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
59
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
60
62
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
61
63
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
62
|
-
require('react-focus-lock');
|
|
63
64
|
|
|
64
65
|
const DynamicAuthModal = ({ children, onClose, transitionProps, walletConnector, projectSettings, className, }) => {
|
|
65
66
|
const { showConnectedWalletProgress } = useAuthLayoutChecks.useAuthLayoutChecks(walletConnector);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
+
import '../../events/dynamicEvents.js';
|
|
3
4
|
import '@dynamic-labs/utils';
|
|
4
5
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
5
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -36,9 +37,12 @@ import '../../components/Transition/OpacityTransition/OpacityTransition.js';
|
|
|
36
37
|
import '../../components/ShadowDOM/ShadowDOM.js';
|
|
37
38
|
import '../../components/OverlayCard/OverlayCard.context.js';
|
|
38
39
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
40
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
41
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
42
|
+
import 'react-focus-lock';
|
|
43
|
+
import '../../context/LoadingContext/LoadingContext.js';
|
|
39
44
|
import 'qrcode';
|
|
40
45
|
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
41
|
-
import '../../context/LoadingContext/LoadingContext.js';
|
|
42
46
|
import 'i18next';
|
|
43
47
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
44
48
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -51,11 +55,8 @@ import { WalletProgressStepper } from '../../layout/DynamicAuthLayout/WalletProg
|
|
|
51
55
|
import { useAuthLayoutChecks } from '../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js';
|
|
52
56
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
53
57
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
54
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
55
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
56
58
|
import '../../components/Popper/Popper/Popper.js';
|
|
57
59
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
58
|
-
import 'react-focus-lock';
|
|
59
60
|
|
|
60
61
|
const DynamicAuthModal = ({ children, onClose, transitionProps, walletConnector, projectSettings, className, }) => {
|
|
61
62
|
const { showConnectedWalletProgress } = useAuthLayoutChecks(walletConnector);
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
+
require('../../events/dynamicEvents.cjs');
|
|
7
8
|
require('@dynamic-labs/utils');
|
|
8
9
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
9
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -44,8 +45,11 @@ require('../../context/FooterAnimationContext/index.cjs');
|
|
|
44
45
|
require('../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
46
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
47
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
|
-
require('
|
|
48
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
49
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
50
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
48
51
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
52
|
+
require('qrcode');
|
|
49
53
|
require('i18next');
|
|
50
54
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
51
55
|
require('../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
@@ -57,11 +61,8 @@ require('../../components/Alert/Alert.cjs');
|
|
|
57
61
|
require('../../components/IconButton/IconButton.cjs');
|
|
58
62
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
59
63
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
60
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
61
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
62
64
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
63
65
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
64
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
65
66
|
|
|
66
67
|
const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
|
|
67
68
|
usePreventPageScroll.usePreventPageScroll(true);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
+
import '../../events/dynamicEvents.js';
|
|
3
4
|
import '@dynamic-labs/utils';
|
|
4
5
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
5
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -40,8 +41,11 @@ import '../../context/FooterAnimationContext/index.js';
|
|
|
40
41
|
import '../../context/QrCodeContext/QrCodeContext.js';
|
|
41
42
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
43
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
43
|
-
import '
|
|
44
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
45
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
46
|
+
import { Portal } from '../../components/Portal/Portal.js';
|
|
44
47
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
48
|
+
import 'qrcode';
|
|
45
49
|
import 'i18next';
|
|
46
50
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
47
51
|
import '../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
@@ -53,11 +57,8 @@ import '../../components/Alert/Alert.js';
|
|
|
53
57
|
import '../../components/IconButton/IconButton.js';
|
|
54
58
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
55
59
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
56
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
57
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
58
60
|
import '../../components/Popper/Popper/Popper.js';
|
|
59
61
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
60
|
-
import { Portal } from '../../components/Portal/Portal.js';
|
|
61
62
|
|
|
62
63
|
const SendBalanceModal = ({ initialRecipientAddress, initialValue, onReject, onSuccess, }) => {
|
|
63
64
|
usePreventPageScroll(true);
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var reactI18next = require('react-i18next');
|
|
8
|
+
require('../../events/dynamicEvents.cjs');
|
|
8
9
|
require('@dynamic-labs/utils');
|
|
9
10
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
10
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
@@ -28,8 +29,8 @@ require('../../context/AccountExistsContext/AccountExistsContext.cjs');
|
|
|
28
29
|
require('../../config/ApiEndpoint.cjs');
|
|
29
30
|
require('../../context/EmailVerificationContext/EmailVerificationContext.cjs');
|
|
30
31
|
require('react-dom');
|
|
31
|
-
var useMutation = require('../../utils/hooks/useMutation/useMutation.cjs');
|
|
32
32
|
require('../../context/ThemeContext/ThemeContext.cjs');
|
|
33
|
+
var useMutation = require('../../utils/hooks/useMutation/useMutation.cjs');
|
|
33
34
|
require('@dynamic-labs/types');
|
|
34
35
|
require('yup');
|
|
35
36
|
require('../../context/MockContext/MockContext.cjs');
|
|
@@ -50,9 +51,12 @@ var useIsTurnkeyWallet = require('../../utils/hooks/useIsTurnkeyWallet/useIsTurn
|
|
|
50
51
|
var PoweredByDynamic = require('../../components/PoweredByDynamic/PoweredByDynamic.cjs');
|
|
51
52
|
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
52
53
|
require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
54
|
+
var Modal = require('../../components/Modal/Modal.cjs');
|
|
55
|
+
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
56
|
+
var Portal = require('../../components/Portal/Portal.cjs');
|
|
53
57
|
var IconWithSpinner = require('../../components/IconWithSpinner/IconWithSpinner.cjs');
|
|
54
|
-
require('qrcode');
|
|
55
58
|
require('../../context/LoadingContext/LoadingContext.cjs');
|
|
59
|
+
require('qrcode');
|
|
56
60
|
var Icon = require('../../components/Icon/Icon.cjs');
|
|
57
61
|
require('i18next');
|
|
58
62
|
require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
@@ -72,12 +76,9 @@ require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/
|
|
|
72
76
|
var getProperErrorMessage = require('./getProperErrorMessage.cjs');
|
|
73
77
|
require('../../components/InlineWidget/InlineWidget.cjs');
|
|
74
78
|
require('../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
75
|
-
var Modal = require('../../components/Modal/Modal.cjs');
|
|
76
|
-
var ModalCard = require('../../components/ModalCard/ModalCard.cjs');
|
|
77
79
|
var NeedHelpSection = require('../../components/NeedHelpSection/NeedHelpSection.cjs');
|
|
78
80
|
require('../../components/Popper/Popper/Popper.cjs');
|
|
79
81
|
require('../../components/Popper/PopperContext/PopperContext.cjs');
|
|
80
|
-
var Portal = require('../../components/Portal/Portal.cjs');
|
|
81
82
|
var SignMessagePreview = require('../../components/SignMessagePreview/SignMessagePreview.cjs');
|
|
82
83
|
|
|
83
84
|
const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message, handler, onReject, onSignMessage, }) => {
|
|
@@ -105,7 +106,7 @@ const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message,
|
|
|
105
106
|
const closeButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: handleOnReject, "data-testid": 'close', disabled: isLoading, children: jsxRuntime.jsx(close.ReactComponent, {}) }));
|
|
106
107
|
return (jsxRuntime.jsx(Portal.Portal, { handleClose: handleOnReject, isShown: show, zIndex: index.authModalZIndex, withBackdrop: true, elementId: 'dynamic-sign-message', transitionEvents: {
|
|
107
108
|
onUnmount: handleOnModalUnmount,
|
|
108
|
-
}, children: jsxRuntime.jsx(Modal.Modal, { children: jsxRuntime.jsxs(ModalCard.ModalCard, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: (props) => (jsxRuntime.jsx(Icon.Icon, { color: 'brand-primary', children: jsxRuntime.jsx(signCircle.ReactComponent, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsxRuntime.jsx(PasskeyCreatedSuccessBanner.PasskeyCreatedSuccessBanner, {}), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', children: t('dyn_sign_message.title') }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: signMessageError && (jsxRuntime.jsx("div", { className: 'sign-message-confirmation__error', children: jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: getProperErrorMessage.getProperErrorMessage(signMessageError) }) })) }), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsxRuntime.jsx(AppOriginTile.AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsxRuntime.jsx("div", { className: 'sign-message-confirmation__message', children: jsxRuntime.jsx(SignMessagePreview.SignMessagePreview, { message: message.toString() }) })] }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'sign-message-confirmation__secure-wallet' }), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__actions', children: [jsxRuntime.jsx(Button.Button, { buttonVariant: 'secondary', onClick: handleOnReject, expanded: true, buttonPadding: 'large', disabled: isLoading, children: t('dyn_sign_message.cancel_button') }), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: () => confirm(), expanded: true, disabled: isTurnkeyWalletWithoutAuthenticator, loading: isLoading, children: t('dyn_sign_message.sign_button') })] }), jsxRuntime.jsx(NeedHelpSection.NeedHelpSection, {}), jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, {})] })] }) }) }));
|
|
109
|
+
}, children: jsxRuntime.jsx(Modal.Modal, { children: jsxRuntime.jsxs(ModalCard.ModalCard, { children: [jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { Icon: (props) => (jsxRuntime.jsx(Icon.Icon, { color: 'brand-primary', children: jsxRuntime.jsx(signCircle.ReactComponent, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsxRuntime.jsx(PasskeyCreatedSuccessBanner.PasskeyCreatedSuccessBanner, {}), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__body', children: [jsxRuntime.jsx(Typography.Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', copykey: 'dyn_sign_message.title', children: t('dyn_sign_message.title') }), jsxRuntime.jsx(AnimatePresence.AnimatePresence, { animationComponent: jsxRuntime.jsx(VerticalDrawerTransition.VerticalDrawerTransition, {}), children: signMessageError && (jsxRuntime.jsx("div", { className: 'sign-message-confirmation__error', children: jsxRuntime.jsx(ErrorContainer.ErrorContainer, { children: getProperErrorMessage.getProperErrorMessage(signMessageError) }) })) }), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsxRuntime.jsx(AppOriginTile.AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsxRuntime.jsx("div", { className: 'sign-message-confirmation__message', children: jsxRuntime.jsx(SignMessagePreview.SignMessagePreview, { message: message.toString() }) })] }), jsxRuntime.jsx(SecureTurnkeyWalletCard.SecureTurnkeyWalletCard, { className: 'sign-message-confirmation__secure-wallet' }), jsxRuntime.jsxs("div", { className: 'sign-message-confirmation__actions', children: [jsxRuntime.jsx(Button.Button, { buttonVariant: 'secondary', onClick: handleOnReject, expanded: true, buttonPadding: 'large', disabled: isLoading, copykey: 'dyn_sign_message.cancel_button', children: t('dyn_sign_message.cancel_button') }), jsxRuntime.jsx(Button.Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: () => confirm(), expanded: true, disabled: isTurnkeyWalletWithoutAuthenticator, loading: isLoading, copykey: 'dyn_sign_message.sign_button', children: t('dyn_sign_message.sign_button') })] }), jsxRuntime.jsx(NeedHelpSection.NeedHelpSection, {}), jsxRuntime.jsx(PoweredByDynamic.PoweredByDynamic, {})] })] }) }) }));
|
|
109
110
|
};
|
|
110
111
|
|
|
111
112
|
exports.SignMessageConfirmationModal = SignMessageConfirmationModal;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useRef, useState, useCallback } from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
+
import '../../events/dynamicEvents.js';
|
|
4
5
|
import '@dynamic-labs/utils';
|
|
5
6
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
6
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
@@ -24,8 +25,8 @@ import '../../context/AccountExistsContext/AccountExistsContext.js';
|
|
|
24
25
|
import '../../config/ApiEndpoint.js';
|
|
25
26
|
import '../../context/EmailVerificationContext/EmailVerificationContext.js';
|
|
26
27
|
import 'react-dom';
|
|
27
|
-
import { useMutation } from '../../utils/hooks/useMutation/useMutation.js';
|
|
28
28
|
import '../../context/ThemeContext/ThemeContext.js';
|
|
29
|
+
import { useMutation } from '../../utils/hooks/useMutation/useMutation.js';
|
|
29
30
|
import '@dynamic-labs/types';
|
|
30
31
|
import 'yup';
|
|
31
32
|
import '../../context/MockContext/MockContext.js';
|
|
@@ -46,9 +47,12 @@ import { useIsTurnkeyWallet } from '../../utils/hooks/useIsTurnkeyWallet/useIsTu
|
|
|
46
47
|
import { PoweredByDynamic } from '../../components/PoweredByDynamic/PoweredByDynamic.js';
|
|
47
48
|
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
48
49
|
import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
50
|
+
import { Modal } from '../../components/Modal/Modal.js';
|
|
51
|
+
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
52
|
+
import { Portal } from '../../components/Portal/Portal.js';
|
|
49
53
|
import { IconWithSpinner } from '../../components/IconWithSpinner/IconWithSpinner.js';
|
|
50
|
-
import 'qrcode';
|
|
51
54
|
import '../../context/LoadingContext/LoadingContext.js';
|
|
55
|
+
import 'qrcode';
|
|
52
56
|
import { Icon } from '../../components/Icon/Icon.js';
|
|
53
57
|
import 'i18next';
|
|
54
58
|
import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
@@ -68,12 +72,9 @@ import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/P
|
|
|
68
72
|
import { getProperErrorMessage } from './getProperErrorMessage.js';
|
|
69
73
|
import '../../components/InlineWidget/InlineWidget.js';
|
|
70
74
|
import '../../components/MenuList/Dropdown/Dropdown.js';
|
|
71
|
-
import { Modal } from '../../components/Modal/Modal.js';
|
|
72
|
-
import { ModalCard } from '../../components/ModalCard/ModalCard.js';
|
|
73
75
|
import { NeedHelpSection } from '../../components/NeedHelpSection/NeedHelpSection.js';
|
|
74
76
|
import '../../components/Popper/Popper/Popper.js';
|
|
75
77
|
import '../../components/Popper/PopperContext/PopperContext.js';
|
|
76
|
-
import { Portal } from '../../components/Portal/Portal.js';
|
|
77
78
|
import { SignMessagePreview } from '../../components/SignMessagePreview/SignMessagePreview.js';
|
|
78
79
|
|
|
79
80
|
const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message, handler, onReject, onSignMessage, }) => {
|
|
@@ -101,7 +102,7 @@ const SignMessageConfirmationModal = ({ appLogoUrl, appName, appOrigin, message,
|
|
|
101
102
|
const closeButton = (jsx(IconButton, { type: 'button', onClick: handleOnReject, "data-testid": 'close', disabled: isLoading, children: jsx(SvgClose, {}) }));
|
|
102
103
|
return (jsx(Portal, { handleClose: handleOnReject, isShown: show, zIndex: authModalZIndex, withBackdrop: true, elementId: 'dynamic-sign-message', transitionEvents: {
|
|
103
104
|
onUnmount: handleOnModalUnmount,
|
|
104
|
-
}, children: jsx(Modal, { children: jsxs(ModalCard, { children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'sign-message-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', children: t('dyn_sign_message.title') }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: signMessageError && (jsx("div", { className: 'sign-message-confirmation__error', children: jsx(ErrorContainer, { children: getProperErrorMessage(signMessageError) }) })) }), jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsx("div", { className: 'sign-message-confirmation__message', children: jsx(SignMessagePreview, { message: message.toString() }) })] }), jsx(SecureTurnkeyWalletCard, { className: 'sign-message-confirmation__secure-wallet' }), jsxs("div", { className: 'sign-message-confirmation__actions', children: [jsx(Button, { buttonVariant: 'secondary', onClick: handleOnReject, expanded: true, buttonPadding: 'large', disabled: isLoading, children: t('dyn_sign_message.cancel_button') }), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: () => confirm(), expanded: true, disabled: isTurnkeyWalletWithoutAuthenticator, loading: isLoading, children: t('dyn_sign_message.sign_button') })] }), jsx(NeedHelpSection, {}), jsx(PoweredByDynamic, {})] })] }) }) }));
|
|
105
|
+
}, children: jsx(Modal, { children: jsxs(ModalCard, { children: [jsx(ModalHeader, { trailing: closeButton, alignContent: 'bottom', children: jsx(IconWithSpinner, { Icon: (props) => (jsx(Icon, { color: 'brand-primary', children: jsx(SvgSignCircle, Object.assign({}, props)) })), iconSize: 64, isSpinning: true }) }), jsx(PasskeyCreatedSuccessBanner, {}), jsxs("div", { className: 'sign-message-confirmation__body', children: [jsx(Typography, { variant: 'title', color: 'primary', className: 'sign-message-confirmation__title', copykey: 'dyn_sign_message.title', children: t('dyn_sign_message.title') }), jsx(AnimatePresence, { animationComponent: jsx(VerticalDrawerTransition, {}), children: signMessageError && (jsx("div", { className: 'sign-message-confirmation__error', children: jsx(ErrorContainer, { children: getProperErrorMessage(signMessageError) }) })) }), jsxs("div", { className: 'sign-message-confirmation__message-container', children: [jsx(AppOriginTile, { appLogoUrl: appLogoUrl, appName: appName, appOrigin: appOrigin }), jsx("div", { className: 'sign-message-confirmation__message', children: jsx(SignMessagePreview, { message: message.toString() }) })] }), jsx(SecureTurnkeyWalletCard, { className: 'sign-message-confirmation__secure-wallet' }), jsxs("div", { className: 'sign-message-confirmation__actions', children: [jsx(Button, { buttonVariant: 'secondary', onClick: handleOnReject, expanded: true, buttonPadding: 'large', disabled: isLoading, copykey: 'dyn_sign_message.cancel_button', children: t('dyn_sign_message.cancel_button') }), jsx(Button, { buttonVariant: 'primary', buttonPadding: 'large', onClick: () => confirm(), expanded: true, disabled: isTurnkeyWalletWithoutAuthenticator, loading: isLoading, copykey: 'dyn_sign_message.sign_button', children: t('dyn_sign_message.sign_button') })] }), jsx(NeedHelpSection, {}), jsx(PoweredByDynamic, {})] })] }) }) }));
|
|
105
106
|
};
|
|
106
107
|
|
|
107
108
|
export { SignMessageConfirmationModal };
|