@dynamic-labs/sdk-react-core 0.18.0-RC.1 → 0.18.0-RC.3
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 +35 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/index.cjs +10 -15
- package/src/index.js +3 -5
- package/src/lib/Main.cjs +5 -6
- package/src/lib/Main.js +4 -5
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.cjs +2 -1
- package/src/lib/components/Accordion/components/AccordionItem/AccordionItem.js +2 -1
- package/src/lib/components/Alert/Alert.cjs +1 -1
- package/src/lib/components/Alert/Alert.js +1 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.cjs +2 -1
- package/src/lib/components/AnimatePresence/AnimatePresence.js +2 -1
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.cjs +19 -9
- package/src/lib/components/AuthProviderIcon/AuthProviderIcon.js +19 -9
- package/src/lib/components/Checkbox/Checkbox.cjs +1 -1
- package/src/lib/components/Checkbox/Checkbox.js +1 -1
- package/src/lib/components/Divider/Divider.cjs +2 -1
- package/src/lib/components/Divider/Divider.js +2 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.cjs +3 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.d.ts +9 -1
- package/src/lib/components/DynamicConnectButton/DynamicConnectButton.js +3 -2
- package/src/lib/components/ErrorContainer/ErrorContainer.cjs +1 -1
- package/src/lib/components/ErrorContainer/ErrorContainer.js +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.cjs +1 -1
- package/src/lib/components/IconWithSpinner/IconWithSpinner.js +1 -1
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.cjs +1 -1
- package/src/lib/components/IconWithSpinner/Indicator/Indicator.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/LogoutButton/LogoutButton.cjs +1 -1
- package/src/lib/components/LogoutButton/LogoutButton.js +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -1
- package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -1
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/ActionList/ActionList.js +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/EvmNetworkControl/EvmNetworkControl.js +2 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/Network/Network.js +2 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.cjs +2 -1
- package/src/lib/components/NetworkPicker/components/NonNetworkSwitchingSupportedControl/NonNetworkSwitchingSupportedControl.js +2 -1
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs +1 -1
- package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js +1 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.cjs +2 -1
- package/src/lib/components/OTPVerificationView/OTPVerificationView.js +2 -1
- package/src/lib/components/OptionsSwitcher/OptionsSwitcher.d.ts +6 -6
- package/src/lib/components/OverlayCard/OverlayCard.cjs +2 -1
- package/src/lib/components/OverlayCard/OverlayCard.js +2 -1
- package/src/lib/components/Portal/Portal.cjs +2 -1
- package/src/lib/components/Portal/Portal.js +2 -1
- package/src/lib/components/Search/Search.cjs +1 -1
- package/src/lib/components/Search/Search.js +1 -1
- package/src/lib/components/Select/Select.cjs +1 -1
- package/src/lib/components/Select/Select.js +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/SendBalancePageLayout.js +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.cjs +1 -1
- package/src/lib/components/SendBalancePageLayout/components/TokenBalanceCard/TokenBalanceCard.js +1 -1
- package/src/lib/components/ShadowDOM/utils.cjs +1 -1
- package/src/lib/components/ShadowDOM/utils.js +1 -1
- package/src/lib/components/Spinner/spinner.cjs +1 -1
- package/src/lib/components/Spinner/spinner.js +1 -1
- package/src/lib/components/Step/Step.cjs +14 -0
- package/src/lib/components/Step/Step.js +10 -0
- package/src/lib/components/Stepper/Stepper.cjs +14 -0
- package/src/lib/components/Stepper/Stepper.js +10 -0
- package/src/lib/components/Toolkit/Toolkit.cjs +1 -1
- package/src/lib/components/Toolkit/Toolkit.js +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.cjs +1 -1
- package/src/lib/components/Toolkit/components/LoginWithEmailViewDisplayPriorityOrderSwitch.js +1 -1
- package/src/lib/components/Tooltip/Tooltip.cjs +2 -1
- package/src/lib/components/Tooltip/Tooltip.js +2 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.cjs +1 -1
- package/src/lib/components/TransactionConfirmationPageLayout/TransactionConfirmationPageLayout.js +1 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.cjs +2 -1
- package/src/lib/components/TransactionStatusLayout/TransactionStatusLayout.js +2 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.cjs +2 -1
- package/src/lib/components/Transition/VerticalDrawerTransition/VerticalDrawerTransition.js +2 -1
- package/src/lib/components/UserAddress/UserAddress.cjs +1 -1
- package/src/lib/components/UserAddress/UserAddress.js +1 -1
- package/src/lib/components/UserProfile/UserProfile.cjs +1 -1
- package/src/lib/components/UserProfile/UserProfile.js +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.cjs +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/UserProfileField.js +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js +1 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.cjs +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileSection/UserProfileSection.js +2 -1
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.cjs +3 -2
- package/src/lib/components/UserProfile/parts/UserProfileSocialAccount/UserProfileSocialAccount.js +3 -2
- package/src/lib/components/UserProfileForm/UserProfileForm.cjs +43 -0
- package/src/lib/components/UserProfileForm/UserProfileForm.d.ts +11 -0
- package/src/lib/components/UserProfileForm/UserProfileForm.js +39 -0
- package/src/lib/components/index.d.ts +0 -2
- package/src/lib/context/DynamicContext/DynamicContext.cjs +80 -38
- package/src/lib/context/DynamicContext/DynamicContext.d.ts +15 -3
- package/src/lib/context/DynamicContext/DynamicContext.js +77 -35
- package/src/lib/context/DynamicContext/helpers.cjs +3 -4
- package/src/lib/context/DynamicContext/helpers.js +2 -3
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useDisplayOrderState/useDisplayOrderState.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.cjs +1 -1
- package/src/lib/context/DynamicContext/hooks/useEmailLoginState/useEmailLoginState.js +1 -1
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.cjs +2 -2
- package/src/lib/context/DynamicContext/hooks/useNameService/useNameService.js +2 -2
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.cjs +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerAuthFlowCallbacks.js +2 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.cjs +1 -1
- package/src/lib/context/DynamicContext/useCustomerCallbacks/useCustomerCallbacks.js +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext.cjs +5 -1
- package/src/lib/context/DynamicContext/useDynamicContext.d.ts +1 -1
- package/src/lib/context/DynamicContext/useDynamicContext.js +5 -1
- package/src/lib/context/DynamicContext/validators.cjs +1 -1
- package/src/lib/context/DynamicContext/validators.js +1 -1
- package/src/lib/context/MockContext/MockContext.cjs +1 -1
- package/src/lib/context/MockContext/MockContext.js +1 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.cjs +2 -1
- package/src/lib/context/QrCodeContext/QrCodeContext.js +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.cjs +2 -1
- package/src/lib/context/SendBalanceContext/SendBalanceContext.js +2 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +2 -1
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +2 -1
- package/src/lib/context/ThemeContext/themesData.cjs +1 -1
- package/src/lib/context/ThemeContext/themesData.js +1 -1
- package/src/lib/data/api.cjs +1 -1
- package/src/lib/data/api.js +1 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/DynamicAuthLayout.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/Footer/Footer.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/Item/Item.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.cjs +4 -4
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletExtensionOrAppContinueButton/WalletExtensionOrAppContinueButton.js +3 -3
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.cjs +10 -4
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletListFooterContent/WalletListFooterContent.js +11 -5
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/FooterContent/WalletMoreInfoContent/WalletMoreInfoContent.js +2 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.cjs +2 -1
- package/src/lib/layout/DynamicAuthLayout/Header/header.js +2 -1
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.cjs +53 -0
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.d.ts +6 -2
- package/src/lib/layouts/BridgeWelcomeLayout/BridgeWelcomeLayout.js +49 -0
- package/src/lib/layouts/BridgeWelcomeLayout/index.d.ts +1 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.cjs +53 -0
- package/src/lib/layouts/ConnectedWalletsListLayout/ConnectedWalletsListLayout.js +49 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.cjs +52 -0
- package/src/lib/layouts/SelectWalletListLayout/SelectWalletListLayout.js +48 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.cjs +77 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.d.ts +2 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/MultiWalletStepSelectorModal.js +73 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/index.d.ts +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.cjs +61 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.d.ts +6 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/ResumeView.js +57 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/ResumeView/index.d.ts +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.cjs +89 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.d.ts +8 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/SelectWalletView.js +85 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/SelectWalletView/index.d.ts +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.cjs +71 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.d.ts +7 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/WelcomeView.js +67 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/WelcomeView/index.d.ts +1 -0
- package/src/lib/modals/MultiWalletStepSelectorModal/views/index.d.ts +3 -0
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.cjs +2 -1
- package/src/lib/modals/SendBalanceModal/SendBalanceModal.js +2 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.cjs +2 -1
- package/src/lib/modals/SignMessageConfirmationModal/SignMessageConfirmationModal.js +2 -1
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.cjs +2 -1
- package/src/lib/modals/TransactionConfirmationModal/TransactionConfirmationModal.js +2 -1
- package/src/lib/modals/index.d.ts +1 -0
- package/src/lib/shared/utils/classes/index.d.ts +1 -0
- package/src/lib/shared/utils/classes/storage/localStorage.cjs +68 -0
- package/src/lib/shared/utils/classes/storage/localStorage.d.ts +11 -0
- package/src/lib/shared/utils/classes/storage/localStorage.js +63 -0
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.cjs +3 -4
- package/src/lib/shared/utils/functions/getWalletListItemLabel/getWalletListItemLabel.js +2 -3
- package/src/lib/shared/utils/functions/index.d.ts +0 -1
- package/src/lib/shared/utils/functions/wallet/createWallet.cjs +2 -2
- package/src/lib/shared/utils/functions/wallet/createWallet.d.ts +2 -1
- package/src/lib/shared/utils/functions/wallet/createWallet.js +2 -2
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +6 -1
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.d.ts +3 -1
- package/src/lib/shared/utils/hooks/useGlobalLoading/useGlobalLoading.js +6 -1
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.cjs +6 -18
- package/src/lib/shared/utils/hooks/useLocalStorage/useLocalStorage.js +6 -18
- package/src/lib/shared/utils/index.d.ts +1 -0
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/constants/localStorage.cjs +2 -2
- package/src/lib/utils/constants/localStorage.d.ts +1 -1
- package/src/lib/utils/constants/localStorage.js +2 -2
- package/src/lib/utils/functions/getAuthToken/getAuthToken.cjs +3 -5
- package/src/lib/utils/functions/getAuthToken/getAuthToken.d.ts +1 -1
- package/src/lib/utils/functions/getAuthToken/getAuthToken.js +3 -5
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.cjs +1 -1
- package/src/lib/utils/functions/getDynamicLayoutData/getDynamicLayoutData.js +1 -1
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.cjs +2 -2
- package/src/lib/utils/functions/getReferencedAccount/getReferencedAccount.js +2 -2
- package/src/lib/utils/functions/groupBy/groupBy.cjs +30 -0
- package/src/lib/utils/functions/groupBy/groupBy.d.ts +12 -0
- package/src/lib/utils/functions/groupBy/groupBy.js +26 -0
- package/src/lib/utils/functions/groupBy/index.d.ts +1 -0
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.cjs +2 -2
- package/src/lib/utils/functions/handleUnlinkHelper/handleUnlinkHelper.js +2 -2
- package/src/lib/utils/functions/index.d.ts +1 -0
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.cjs +1 -1
- package/src/lib/utils/functions/parseWalletLinks/parseWalletLinks.js +1 -1
- package/src/lib/utils/functions/storeAuthToken/index.cjs +3 -4
- package/src/lib/utils/functions/storeAuthToken/index.js +2 -3
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.cjs +2 -2
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.d.ts +2 -1
- package/src/lib/utils/functions/walletListBuilder/utils/groupWalletOptions/groupWalletOptions.js +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +2 -2
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +3 -1
- package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +2 -2
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +9 -8
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +8 -7
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +9 -8
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +8 -7
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.cjs +2 -2
- package/src/lib/utils/hooks/authenticationHooks/useEmailVerificationRequest/useEmailVerificationRequest.js +2 -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/useAuthenticateConnectedUser/useAuthenticateConnectedUser.cjs +1 -1
- package/src/lib/utils/hooks/useAuthenticateConnectedUser/useAuthenticateConnectedUser.js +1 -1
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +58 -25
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.d.ts +6 -5
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +60 -27
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.cjs +1 -1
- package/src/lib/utils/hooks/useConnectWithEmail/useConnectWithEmail.js +1 -1
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.cjs +4 -4
- package/src/lib/utils/hooks/useCreateUserProfileByJWTCallback/useCreateUserProfileByJWTCallback.js +4 -4
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.cjs +3 -4
- package/src/lib/utils/hooks/useFetchNetworkConfigurations/useFetchNetworkConfigurations.js +4 -5
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.cjs +1 -1
- package/src/lib/utils/hooks/useFetchNonce/useFetchNonce.js +1 -1
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.cjs +2 -3
- package/src/lib/utils/hooks/useFetchProjectSettings/useFetchProjectSettings.js +3 -4
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.cjs +1 -1
- package/src/lib/utils/hooks/useFetchWalletsForChainsMap/useFetchWalletsForChainsMap.js +1 -1
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.cjs +3 -4
- package/src/lib/utils/hooks/useHandleUnlinkWallet/useHandleUnlinkWallet.js +2 -3
- package/src/lib/utils/hooks/useHandleWalletsToConnect/index.d.ts +1 -0
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.cjs +35 -0
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.d.ts +3 -0
- package/src/lib/utils/hooks/useHandleWalletsToConnect/useHandleWalletsToConnect.js +31 -0
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.cjs +1 -1
- package/src/lib/utils/hooks/useMultiWalletFlag/useMultiWalletFlag.js +1 -1
- package/src/lib/utils/hooks/usePrimaryWalletId/index.d.ts +1 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.cjs +35 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.d.ts +5 -0
- package/src/lib/utils/hooks/usePrimaryWalletId/usePrimaryWalletId.js +31 -0
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.cjs +1 -1
- package/src/lib/utils/hooks/useRpcProviders/useRpcProviders.js +1 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.cjs +1 -1
- package/src/lib/utils/hooks/useUserDataForm/useUserDataForm.js +1 -1
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +5 -6
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +5 -6
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.cjs +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/reconnectSocialWallet.js +1 -1
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.cjs +6 -15
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.d.ts +6 -5
- package/src/lib/utils/hooks/useWalletConnectors/useWalletConnectors.js +6 -15
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.cjs +2 -2
- package/src/lib/utils/hooks/useWalletConnectors/utils/createLinkedWalletsFromWalletOptions/createLinkedWalletsFromWalletOptions.js +2 -2
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +1 -1
- package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.cjs +1 -1
- package/src/lib/utils/hooks/useWalletItemActions/useWalletItemActions.js +1 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.cjs +2 -1
- package/src/lib/utils/hooks/useWalletUiUtils/useWalletUiUtils.js +2 -1
- package/src/lib/utils/hooks/useWallets/useWallets.cjs +5 -2
- package/src/lib/utils/hooks/useWallets/useWallets.d.ts +3 -1
- package/src/lib/utils/hooks/useWallets/useWallets.js +5 -2
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.cjs +1 -1
- package/src/lib/utils/hooks/useWalletsConnectionState/useWalletsConnectionState.js +1 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.cjs +2 -1
- package/src/lib/views/CaptchaVerifyUser/CaptchaVerifyUser.js +2 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.cjs +2 -1
- package/src/lib/views/CollectUserDataView/CollectUserDataView.js +2 -1
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +3 -2
- package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +3 -2
- package/src/lib/views/CollectUserDataView/UserDataFields/index.cjs +2 -1
- package/src/lib/views/CollectUserDataView/UserDataFields/index.js +2 -1
- package/src/lib/views/CollectUserDataView/fieldsConfig.cjs +1 -1
- package/src/lib/views/CollectUserDataView/fieldsConfig.js +1 -1
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.cjs +2 -1
- package/src/lib/views/CollectUserDataViewLoginWithEmail/CollectUserDataViewLoginWithEmail.js +2 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.cjs +2 -1
- package/src/lib/views/EmailConfirmationWaitingView/EmailConfirmationWaitingView.js +2 -1
- package/src/lib/views/EmailUpdate/EmailUpdate.cjs +4 -3
- package/src/lib/views/EmailUpdate/EmailUpdate.js +4 -3
- package/src/lib/views/EmailVerification/EmailVerification.cjs +9 -7
- package/src/lib/views/EmailVerification/EmailVerification.js +9 -7
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.cjs +2 -1
- package/src/lib/views/EmailWalletOTPVerificationView/EmailWalletOTPVerificationView.js +2 -1
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.cjs +6 -5
- package/src/lib/views/LoginWithEmailView/LoginWithEmailView.js +5 -4
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.cjs +3 -2
- package/src/lib/views/LoginWithEmailView/components/ListItemButton/ListItemButton.js +3 -2
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.cjs +2 -1
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailForm/LoginWithEmailForm.js +2 -1
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.cjs +3 -4
- package/src/lib/views/LoginWithEmailView/components/LoginWithEmailWalletList/LoginWithEmailWalletList.js +2 -3
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.cjs +2 -1
- package/src/lib/views/LoginWithEmailView/components/SocialSignIn/SocialSignIn.js +2 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +2 -1
- package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +2 -1
- package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +2 -1
- package/src/lib/views/NoAccess/NoAccess.cjs +3 -2
- package/src/lib/views/NoAccess/NoAccess.js +3 -2
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.cjs +5 -3
- package/src/lib/views/NoQrNotInstalledView/NoQrNotInstalledView.js +6 -4
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.cjs +2 -1
- package/src/lib/views/NoQrNotInstalledView/WalletHelpLink.js +2 -1
- package/src/lib/views/PendingConnectView/PendingConnectView.cjs +2 -1
- package/src/lib/views/PendingConnectView/PendingConnectView.js +2 -1
- package/src/lib/views/PendingSignatureView/PendingSignatureView.cjs +2 -1
- package/src/lib/views/PendingSignatureView/PendingSignatureView.js +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.cjs +2 -1
- package/src/lib/views/QrCodeView/QrCodeContainer/QrCodeContainer.js +2 -1
- package/src/lib/views/QrCodeView/QrCodeView.cjs +4 -2
- package/src/lib/views/QrCodeView/QrCodeView.js +5 -3
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +2 -1
- package/src/lib/views/SendBalanceView/SendBalanceView.js +2 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.cjs +2 -1
- package/src/lib/views/SocialRedirectView/SocialRedirectView.js +2 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.cjs +2 -1
- package/src/lib/views/SocialWrongAccountView/SocialWrongAccountView.js +2 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/TransactionConfirmationView.js +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.cjs +2 -1
- package/src/lib/views/TransactionConfirmationView/hooks/useTransactionData/useTransactionData.js +2 -1
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.cjs +2 -1
- package/src/lib/views/WalletList/SearchInstead/SearchInstead.js +2 -1
- package/src/lib/views/WalletList/WalletList.cjs +24 -20
- package/src/lib/views/WalletList/WalletList.js +23 -19
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.cjs +8 -6
- package/src/lib/views/WalletList/WalletListItem/WalletListItem.js +9 -7
- package/src/lib/views/WalletList/data.cjs +2 -2
- package/src/lib/views/WalletList/data.js +2 -2
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.cjs +4 -3
- package/src/lib/views/WalletSignSpinnerView/WalletSignSpinnerView.js +4 -3
- package/src/lib/views/WalletUsedView/WalletUsedView.cjs +5 -4
- package/src/lib/views/WalletUsedView/WalletUsedView.js +5 -4
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.cjs +25 -5
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.d.ts +5 -2
- package/src/lib/widgets/DynamicBridgeWidget/DynamicBridgeWidget.js +25 -5
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.cjs +51 -3
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.d.ts +1 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeUserProfile/DynamicBridgeUserProfile.js +52 -4
- package/src/lib/widgets/{DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.cjs → DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.cjs} +14 -19
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.d.ts +7 -0
- package/src/lib/widgets/{DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.js → DynamicBridgeWidget/components/DynamicBridgeWalletCard/DynamicBridgeWalletCard.js} +11 -20
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.cjs +51 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.d.ts +9 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWalletCardBody/DynamicBridgeWalletCardBody.js +47 -0
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.cjs +44 -1
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.d.ts +10 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetNav/DynamicBridgeWidgetNav.js +41 -2
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.cjs +6 -11
- package/src/lib/widgets/DynamicBridgeWidget/components/DynamicBridgeWidgetViews/DynamicBridgeWidgetViews.js +3 -4
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.cjs +5 -4
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.d.ts +2 -2
- package/src/lib/widgets/DynamicBridgeWidget/context/DynamicBridgeWidgetContext/DynamicBridgeWidgetContext.js +6 -5
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.cjs +24 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/EditProfileView/EditProfileView.js +24 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.cjs +24 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/ProfileView/ProfileView.js +25 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.cjs +50 -1
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/WalletsView.js +51 -2
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs +43 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.d.ts +7 -0
- package/src/lib/widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js +34 -0
- package/src/lib/widgets/DynamicWidget/DynamicWidget.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/DynamicWidget.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/AccountControl/AccountControl.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/Balance/Balance.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenu/DotsMenu.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DotsMenuDropdown/DotsMenuDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicNav/DynamicNav.js +1 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicUserProfile/DynamicUserProfile.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs +16 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js +16 -5
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.cjs +6 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetWalletHeader/DynamicWidgetWalletHeader.js +6 -4
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetDropdown/DynamicWidgetDropdown.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetVariants/variants/DynamicWidgetModal/DynamicWidgetModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +3 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +3 -3
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetWallets/DynamicWidgetWallets.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailConnectorPendingSignModalContent/EmailConnectorPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmailOTPConnectorPendingSignModalContent/EmailOTPConnectorPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/components/EmptyWallets/EmptyWallets.js +2 -1
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/SingleWalletButtons/SingleWalletButtons.js +3 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/components/Wallet/Wallet.js +3 -2
- 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 +2 -1
- package/src/lib/widgets/DynamicWidget/components/WidgetPortal/WidgetPortal.js +2 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +4 -3
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.d.ts +1 -1
- package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +4 -3
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/hooks/useFetchBalance/useFetchBalance.js +1 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DefaultPromptModal/DefaultPromptModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/DetectedNewWalletModal/DetectedNewWalletModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.cjs +5 -3
- package/src/lib/widgets/DynamicWidget/prompts/NoQrNotInstalledModalView/NoQrNotInstalledModalView.js +6 -4
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchAccountView/SwitchAccountView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchModal/SwitchOrUseActiveAccountView/SwitchOrUseActiveAccountView.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingAccountSwitchToLinkModal/PendingAccountSwitchToLinkModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.cjs +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingConnectionModal/PendingConnectionModal.js +3 -2
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PendingSignModal/DefaultPendingSignModalContent/DefaultPendingSignModalContent.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/PrimaryNotConnectedModal/PrimaryNotConnectedModal.js +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.cjs +5 -2
- package/src/lib/widgets/DynamicWidget/prompts/QrCodeModalView/QrCodeModalView.js +6 -3
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/prompts/UnlinkWalletPopUp/UnlinkWalletPopUp.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.cjs +6 -21
- package/src/lib/widgets/DynamicWidget/views/EditProfileView/EditProfileView.js +6 -21
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.cjs +2 -1
- package/src/lib/widgets/DynamicWidget/views/ProfileView/ProfileView.js +2 -1
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.cjs +1 -1
- package/src/lib/widgets/DynamicWidget/views/SendBalanceWidgetView/SendBalanceWidgetView.js +1 -1
- package/src/lib/widgets/DynamicWidget/views/{IndexView/IndexView.cjs → WalletsView/WalletsView.cjs} +4 -3
- package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.d.ts +2 -0
- package/src/lib/widgets/DynamicWidget/views/{IndexView/IndexView.js → WalletsView/WalletsView.js} +4 -3
- package/src/lib/widgets/DynamicWidget/views/index.d.ts +1 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.cjs +2 -1
- package/src/lib/widgets/FundingWidget/views/FundWalletView/FundWalletView.js +2 -1
- package/src/lib/components/ChainWalletsList/ChainWalletsList.d.ts +0 -7
- package/src/lib/components/ChainWalletsList/index.d.ts +0 -1
- package/src/lib/components/WalletInfoCard/WalletInfoCard.d.ts +0 -8
- package/src/lib/components/WalletInfoCard/index.d.ts +0 -1
- package/src/lib/config/LSSuffix.cjs +0 -24
- package/src/lib/config/LSSuffix.d.ts +0 -7
- package/src/lib/config/LSSuffix.js +0 -22
- package/src/lib/shared/utils/functions/storage/getDynamicLSKey.cjs +0 -9
- package/src/lib/shared/utils/functions/storage/getDynamicLSKey.d.ts +0 -1
- package/src/lib/shared/utils/functions/storage/getDynamicLSKey.js +0 -5
- package/src/lib/shared/utils/functions/storage/getFromLS.cjs +0 -25
- package/src/lib/shared/utils/functions/storage/getFromLS.d.ts +0 -1
- package/src/lib/shared/utils/functions/storage/getFromLS.js +0 -21
- package/src/lib/shared/utils/functions/storage/index.d.ts +0 -4
- package/src/lib/shared/utils/functions/storage/removeFromLS.cjs +0 -15
- package/src/lib/shared/utils/functions/storage/removeFromLS.d.ts +0 -1
- package/src/lib/shared/utils/functions/storage/removeFromLS.js +0 -11
- package/src/lib/shared/utils/functions/storage/setToLS.cjs +0 -15
- package/src/lib/shared/utils/functions/storage/setToLS.d.ts +0 -1
- package/src/lib/shared/utils/functions/storage/setToLS.js +0 -11
- package/src/lib/widgets/DynamicWidget/components/DynamicWidgetSwitcher/DynamicWidgetSwitcher.d.ts +0 -5
- package/src/lib/widgets/DynamicWidget/views/IndexView/IndexView.d.ts +0 -2
|
@@ -3,13 +3,13 @@ import 'react';
|
|
|
3
3
|
import { Typography } from '../Typography/Typography.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import '../../shared/logger.js';
|
|
6
|
-
import '../../config/LSSuffix.js';
|
|
7
6
|
import '@dynamic-labs/iconic';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '../../context/ViewContext/ViewContext.js';
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../utils/constants/colors.js';
|
|
12
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../shared/consts/index.js';
|
|
15
15
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
@@ -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 '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
31
32
|
import '../../context/MockContext/MockContext.js';
|
|
32
33
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
33
34
|
import '../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -10,6 +10,7 @@ var ViewContext = require('../../context/ViewContext/ViewContext.cjs');
|
|
|
10
10
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
11
11
|
var Button = require('../Button/Button.cjs');
|
|
12
12
|
|
|
13
|
+
const ConnectButton = ({ buttonClassName, buttonContainerClassName, onClick, isActive, isLoading, children, }) => (jsxRuntime.jsx("div", Object.assign({ className: buttonContainerClassName }, { children: jsxRuntime.jsx(Button.Button, Object.assign({ dataTestId: 'ConnectButton', onClick: onClick, buttonClassName: classNames.classNames('dynamic-connect-button', buttonClassName), loading: isLoading && isActive, disabled: isLoading && isActive, buttonVariant: 'primary', buttonPadding: 'large', buttonRounded: 'default' }, { children: children })) })));
|
|
13
14
|
const DynamicConnectButton = ({ buttonContainerClassName = '', buttonClassName = '', children, }) => {
|
|
14
15
|
const { isProjectSettingsLoading, setShowAuthFlow, setSelectedWalletConnector, loginWithEmail, } = useInternalDynamicContext.useInternalDynamicContext();
|
|
15
16
|
const { setView } = ViewContext.useViewContext();
|
|
@@ -33,7 +34,8 @@ const DynamicConnectButton = ({ buttonContainerClassName = '', buttonClassName =
|
|
|
33
34
|
setShowAuthFlow,
|
|
34
35
|
setView,
|
|
35
36
|
]);
|
|
36
|
-
return (jsxRuntime.jsx(
|
|
37
|
+
return (jsxRuntime.jsx(ConnectButton, Object.assign({ isLoading: isProjectSettingsLoading, isActive: didUserClick, onClick: handleOnClick, buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: children })));
|
|
37
38
|
};
|
|
38
39
|
|
|
40
|
+
exports.ConnectButton = ConnectButton;
|
|
39
41
|
exports.DynamicConnectButton = DynamicConnectButton;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { FC, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
export type ConnectButtonProps = {
|
|
3
|
+
buttonClassName?: string;
|
|
4
|
+
buttonContainerClassName?: string;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
isActive?: boolean;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const ConnectButton: FC<PropsWithChildren<ConnectButtonProps>>;
|
|
2
10
|
type Props = {
|
|
3
11
|
buttonClassName?: string;
|
|
4
12
|
buttonContainerClassName?: string;
|
|
@@ -6,6 +6,7 @@ import { useViewContext } from '../../context/ViewContext/ViewContext.js';
|
|
|
6
6
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
7
7
|
import { Button } from '../Button/Button.js';
|
|
8
8
|
|
|
9
|
+
const ConnectButton = ({ buttonClassName, buttonContainerClassName, onClick, isActive, isLoading, children, }) => (jsx("div", Object.assign({ className: buttonContainerClassName }, { children: jsx(Button, Object.assign({ dataTestId: 'ConnectButton', onClick: onClick, buttonClassName: classNames('dynamic-connect-button', buttonClassName), loading: isLoading && isActive, disabled: isLoading && isActive, buttonVariant: 'primary', buttonPadding: 'large', buttonRounded: 'default' }, { children: children })) })));
|
|
9
10
|
const DynamicConnectButton = ({ buttonContainerClassName = '', buttonClassName = '', children, }) => {
|
|
10
11
|
const { isProjectSettingsLoading, setShowAuthFlow, setSelectedWalletConnector, loginWithEmail, } = useInternalDynamicContext();
|
|
11
12
|
const { setView } = useViewContext();
|
|
@@ -29,7 +30,7 @@ const DynamicConnectButton = ({ buttonContainerClassName = '', buttonClassName =
|
|
|
29
30
|
setShowAuthFlow,
|
|
30
31
|
setView,
|
|
31
32
|
]);
|
|
32
|
-
return (jsx(
|
|
33
|
+
return (jsx(ConnectButton, Object.assign({ isLoading: isProjectSettingsLoading, isActive: didUserClick, onClick: handleOnClick, buttonContainerClassName: buttonContainerClassName, buttonClassName: buttonClassName }, { children: children })));
|
|
33
34
|
};
|
|
34
35
|
|
|
35
|
-
export { DynamicConnectButton };
|
|
36
|
+
export { ConnectButton, DynamicConnectButton };
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
require('@dynamic-labs/sdk-api');
|
|
7
7
|
require('../../shared/logger.cjs');
|
|
8
|
-
require('../../config/LSSuffix.cjs');
|
|
9
8
|
require('@dynamic-labs/iconic');
|
|
10
9
|
require('@dynamic-labs/wallet-connector-core');
|
|
11
10
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
@@ -14,6 +13,7 @@ var error = require('../../shared/assets/error.cjs');
|
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../shared/consts/index.cjs');
|
|
19
19
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '@dynamic-labs/sdk-api';
|
|
3
3
|
import '../../shared/logger.js';
|
|
4
|
-
import '../../config/LSSuffix.js';
|
|
5
4
|
import '@dynamic-labs/iconic';
|
|
6
5
|
import '@dynamic-labs/wallet-connector-core';
|
|
7
6
|
import '../../context/ViewContext/ViewContext.js';
|
|
@@ -10,6 +9,7 @@ import { ReactComponent as SvgError } from '../../shared/assets/error.js';
|
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../utils/constants/colors.js';
|
|
12
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../shared/consts/index.js';
|
|
15
15
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
@@ -7,13 +7,13 @@ var React = require('react');
|
|
|
7
7
|
var classNames = require('../../utils/functions/classNames/classNames.cjs');
|
|
8
8
|
require('@dynamic-labs/sdk-api');
|
|
9
9
|
require('../../shared/logger.cjs');
|
|
10
|
-
require('../../config/LSSuffix.cjs');
|
|
11
10
|
require('@dynamic-labs/iconic');
|
|
12
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
13
12
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../shared/consts/index.cjs');
|
|
19
19
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -3,13 +3,13 @@ import { useState, useEffect } from 'react';
|
|
|
3
3
|
import { classNames } from '../../utils/functions/classNames/classNames.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import '../../shared/logger.js';
|
|
6
|
-
import '../../config/LSSuffix.js';
|
|
7
6
|
import '@dynamic-labs/iconic';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '../../context/ViewContext/ViewContext.js';
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../utils/constants/colors.js';
|
|
12
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../shared/consts/index.js';
|
|
15
15
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
require('@dynamic-labs/sdk-api');
|
|
7
7
|
require('../../../shared/logger.cjs');
|
|
8
|
-
require('../../../config/LSSuffix.cjs');
|
|
9
8
|
require('@dynamic-labs/iconic');
|
|
10
9
|
require('@dynamic-labs/wallet-connector-core');
|
|
11
10
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
@@ -14,6 +13,7 @@ var walletConnectLogo = require('../../../shared/assets/wallet-connect-logo.cjs'
|
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../../shared/consts/index.cjs');
|
|
19
19
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '@dynamic-labs/sdk-api';
|
|
3
3
|
import '../../../shared/logger.js';
|
|
4
|
-
import '../../../config/LSSuffix.js';
|
|
5
4
|
import '@dynamic-labs/iconic';
|
|
6
5
|
import '@dynamic-labs/wallet-connector-core';
|
|
7
6
|
import '../../../context/ViewContext/ViewContext.js';
|
|
@@ -10,6 +9,7 @@ import { ReactComponent as SvgWalletConnectLogo } from '../../../shared/assets/w
|
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../../utils/constants/colors.js';
|
|
12
|
+
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../../shared/consts/index.js';
|
|
15
15
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -6,7 +6,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var ThemeContext = require('../../../context/ThemeContext/ThemeContext.cjs');
|
|
7
7
|
require('@dynamic-labs/sdk-api');
|
|
8
8
|
require('../../../shared/logger.cjs');
|
|
9
|
-
require('../../../config/LSSuffix.cjs');
|
|
10
9
|
require('@dynamic-labs/iconic');
|
|
11
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
12
11
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
@@ -14,6 +13,7 @@ require('react');
|
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../../shared/consts/index.cjs');
|
|
19
19
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -2,7 +2,6 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useThemeContext } from '../../../context/ThemeContext/ThemeContext.js';
|
|
3
3
|
import '@dynamic-labs/sdk-api';
|
|
4
4
|
import '../../../shared/logger.js';
|
|
5
|
-
import '../../../config/LSSuffix.js';
|
|
6
5
|
import '@dynamic-labs/iconic';
|
|
7
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
8
7
|
import '../../../context/ViewContext/ViewContext.js';
|
|
@@ -10,6 +9,7 @@ import 'react';
|
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../../utils/constants/colors.js';
|
|
12
|
+
import '../../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../../shared/consts/index.js';
|
|
15
15
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -6,13 +6,13 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var walletBook = require('@dynamic-labs/wallet-book');
|
|
7
7
|
require('@dynamic-labs/sdk-api');
|
|
8
8
|
require('../../shared/logger.cjs');
|
|
9
|
-
require('../../config/LSSuffix.cjs');
|
|
10
9
|
require('@dynamic-labs/iconic');
|
|
11
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
12
11
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
13
12
|
require('react');
|
|
14
13
|
require('@dynamic-labs/utils');
|
|
15
14
|
require('../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
16
16
|
require('ethers');
|
|
17
17
|
require('../../shared/consts/index.cjs');
|
|
18
18
|
require('@dynamic-labs/multi-wallet');
|
|
@@ -2,13 +2,13 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
2
2
|
import { WalletIcon } from '@dynamic-labs/wallet-book';
|
|
3
3
|
import '@dynamic-labs/sdk-api';
|
|
4
4
|
import '../../shared/logger.js';
|
|
5
|
-
import '../../config/LSSuffix.js';
|
|
6
5
|
import '@dynamic-labs/iconic';
|
|
7
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
8
7
|
import '../../context/ViewContext/ViewContext.js';
|
|
9
8
|
import 'react';
|
|
10
9
|
import '@dynamic-labs/utils';
|
|
11
10
|
import '../../utils/constants/colors.js';
|
|
11
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
12
12
|
import 'ethers';
|
|
13
13
|
import '../../shared/consts/index.js';
|
|
14
14
|
import '@dynamic-labs/multi-wallet';
|
|
@@ -6,7 +6,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
6
6
|
var useInternalDynamicContext = require('../../context/DynamicContext/useInternalDynamicContext.cjs');
|
|
7
7
|
require('@dynamic-labs/sdk-api');
|
|
8
8
|
require('../../shared/logger.cjs');
|
|
9
|
-
require('../../config/LSSuffix.cjs');
|
|
10
9
|
require('@dynamic-labs/iconic');
|
|
11
10
|
require('@dynamic-labs/wallet-connector-core');
|
|
12
11
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
@@ -15,6 +14,7 @@ var logout = require('../../shared/assets/logout.cjs');
|
|
|
15
14
|
require('@dynamic-labs/wallet-book');
|
|
16
15
|
require('@dynamic-labs/utils');
|
|
17
16
|
require('../../utils/constants/colors.cjs');
|
|
17
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
18
|
require('ethers');
|
|
19
19
|
require('../../shared/consts/index.cjs');
|
|
20
20
|
var Button = require('../Button/Button.cjs');
|
|
@@ -2,7 +2,6 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { useInternalDynamicContext } from '../../context/DynamicContext/useInternalDynamicContext.js';
|
|
3
3
|
import '@dynamic-labs/sdk-api';
|
|
4
4
|
import '../../shared/logger.js';
|
|
5
|
-
import '../../config/LSSuffix.js';
|
|
6
5
|
import '@dynamic-labs/iconic';
|
|
7
6
|
import '@dynamic-labs/wallet-connector-core';
|
|
8
7
|
import '../../context/ViewContext/ViewContext.js';
|
|
@@ -11,6 +10,7 @@ import { ReactComponent as SvgLogout } from '../../shared/assets/logout.js';
|
|
|
11
10
|
import '@dynamic-labs/wallet-book';
|
|
12
11
|
import '@dynamic-labs/utils';
|
|
13
12
|
import '../../utils/constants/colors.js';
|
|
13
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
14
14
|
import 'ethers';
|
|
15
15
|
import '../../shared/consts/index.js';
|
|
16
16
|
import { Button } from '../Button/Button.js';
|
|
@@ -7,13 +7,13 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
7
7
|
var React = require('react');
|
|
8
8
|
require('@dynamic-labs/sdk-api');
|
|
9
9
|
var logger = require('../../shared/logger.cjs');
|
|
10
|
-
require('../../config/LSSuffix.cjs');
|
|
11
10
|
require('@dynamic-labs/iconic');
|
|
12
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
13
12
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
var index = require('../../shared/utils/hooks/useOnClickOutside/index.cjs');
|
|
19
19
|
require('../../shared/consts/index.cjs');
|
|
@@ -3,13 +3,13 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useRef, useState } from 'react';
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import { logger } from '../../shared/logger.js';
|
|
6
|
-
import '../../config/LSSuffix.js';
|
|
7
6
|
import '@dynamic-labs/iconic';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '../../context/ViewContext/ViewContext.js';
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../utils/constants/colors.js';
|
|
12
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import { useOnClickOutside } from '../../shared/utils/hooks/useOnClickOutside/index.js';
|
|
15
15
|
import '../../shared/consts/index.js';
|
|
@@ -8,13 +8,13 @@ require('@dynamic-labs/utils');
|
|
|
8
8
|
require('@dynamic-labs/sdk-api');
|
|
9
9
|
require('../../../../config/ApiEndpoint.cjs');
|
|
10
10
|
require('../../../../shared/logger.cjs');
|
|
11
|
-
require('../../../../config/LSSuffix.cjs');
|
|
12
11
|
require('@dynamic-labs/iconic');
|
|
13
12
|
require('@dynamic-labs/wallet-connector-core');
|
|
14
13
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
15
14
|
var close = require('../../../../shared/assets/close.cjs');
|
|
16
15
|
require('@dynamic-labs/wallet-book');
|
|
17
16
|
require('../../../../utils/constants/colors.cjs');
|
|
17
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
18
18
|
require('ethers');
|
|
19
19
|
var usePreventPageScroll = require('../../../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.cjs');
|
|
20
20
|
require('../../../../shared/consts/index.cjs');
|
|
@@ -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('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
42
43
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
43
44
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
44
45
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -4,13 +4,13 @@ import '@dynamic-labs/utils';
|
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import '../../../../config/ApiEndpoint.js';
|
|
6
6
|
import '../../../../shared/logger.js';
|
|
7
|
-
import '../../../../config/LSSuffix.js';
|
|
8
7
|
import '@dynamic-labs/iconic';
|
|
9
8
|
import '@dynamic-labs/wallet-connector-core';
|
|
10
9
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
11
10
|
import { ReactComponent as SvgClose } from '../../../../shared/assets/close.js';
|
|
12
11
|
import '@dynamic-labs/wallet-book';
|
|
13
12
|
import '../../../../utils/constants/colors.js';
|
|
13
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
14
14
|
import 'ethers';
|
|
15
15
|
import { usePreventPageScroll } from '../../../../shared/utils/hooks/usePreventPageScroll/usePreventPageScroll.js';
|
|
16
16
|
import '../../../../shared/consts/index.js';
|
|
@@ -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 '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
38
39
|
import '../../../../context/MockContext/MockContext.js';
|
|
39
40
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
40
41
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -12,10 +12,10 @@ var classNames = require('../../../../utils/functions/classNames/classNames.cjs'
|
|
|
12
12
|
var Typography = require('../../../Typography/Typography.cjs');
|
|
13
13
|
require('@dynamic-labs/sdk-api');
|
|
14
14
|
require('../../../../shared/logger.cjs');
|
|
15
|
-
require('../../../../config/LSSuffix.cjs');
|
|
16
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
17
16
|
require('@dynamic-labs/wallet-book');
|
|
18
17
|
require('../../../../utils/constants/colors.cjs');
|
|
18
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
19
19
|
require('ethers');
|
|
20
20
|
require('../../../../shared/consts/index.cjs');
|
|
21
21
|
require('../../../../context/DynamicContext/DynamicContext.cjs');
|
|
@@ -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('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
37
38
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
38
39
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
39
40
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -8,10 +8,10 @@ import { classNames } from '../../../../utils/functions/classNames/classNames.js
|
|
|
8
8
|
import { Typography } from '../../../Typography/Typography.js';
|
|
9
9
|
import '@dynamic-labs/sdk-api';
|
|
10
10
|
import '../../../../shared/logger.js';
|
|
11
|
-
import '../../../../config/LSSuffix.js';
|
|
12
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
13
12
|
import '@dynamic-labs/wallet-book';
|
|
14
13
|
import '../../../../utils/constants/colors.js';
|
|
14
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
15
15
|
import 'ethers';
|
|
16
16
|
import '../../../../shared/consts/index.js';
|
|
17
17
|
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
@@ -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 '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
33
34
|
import '../../../../context/MockContext/MockContext.js';
|
|
34
35
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
35
36
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -7,7 +7,6 @@ require('react');
|
|
|
7
7
|
var Typography = require('../../../Typography/Typography.cjs');
|
|
8
8
|
require('@dynamic-labs/sdk-api');
|
|
9
9
|
require('../../../../shared/logger.cjs');
|
|
10
|
-
require('../../../../config/LSSuffix.cjs');
|
|
11
10
|
require('@dynamic-labs/iconic');
|
|
12
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
13
12
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
@@ -16,6 +15,7 @@ var check = require('../../../../shared/assets/check.cjs');
|
|
|
16
15
|
require('@dynamic-labs/wallet-book');
|
|
17
16
|
require('@dynamic-labs/utils');
|
|
18
17
|
require('../../../../utils/constants/colors.cjs');
|
|
18
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
19
19
|
require('ethers');
|
|
20
20
|
require('../../../../shared/consts/index.cjs');
|
|
21
21
|
require('../../../../context/DynamicContext/DynamicContext.cjs');
|
|
@@ -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('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
40
41
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -3,7 +3,6 @@ import 'react';
|
|
|
3
3
|
import { Typography } from '../../../Typography/Typography.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import '../../../../shared/logger.js';
|
|
6
|
-
import '../../../../config/LSSuffix.js';
|
|
7
6
|
import '@dynamic-labs/iconic';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
@@ -12,6 +11,7 @@ import { ReactComponent as SvgCheck } from '../../../../shared/assets/check.js';
|
|
|
12
11
|
import '@dynamic-labs/wallet-book';
|
|
13
12
|
import '@dynamic-labs/utils';
|
|
14
13
|
import '../../../../utils/constants/colors.js';
|
|
14
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
15
15
|
import 'ethers';
|
|
16
16
|
import '../../../../shared/consts/index.js';
|
|
17
17
|
import '../../../../context/DynamicContext/DynamicContext.js';
|
|
@@ -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 '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import '../../../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
36
37
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -7,12 +7,12 @@ require('react');
|
|
|
7
7
|
var Typography = require('../../../Typography/Typography.cjs');
|
|
8
8
|
require('@dynamic-labs/sdk-api');
|
|
9
9
|
require('../../../../shared/logger.cjs');
|
|
10
|
-
require('../../../../config/LSSuffix.cjs');
|
|
11
10
|
var getChainIcon = require('../../../../shared/utils/functions/chain/getChainIcon.cjs');
|
|
12
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
13
12
|
require('@dynamic-labs/wallet-book');
|
|
14
13
|
require('@dynamic-labs/utils');
|
|
15
14
|
require('../../../../utils/constants/colors.cjs');
|
|
15
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
16
16
|
require('ethers');
|
|
17
17
|
require('@dynamic-labs/iconic');
|
|
18
18
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
@@ -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('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
38
39
|
require('../../../../context/MockContext/MockContext.cjs');
|
|
39
40
|
require('../../../../context/CaptchaContext/CaptchaContext.cjs');
|
|
40
41
|
require('../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -3,12 +3,12 @@ import 'react';
|
|
|
3
3
|
import { Typography } from '../../../Typography/Typography.js';
|
|
4
4
|
import '@dynamic-labs/sdk-api';
|
|
5
5
|
import '../../../../shared/logger.js';
|
|
6
|
-
import '../../../../config/LSSuffix.js';
|
|
7
6
|
import { getChainIcon } from '../../../../shared/utils/functions/chain/getChainIcon.js';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '@dynamic-labs/wallet-book';
|
|
10
9
|
import '@dynamic-labs/utils';
|
|
11
10
|
import '../../../../utils/constants/colors.js';
|
|
11
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
12
12
|
import 'ethers';
|
|
13
13
|
import '@dynamic-labs/iconic';
|
|
14
14
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
@@ -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 '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
34
35
|
import '../../../../context/MockContext/MockContext.js';
|
|
35
36
|
import '../../../../context/CaptchaContext/CaptchaContext.js';
|
|
36
37
|
import '../../../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.cjs
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
require('@dynamic-labs/sdk-api');
|
|
7
7
|
require('../../../../shared/logger.cjs');
|
|
8
|
-
require('../../../../config/LSSuffix.cjs');
|
|
9
8
|
require('@dynamic-labs/iconic');
|
|
10
9
|
require('@dynamic-labs/wallet-connector-core');
|
|
11
10
|
require('../../../../context/ViewContext/ViewContext.cjs');
|
|
@@ -14,6 +13,7 @@ var error = require('../../../../shared/assets/error.cjs');
|
|
|
14
13
|
require('@dynamic-labs/wallet-book');
|
|
15
14
|
require('@dynamic-labs/utils');
|
|
16
15
|
require('../../../../utils/constants/colors.cjs');
|
|
16
|
+
require('../../../../shared/utils/classes/storage/localStorage.cjs');
|
|
17
17
|
require('ethers');
|
|
18
18
|
require('../../../../shared/consts/index.cjs');
|
|
19
19
|
var Icon = require('../../../Icon/Icon.cjs');
|
package/src/lib/components/NetworkPicker/components/UnsupportedNetwork/UnsupportedNetwork.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import '@dynamic-labs/sdk-api';
|
|
3
3
|
import '../../../../shared/logger.js';
|
|
4
|
-
import '../../../../config/LSSuffix.js';
|
|
5
4
|
import '@dynamic-labs/iconic';
|
|
6
5
|
import '@dynamic-labs/wallet-connector-core';
|
|
7
6
|
import '../../../../context/ViewContext/ViewContext.js';
|
|
@@ -10,6 +9,7 @@ import { ReactComponent as SvgError } from '../../../../shared/assets/error.js';
|
|
|
10
9
|
import '@dynamic-labs/wallet-book';
|
|
11
10
|
import '@dynamic-labs/utils';
|
|
12
11
|
import '../../../../utils/constants/colors.js';
|
|
12
|
+
import '../../../../shared/utils/classes/storage/localStorage.js';
|
|
13
13
|
import 'ethers';
|
|
14
14
|
import '../../../../shared/consts/index.js';
|
|
15
15
|
import { Icon } from '../../../Icon/Icon.js';
|
|
@@ -8,7 +8,6 @@ require('react');
|
|
|
8
8
|
var Typography = require('../Typography/Typography.cjs');
|
|
9
9
|
require('@dynamic-labs/sdk-api');
|
|
10
10
|
require('../../shared/logger.cjs');
|
|
11
|
-
require('../../config/LSSuffix.cjs');
|
|
12
11
|
require('@dynamic-labs/wallet-connector-core');
|
|
13
12
|
require('../../context/ViewContext/ViewContext.cjs');
|
|
14
13
|
var chevronLeft = require('../../shared/assets/chevron-left.cjs');
|
|
@@ -17,6 +16,7 @@ var pencilAltIcon = require('../../shared/assets/pencil-alt-icon.cjs');
|
|
|
17
16
|
require('@dynamic-labs/wallet-book');
|
|
18
17
|
require('@dynamic-labs/utils');
|
|
19
18
|
require('../../utils/constants/colors.cjs');
|
|
19
|
+
require('../../shared/utils/classes/storage/localStorage.cjs');
|
|
20
20
|
require('ethers');
|
|
21
21
|
require('../../shared/consts/index.cjs');
|
|
22
22
|
require('../../context/DynamicContext/DynamicContext.cjs');
|
|
@@ -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('../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
|
|
42
43
|
require('../../context/MockContext/MockContext.cjs');
|
|
43
44
|
require('../../context/CaptchaContext/CaptchaContext.cjs');
|
|
44
45
|
require('../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.cjs');
|
|
@@ -4,7 +4,6 @@ import 'react';
|
|
|
4
4
|
import { Typography } from '../Typography/Typography.js';
|
|
5
5
|
import '@dynamic-labs/sdk-api';
|
|
6
6
|
import '../../shared/logger.js';
|
|
7
|
-
import '../../config/LSSuffix.js';
|
|
8
7
|
import '@dynamic-labs/wallet-connector-core';
|
|
9
8
|
import '../../context/ViewContext/ViewContext.js';
|
|
10
9
|
import { ReactComponent as SvgChevronLeft } from '../../shared/assets/chevron-left.js';
|
|
@@ -13,6 +12,7 @@ import { ReactComponent as SvgPencilAltIcon } from '../../shared/assets/pencil-a
|
|
|
13
12
|
import '@dynamic-labs/wallet-book';
|
|
14
13
|
import '@dynamic-labs/utils';
|
|
15
14
|
import '../../utils/constants/colors.js';
|
|
15
|
+
import '../../shared/utils/classes/storage/localStorage.js';
|
|
16
16
|
import 'ethers';
|
|
17
17
|
import '../../shared/consts/index.js';
|
|
18
18
|
import '../../context/DynamicContext/DynamicContext.js';
|
|
@@ -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 '../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
|
|
38
39
|
import '../../context/MockContext/MockContext.js';
|
|
39
40
|
import '../../context/CaptchaContext/CaptchaContext.js';
|
|
40
41
|
import '../../utils/hooks/useUserUpdateRequest/useUserUpdateRequest.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export type OptionsSwitcherOption = {
|
|
3
3
|
key: string;
|
|
4
4
|
label?: string;
|
|
@@ -8,10 +8,10 @@ export type OptionsSwitcherClassNames = {
|
|
|
8
8
|
buttonClassName?: string;
|
|
9
9
|
rootClassName?: string;
|
|
10
10
|
};
|
|
11
|
-
export type OptionsSwitcherProps = {
|
|
12
|
-
onChange?: (key:
|
|
11
|
+
export type OptionsSwitcherProps<T> = {
|
|
12
|
+
onChange?: (key: T) => void;
|
|
13
13
|
options?: OptionsSwitcherOption[];
|
|
14
|
-
value?:
|
|
14
|
+
value?: T;
|
|
15
15
|
};
|
|
16
|
-
export type Props = OptionsSwitcherClassNames & OptionsSwitcherProps
|
|
17
|
-
export declare const OptionsSwitcher:
|
|
16
|
+
export type Props<T> = OptionsSwitcherClassNames & OptionsSwitcherProps<T>;
|
|
17
|
+
export declare const OptionsSwitcher: <T extends string>({ onChange, value, options, rootClassName, activeButtonClassName, buttonClassName, }: Props<T>) => JSX.Element;
|