@dynamic-labs/sdk-react-core 0.18.0-RC.3 → 0.18.0-RC.5
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 +27 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/index.cjs +1 -0
- package/src/index.js +1 -0
- package/src/lib/Main.cjs +1 -0
- package/src/lib/Main.js +1 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +1 -0
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +1 -0
- package/src/lib/components/AnimatePresence/AnimatePresence.js +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +1 -0
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +1 -0
- package/src/lib/components/Badge/Badge.cjs +1 -1
- package/src/lib/components/Badge/Badge.js +1 -1
- package/src/lib/components/ChainCard/ChainCard.cjs +11 -0
- package/src/lib/components/ChainCard/ChainCard.d.ts +4 -2
- package/src/lib/components/ChainCard/ChainCard.js +7 -0
- package/src/lib/components/Divider/Divider.cjs +1 -0
- package/src/lib/components/Divider/Divider.js +1 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/Network/Network.js +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +1 -0
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +1 -0
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.cjs +1 -0
- package/src/lib/components/OverlayCard/OverlayCard.js +1 -0
- package/src/lib/components/Portal/Portal.cjs +1 -0
- package/src/lib/components/Portal/Portal.js +1 -0
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +11 -0
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.d.ts +0 -2
- package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +7 -0
- package/src/lib/components/Tooltip/Tooltip.cjs +1 -0
- package/src/lib/components/Tooltip/Tooltip.js +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +1 -0
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +1 -0
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +1 -0
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +1 -0
- package/src/lib/context/DynamicContext/DynamicContext.cjs +2 -1
- package/src/lib/context/DynamicContext/DynamicContext.js +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +1 -0
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +1 -0
- package/src/lib/context/QrCodeContext/QrCodeContext.js +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +1 -0
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +1 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +1 -0
- package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
- package/src/lib/context/WalletGroupContext/WalletGroupContext.cjs +37 -0
- package/src/lib/context/WalletGroupContext/WalletGroupContext.d.ts +9 -0
- package/src/lib/context/WalletGroupContext/WalletGroupContext.js +27 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +1 -0
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +1 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -0
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -0
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +1 -0
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +1 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +1 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +1 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.cjs +1 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.js +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.cjs +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.js +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.cjs +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.js +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +1 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +1 -0
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +1 -0
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +1 -0
- package/src/lib/shared/types/index.d.ts +3 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/walletListBuilder/utils/isWalletGroup/isWalletGroup.d.ts +2 -4
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +1 -0
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +1 -0
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +1 -0
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +1 -0
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +1 -0
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +1 -0
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +1 -0
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +1 -0
- package/src/lib/views/EmailUpdate/EmailUpdate.js +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.cjs +1 -0
- package/src/lib/views/EmailVerification/EmailVerification.js +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +1 -0
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +1 -0
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +1 -2
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +1 -2
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +1 -0
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +1 -0
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +1 -0
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +1 -0
- package/src/lib/views/NoAccess/NoAccess.cjs +1 -0
- package/src/lib/views/NoAccess/NoAccess.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +1 -0
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +1 -0
- package/src/lib/views/PendingConnectView/PendingConnectView.js +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +1 -0
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.cjs +1 -0
- package/src/lib/views/QrCodeView/QrCodeView.js +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +1 -0
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +1 -0
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +1 -0
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +1 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.cjs +21 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.d.ts +2 -0
- package/src/lib/views/WalletGroupView/WalletGroupView.js +17 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +55 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +6 -0
- package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +51 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +1 -0
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +1 -0
- package/src/lib/views/WalletList/WalletList.cjs +1 -2
- package/src/lib/views/WalletList/WalletList.js +1 -2
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +5 -0
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +5 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +1 -0
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +1 -0
- package/src/lib/views/WalletUsedView/WalletUsedView.js +1 -0
- package/src/lib/views/viewToComponentMap.cjs +2 -0
- package/src/lib/views/viewToComponentMap.js +2 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +1 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +3 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +3 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.d.ts +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.types.d.ts +2 -7
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +1 -0
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +1 -0
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +1 -0
- package/src/polyfills.cjs +1 -2
- package/src/polyfills.js +1 -2
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.cjs +0 -12
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.d.ts +0 -1
- package/src/lib/utils/functions/hasWalletGroupFlag/hasWalletGroupFlag.js +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.18.0-RC.5](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.4...v0.18.0-RC.5) (2023-06-20)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* remove process variable declaration ([#2389](https://github.com/dynamic-labs/DynamicAuth/issues/2389)) ([3c05121](https://github.com/dynamic-labs/DynamicAuth/commit/3c05121473850444f2c8393fa6e98e10d58870bc))
|
|
8
|
+
* wallet book singleton class to initalize when walletBook is undefined ([#2392](https://github.com/dynamic-labs/DynamicAuth/issues/2392)) ([7e07137](https://github.com/dynamic-labs/DynamicAuth/commit/7e0713712321439ee48e0c9ec88fef8c9aecd9cf))
|
|
9
|
+
|
|
10
|
+
## [0.18.0-RC.4](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.3...v0.18.0-RC.4) (2023-06-20)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* **DYN-1260:** integrate wallets group view with group logic (#2305)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **DYN-1260:** integrate wallets group view with group logic ([#2305](https://github.com/dynamic-labs/DynamicAuth/issues/2305)) ([d5adb41](https://github.com/dynamic-labs/DynamicAuth/commit/d5adb411f263d1583abe5102e60d02573c6bf416))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **DYN-2507:** too long network name shrinks users avatar ([#2383](https://github.com/dynamic-labs/DynamicAuth/issues/2383)) ([8586c3b](https://github.com/dynamic-labs/DynamicAuth/commit/8586c3be5a499118b7229eb7a3702d3350642107))
|
|
25
|
+
* hide wallet menu items that are not needed ([#2375](https://github.com/dynamic-labs/DynamicAuth/issues/2375)) ([35a6723](https://github.com/dynamic-labs/DynamicAuth/commit/35a67234da47f1a992a94c17e445b1fcba1c700f))
|
|
26
|
+
* use overflow auto to avoid showing the disabled scrollbar on gecko browser ([#2382](https://github.com/dynamic-labs/DynamicAuth/issues/2382)) ([16a7db4](https://github.com/dynamic-labs/DynamicAuth/commit/16a7db49e5b154bc6a4ea263c8a8c8a92cf1d810))
|
|
27
|
+
* use primary color for wallet group item copy ([#2384](https://github.com/dynamic-labs/DynamicAuth/issues/2384)) ([3fe439e](https://github.com/dynamic-labs/DynamicAuth/commit/3fe439ea2a271bc4b24b145db3f70774e221723e))
|
|
28
|
+
|
|
2
29
|
## [0.18.0-RC.3](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.2...v0.18.0-RC.3) (2023-06-16)
|
|
3
30
|
|
|
4
31
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "0.18.0-RC.
|
|
3
|
+
"version": "0.18.0-RC.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"formik": "2.2.9",
|
|
17
17
|
"qrcode": "1.5.1",
|
|
18
18
|
"ethers": "5.7.2",
|
|
19
|
-
"@dynamic-labs/logger": "0.18.0-RC.
|
|
20
|
-
"@dynamic-labs/multi-wallet": "0.18.0-RC.
|
|
21
|
-
"@dynamic-labs/rpc-providers": "0.18.0-RC.
|
|
22
|
-
"@dynamic-labs/types": "0.18.0-RC.
|
|
23
|
-
"@dynamic-labs/utils": "0.18.0-RC.
|
|
24
|
-
"@dynamic-labs/wallet-book": "0.18.0-RC.
|
|
25
|
-
"@dynamic-labs/wallet-connector-core": "0.18.0-RC.
|
|
19
|
+
"@dynamic-labs/logger": "0.18.0-RC.5",
|
|
20
|
+
"@dynamic-labs/multi-wallet": "0.18.0-RC.5",
|
|
21
|
+
"@dynamic-labs/rpc-providers": "0.18.0-RC.5",
|
|
22
|
+
"@dynamic-labs/types": "0.18.0-RC.5",
|
|
23
|
+
"@dynamic-labs/utils": "0.18.0-RC.5",
|
|
24
|
+
"@dynamic-labs/wallet-book": "0.18.0-RC.5",
|
|
25
|
+
"@dynamic-labs/wallet-connector-core": "0.18.0-RC.5"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"semver": "7.3.8"
|
package/src/index.cjs
CHANGED
|
@@ -95,6 +95,7 @@ require('./lib/components/IconButton/IconButton.cjs');
|
|
|
95
95
|
require('@dynamic-labs/wallet-book');
|
|
96
96
|
require('./lib/components/Alert/Alert.cjs');
|
|
97
97
|
var index$3 = require('./lib/utils/functions/walletFilters/index.cjs');
|
|
98
|
+
require('./lib/context/WalletGroupContext/WalletGroupContext.cjs');
|
|
98
99
|
require('./lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
99
100
|
var useWalletItemActions = require('./lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs');
|
|
100
101
|
var useUserUpdateRequest = require('./lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
package/src/index.js
CHANGED
|
@@ -91,6 +91,7 @@ import './lib/components/IconButton/IconButton.js';
|
|
|
91
91
|
import '@dynamic-labs/wallet-book';
|
|
92
92
|
import './lib/components/Alert/Alert.js';
|
|
93
93
|
export { FilterAndSortWallets, FilterWallets, FilterWalletsByChainName, RemoveWallets, SortWallets, UniswapFilter } from './lib/utils/functions/walletFilters/index.js';
|
|
94
|
+
import './lib/context/WalletGroupContext/WalletGroupContext.js';
|
|
94
95
|
import './lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
95
96
|
export { useWalletItemActions } from './lib/utils/hooks/useWalletItemActions/useWalletItemActions.js';
|
|
96
97
|
export { useUserUpdateRequest } from './lib/utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
package/src/lib/Main.cjs
CHANGED
|
@@ -35,6 +35,7 @@ require('./components/Transition/ZoomTransition/ZoomTransition.cjs');
|
|
|
35
35
|
require('./components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
|
|
36
36
|
require('./components/Transition/OpacityTransition/OpacityTransition.cjs');
|
|
37
37
|
require('./components/Alert/Alert.cjs');
|
|
38
|
+
require('./context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('./widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
var useWalletItemActions = require('./utils/hooks/useWalletItemActions/useWalletItemActions.cjs');
|
|
40
41
|
require('./utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
package/src/lib/Main.js
CHANGED
|
@@ -31,6 +31,7 @@ import './components/Transition/ZoomTransition/ZoomTransition.js';
|
|
|
31
31
|
import './components/Transition/SlideInUpTransition/SlideInUpTransition.js';
|
|
32
32
|
import './components/Transition/OpacityTransition/OpacityTransition.js';
|
|
33
33
|
import './components/Alert/Alert.js';
|
|
34
|
+
import './context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import './widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import { useWalletItemActions } from './utils/hooks/useWalletItemActions/useWalletItemActions.js';
|
|
36
37
|
import './utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -36,6 +36,7 @@ require('../../../Popper/Popper/Popper.cjs');
|
|
|
36
36
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
37
37
|
require('formik');
|
|
38
38
|
require('yup');
|
|
39
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
39
40
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
40
41
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -32,6 +32,7 @@ import '../../../Popper/Popper/Popper.js';
|
|
|
32
32
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
33
33
|
import 'formik';
|
|
34
34
|
import 'yup';
|
|
35
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
35
36
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
36
37
|
import '../../../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
var useForceUpdate = require('../../utils/hooks/useForceUpdate/useForceUpdate.cjs');
|
|
40
41
|
require('../../context/MockContext/MockContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import { useForceUpdate } from '../../utils/hooks/useForceUpdate/useForceUpdate.js';
|
|
36
37
|
import '../../context/MockContext/MockContext.js';
|
|
@@ -38,6 +38,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
38
38
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('yup');
|
|
41
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
41
42
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
42
43
|
require('../../context/MockContext/MockContext.cjs');
|
|
43
44
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -34,6 +34,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
34
34
|
import '../Popper/PopperContext/PopperContext.js';
|
|
35
35
|
import 'formik';
|
|
36
36
|
import 'yup';
|
|
37
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
37
38
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
38
39
|
import '../../context/MockContext/MockContext.js';
|
|
39
40
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
7
7
|
|
|
8
|
-
const Badge = ({ className = '', dot, text }) => (jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('badge__container', className) }, { children: [dot && jsxRuntime.jsx("span", { className: 'badge__dot' }), jsxRuntime.jsx("span", { children: text })] })));
|
|
8
|
+
const Badge = ({ className = '', dot, text }) => (jsxRuntime.jsxs("div", Object.assign({ className: classNames.classNames('badge__container', className) }, { children: [dot && jsxRuntime.jsx("span", { "data-testid": 'badge__dot', className: 'badge__dot' }), jsxRuntime.jsx("span", { children: text })] })));
|
|
9
9
|
|
|
10
10
|
exports.Badge = Badge;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
3
3
|
|
|
4
|
-
const Badge = ({ className = '', dot, text }) => (jsxs("div", Object.assign({ className: classNames('badge__container', className) }, { children: [dot && jsx("span", { className: 'badge__dot' }), jsx("span", { children: text })] })));
|
|
4
|
+
const Badge = ({ className = '', dot, text }) => (jsxs("div", Object.assign({ className: classNames('badge__container', className) }, { children: [dot && jsx("span", { "data-testid": 'badge__dot', className: 'badge__dot' }), jsx("span", { children: text })] })));
|
|
5
5
|
|
|
6
6
|
export { Badge };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var Typography = require('../Typography/Typography.cjs');
|
|
7
|
+
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
8
|
+
|
|
9
|
+
const ChainCard = ({ onClick, chainName, startSlot, endSlot, className, }) => (jsxRuntime.jsxs("div", Object.assign({ onClick: onClick, role: 'button', tabIndex: 1, className: classNames.classNames('chain-card', className) }, { children: [startSlot, jsxRuntime.jsx(Typography.Typography, Object.assign({ color: 'primary', variant: 'body_normal', weight: 'medium' }, { children: chainName })), endSlot] })));
|
|
10
|
+
|
|
11
|
+
exports.ChainCard = ChainCard;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
export type ChainCardProps = {
|
|
3
|
-
chainIconUrl: string;
|
|
4
3
|
chainName: string;
|
|
5
4
|
onClick: () => void;
|
|
5
|
+
startSlot?: React.ReactElement;
|
|
6
|
+
endSlot?: React.ReactElement;
|
|
7
|
+
className?: string;
|
|
6
8
|
};
|
|
7
9
|
export declare const ChainCard: FC<ChainCardProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Typography } from '../Typography/Typography.js';
|
|
3
|
+
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
4
|
+
|
|
5
|
+
const ChainCard = ({ onClick, chainName, startSlot, endSlot, className, }) => (jsxs("div", Object.assign({ onClick: onClick, role: 'button', tabIndex: 1, className: classNames('chain-card', className) }, { children: [startSlot, jsx(Typography, Object.assign({ color: 'primary', variant: 'body_normal', weight: 'medium' }, { children: chainName })), endSlot] })));
|
|
6
|
+
|
|
7
|
+
export { ChainCard };
|
|
@@ -32,6 +32,7 @@ require('../../context/ErrorContext/ErrorContext.cjs');
|
|
|
32
32
|
require('../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
33
33
|
require('../IconButton/IconButton.cjs');
|
|
34
34
|
require('../Alert/Alert.cjs');
|
|
35
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
35
36
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
36
37
|
require('../../context/MockContext/MockContext.cjs');
|
|
37
38
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -28,6 +28,7 @@ import '../../context/ErrorContext/ErrorContext.js';
|
|
|
28
28
|
import '../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
29
29
|
import '../IconButton/IconButton.js';
|
|
30
30
|
import '../Alert/Alert.js';
|
|
31
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
31
32
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
32
33
|
import '../../context/MockContext/MockContext.js';
|
|
33
34
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -39,6 +39,7 @@ require('../../../Popper/Popper/Popper.cjs');
|
|
|
39
39
|
require('../../../Popper/PopperContext/PopperContext.cjs');
|
|
40
40
|
require('formik');
|
|
41
41
|
require('yup');
|
|
42
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
42
43
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
43
44
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
44
45
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -35,6 +35,7 @@ import '../../../Popper/Popper/Popper.js';
|
|
|
35
35
|
import '../../../Popper/PopperContext/PopperContext.js';
|
|
36
36
|
import 'formik';
|
|
37
37
|
import 'yup';
|
|
38
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
38
39
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
39
40
|
import '../../../../context/MockContext/MockContext.js';
|
|
40
41
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -34,6 +34,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
34
34
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
35
35
|
require('../../../IconButton/IconButton.cjs');
|
|
36
36
|
require('../../../Alert/Alert.cjs');
|
|
37
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
37
38
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -30,6 +30,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
|
|
|
30
30
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
31
31
|
import '../../../IconButton/IconButton.js';
|
|
32
32
|
import '../../../Alert/Alert.js';
|
|
33
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
33
34
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import '../../../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
35
35
|
require('../../../IconButton/IconButton.cjs');
|
|
36
36
|
var Spinner = require('../../../IconWithSpinner/Spinner/Spinner.cjs');
|
|
37
37
|
require('../../../Alert/Alert.cjs');
|
|
38
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
31
31
|
import '../../../IconButton/IconButton.js';
|
|
32
32
|
import { Spinner } from '../../../IconWithSpinner/Spinner/Spinner.js';
|
|
33
33
|
import '../../../Alert/Alert.js';
|
|
34
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
35
35
|
var useFetchChain = require('../../../../widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.cjs');
|
|
36
36
|
require('../../../IconButton/IconButton.cjs');
|
|
37
37
|
require('../../../Alert/Alert.cjs');
|
|
38
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
31
31
|
import { useFetchChain } from '../../../../widgets/DynamicWidget/hooks/useFetchChain/useFetchChain.js';
|
|
32
32
|
import '../../../IconButton/IconButton.js';
|
|
33
33
|
import '../../../Alert/Alert.js';
|
|
34
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -39,6 +39,7 @@ var IconWithStatus = require('../IconWithStatus/IconWithStatus.cjs');
|
|
|
39
39
|
var PoweredByDynamic = require('../PoweredByDynamic/PoweredByDynamic.cjs');
|
|
40
40
|
var IconWithSpinner = require('../IconWithSpinner/IconWithSpinner.cjs');
|
|
41
41
|
require('../Alert/Alert.cjs');
|
|
42
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
42
43
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
43
44
|
require('../../context/MockContext/MockContext.cjs');
|
|
44
45
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -35,6 +35,7 @@ import { IconWithStatus } from '../IconWithStatus/IconWithStatus.js';
|
|
|
35
35
|
import { PoweredByDynamic } from '../PoweredByDynamic/PoweredByDynamic.js';
|
|
36
36
|
import { IconWithSpinner } from '../IconWithSpinner/IconWithSpinner.js';
|
|
37
37
|
import '../Alert/Alert.js';
|
|
38
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
38
39
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
39
40
|
import '../../context/MockContext/MockContext.js';
|
|
40
41
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -35,6 +35,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../context/MockContext/MockContext.cjs');
|
|
40
41
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -31,6 +31,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
31
31
|
import '../Popper/PopperContext/PopperContext.js';
|
|
32
32
|
import 'formik';
|
|
33
33
|
import 'yup';
|
|
34
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
34
35
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
35
36
|
import '../../context/MockContext/MockContext.js';
|
|
36
37
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -36,6 +36,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
36
36
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
37
37
|
require('formik');
|
|
38
38
|
require('yup');
|
|
39
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
39
40
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
40
41
|
require('../../context/MockContext/MockContext.cjs');
|
|
41
42
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -32,6 +32,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
32
32
|
import '../Popper/PopperContext/PopperContext.js';
|
|
33
33
|
import 'formik';
|
|
34
34
|
import 'yup';
|
|
35
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
35
36
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
36
37
|
import '../../context/MockContext/MockContext.js';
|
|
37
38
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var Typography = require('../Typography/Typography.cjs');
|
|
7
|
+
var IconWithSpinner = require('../IconWithSpinner/IconWithSpinner.cjs');
|
|
8
|
+
|
|
9
|
+
const SelectWalletChainLayout = ({ children, HeaderIcon }) => (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(IconWithSpinner.IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 100, isSpinning: true }), jsxRuntime.jsxs("div", Object.assign({ className: 'select-wallet-chain-layout__body' }, { children: [jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'select-wallet-chain-layout__title', as: 'h6', color: 'primary', variant: 'title' }, { children: "Select Chain" })), jsxRuntime.jsx(Typography.Typography, Object.assign({ className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal' }, { children: "This wallet supports multiple chains, so select your preferred chain to connect with." })), jsxRuntime.jsx("div", Object.assign({ className: 'select-wallet-chain-layout__list' }, { children: children }))] }))] }));
|
|
10
|
+
|
|
11
|
+
exports.SelectWalletChainLayout = SelectWalletChainLayout;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FC, PropsWithChildren, ReactElement } from 'react';
|
|
2
2
|
type SelectWalletChainLayoutProps = {
|
|
3
3
|
HeaderIcon?: ReactElement;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
onBack?: () => void;
|
|
6
4
|
};
|
|
7
5
|
export declare const SelectWalletChainLayout: FC<PropsWithChildren<SelectWalletChainLayoutProps>>;
|
|
8
6
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Typography } from '../Typography/Typography.js';
|
|
3
|
+
import { IconWithSpinner } from '../IconWithSpinner/IconWithSpinner.js';
|
|
4
|
+
|
|
5
|
+
const SelectWalletChainLayout = ({ children, HeaderIcon }) => (jsxs("div", { children: [jsx(IconWithSpinner, { className: 'select-wallet-chain-layout__icon', Icon: HeaderIcon, iconSize: 100, isSpinning: true }), jsxs("div", Object.assign({ className: 'select-wallet-chain-layout__body' }, { children: [jsx(Typography, Object.assign({ className: 'select-wallet-chain-layout__title', as: 'h6', color: 'primary', variant: 'title' }, { children: "Select Chain" })), jsx(Typography, Object.assign({ className: 'select-wallet-chain-layout__text', as: 'p', color: 'secondary', variant: 'body_normal' }, { children: "This wallet supports multiple chains, so select your preferred chain to connect with." })), jsx("div", Object.assign({ className: 'select-wallet-chain-layout__list' }, { children: children }))] }))] }));
|
|
6
|
+
|
|
7
|
+
export { SelectWalletChainLayout };
|
|
@@ -40,6 +40,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
40
40
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
41
41
|
require('formik');
|
|
42
42
|
require('yup');
|
|
43
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
43
44
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
44
45
|
require('../../context/MockContext/MockContext.cjs');
|
|
45
46
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -36,6 +36,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
36
36
|
import '../Popper/PopperContext/PopperContext.js';
|
|
37
37
|
import 'formik';
|
|
38
38
|
import 'yup';
|
|
39
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
39
40
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
40
41
|
import '../../context/MockContext/MockContext.js';
|
|
41
42
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -43,6 +43,7 @@ require('../Popper/Popper/Popper.cjs');
|
|
|
43
43
|
require('../Popper/PopperContext/PopperContext.cjs');
|
|
44
44
|
require('formik');
|
|
45
45
|
require('yup');
|
|
46
|
+
require('../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
46
47
|
require('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
47
48
|
require('../../context/MockContext/MockContext.cjs');
|
|
48
49
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -39,6 +39,7 @@ import '../Popper/Popper/Popper.js';
|
|
|
39
39
|
import '../Popper/PopperContext/PopperContext.js';
|
|
40
40
|
import 'formik';
|
|
41
41
|
import 'yup';
|
|
42
|
+
import '../../context/WalletGroupContext/WalletGroupContext.js';
|
|
42
43
|
import '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
43
44
|
import '../../context/MockContext/MockContext.js';
|
|
44
45
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -38,6 +38,7 @@ require('../../Popper/Popper/Popper.cjs');
|
|
|
38
38
|
require('../../Popper/PopperContext/PopperContext.cjs');
|
|
39
39
|
require('formik');
|
|
40
40
|
require('yup');
|
|
41
|
+
require('../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
41
42
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
42
43
|
require('../../../context/MockContext/MockContext.cjs');
|
|
43
44
|
require('../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -34,6 +34,7 @@ import '../../Popper/Popper/Popper.js';
|
|
|
34
34
|
import '../../Popper/PopperContext/PopperContext.js';
|
|
35
35
|
import 'formik';
|
|
36
36
|
import 'yup';
|
|
37
|
+
import '../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
37
38
|
import '../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
38
39
|
import '../../../context/MockContext/MockContext.js';
|
|
39
40
|
import '../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -31,6 +31,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
31
31
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
32
32
|
require('../../../IconButton/IconButton.cjs');
|
|
33
33
|
require('../../../Alert/Alert.cjs');
|
|
34
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
34
35
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
35
36
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
36
37
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -27,6 +27,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
|
|
|
27
27
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
28
28
|
import '../../../IconButton/IconButton.js';
|
|
29
29
|
import '../../../Alert/Alert.js';
|
|
30
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
30
31
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
31
32
|
import '../../../../context/MockContext/MockContext.js';
|
|
32
33
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
@@ -31,6 +31,7 @@ require('../../../../context/ErrorContext/ErrorContext.cjs');
|
|
|
31
31
|
require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
32
32
|
require('../../../IconButton/IconButton.cjs');
|
|
33
33
|
require('../../../Alert/Alert.cjs');
|
|
34
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
34
35
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
35
36
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
36
37
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
@@ -27,6 +27,7 @@ import '../../../../context/ErrorContext/ErrorContext.js';
|
|
|
27
27
|
import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
28
28
|
import '../../../IconButton/IconButton.js';
|
|
29
29
|
import '../../../Alert/Alert.js';
|
|
30
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
30
31
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
31
32
|
import '../../../../context/MockContext/MockContext.js';
|
|
32
33
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs
CHANGED
|
@@ -36,6 +36,7 @@ require('../../../../context/AccessDeniedContext/AccessDeniedContext.cjs');
|
|
|
36
36
|
require('../../../IconButton/IconButton.cjs');
|
|
37
37
|
var Button = require('../../../Button/Button.cjs');
|
|
38
38
|
require('../../../Alert/Alert.cjs');
|
|
39
|
+
require('../../../../context/WalletGroupContext/WalletGroupContext.cjs');
|
|
39
40
|
var helpers = require('../../../../widgets/DynamicWidget/helpers/helpers.cjs');
|
|
40
41
|
require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
41
42
|
require('../../../../context/MockContext/MockContext.cjs');
|
package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js
CHANGED
|
@@ -32,6 +32,7 @@ import '../../../../context/AccessDeniedContext/AccessDeniedContext.js';
|
|
|
32
32
|
import '../../../IconButton/IconButton.js';
|
|
33
33
|
import { Button } from '../../../Button/Button.js';
|
|
34
34
|
import '../../../Alert/Alert.js';
|
|
35
|
+
import '../../../../context/WalletGroupContext/WalletGroupContext.js';
|
|
35
36
|
import { capitalize } from '../../../../widgets/DynamicWidget/helpers/helpers.js';
|
|
36
37
|
import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
37
38
|
import '../../../../context/MockContext/MockContext.js';
|
|
@@ -78,6 +78,7 @@ require('../../widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/Dyn
|
|
|
78
78
|
var SendBalanceContext = require('../SendBalanceContext/SendBalanceContext.cjs');
|
|
79
79
|
var usePrimaryWalletId = require('../../utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs');
|
|
80
80
|
var MultiWalletStepSelectorModal = require('../../modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.cjs');
|
|
81
|
+
var WalletGroupContext = require('../WalletGroupContext/WalletGroupContext.cjs');
|
|
81
82
|
var helpers = require('./helpers.cjs');
|
|
82
83
|
var validators = require('./validators.cjs');
|
|
83
84
|
var useCustomerCallbacks = require('./useCustomerCallbacks/useCustomerCallbacks.cjs');
|
|
@@ -552,7 +553,7 @@ const DynamicContextProvider = ({ settings: { accessDeniedMessagePrimary, access
|
|
|
552
553
|
setShowDynamicUserProfile(true);
|
|
553
554
|
}
|
|
554
555
|
}, [multiWallet, multiWalletWidgetState, showDynamicUserProfile, user]);
|
|
555
|
-
return (jsxRuntime.jsx(DynamicContext.Provider, Object.assign({ value: value }, { children: jsxRuntime.jsx(walletBook.WalletBookContextProvider, Object.assign({ walletBook: walletBook$1 }, { children: jsxRuntime.jsx(ThemeContext.ThemeContextProvider, Object.assign({ customerTheme: parseTheme.parseTheme(theme, ((_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _e === void 0 ? void 0 : _e.modal) || undefined), designSettings: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design }, { children: jsxRuntime.jsx(LoadingContext.LoadingContextProvider, { children: jsxRuntime.jsx(ViewContext.ViewContextProvider, Object.assign({ initialView: loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list' }, { children: jsxRuntime.jsx(QrCodeContext.QrCodeContextProvider, { children: jsxRuntime.jsx(EmailVerificationContext.EmailVerificationContextProvider, { children: jsxRuntime.jsx(ErrorContext.ErrorContextProvider, { children: jsxRuntime.jsx(DynamicWidgetContext.DynamicWidgetContextProvider, { children: jsxRuntime.jsx(DynamicBridgeWidgetContext.DynamicBridgeWidgetContextProvider, { children: jsxRuntime.jsx(CaptchaContext.CaptchaContextProvider, { children: jsxRuntime.jsx(FundingContext.FundingContextProvider, { children: jsxRuntime.jsx(AccessDeniedContext.AccessDeniedContextProvider, { children: jsxRuntime.
|
|
556
|
+
return (jsxRuntime.jsx(DynamicContext.Provider, Object.assign({ value: value }, { children: jsxRuntime.jsx(walletBook.WalletBookContextProvider, Object.assign({ walletBook: walletBook$1 }, { children: jsxRuntime.jsx(ThemeContext.ThemeContextProvider, Object.assign({ customerTheme: parseTheme.parseTheme(theme, ((_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _e === void 0 ? void 0 : _e.modal) || undefined), designSettings: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design }, { children: jsxRuntime.jsx(LoadingContext.LoadingContextProvider, { children: jsxRuntime.jsx(ViewContext.ViewContextProvider, Object.assign({ initialView: loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list' }, { children: jsxRuntime.jsx(QrCodeContext.QrCodeContextProvider, { children: jsxRuntime.jsx(EmailVerificationContext.EmailVerificationContextProvider, { children: jsxRuntime.jsx(ErrorContext.ErrorContextProvider, { children: jsxRuntime.jsx(DynamicWidgetContext.DynamicWidgetContextProvider, { children: jsxRuntime.jsx(DynamicBridgeWidgetContext.DynamicBridgeWidgetContextProvider, { children: jsxRuntime.jsx(CaptchaContext.CaptchaContextProvider, { children: jsxRuntime.jsx(FundingContext.FundingContextProvider, { children: jsxRuntime.jsx(AccessDeniedContext.AccessDeniedContextProvider, { children: jsxRuntime.jsx(SendBalanceContext.SendBalanceContextProvider, { children: jsxRuntime.jsxs(WalletGroupContext.WalletGroupContextProvider, { children: [jsxRuntime.jsx(app.DynamicAuthFlow, {}), jsxRuntime.jsx(Toolkit.Toolkit, {}), jsxRuntime.jsx(FundingWidget.FundingWidget, {}), jsxRuntime.jsx(MultiWalletStepSelectorModal.MultiWalletStepSelectorModal, {}), confirmationModal, children] }) }) }) }) }) }) }) }) }) }) })) }) })) })) })));
|
|
556
557
|
};
|
|
557
558
|
|
|
558
559
|
exports.DynamicContext = DynamicContext;
|
|
@@ -74,6 +74,7 @@ import '../../widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/Dyna
|
|
|
74
74
|
import { SendBalanceContextProvider } from '../SendBalanceContext/SendBalanceContext.js';
|
|
75
75
|
import { usePrimaryWalletId } from '../../utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js';
|
|
76
76
|
import { MultiWalletStepSelectorModal } from '../../modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.js';
|
|
77
|
+
import { WalletGroupContextProvider } from '../WalletGroupContext/WalletGroupContext.js';
|
|
77
78
|
import { initExpirationTime } from './helpers.js';
|
|
78
79
|
import { validateAuthUser } from './validators.js';
|
|
79
80
|
import { useCustomerCallbacks } from './useCustomerCallbacks/useCustomerCallbacks.js';
|
|
@@ -548,7 +549,7 @@ const DynamicContextProvider = ({ settings: { accessDeniedMessagePrimary, access
|
|
|
548
549
|
setShowDynamicUserProfile(true);
|
|
549
550
|
}
|
|
550
551
|
}, [multiWallet, multiWalletWidgetState, showDynamicUserProfile, user]);
|
|
551
|
-
return (jsx(DynamicContext.Provider, Object.assign({ value: value }, { children: jsx(WalletBookContextProvider, Object.assign({ walletBook: walletBook }, { children: jsx(ThemeContextProvider, Object.assign({ customerTheme: parseTheme(theme, ((_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _e === void 0 ? void 0 : _e.modal) || undefined), designSettings: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design }, { children: jsx(LoadingContextProvider, { children: jsx(ViewContextProvider, Object.assign({ initialView: loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list' }, { children: jsx(QrCodeContextProvider, { children: jsx(EmailVerificationContextProvider, { children: jsx(ErrorContextProvider, { children: jsx(DynamicWidgetContextProvider, { children: jsx(DynamicBridgeWidgetContextProvider, { children: jsx(CaptchaContextProvider, { children: jsx(FundingContextProvider, { children: jsx(AccessDeniedContextProvider, { children:
|
|
552
|
+
return (jsx(DynamicContext.Provider, Object.assign({ value: value }, { children: jsx(WalletBookContextProvider, Object.assign({ walletBook: walletBook }, { children: jsx(ThemeContextProvider, Object.assign({ customerTheme: parseTheme(theme, ((_e = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _e === void 0 ? void 0 : _e.modal) || undefined), designSettings: projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design }, { children: jsx(LoadingContextProvider, { children: jsx(ViewContextProvider, Object.assign({ initialView: loginWithEmail ? 'login-with-email-or-wallet' : 'wallet-list' }, { children: jsx(QrCodeContextProvider, { children: jsx(EmailVerificationContextProvider, { children: jsx(ErrorContextProvider, { children: jsx(DynamicWidgetContextProvider, { children: jsx(DynamicBridgeWidgetContextProvider, { children: jsx(CaptchaContextProvider, { children: jsx(FundingContextProvider, { children: jsx(AccessDeniedContextProvider, { children: jsx(SendBalanceContextProvider, { children: jsxs(WalletGroupContextProvider, { children: [jsx(DynamicAuthFlow, {}), jsx(Toolkit, {}), jsx(FundingWidget, {}), jsx(MultiWalletStepSelectorModal, {}), confirmationModal, children] }) }) }) }) }) }) }) }) }) }) })) }) })) })) })));
|
|
552
553
|
};
|
|
553
554
|
|
|
554
555
|
export { DynamicContext, DynamicContextProvider };
|
package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs
CHANGED
|
@@ -35,6 +35,7 @@ require('../../../components/Popper/Popper/Popper.cjs');
|
|
|
35
35
|
require('../../../components/Popper/PopperContext/PopperContext.cjs');
|
|
36
36
|
require('formik');
|
|
37
37
|
require('yup');
|
|
38
|
+
require('../../WalletGroupContext/WalletGroupContext.cjs');
|
|
38
39
|
require('../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
39
40
|
require('../../MockContext/MockContext.cjs');
|
|
40
41
|
require('../../CaptchaContext/CaptchaContext.cjs');
|