@dynamic-labs/sdk-react-core 1.1.0-alpha.1 → 1.1.0-alpha.11
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 +123 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +12 -12
- package/src/index.cjs +35 -8
- package/src/index.d.ts +2 -1
- package/src/index.js +22 -7
- package/src/lib/Main.cjs +45 -26
- package/src/lib/Main.js +45 -26
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +9 -4
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +9 -4
- package/src/lib/components/AnimatePresence/AnimatePresence.js +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +9 -4
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +9 -4
- 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 +8 -3
- package/src/lib/components/Divider/Divider.js +8 -3
- 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/IconWithSpinner/IconWithSpinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Spinner/Spinner.js +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.cjs +1 -1
- package/src/lib/components/IconWithStatus/IconWithStatus.js +1 -1
- package/src/lib/components/MenuList/Dropdown/Dropdown.cjs +9 -4
- package/src/lib/components/MenuList/Dropdown/Dropdown.js +9 -4
- package/src/lib/components/Modal/Modal.cjs +9 -4
- package/src/lib/components/Modal/Modal.d.ts +1 -2
- package/src/lib/components/Modal/Modal.js +9 -4
- package/src/lib/components/Modal/index.d.ts +1 -1
- package/src/lib/components/NeedHelpSection/NeedHelpSection.cjs +10 -5
- package/src/lib/components/NeedHelpSection/NeedHelpSection.js +10 -5
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +11 -6
- package/src/lib/components/NetworkPicker/NetworkPicker.js +11 -6
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +12 -4
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +12 -4
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +8 -3
- package/src/lib/components/NetworkPicker/components/Network/Network.js +8 -3
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +9 -4
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +9 -4
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +8 -3
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +8 -3
- package/src/lib/components/OverlayCard/OverlayCard.cjs +9 -4
- package/src/lib/components/OverlayCard/OverlayCard.js +9 -4
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs +15 -6
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.d.ts +4 -0
- package/src/lib/components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js +17 -8
- package/src/lib/components/Portal/Portal.cjs +16 -16
- package/src/lib/components/Portal/Portal.d.ts +3 -1
- package/src/lib/components/Portal/Portal.js +16 -16
- package/src/lib/components/RenderView/RenderView.cjs +71 -0
- package/src/lib/components/RenderView/RenderView.d.ts +2 -0
- package/src/lib/components/RenderView/RenderView.js +67 -0
- package/src/lib/components/RenderView/index.d.ts +1 -0
- 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 +1 -1
- package/src/lib/components/SendBalanceForm/SendBalanceForm.js +1 -1
- package/src/lib/components/ShadowDOM/index.d.ts +1 -1
- package/src/lib/components/SocialSignIn/SocialSignIn.cjs +9 -4
- package/src/lib/components/SocialSignIn/SocialSignIn.js +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.cjs +9 -4
- package/src/lib/components/SyncPasskeyFlow/SyncPasskeyFlow.js +9 -4
- 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 +18 -32
- package/src/lib/components/Tooltip/Tooltip.js +18 -32
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +9 -4
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +9 -4
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +9 -4
- package/src/lib/components/UserAddress/UserAddress.cjs +9 -4
- package/src/lib/components/UserAddress/UserAddress.js +9 -4
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +8 -3
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +8 -3
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +8 -3
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +8 -3
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +9 -3
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +9 -3
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +1 -1
- package/src/lib/components/UserProfileForm/UserProfileForm.js +1 -1
- package/src/lib/components/index.d.ts +2 -0
- package/src/lib/context/AccountExistsContext/AccountExistsContext.js +1 -1
- package/src/lib/context/CaptchaContext/CaptchaContext.js +1 -1
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.cjs +127 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.d.ts +2 -0
- package/src/lib/context/ConnectWithEmailOtpContext/ConnectWithEmailOtpProvider.js +123 -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 +73 -62
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.js +74 -63
- package/src/lib/context/DynamicContext/helpers.cjs +5 -3
- package/src/lib/context/DynamicContext/helpers.d.ts +2 -2
- package/src/lib/context/DynamicContext/helpers.js +5 -3
- package/src/lib/context/DynamicContext/hooks/index.d.ts +2 -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/useEmailLoginState/useEmailLoginState.cjs +10 -11
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.d.ts +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +11 -12
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/index.d.ts +1 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.cjs +23 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.d.ts +5 -0
- package/src/lib/context/DynamicContext/hooks/usePasskeySuccessPopup/usePasskeySuccessPopup.js +19 -0
- package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModal/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 +119 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.d.ts +39 -0
- package/src/lib/context/DynamicContext/hooks/useShowAuthFlow/useShowAuthFlow.js +115 -0
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.cjs +18 -4
- package/src/lib/context/DynamicContext/hooks/useTieCallbacksToEvents/useTieCallbacksToEvents.js +18 -4
- package/src/lib/context/DynamicContext/types/index.d.ts +15 -9
- package/src/lib/context/DynamicContext/useCustomerCallbacks/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +10 -2
- package/src/lib/context/DynamicContext/useDynamicContext.d.ts +4 -1
- package/src/lib/context/DynamicContext/useDynamicContext.js +10 -2
- package/src/lib/context/ErrorContext/ErrorContext.cjs +5 -11
- package/src/lib/context/ErrorContext/ErrorContext.js +6 -12
- package/src/lib/context/FooterAnimationContext/index.d.ts +1 -2
- package/src/lib/context/FundingContext/FundingContext.cjs +3 -1
- package/src/lib/context/FundingContext/FundingContext.js +4 -2
- package/src/lib/context/LoadingContext/LoadingContext.cjs +8 -3
- package/src/lib/context/LoadingContext/LoadingContext.js +9 -4
- package/src/lib/context/MockContext/MockContext.cjs +12 -6
- package/src/lib/context/MockContext/MockContext.d.ts +4 -9
- package/src/lib/context/MockContext/MockContext.js +12 -6
- package/src/lib/context/PasskeyContext/PasskeyContext.cjs +35 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.d.ts +16 -0
- package/src/lib/context/PasskeyContext/PasskeyContext.js +29 -0
- package/src/lib/context/PasskeyContext/index.d.ts +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +9 -4
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +9 -4
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +10 -6
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +10 -6
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.cjs +9 -4
- package/src/lib/context/UserFieldEditorContext/UserFieldEditorContext.js +9 -4
- package/src/lib/context/ViewContext/ViewContext.cjs +7 -4
- package/src/lib/context/ViewContext/ViewContext.d.ts +5 -5
- package/src/lib/context/ViewContext/ViewContext.js +7 -4
- package/src/lib/context/ViewContext/index.d.ts +1 -0
- package/src/lib/context/ViewContext/types/index.d.ts +10 -0
- package/src/lib/data/api.cjs +33 -15
- package/src/lib/data/api.d.ts +15 -2
- package/src/lib/data/api.js +33 -16
- package/src/lib/events/dynamicEvents.d.ts +7 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.cjs +12 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.d.ts +6 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/DefaultFooter.js +8 -0
- package/src/lib/layout/DynamicAuthLayout/DefaultFooter/index.d.ts +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +12 -9
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +12 -9
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +13 -21
- package/src/lib/layout/DynamicAuthLayout/Header/header.d.ts +0 -2
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +14 -22
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.cjs +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpContent.js +9 -9
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.cjs +14 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/HelpHeader/HelpHeader.js +14 -6
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs +8 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.js +8 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.cjs +8 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/Item/Item.js +8 -3
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +11 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +11 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs +14 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.js +14 -8
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +10 -5
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.d.ts +2 -2
- package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletMoreInfoContent/WalletMoreInfoContent.js +11 -6
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.cjs +8 -3
- package/src/lib/layout/DynamicAuthLayout/ToSFooter/ToSFooter.js +8 -3
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.cjs +8 -3
- package/src/lib/layout/DynamicAuthLayout/WalletProgressStepper/WalletProgressStepper.js +8 -3
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.cjs +10 -2
- package/src/lib/layout/DynamicUserProfileLayout/DynamicUserProfileLayout.js +11 -3
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.cjs +8 -3
- package/src/lib/layouts/BridgeNextWalletToConnectLayout/BridgeNextWalletToConnectLayout.js +8 -3
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +8 -3
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +8 -3
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +8 -3
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +8 -3
- package/src/lib/locale/en/translation.cjs +263 -5
- package/src/lib/locale/en/translation.d.ts +262 -4
- package/src/lib/locale/en/translation.js +263 -5
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.cjs +14 -7
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.d.ts +0 -2
- package/src/lib/modals/DynamicAuthModal/DynamicAuthModal.js +14 -7
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +10 -5
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +10 -5
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +9 -5
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +9 -5
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +10 -5
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +10 -5
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.cjs +10 -5
- package/src/lib/modals/UserFieldEditorModal/UserFieldEditorModal.js +10 -5
- 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/export-private-key.cjs +54 -0
- package/src/lib/shared/assets/export-private-key.js +30 -0
- package/src/lib/shared/assets/export-recovery-phrase.cjs +54 -0
- package/src/lib/shared/assets/export-recovery-phrase.js +30 -0
- package/src/lib/shared/assets/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 +9 -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/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.cjs +1 -1
- package/src/lib/shared/assets/wallets/PhantomLedgerIcon/PhantomLedgerIcon.js +1 -1
- 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 +5 -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/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +6 -7
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +6 -7
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +1 -2
- package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +1 -2
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +4 -2
- package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +5 -3
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs +29 -16
- package/src/lib/shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js +29 -16
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/generateMessages/index.cjs +1 -1
- package/src/lib/utils/functions/generateMessages/index.js +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.cjs +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.d.ts +1 -1
- package/src/lib/utils/functions/getVerifyArgs/getVerifyArgs.js +1 -1
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.cjs +7 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.d.ts +2 -0
- package/src/lib/utils/functions/getWalletIdentifier/getWalletIdentifier.js +3 -0
- package/src/lib/utils/functions/getWalletIdentifier/index.d.ts +1 -0
- package/src/lib/utils/functions/index.d.ts +6 -3
- 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/requiresTwoStepAuthentication/requiresTwoStepAuthentication.cjs +2 -2
- package/src/lib/utils/functions/requiresTwoStepAuthentication/requiresTwoStepAuthentication.js +2 -2
- 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/walletListBuilder.cjs +6 -6
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +7 -7
- 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/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +1 -1
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +1 -1
- package/src/lib/utils/hooks/index.d.ts +2 -1
- 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/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.cjs +1 -1
- package/src/lib/utils/hooks/multiWallet/useVerifyOnAwaitingSignature/useVerifyOnAwaitingSignature.js +1 -1
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +80 -73
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.d.ts +2 -3
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +80 -73
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.cjs +15 -14
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.d.ts +0 -1
- package/src/lib/utils/hooks/useClearWalletConnectSessions/useClearWalletConnectSessions.js +16 -15
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +4 -6
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +2 -2
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +4 -6
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.cjs +3 -3
- package/src/lib/utils/hooks/useConnectedWalletsNetworkValidation/useConnectedWalletsNetworkValidation.js +3 -3
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.cjs +2 -2
- package/src/lib/utils/hooks/useCreateDynamicEmbeddedWalletMutation/useCreateDynamicEmbeddedWalletMutation.js +2 -2
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.cjs +4 -4
- package/src/lib/utils/hooks/useEmailProvider/useEmailProvider.js +4 -4
- 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 +9 -6
- package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +9 -6
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +14 -0
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +15 -1
- 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/useHover/useHover.cjs +9 -3
- package/src/lib/utils/hooks/useHover/useHover.js +9 -3
- package/src/lib/utils/hooks/useHover/useHover.types.d.ts +8 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.cjs +1 -1
- package/src/lib/utils/hooks/useIsLoggedIn/useIsLoggedIn.js +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.cjs +1 -1
- package/src/lib/utils/hooks/useKYCFlag/useKYCFlag.js +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.cjs +1 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.d.ts +3 -1
- package/src/lib/utils/hooks/useKeyboardEventListener/useKeyboardEventListener.js +1 -1
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.cjs +7 -9
- package/src/lib/utils/hooks/usePasskeyRecovery/usePasskeyRecovery.js +7 -9
- 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/useSocialAccounts/useSocialAccounts.cjs +1 -1
- package/src/lib/utils/hooks/useSocialAccounts/useSocialAccounts.js +1 -1
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +2 -2
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +2 -2
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.cjs +8 -5
- package/src/lib/utils/hooks/useUserUpdateRequest/useUpdateUserWithModal/useUpdateUserWithModal.js +8 -5
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +29 -5
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +29 -5
- 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/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyMagicIsSetup/verifyMagicIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectorOptions/utils/verifyZeroDevIsSetup/verifyZeroDevIsSetup.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +9 -5
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +9 -5
- 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/useWalletItemActions/useWalletItemActions.cjs +2 -2
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +2 -2
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +9 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +9 -4
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +9 -5
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +9 -5
- package/src/lib/views/AccountExistsView/AccountExistsView.cjs +7 -3
- package/src/lib/views/AccountExistsView/AccountExistsView.js +7 -3
- 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 +1 -1
- package/src/lib/views/BridgeSummaryView/BridgeSummaryView.js +1 -1
- 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 +10 -5
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +10 -5
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +8 -3
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +8 -3
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +9 -4
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +9 -4
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +11 -5
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +11 -5
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +8 -3
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +8 -3
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +8 -3
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +8 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +8 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.js +8 -3
- package/src/lib/views/EmailVerification/EmailVerification.cjs +10 -5
- package/src/lib/views/EmailVerification/EmailVerification.js +10 -5
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +9 -4
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +9 -4
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +165 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.d.ts +2 -0
- package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +161 -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 +71 -10
- package/src/lib/views/LoginView/LoginView.js +71 -10
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.cjs +14 -11
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.d.ts +0 -1
- package/src/lib/views/LoginView/sections/EmailSignInSection/LoginEmailForm.js +15 -11
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +7 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +7 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +7 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +7 -3
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +1 -1
- package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +1 -1
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.cjs +8 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/ListItemButton/ListItemButton.js +8 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.cjs +8 -3
- package/src/lib/views/LoginView/sections/WalletSignInSection/WalletSignInSection.js +8 -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/LoginView/useLoginView.cjs +1 -1
- package/src/lib/views/LoginView/useLoginView.js +1 -1
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.cjs +10 -5
- package/src/lib/views/MergeUserAccountsView/MergeUserAccountsView.js +10 -5
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +11 -7
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +11 -7
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +11 -9
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +11 -9
- package/src/lib/views/NoAccess/NoAccess.cjs +8 -3
- package/src/lib/views/NoAccess/NoAccess.js +8 -3
- package/src/lib/views/NoAccess/useNoAccessText.cjs +3 -3
- package/src/lib/views/NoAccess/useNoAccessText.js +3 -3
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +14 -5
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +14 -5
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +18 -8
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +18 -8
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.cjs +8 -3
- package/src/lib/views/Passkey/PasskeyDeviceIcon/PasskeyDeviceIcon.js +8 -3
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.cjs +9 -4
- package/src/lib/views/Passkey/PasskeyIntroView/PasskeyIntroView.js +9 -4
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.cjs +9 -4
- package/src/lib/views/Passkey/PasskeyRecovery/BundleValidation/PasskeyBundleRecovery.js +9 -4
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.cjs +12 -7
- package/src/lib/views/Passkey/PasskeyRecovery/CompleteRecovery/PasskeyCompleteRecovery.js +12 -7
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.cjs +12 -7
- package/src/lib/views/Passkey/PasskeyRecovery/InitRecovery/PasskeyInitRecovery.js +12 -7
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.cjs +113 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.d.ts +2 -0
- package/src/lib/views/Passkey/RenamePasskeyView/RenamePasskeyView.js +109 -0
- package/src/lib/views/Passkey/RenamePasskeyView/index.d.ts +1 -0
- package/src/lib/views/Passkey/index.d.ts +1 -0
- 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 +15 -7
- package/src/lib/views/PendingConnectView/PendingConnectView.js +16 -8
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +17 -9
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +18 -10
- package/src/lib/views/QrCodeView/QRCode.cjs +12 -9
- package/src/lib/views/QrCodeView/QRCode.d.ts +2 -1
- package/src/lib/views/QrCodeView/QRCode.js +12 -9
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +18 -10
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.d.ts +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +18 -10
- package/src/lib/views/QrCodeView/QrCodeView.cjs +34 -25
- package/src/lib/views/QrCodeView/QrCodeView.js +35 -26
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +12 -7
- package/src/lib/views/SendBalanceView/SendBalanceView.js +12 -7
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.cjs +9 -4
- package/src/lib/views/SendBalanceView/components/TransactionStage/TransactionStage.js +9 -4
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +7 -3
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +7 -3
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +11 -6
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +11 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +11 -6
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +11 -6
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.cjs +9 -4
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionGas/useTransactionGas.js +9 -4
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.cjs +8 -3
- package/src/lib/views/UserFieldEditorView/UserFieldEditorView.js +8 -3
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.cjs +8 -3
- package/src/lib/views/WalletCannotBeTransferredView/WalletCannotBeTransferredView.js +8 -3
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +77 -2
- package/src/lib/views/WalletGroupView/WalletGroupView.js +78 -3
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +79 -0
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +7 -0
- package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +75 -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 +8 -3
- package/src/lib/views/WalletList/SearchNotFoundMessage/SearchNotFoundMessage.js +8 -3
- package/src/lib/views/WalletList/WalletList.cjs +10 -14
- package/src/lib/views/WalletList/WalletList.js +10 -14
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +8 -3
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +8 -3
- package/src/lib/views/WalletList/data.d.ts +1 -1
- package/src/lib/views/WalletLockedView/WalletLockedView.cjs +11 -5
- package/src/lib/views/WalletLockedView/WalletLockedView.js +12 -6
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +12 -6
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +13 -7
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +13 -8
- package/src/lib/views/WalletUsedView/WalletUsedView.js +13 -8
- package/src/lib/views/viewToComponentMap.cjs +45 -41
- package/src/lib/views/viewToComponentMap.d.ts +2 -3
- package/src/lib/views/viewToComponentMap.js +45 -41
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.cjs +8 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetEmptyCard/DynamicBridgeWidgetEmptyCard.js +8 -3
- 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 +9 -4
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +9 -4
- 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 +8 -1
- package/src/lib/widgets/DynamicEmbeddedWidget/DynamicEmbeddedUserProfile/DynamicEmbeddedUserProfile.js +8 -1
- 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 +8 -3
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +81 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +77 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +72 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +68 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +19 -14
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +20 -15
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +10 -5
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +8 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +7 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +7 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +13 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +13 -5
- 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 +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +9 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +8 -3
- 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 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.cjs +77 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.d.ts +9 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/PromptModal.js +73 -0
- package/src/lib/widgets/DynamicWidget/components/PromptModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/UnknownWalletInformation/UnknownWalletInformation.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +8 -3
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/WalletIconWithStatus/WalletIconWithStatus.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +12 -22
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.d.ts +4 -3
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +12 -22
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +10 -5
- 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/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.cjs +19 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/hooks/useCloseMultiWalletPrompt/useCloseMultiWalletPrompt.js +15 -0
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +71 -21
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +72 -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 +97 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.d.ts +3 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/AwaitingConnectionModal.js +92 -0
- package/src/lib/widgets/DynamicWidget/prompts/AwaitingConnectionModal/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +13 -6
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.d.ts +4 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +14 -8
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +28 -15
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +28 -16
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/PendingAccountSwitchModal.js +9 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +8 -3
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +16 -5
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +17 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +18 -7
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +19 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +10 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +10 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.cjs +68 -9
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/PendingSignModal.js +68 -10
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +22 -5
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.d.ts +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +24 -8
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +9 -4
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +9 -4
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +37 -18
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.d.ts +2 -5
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +36 -18
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/index.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +15 -6
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +15 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +13 -8
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +13 -8
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs +36 -12
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js +36 -12
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +8 -3
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +8 -3
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +100 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +96 -0
- package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/index.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +10 -5
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +10 -5
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +8 -3
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +8 -3
- 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/hooks/useShowPasskeyCreateSuccess/index.d.ts +0 -1
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.cjs +0 -23
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.d.ts +0 -4
- package/src/lib/context/DynamicContext/hooks/useShowPasskeyCreateSuccess/useShowPasskeyCreateSuccess.js +0 -19
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +0 -76
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.d.ts +0 -5
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +0 -72
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +0 -83
- package/src/lib/context/QrCodeContext/QrCodeContext.d.ts +0 -13
- package/src/lib/context/QrCodeContext/QrCodeContext.js +0 -77
- package/src/lib/context/QrCodeContext/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/index.d.ts +0 -1
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.cjs +0 -34
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.d.ts +0 -7
- package/src/lib/utils/hooks/useDefaultQrCode/useDefaultQrCode.js +0 -30
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/index.d.ts +0 -1
- /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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
3
|
import '../../../events/dynamicEvents.js';
|
|
4
4
|
import '@dynamic-labs/utils';
|
|
5
|
-
import
|
|
5
|
+
import '../../../context/DynamicContext/DynamicContext.js';
|
|
6
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
7
7
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
8
8
|
import { useErrorContext } from '../../../context/ErrorContext/ErrorContext.js';
|
|
@@ -44,49 +44,42 @@ import { useAuthLayoutChecks } from '../../../utils/hooks/useAuthLayoutChecks/us
|
|
|
44
44
|
import { Typography } from '../../../components/Typography/Typography.js';
|
|
45
45
|
import { Skeleton } from '../../../components/Skeleton/Skeleton.js';
|
|
46
46
|
import { Tooltip } from '../../../components/Tooltip/Tooltip.js';
|
|
47
|
-
import { useQrCodeContext } from '../../../context/QrCodeContext/QrCodeContext.js';
|
|
48
47
|
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
49
48
|
import '../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
50
|
-
import '
|
|
49
|
+
import 'react-focus-lock';
|
|
51
50
|
import '../../../context/LoadingContext/LoadingContext.js';
|
|
52
51
|
import 'i18next';
|
|
52
|
+
import 'qrcode';
|
|
53
53
|
import '../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
54
54
|
import '../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
55
55
|
import 'formik';
|
|
56
56
|
import { ModalHeader } from '../../../components/ModalHeader/ModalHeader.js';
|
|
57
57
|
import { IconButton } from '../../../components/IconButton/IconButton.js';
|
|
58
58
|
import '../../../components/Alert/Alert.js';
|
|
59
|
+
import '../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
59
60
|
import '@dynamic-labs/viem-utils';
|
|
61
|
+
import '../../../context/PasskeyContext/PasskeyContext.js';
|
|
60
62
|
import '../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
61
63
|
import '../../../components/InlineWidget/InlineWidget.js';
|
|
62
64
|
import '../../../components/MenuList/Dropdown/Dropdown.js';
|
|
63
65
|
import '../../../components/Popper/Popper/Popper.js';
|
|
64
66
|
import '../../../components/Popper/PopperContext/PopperContext.js';
|
|
65
|
-
import '
|
|
67
|
+
import '../../../views/WalletList/WalletList.js';
|
|
68
|
+
import '@hcaptcha/react-hcaptcha';
|
|
69
|
+
import '../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
70
|
+
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
66
71
|
|
|
67
|
-
const Header = ({ onClose: handleClose, heading, projectSettings,
|
|
68
|
-
const { clearStatesOnBackClick, selectedWalletConnector } = useInternalDynamicContext();
|
|
72
|
+
const Header = ({ onClose: handleClose, heading, projectSettings, copykey, }) => {
|
|
69
73
|
const { setError } = useErrorContext();
|
|
70
|
-
const { setShowQrCodeImage } = useQrCodeContext();
|
|
71
74
|
const { isFooterExpanded, setIsFooterExpanded } = useFooterAnimationContext();
|
|
72
75
|
const { goToInitialView } = useViewContext();
|
|
73
|
-
const { showBackButton, showCloseButton,
|
|
76
|
+
const { showBackButton, showCloseButton, showHelpContent, isWalletListTypeView, displayBorderBelowHeader, } = useAuthLayoutChecks();
|
|
74
77
|
const { setExistentAccountData } = useAccountExistsContext();
|
|
75
78
|
const handleBackClick = useCallback(() => {
|
|
76
79
|
goToInitialView();
|
|
77
80
|
setExistentAccountData(undefined);
|
|
78
81
|
setError(undefined);
|
|
79
|
-
|
|
80
|
-
if ((selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name) !== 'Coinbase') {
|
|
81
|
-
clearStatesOnBackClick();
|
|
82
|
-
}
|
|
83
|
-
}, [
|
|
84
|
-
goToInitialView,
|
|
85
|
-
setExistentAccountData,
|
|
86
|
-
setError,
|
|
87
|
-
selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.name,
|
|
88
|
-
clearStatesOnBackClick,
|
|
89
|
-
]);
|
|
82
|
+
}, [goToInitialView, setExistentAccountData, setError]);
|
|
90
83
|
const closeButton = showCloseButton && handleClose && (jsx(IconButton, { onClick: handleClose, type: 'button', id: 'close-button', "data-testid": 'close-button', className: 'header__icon', children: jsx(SvgClose, {}) }));
|
|
91
84
|
const infoButton = showHelpContent && (jsx(Tooltip, { content: 'Need some help?', className: 'header__tooltip', children: jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(!isFooterExpanded), "data-testid": 'info-button', className: 'header__icon', children: isWalletListTypeView ? jsx(SvgQuestionMark, {}) : jsx(SvgFooterInfoIcon, {}) }) }, 'info-button'));
|
|
92
85
|
const leadingButtons = [];
|
|
@@ -97,8 +90,7 @@ const Header = ({ onClose: handleClose, heading, projectSettings, walletConnecto
|
|
|
97
90
|
if (closeButton && infoButton) {
|
|
98
91
|
leadingButtons.push(infoButton);
|
|
99
92
|
}
|
|
100
|
-
|
|
101
|
-
return (jsxs(Fragment, { children: [jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? (jsx(Skeleton, { className: 'header__skeleton' })) : (heading) }) }), showQrCodePreHeader && qrCodePreHeader] }));
|
|
93
|
+
return (jsx(ModalHeader, { leading: leadingButtons, trailing: closeButton || infoButton, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-modal-heading', className: 'header__typography', copykey: copykey, children: !projectSettings ? jsx(Skeleton, { className: 'header__skeleton' }) : heading }) }));
|
|
102
94
|
};
|
|
103
95
|
|
|
104
96
|
export { Header };
|
|
@@ -16,19 +16,19 @@ const HelpContent = () => (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(He
|
|
|
16
16
|
const HelpContentSwitch = () => {
|
|
17
17
|
const { view } = ViewContext.useViewContext();
|
|
18
18
|
const { projectSettings, newToWeb3WalletChainMap, selectedWalletConnector } = useInternalDynamicContext.useInternalDynamicContext();
|
|
19
|
-
const isWalletListTypeView = React.useMemo(() => view === 'wallet-connect-mobile-wallets-list' ||
|
|
20
|
-
view === 'wallet-list' ||
|
|
21
|
-
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
22
|
-
view === 'login-with-wallet-only', [view]);
|
|
23
|
-
const isPendingSignatureTypeView = React.useMemo(() => view === 'pending-signature-without-back-button' ||
|
|
24
|
-
view === 'pending-signature', [view]);
|
|
25
|
-
const isPendingConnectTypeView = React.useMemo(() => view === 'pending-connect' || view === 'qr-code', [view]);
|
|
26
|
-
const isPasskeyIntroView = React.useMemo(() => view === 'passkey-intro', [view]);
|
|
19
|
+
const isWalletListTypeView = React.useMemo(() => view.type === 'wallet-connect-mobile-wallets-list' ||
|
|
20
|
+
view.type === 'wallet-list' ||
|
|
21
|
+
view.type === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
22
|
+
view.type === 'login-with-wallet-only', [view]);
|
|
23
|
+
const isPendingSignatureTypeView = React.useMemo(() => view.type === 'pending-signature-without-back-button' ||
|
|
24
|
+
view.type === 'pending-signature', [view]);
|
|
25
|
+
const isPendingConnectTypeView = React.useMemo(() => view.type === 'pending-connect' || view.type === 'qr-code', [view]);
|
|
26
|
+
const isPasskeyIntroView = React.useMemo(() => view.type === 'passkey-intro', [view]);
|
|
27
27
|
if (isWalletListTypeView) {
|
|
28
28
|
return (jsxRuntime.jsx(WalletListHelpContent.WalletListHelpContent, { chains: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.chains, newToWeb3WalletChainMap: newToWeb3WalletChainMap }));
|
|
29
29
|
}
|
|
30
30
|
if (isPendingSignatureTypeView) {
|
|
31
|
-
return (jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'sign',
|
|
31
|
+
return (jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'sign', walletKey: selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.key }));
|
|
32
32
|
}
|
|
33
33
|
if (isPendingConnectTypeView) {
|
|
34
34
|
return jsxRuntime.jsx(WalletMoreInfoContent.WalletMoreInfoContent, { variant: 'connect' });
|
|
@@ -12,19 +12,19 @@ const HelpContent = () => (jsxs("div", { children: [jsx(HelpHeader, {}), jsx(Hel
|
|
|
12
12
|
const HelpContentSwitch = () => {
|
|
13
13
|
const { view } = useViewContext();
|
|
14
14
|
const { projectSettings, newToWeb3WalletChainMap, selectedWalletConnector } = useInternalDynamicContext();
|
|
15
|
-
const isWalletListTypeView = useMemo(() => view === 'wallet-connect-mobile-wallets-list' ||
|
|
16
|
-
view === 'wallet-list' ||
|
|
17
|
-
view === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
18
|
-
view === 'login-with-wallet-only', [view]);
|
|
19
|
-
const isPendingSignatureTypeView = useMemo(() => view === 'pending-signature-without-back-button' ||
|
|
20
|
-
view === 'pending-signature', [view]);
|
|
21
|
-
const isPendingConnectTypeView = useMemo(() => view === 'pending-connect' || view === 'qr-code', [view]);
|
|
22
|
-
const isPasskeyIntroView = useMemo(() => view === 'passkey-intro', [view]);
|
|
15
|
+
const isWalletListTypeView = useMemo(() => view.type === 'wallet-connect-mobile-wallets-list' ||
|
|
16
|
+
view.type === 'wallet-list' ||
|
|
17
|
+
view.type === 'login-with-email-or-wallet-full-wallet-list' ||
|
|
18
|
+
view.type === 'login-with-wallet-only', [view]);
|
|
19
|
+
const isPendingSignatureTypeView = useMemo(() => view.type === 'pending-signature-without-back-button' ||
|
|
20
|
+
view.type === 'pending-signature', [view]);
|
|
21
|
+
const isPendingConnectTypeView = useMemo(() => view.type === 'pending-connect' || view.type === 'qr-code', [view]);
|
|
22
|
+
const isPasskeyIntroView = useMemo(() => view.type === 'passkey-intro', [view]);
|
|
23
23
|
if (isWalletListTypeView) {
|
|
24
24
|
return (jsx(WalletListHelpContent, { chains: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.chains, newToWeb3WalletChainMap: newToWeb3WalletChainMap }));
|
|
25
25
|
}
|
|
26
26
|
if (isPendingSignatureTypeView) {
|
|
27
|
-
return (jsx(WalletMoreInfoContent, { variant: 'sign',
|
|
27
|
+
return (jsx(WalletMoreInfoContent, { variant: 'sign', walletKey: selectedWalletConnector === null || selectedWalletConnector === void 0 ? void 0 : selectedWalletConnector.key }));
|
|
28
28
|
}
|
|
29
29
|
if (isPendingConnectTypeView) {
|
|
30
30
|
return jsx(WalletMoreInfoContent, { variant: 'connect' });
|
|
@@ -44,32 +44,40 @@ var index = require('../../../../context/FooterAnimationContext/index.cjs');
|
|
|
44
44
|
var useAuthLayoutChecks = require('../../../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs');
|
|
45
45
|
var useDynamicLayoutData = require('../../../../utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs');
|
|
46
46
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
47
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
48
47
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
49
48
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
50
|
-
require('
|
|
49
|
+
require('react-focus-lock');
|
|
51
50
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
52
51
|
require('i18next');
|
|
52
|
+
require('qrcode');
|
|
53
53
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
54
54
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
55
55
|
require('formik');
|
|
56
56
|
var ModalHeader = require('../../../../components/ModalHeader/ModalHeader.cjs');
|
|
57
57
|
var IconButton = require('../../../../components/IconButton/IconButton.cjs');
|
|
58
58
|
require('../../../../components/Alert/Alert.cjs');
|
|
59
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
59
60
|
require('@dynamic-labs/viem-utils');
|
|
61
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
60
62
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
61
63
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
62
64
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
63
65
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
64
66
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
65
|
-
require('
|
|
67
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
|
|
67
72
|
const HelpHeader = () => {
|
|
68
|
-
const { authMode
|
|
73
|
+
const { authMode } = useInternalDynamicContext.useInternalDynamicContext();
|
|
69
74
|
const { setIsFooterExpanded } = index.useFooterAnimationContext();
|
|
70
75
|
const { view } = ViewContext.useViewContext();
|
|
71
|
-
const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({
|
|
72
|
-
|
|
76
|
+
const { helpHeaderData } = useDynamicLayoutData.useDynamicLayoutData({
|
|
77
|
+
authMode,
|
|
78
|
+
view: view.type,
|
|
79
|
+
});
|
|
80
|
+
const { displayBorderBelowHeader } = useAuthLayoutChecks.useAuthLayoutChecks();
|
|
73
81
|
const backButton = (jsxRuntime.jsx(IconButton.IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsxRuntime.jsx(chevronLeft.ReactComponent, { className: 'back-button ' }) }));
|
|
74
82
|
return (jsxRuntime.jsx("div", { className: 'help-header', children: jsxRuntime.jsx(ModalHeader.ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsxRuntime.jsx(Typography.Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
75
83
|
};
|
|
@@ -40,32 +40,40 @@ import { useFooterAnimationContext } from '../../../../context/FooterAnimationCo
|
|
|
40
40
|
import { useAuthLayoutChecks } from '../../../../utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js';
|
|
41
41
|
import { useDynamicLayoutData } from '../../../../utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js';
|
|
42
42
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
43
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
44
43
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
45
44
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
46
|
-
import '
|
|
45
|
+
import 'react-focus-lock';
|
|
47
46
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
48
47
|
import 'i18next';
|
|
48
|
+
import 'qrcode';
|
|
49
49
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
50
50
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
51
51
|
import 'formik';
|
|
52
52
|
import { ModalHeader } from '../../../../components/ModalHeader/ModalHeader.js';
|
|
53
53
|
import { IconButton } from '../../../../components/IconButton/IconButton.js';
|
|
54
54
|
import '../../../../components/Alert/Alert.js';
|
|
55
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
55
56
|
import '@dynamic-labs/viem-utils';
|
|
57
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
56
58
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
57
59
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
58
60
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
59
61
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
60
62
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
61
|
-
import '
|
|
63
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
|
|
63
68
|
const HelpHeader = () => {
|
|
64
|
-
const { authMode
|
|
69
|
+
const { authMode } = useInternalDynamicContext();
|
|
65
70
|
const { setIsFooterExpanded } = useFooterAnimationContext();
|
|
66
71
|
const { view } = useViewContext();
|
|
67
|
-
const { helpHeaderData } = useDynamicLayoutData({
|
|
68
|
-
|
|
72
|
+
const { helpHeaderData } = useDynamicLayoutData({
|
|
73
|
+
authMode,
|
|
74
|
+
view: view.type,
|
|
75
|
+
});
|
|
76
|
+
const { displayBorderBelowHeader } = useAuthLayoutChecks();
|
|
69
77
|
const backButton = (jsx(IconButton, { type: 'button', onClick: () => setIsFooterExpanded(false), "data-testid": 'back-button', className: 'header__icon', children: jsx(SvgChevronLeft, { className: 'back-button ' }) }));
|
|
70
78
|
return (jsx("div", { className: 'help-header', children: jsx(ModalHeader, { trailing: backButton, displayLeading: false, displayBorder: displayBorderBelowHeader, children: jsx(Typography, { as: 'h1', variant: 'title', color: 'primary', "data-testid": 'dynamic-auth-help-heading', className: 'header__typography', copykey: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.copykey, children: helpHeaderData === null || helpHeaderData === void 0 ? void 0 : helpHeaderData.heading }) }) }));
|
|
71
79
|
};
|
package/src/lib/layout/DynamicAuthLayout/HelpContent/PasskeyInfoHelper/PasskeyInfoHelper.cjs
CHANGED
|
@@ -42,27 +42,32 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
42
42
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
43
43
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
44
44
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
45
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
46
45
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
47
46
|
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
48
47
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
49
|
-
require('
|
|
48
|
+
require('react-focus-lock');
|
|
50
49
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
51
50
|
var Icon = require('../../../../components/Icon/Icon.cjs');
|
|
52
51
|
require('i18next');
|
|
52
|
+
require('qrcode');
|
|
53
53
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
54
54
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
55
55
|
require('formik');
|
|
56
56
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
57
57
|
require('../../../../components/Alert/Alert.cjs');
|
|
58
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
58
59
|
require('@dynamic-labs/viem-utils');
|
|
60
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
59
61
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
60
62
|
var EnterTileAnimation = require('../../../../components/EnterTileAnimation/EnterTileAnimation.cjs');
|
|
61
63
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
62
64
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
63
65
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
64
66
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
65
|
-
require('
|
|
67
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
68
|
+
require('@hcaptcha/react-hcaptcha');
|
|
69
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
70
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
66
71
|
|
|
67
72
|
const PasskeyInfoHelper = () => {
|
|
68
73
|
const { t } = reactI18next.useTranslation();
|
|
@@ -38,27 +38,32 @@ import '../../../../components/Transition/OpacityTransition/OpacityTransition.js
|
|
|
38
38
|
import '../../../../components/ShadowDOM/ShadowDOM.js';
|
|
39
39
|
import '../../../../components/OverlayCard/OverlayCard.context.js';
|
|
40
40
|
import '../../../../context/FooterAnimationContext/index.js';
|
|
41
|
-
import '../../../../context/QrCodeContext/QrCodeContext.js';
|
|
42
41
|
import { Typography } from '../../../../components/Typography/Typography.js';
|
|
43
42
|
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
44
43
|
import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
45
|
-
import '
|
|
44
|
+
import 'react-focus-lock';
|
|
46
45
|
import '../../../../context/LoadingContext/LoadingContext.js';
|
|
47
46
|
import { Icon } from '../../../../components/Icon/Icon.js';
|
|
48
47
|
import 'i18next';
|
|
48
|
+
import 'qrcode';
|
|
49
49
|
import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
50
50
|
import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
51
51
|
import 'formik';
|
|
52
52
|
import '../../../../components/IconButton/IconButton.js';
|
|
53
53
|
import '../../../../components/Alert/Alert.js';
|
|
54
|
+
import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
54
55
|
import '@dynamic-labs/viem-utils';
|
|
56
|
+
import '../../../../context/PasskeyContext/PasskeyContext.js';
|
|
55
57
|
import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
56
58
|
import { EnterTileAnimation } from '../../../../components/EnterTileAnimation/EnterTileAnimation.js';
|
|
57
59
|
import '../../../../components/InlineWidget/InlineWidget.js';
|
|
58
60
|
import '../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
59
61
|
import '../../../../components/Popper/Popper/Popper.js';
|
|
60
62
|
import '../../../../components/Popper/PopperContext/PopperContext.js';
|
|
61
|
-
import '
|
|
63
|
+
import '../../../../views/WalletList/WalletList.js';
|
|
64
|
+
import '@hcaptcha/react-hcaptcha';
|
|
65
|
+
import '../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
66
|
+
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
62
67
|
|
|
63
68
|
const PasskeyInfoHelper = () => {
|
|
64
69
|
const { t } = useTranslation();
|
|
@@ -40,25 +40,30 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
40
40
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
41
41
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
42
42
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
43
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
44
43
|
var Typography = require('../../../../../components/Typography/Typography.cjs');
|
|
45
44
|
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
45
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
47
|
-
require('
|
|
46
|
+
require('react-focus-lock');
|
|
48
47
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
49
48
|
require('i18next');
|
|
49
|
+
require('qrcode');
|
|
50
50
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
51
51
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
52
52
|
require('formik');
|
|
53
53
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
54
54
|
require('../../../../../components/Alert/Alert.cjs');
|
|
55
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
55
56
|
require('@dynamic-labs/viem-utils');
|
|
57
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
56
58
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
57
59
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
58
60
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
59
61
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
60
62
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
61
|
-
require('
|
|
63
|
+
require('../../../../../views/WalletList/WalletList.cjs');
|
|
64
|
+
require('@hcaptcha/react-hcaptcha');
|
|
65
|
+
require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
66
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
62
67
|
|
|
63
68
|
const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxRuntime.jsxs("a", { className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank', children: [jsxRuntime.jsx("div", { className: 'footer-buttons-item__icon--left', children: jsxRuntime.jsx(StartIcon, {}) }), jsxRuntime.jsxs("div", { className: 'footer-buttons-item__typography', children: [jsxRuntime.jsx(Typography.Typography, { as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal', children: heading }), message && (jsxRuntime.jsx(Typography.Typography, { as: 'p', weight: 'regular', color: 'secondary', children: message }))] }), EndIcon && jsxRuntime.jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] }));
|
|
64
69
|
|
|
@@ -36,25 +36,30 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
36
36
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
37
37
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
38
38
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
39
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
40
39
|
import { Typography } from '../../../../../components/Typography/Typography.js';
|
|
41
40
|
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
41
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
43
|
-
import '
|
|
42
|
+
import 'react-focus-lock';
|
|
44
43
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
45
44
|
import 'i18next';
|
|
45
|
+
import 'qrcode';
|
|
46
46
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
47
47
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
48
48
|
import 'formik';
|
|
49
49
|
import '../../../../../components/IconButton/IconButton.js';
|
|
50
50
|
import '../../../../../components/Alert/Alert.js';
|
|
51
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
51
52
|
import '@dynamic-labs/viem-utils';
|
|
53
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
52
54
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
53
55
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
54
56
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
55
57
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
56
58
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
57
|
-
import '
|
|
59
|
+
import '../../../../../views/WalletList/WalletList.js';
|
|
60
|
+
import '@hcaptcha/react-hcaptcha';
|
|
61
|
+
import '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
62
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
58
63
|
|
|
59
64
|
const Item = ({ heading, StartIcon, EndIcon, message, url, }) => (jsxs("a", { className: 'footer-buttons-item', href: url, rel: 'noopener noreferrer', target: '_blank', children: [jsx("div", { className: 'footer-buttons-item__icon--left', children: jsx(StartIcon, {}) }), jsxs("div", { className: 'footer-buttons-item__typography', children: [jsx(Typography, { as: 'h2', weight: 'regular', color: 'primary', variant: 'body_normal', children: heading }), message && (jsx(Typography, { as: 'p', weight: 'regular', color: 'secondary', children: message }))] }), EndIcon && jsx(EndIcon, { style: { height: '1.5rem', width: '1.5rem' } })] }));
|
|
60
65
|
|
|
@@ -41,33 +41,39 @@ require('../../../../../components/Transition/OpacityTransition/OpacityTransitio
|
|
|
41
41
|
require('../../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
42
42
|
require('../../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
43
43
|
require('../../../../../context/FooterAnimationContext/index.cjs');
|
|
44
|
-
require('../../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
45
44
|
var Typography = require('../../../../../components/Typography/Typography.cjs');
|
|
46
45
|
var NewToWeb3WalletItem = require('../NewToWeb3WalletItem/NewToWeb3WalletItem.cjs');
|
|
47
46
|
require('../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
48
|
-
require('
|
|
47
|
+
require('react-focus-lock');
|
|
49
48
|
require('../../../../../context/LoadingContext/LoadingContext.cjs');
|
|
50
49
|
require('i18next');
|
|
50
|
+
require('qrcode');
|
|
51
51
|
require('../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
52
52
|
require('../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
53
53
|
require('formik');
|
|
54
54
|
require('../../../../../components/IconButton/IconButton.cjs');
|
|
55
55
|
require('../../../../../components/Alert/Alert.cjs');
|
|
56
|
+
require('../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
56
57
|
require('@dynamic-labs/viem-utils');
|
|
58
|
+
require('../../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
57
59
|
require('../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
58
60
|
require('../../../../../components/InlineWidget/InlineWidget.cjs');
|
|
59
61
|
require('../../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
60
62
|
require('../../../../../components/Popper/Popper/Popper.cjs');
|
|
61
63
|
require('../../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
62
|
-
require('
|
|
64
|
+
require('../../../../../views/WalletList/WalletList.cjs');
|
|
65
|
+
require('@hcaptcha/react-hcaptcha');
|
|
66
|
+
require('../../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
67
|
+
require('../../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
68
|
+
require('../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
63
69
|
|
|
64
70
|
const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
|
|
65
71
|
const showRefreshOnceInstalledWalletButton = Boolean(selectedUrl.length) && !(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser);
|
|
66
72
|
const walletConnectionAfterPageReloadHandler = () => {
|
|
67
|
-
if (!(wallet === null || wallet === void 0 ? void 0 : wallet.
|
|
73
|
+
if (!(wallet === null || wallet === void 0 ? void 0 : wallet.key)) {
|
|
68
74
|
return;
|
|
69
75
|
}
|
|
70
|
-
localStorage.LocalStorage.setToLS(localStorage$1.NEWTOWEB3_WALLET_EXTENSION_FLAG_KEY, wallet.
|
|
76
|
+
localStorage.LocalStorage.setToLS(localStorage$1.NEWTOWEB3_WALLET_EXTENSION_FLAG_KEY, wallet.key);
|
|
71
77
|
window.location.reload();
|
|
72
78
|
};
|
|
73
79
|
return (jsxRuntime.jsxs("div", { className: 'new-to-web3-buttons__container', children: [!utils.isMobile() && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser) && (jsxRuntime.jsx(NewToWeb3WalletItem.NewToWeb3WalletItem, { wallet: wallet, children: jsxRuntime.jsx(Typography.Typography, { as: 'p', "data-testid": 'desktop-interactive-wallet-item', variant: 'body_normal', weight: 'bold', children: "Continue" }) })), showRefreshOnceInstalledWalletButton && (jsxRuntime.jsx("button", { onClick: walletConnectionAfterPageReloadHandler, children: jsxRuntime.jsx(Typography.Typography, { as: 'p', "data-testid": 'refresh-once-installed-button', variant: 'body_normal', weight: 'bold', children: "Continue once installed" }) }))] })), wallet && utils.isMobile() && (jsxRuntime.jsx(NewToWeb3WalletItem.NewToWeb3WalletItem, { wallet: wallet, children: jsxRuntime.jsx("p", { "data-testid": 'mobile-interactive-wallet-item', children: "Continue once installed" }) }))] }));
|
|
@@ -37,33 +37,39 @@ import '../../../../../components/Transition/OpacityTransition/OpacityTransition
|
|
|
37
37
|
import '../../../../../components/ShadowDOM/ShadowDOM.js';
|
|
38
38
|
import '../../../../../components/OverlayCard/OverlayCard.context.js';
|
|
39
39
|
import '../../../../../context/FooterAnimationContext/index.js';
|
|
40
|
-
import '../../../../../context/QrCodeContext/QrCodeContext.js';
|
|
41
40
|
import { Typography } from '../../../../../components/Typography/Typography.js';
|
|
42
41
|
import { NewToWeb3WalletItem } from '../NewToWeb3WalletItem/NewToWeb3WalletItem.js';
|
|
43
42
|
import '../../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
|
|
44
|
-
import '
|
|
43
|
+
import 'react-focus-lock';
|
|
45
44
|
import '../../../../../context/LoadingContext/LoadingContext.js';
|
|
46
45
|
import 'i18next';
|
|
46
|
+
import 'qrcode';
|
|
47
47
|
import '../../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
|
|
48
48
|
import '../../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
|
|
49
49
|
import 'formik';
|
|
50
50
|
import '../../../../../components/IconButton/IconButton.js';
|
|
51
51
|
import '../../../../../components/Alert/Alert.js';
|
|
52
|
+
import '../../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
|
|
52
53
|
import '@dynamic-labs/viem-utils';
|
|
54
|
+
import '../../../../../context/PasskeyContext/PasskeyContext.js';
|
|
53
55
|
import '../../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
|
|
54
56
|
import '../../../../../components/InlineWidget/InlineWidget.js';
|
|
55
57
|
import '../../../../../components/MenuList/Dropdown/Dropdown.js';
|
|
56
58
|
import '../../../../../components/Popper/Popper/Popper.js';
|
|
57
59
|
import '../../../../../components/Popper/PopperContext/PopperContext.js';
|
|
58
|
-
import '
|
|
60
|
+
import '../../../../../views/WalletList/WalletList.js';
|
|
61
|
+
import '@hcaptcha/react-hcaptcha';
|
|
62
|
+
import '../../../../../context/SocialRedirectContext/SocialRedirectContext.js';
|
|
63
|
+
import '../../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
64
|
+
import '../../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
59
65
|
|
|
60
66
|
const WalletExtensionOrAppContinueButton = ({ wallet, selectedUrl, }) => {
|
|
61
67
|
const showRefreshOnceInstalledWalletButton = Boolean(selectedUrl.length) && !(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser);
|
|
62
68
|
const walletConnectionAfterPageReloadHandler = () => {
|
|
63
|
-
if (!(wallet === null || wallet === void 0 ? void 0 : wallet.
|
|
69
|
+
if (!(wallet === null || wallet === void 0 ? void 0 : wallet.key)) {
|
|
64
70
|
return;
|
|
65
71
|
}
|
|
66
|
-
LocalStorage.setToLS(NEWTOWEB3_WALLET_EXTENSION_FLAG_KEY, wallet.
|
|
72
|
+
LocalStorage.setToLS(NEWTOWEB3_WALLET_EXTENSION_FLAG_KEY, wallet.key);
|
|
67
73
|
window.location.reload();
|
|
68
74
|
};
|
|
69
75
|
return (jsxs("div", { className: 'new-to-web3-buttons__container', children: [!isMobile() && (jsxs(Fragment, { children: [(wallet === null || wallet === void 0 ? void 0 : wallet.isInstalledOnBrowser) && (jsx(NewToWeb3WalletItem, { wallet: wallet, children: jsx(Typography, { as: 'p', "data-testid": 'desktop-interactive-wallet-item', variant: 'body_normal', weight: 'bold', children: "Continue" }) })), showRefreshOnceInstalledWalletButton && (jsx("button", { onClick: walletConnectionAfterPageReloadHandler, children: jsx(Typography, { as: 'p', "data-testid": 'refresh-once-installed-button', variant: 'body_normal', weight: 'bold', children: "Continue once installed" }) }))] })), wallet && isMobile() && (jsx(NewToWeb3WalletItem, { wallet: wallet, children: jsx("p", { "data-testid": 'mobile-interactive-wallet-item', children: "Continue once installed" }) }))] }));
|
package/src/lib/layout/DynamicAuthLayout/HelpContent/WalletListHelpContent/WalletListHelpContent.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
|
|
8
7
|
var iconic = require('@dynamic-labs/iconic');
|
|
9
8
|
var walletBook = require('@dynamic-labs/wallet-book');
|
|
10
9
|
var utils = require('@dynamic-labs/utils');
|
|
11
10
|
var useInternalDynamicContext = require('../../../../context/DynamicContext/useInternalDynamicContext.cjs');
|
|
12
11
|
require('@dynamic-labs/sdk-api');
|
|
13
12
|
require('../../../../shared/logger.cjs');
|
|
13
|
+
require('@dynamic-labs/wallet-connector-core');
|
|
14
14
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
15
15
|
var puzzle = require('../../../../shared/assets/puzzle.cjs');
|
|
16
16
|
var index = require('../../../../shared/utils/functions/getValueByKey/index.cjs');
|
|
@@ -44,29 +44,35 @@ require('../../../../components/Transition/OpacityTransition/OpacityTransition.c
|
|
|
44
44
|
require('../../../../components/ShadowDOM/ShadowDOM.cjs');
|
|
45
45
|
require('../../../../components/OverlayCard/OverlayCard.context.cjs');
|
|
46
46
|
require('../../../../context/FooterAnimationContext/index.cjs');
|
|
47
|
-
require('../../../../context/QrCodeContext/QrCodeContext.cjs');
|
|
48
47
|
var Typography = require('../../../../components/Typography/Typography.cjs');
|
|
49
48
|
var Skeleton = require('../../../../components/Skeleton/Skeleton.cjs');
|
|
50
49
|
var NewToWeb3WalletItem = require('./NewToWeb3WalletItem/NewToWeb3WalletItem.cjs');
|
|
51
50
|
var Item = require('./Item/Item.cjs');
|
|
52
51
|
var WalletExtensionOrAppContinueButton = require('./WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs');
|
|
53
52
|
require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
|
|
54
|
-
require('
|
|
53
|
+
require('react-focus-lock');
|
|
55
54
|
require('../../../../context/LoadingContext/LoadingContext.cjs');
|
|
56
55
|
require('i18next');
|
|
56
|
+
require('qrcode');
|
|
57
57
|
require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
|
|
58
58
|
require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
|
|
59
59
|
require('formik');
|
|
60
60
|
require('../../../../components/IconButton/IconButton.cjs');
|
|
61
61
|
require('../../../../components/Alert/Alert.cjs');
|
|
62
|
+
require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
|
|
62
63
|
require('@dynamic-labs/viem-utils');
|
|
64
|
+
require('../../../../context/PasskeyContext/PasskeyContext.cjs');
|
|
63
65
|
require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
|
|
64
66
|
var EnterTileAnimation = require('../../../../components/EnterTileAnimation/EnterTileAnimation.cjs');
|
|
65
67
|
require('../../../../components/InlineWidget/InlineWidget.cjs');
|
|
66
68
|
require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
|
|
67
69
|
require('../../../../components/Popper/Popper/Popper.cjs');
|
|
68
70
|
require('../../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
69
|
-
require('
|
|
71
|
+
require('../../../../views/WalletList/WalletList.cjs');
|
|
72
|
+
require('@hcaptcha/react-hcaptcha');
|
|
73
|
+
require('../../../../context/SocialRedirectContext/SocialRedirectContext.cjs');
|
|
74
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
75
|
+
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
70
76
|
|
|
71
77
|
const WalletListHelpContent = ({ chains, newToWeb3WalletChainMap, }) => {
|
|
72
78
|
var _a, _b;
|
|
@@ -74,10 +80,10 @@ const WalletListHelpContent = ({ chains, newToWeb3WalletChainMap, }) => {
|
|
|
74
80
|
const { walletBook: walletBook$1 } = walletBook.useWalletBookContext();
|
|
75
81
|
const [selectedUrl, setSelectedUrl] = React.useState('');
|
|
76
82
|
const chainName = ((_a = chains === null || chains === void 0 ? void 0 : chains.filter((chain) => Boolean(chain.enabled)).find((enabledChain) => enabledChain.name === newToWeb3WalletChainMap.primary_chain)) === null || _a === void 0 ? void 0 : _a.name) || 'evm';
|
|
77
|
-
const
|
|
78
|
-
const newToWeb3Wallet = walletConnectorOptions.find((wallet) =>
|
|
83
|
+
const walletKey = index.getValueByKey(newToWeb3WalletChainMap === null || newToWeb3WalletChainMap === void 0 ? void 0 : newToWeb3WalletChainMap.wallets, chainName);
|
|
84
|
+
const newToWeb3Wallet = walletConnectorOptions.find((wallet) => wallet.key === walletKey);
|
|
79
85
|
const isCustodialServiceWallet = newToWeb3Wallet === null || newToWeb3Wallet === void 0 ? void 0 : newToWeb3Wallet.walletConnector.canConnectViaCustodialService;
|
|
80
|
-
const links = walletBook.getWalletLinks(walletBook$1,
|
|
86
|
+
const links = walletBook.getWalletLinks(walletBook$1, walletKey);
|
|
81
87
|
const { currentDesktopUrl, canShowAndroidAppButton, canShowIosAppButton } = parseWalletLinks.parseWalletLinks(links);
|
|
82
88
|
const walletLinksElements = [
|
|
83
89
|
{
|
|
@@ -102,7 +108,7 @@ const WalletListHelpContent = ({ chains, newToWeb3WalletChainMap, }) => {
|
|
|
102
108
|
if (!Object.keys((_b = walletBook$1 === null || walletBook$1 === void 0 ? void 0 : walletBook$1.wallets) !== null && _b !== void 0 ? _b : {}).length) {
|
|
103
109
|
return jsxRuntime.jsx(Skeleton.Skeleton, { className: 'walletlist-footer-content__container' });
|
|
104
110
|
}
|
|
105
|
-
return (jsxRuntime.jsx("div", { className: 'walletlist-help-content__container', children: jsxRuntime.jsxs(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: [jsxRuntime.jsx("div", { className: 'walletlist-help-content__icon', children: jsxRuntime.jsx(walletBook.WalletIcon, { walletKey:
|
|
111
|
+
return (jsxRuntime.jsx("div", { className: 'walletlist-help-content__container', children: jsxRuntime.jsxs(EnterTileAnimation.EnterTileAnimation, { delay: '300ms', children: [jsxRuntime.jsx("div", { className: 'walletlist-help-content__icon', children: jsxRuntime.jsx(walletBook.WalletIcon, { walletKey: walletKey, style: { height: pixelToRem.pixelToRem(56), width: pixelToRem.pixelToRem(56) } }) }), jsxRuntime.jsxs("div", { className: 'walletlist-help-content__typography-wrapper', children: [jsxRuntime.jsxs(Typography.Typography, { as: 'p', variant: 'title', weight: 'medium', children: ["We recommend installing", ' ', walletBook.getWalletBookWallet(walletBook$1, walletKey).name] }), jsxRuntime.jsx(Typography.Typography, { as: 'label', variant: 'body_normal', weight: 'regular', color: 'secondary', className: 'walletlist-help-content__typography--label', children: "Select your preferred option below:" })] }), jsxRuntime.jsx("div", { className: 'walletlist-help-content__buttons-wrapper', children: walletLinksElements.map((element, i) => element.isEnabled ? (jsxRuntime.jsx("button", { onClick: () => setSelectedUrl(element.url), children: jsxRuntime.jsx(Item.Item, { StartIcon: element.icon, heading: element.content, url: element.url }) }, i)) : undefined) }), isCustodialServiceWallet && (jsxRuntime.jsxs("div", { className: 'walletlist-help-content__custodial-wallet-area', children: [jsxRuntime.jsx(Typography.Typography, { className: 'walletlist-help-content__custodial-wallet-area--title', as: 'p', color: 'secondary', variant: 'body_normal', weight: 'regular', children: "If you don't want to install a wallet, then use:" }), jsxRuntime.jsx(NewToWeb3WalletItem.NewToWeb3WalletItem, { wallet: newToWeb3Wallet })] })), jsxRuntime.jsx(WalletExtensionOrAppContinueButton.WalletExtensionOrAppContinueButton, { selectedUrl: selectedUrl, wallet: newToWeb3Wallet })] }) }));
|
|
106
112
|
};
|
|
107
113
|
|
|
108
114
|
exports.WalletListHelpContent = WalletListHelpContent;
|