@getpara/react-sdk 2.0.0-dev.3 → 2.0.0-dev.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/dist/cosmos/actions/getCosmjsAminoSigner.d.ts +8 -0
- package/dist/cosmos/actions/getCosmjsAminoSigner.js +16 -0
- package/dist/cosmos/actions/getCosmjsProtoSigner.d.ts +8 -0
- package/dist/cosmos/actions/getCosmjsProtoSigner.js +16 -0
- package/dist/cosmos/actions/index.d.ts +2 -0
- package/dist/cosmos/actions/index.js +3 -0
- package/dist/cosmos/hooks/index.d.ts +2 -0
- package/dist/cosmos/hooks/index.js +3 -0
- package/dist/cosmos/hooks/useCosmjsAminoSigner.d.ts +11 -0
- package/dist/cosmos/hooks/useCosmjsAminoSigner.js +37 -0
- package/dist/cosmos/hooks/useCosmjsProtoSigner.d.ts +11 -0
- package/dist/cosmos/hooks/useCosmjsProtoSigner.js +37 -0
- package/dist/cosmos/index.d.ts +2 -0
- package/dist/cosmos/index.js +3 -0
- package/dist/css/modal.css +14 -1
- package/dist/evm/actions/getViemAccount.d.ts +22 -0
- package/dist/evm/actions/getViemAccount.js +20 -0
- package/dist/evm/actions/getViemClient.d.ts +7659 -0
- package/dist/evm/actions/getViemClient.js +25 -0
- package/dist/evm/actions/index.d.ts +2 -0
- package/dist/evm/actions/index.js +3 -0
- package/dist/evm/hooks/index.d.ts +2 -0
- package/dist/evm/hooks/index.js +3 -0
- package/dist/evm/hooks/useViemAccount.d.ts +26 -0
- package/dist/evm/hooks/useViemAccount.js +32 -0
- package/dist/evm/hooks/useViemClient.d.ts +7663 -0
- package/dist/evm/hooks/useViemClient.js +30 -0
- package/dist/evm/index.d.ts +2 -0
- package/dist/evm/index.js +3 -0
- package/dist/index.d.ts +3 -5
- package/dist/index.js +4 -4
- package/dist/provider/ParaProvider.d.ts +1 -2
- package/dist/provider/ParaProvider.js +13 -106
- package/dist/public/PPMori-Regular.woff2 +0 -0
- package/dist/public/PPMori-SemiBold.woff2 +0 -0
- package/dist/solana/actions/getSolanaSigner.d.ts +8 -0
- package/dist/solana/actions/getSolanaSigner.js +15 -0
- package/dist/solana/actions/index.d.ts +1 -0
- package/dist/solana/actions/index.js +2 -0
- package/dist/solana/hooks/index.d.ts +1 -0
- package/dist/solana/hooks/index.js +2 -0
- package/dist/solana/hooks/useSolanaSigner.d.ts +12 -0
- package/dist/solana/hooks/useSolanaSigner.js +32 -0
- package/dist/solana/index.d.ts +2 -0
- package/dist/solana/index.js +3 -0
- package/package.json +19 -29
- package/styles.css/package.json +1 -1
- package/dist/cli/cli.mjs +0 -50
- package/dist/modal/ParaModal.d.ts +0 -2
- package/dist/modal/ParaModal.js +0 -301
- package/dist/modal/components/Account/Account.d.ts +0 -5
- package/dist/modal/components/Account/Account.js +0 -148
- package/dist/modal/components/Account/AccountProfile.d.ts +0 -1
- package/dist/modal/components/Account/AccountProfile.js +0 -168
- package/dist/modal/components/Account/AccountProfileLink.d.ts +0 -1
- package/dist/modal/components/Account/AccountProfileLink.js +0 -206
- package/dist/modal/components/Account/AccountProfileLinkOptions.d.ts +0 -1
- package/dist/modal/components/Account/AccountProfileLinkOptions.js +0 -111
- package/dist/modal/components/Account/AccountProfileUnlink.d.ts +0 -1
- package/dist/modal/components/Account/AccountProfileUnlink.js +0 -47
- package/dist/modal/components/AddFunds/AddFunds.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFunds.js +0 -69
- package/dist/modal/components/AddFunds/AddFundsAsset.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFundsAsset.js +0 -125
- package/dist/modal/components/AddFunds/AddFundsAwaiting.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFundsAwaiting.js +0 -78
- package/dist/modal/components/AddFunds/AddFundsContext.d.ts +0 -31
- package/dist/modal/components/AddFunds/AddFundsContext.js +0 -160
- package/dist/modal/components/AddFunds/AddFundsDone.d.ts +0 -6
- package/dist/modal/components/AddFunds/AddFundsDone.js +0 -49
- package/dist/modal/components/AddFunds/AddFundsProvider.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFundsProvider.js +0 -109
- package/dist/modal/components/AddFunds/AddFundsReceive.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFundsReceive.js +0 -83
- package/dist/modal/components/AddFunds/AddFundsSettings.d.ts +0 -1
- package/dist/modal/components/AddFunds/AddFundsSettings.js +0 -237
- package/dist/modal/components/AddFunds/MoonPayEmbed.d.ts +0 -2
- package/dist/modal/components/AddFunds/MoonPayEmbed.js +0 -7
- package/dist/modal/components/AddFunds/common.d.ts +0 -19
- package/dist/modal/components/AddFunds/common.js +0 -24
- package/dist/modal/components/AddFunds/index.d.ts +0 -3
- package/dist/modal/components/AddFunds/index.js +0 -4
- package/dist/modal/components/AuthInput/AuthInput.d.ts +0 -20
- package/dist/modal/components/AuthInput/AuthInput.js +0 -277
- package/dist/modal/components/AuthInput/hooks/useDropdownPosition.d.ts +0 -7
- package/dist/modal/components/AuthInput/hooks/useDropdownPosition.js +0 -33
- package/dist/modal/components/AuthInput/phoneMasks.d.ts +0 -247
- package/dist/modal/components/AuthInput/phoneMasks.js +0 -253
- package/dist/modal/components/AuthMainStep/AuthMainStep.d.ts +0 -9
- package/dist/modal/components/AuthMainStep/AuthMainStep.js +0 -50
- package/dist/modal/components/AuthMainStep/AuthMainStepContent.d.ts +0 -9
- package/dist/modal/components/AuthMainStep/AuthMainStepContent.js +0 -164
- package/dist/modal/components/AuthOptions/AuthOptions.d.ts +0 -9
- package/dist/modal/components/AuthOptions/AuthOptions.js +0 -85
- package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.d.ts +0 -1
- package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.js +0 -18
- package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.d.ts +0 -1
- package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.js +0 -10
- package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.d.ts +0 -1
- package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.js +0 -18
- package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.d.ts +0 -5
- package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.js +0 -49
- package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.d.ts +0 -1
- package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.js +0 -62
- package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.d.ts +0 -1
- package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.js +0 -48
- package/dist/modal/components/Body/AnimatedHeightWrapper.d.ts +0 -6
- package/dist/modal/components/Body/AnimatedHeightWrapper.js +0 -29
- package/dist/modal/components/Body/Body.d.ts +0 -11
- package/dist/modal/components/Body/Body.js +0 -350
- package/dist/modal/components/ChainSwitch/ChainSwitch.d.ts +0 -1
- package/dist/modal/components/ChainSwitch/ChainSwitch.js +0 -95
- package/dist/modal/components/ChainSwitch/config.d.ts +0 -7
- package/dist/modal/components/ChainSwitch/config.js +0 -17
- package/dist/modal/components/Controls/Controls.d.ts +0 -5
- package/dist/modal/components/Controls/Controls.js +0 -78
- package/dist/modal/components/Controls/Selects.d.ts +0 -2
- package/dist/modal/components/Controls/Selects.js +0 -173
- package/dist/modal/components/ExternalWalletNetworkSelectStep/ExternalWalletNetworkSelectStep.d.ts +0 -1
- package/dist/modal/components/ExternalWalletNetworkSelectStep/ExternalWalletNetworkSelectStep.js +0 -75
- package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.d.ts +0 -8
- package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.js +0 -175
- package/dist/modal/components/ExternalWalletStep/config.d.ts +0 -7
- package/dist/modal/components/ExternalWalletStep/config.js +0 -17
- package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.d.ts +0 -1
- package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.js +0 -39
- package/dist/modal/components/ExternalWallets/ExternalWallets.d.ts +0 -1
- package/dist/modal/components/ExternalWallets/ExternalWallets.js +0 -184
- package/dist/modal/components/Footer/Footer.d.ts +0 -1
- package/dist/modal/components/Footer/Footer.js +0 -95
- package/dist/modal/components/Header/Header.d.ts +0 -1
- package/dist/modal/components/Header/Header.js +0 -43
- package/dist/modal/components/Header/hooks/useStepTitle.d.ts +0 -3
- package/dist/modal/components/Header/hooks/useStepTitle.js +0 -61
- package/dist/modal/components/Hero/Hero.d.ts +0 -1
- package/dist/modal/components/Hero/Hero.js +0 -116
- package/dist/modal/components/IFrameStep/IFrameStep.d.ts +0 -1
- package/dist/modal/components/IFrameStep/IFrameStep.js +0 -59
- package/dist/modal/components/LoginDoneStep/LoginDoneStep.d.ts +0 -5
- package/dist/modal/components/LoginDoneStep/LoginDoneStep.js +0 -44
- package/dist/modal/components/ModalContent/ModalContent.d.ts +0 -10
- package/dist/modal/components/ModalContent/ModalContent.js +0 -88
- package/dist/modal/components/OAuth/FarcasterOAuthStep.d.ts +0 -3
- package/dist/modal/components/OAuth/FarcasterOAuthStep.js +0 -31
- package/dist/modal/components/OAuth/OAuth.d.ts +0 -6
- package/dist/modal/components/OAuth/OAuth.js +0 -79
- package/dist/modal/components/OAuth/TelegramOAuthStep.d.ts +0 -8
- package/dist/modal/components/OAuth/TelegramOAuthStep.js +0 -74
- package/dist/modal/components/OnRampComponents/AddingFunds.d.ts +0 -1
- package/dist/modal/components/OnRampComponents/AddingFunds.js +0 -23
- package/dist/modal/components/OnRampComponents/OnRampProviderButton.d.ts +0 -9
- package/dist/modal/components/OnRampComponents/OnRampProviderButton.js +0 -77
- package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.d.ts +0 -6
- package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.js +0 -107
- package/dist/modal/components/Setup2FAStep/Setup2FAStep.d.ts +0 -5
- package/dist/modal/components/Setup2FAStep/Setup2FAStep.js +0 -132
- package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.d.ts +0 -5
- package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.js +0 -27
- package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.d.ts +0 -12
- package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.js +0 -160
- package/dist/modal/components/Waiting/Waiting.d.ts +0 -6
- package/dist/modal/components/Waiting/Waiting.js +0 -17
- package/dist/modal/components/WalletCard/PartnerIcon.d.ts +0 -6
- package/dist/modal/components/WalletCard/PartnerIcon.js +0 -34
- package/dist/modal/components/WalletCard/WalletCard.d.ts +0 -18
- package/dist/modal/components/WalletCard/WalletCard.js +0 -128
- package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.d.ts +0 -6
- package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.js +0 -83
- package/dist/modal/components/common.d.ts +0 -59
- package/dist/modal/components/common.js +0 -261
- package/dist/modal/components/index.d.ts +0 -1
- package/dist/modal/components/index.js +0 -2
- package/dist/modal/constants/constants.d.ts +0 -40
- package/dist/modal/constants/constants.js +0 -142
- package/dist/modal/constants/defaults.d.ts +0 -5
- package/dist/modal/constants/defaults.js +0 -10
- package/dist/modal/constants/oAuthLogos.d.ts +0 -17
- package/dist/modal/constants/oAuthLogos.js +0 -158
- package/dist/modal/constants/walletTypeConfig.d.ts +0 -6
- package/dist/modal/constants/walletTypeConfig.js +0 -13
- package/dist/modal/hooks/useGoBack.d.ts +0 -1
- package/dist/modal/hooks/useGoBack.js +0 -43
- package/dist/modal/hooks/useTelegramLogin.d.ts +0 -12
- package/dist/modal/hooks/useTelegramLogin.js +0 -65
- package/dist/modal/index.d.ts +0 -8
- package/dist/modal/index.js +0 -29
- package/dist/modal/stores/index.d.ts +0 -1
- package/dist/modal/stores/index.js +0 -2
- package/dist/modal/stores/modal/actions.d.ts +0 -3
- package/dist/modal/stores/modal/actions.js +0 -135
- package/dist/modal/stores/modal/useModalStore.d.ts +0 -103
- package/dist/modal/stores/modal/useModalStore.js +0 -73
- package/dist/modal/types/commonTypes.d.ts +0 -6
- package/dist/modal/types/commonTypes.js +0 -1
- package/dist/modal/types/modalProps.d.ts +0 -129
- package/dist/modal/types/modalProps.js +0 -12
- package/dist/modal/utils/authInputHelpers.d.ts +0 -5
- package/dist/modal/utils/authInputHelpers.js +0 -41
- package/dist/modal/utils/authLayoutHelpers.d.ts +0 -3
- package/dist/modal/utils/authLayoutHelpers.js +0 -8
- package/dist/modal/utils/countryCodes.d.ts +0 -8
- package/dist/modal/utils/countryCodes.js +0 -45
- package/dist/modal/utils/getMailtoLink.d.ts +0 -1
- package/dist/modal/utils/getMailtoLink.js +0 -10
- package/dist/modal/utils/getTileButtonFlex.d.ts +0 -1
- package/dist/modal/utils/getTileButtonFlex.js +0 -20
- package/dist/modal/utils/getWalletDisplayName.d.ts +0 -5
- package/dist/modal/utils/getWalletDisplayName.js +0 -22
- package/dist/modal/utils/isPasskeySupported.d.ts +0 -1
- package/dist/modal/utils/isPasskeySupported.js +0 -15
- package/dist/modal/utils/openPopup.d.ts +0 -6
- package/dist/modal/utils/openPopup.js +0 -60
- package/dist/modal/utils/routeMobileExternalWallet.d.ts +0 -1
- package/dist/modal/utils/routeMobileExternalWallet.js +0 -31
- package/dist/modal/utils/steps.d.ts +0 -133
- package/dist/modal/utils/steps.js +0 -273
- package/dist/modal/utils/stringFormatters.d.ts +0 -5
- package/dist/modal/utils/stringFormatters.js +0 -19
- package/dist/modal/utils/validateOnRampConfig.d.ts +0 -5
- package/dist/modal/utils/validateOnRampConfig.js +0 -32
- package/dist/provider/actions/getEmbeddedAccount.d.ts +0 -26
- package/dist/provider/actions/getEmbeddedAccount.js +0 -52
- package/dist/provider/actions/getWallet.d.ts +0 -5
- package/dist/provider/actions/getWallet.js +0 -18
- package/dist/provider/actions/index.d.ts +0 -47
- package/dist/provider/actions/index.js +0 -79
- package/dist/provider/actions/utils.d.ts +0 -4
- package/dist/provider/actions/utils.js +0 -34
- package/dist/provider/components/CosmosWalletWrapper.d.ts +0 -11
- package/dist/provider/components/CosmosWalletWrapper.js +0 -43
- package/dist/provider/components/EvmWalletWrapper.d.ts +0 -12
- package/dist/provider/components/EvmWalletWrapper.js +0 -43
- package/dist/provider/components/ExternalWalletWrapper.d.ts +0 -8
- package/dist/provider/components/ExternalWalletWrapper.js +0 -140
- package/dist/provider/components/SolanaWalletWrapper.d.ts +0 -9
- package/dist/provider/components/SolanaWalletWrapper.js +0 -44
- package/dist/provider/external/getParaCosmosConnector.d.ts +0 -7
- package/dist/provider/external/getParaCosmosConnector.js +0 -19
- package/dist/provider/external/getParaCosmosLib.d.ts +0 -4
- package/dist/provider/external/getParaCosmosLib.js +0 -16
- package/dist/provider/external/getParaEvmConnector.d.ts +0 -7
- package/dist/provider/external/getParaEvmConnector.js +0 -19
- package/dist/provider/external/getParaEvmLib.d.ts +0 -4
- package/dist/provider/external/getParaEvmLib.js +0 -16
- package/dist/provider/external/getParaSolanaConnector.d.ts +0 -7
- package/dist/provider/external/getParaSolanaConnector.js +0 -19
- package/dist/provider/external/getParaSolanaLib.d.ts +0 -4
- package/dist/provider/external/getParaSolanaLib.js +0 -16
- package/dist/provider/external/stubs/CosmosExternalWalletContextStub.d.ts +0 -2
- package/dist/provider/external/stubs/CosmosExternalWalletContextStub.js +0 -8
- package/dist/provider/external/stubs/EvmExternalWalletContextStub.d.ts +0 -2
- package/dist/provider/external/stubs/EvmExternalWalletContextStub.js +0 -8
- package/dist/provider/external/stubs/SolanaExternalWalletContextStub.d.ts +0 -2
- package/dist/provider/external/stubs/SolanaExternalWalletContextStub.js +0 -8
- package/dist/provider/hooks/index.d.ts +0 -3
- package/dist/provider/hooks/index.js +0 -4
- package/dist/provider/hooks/mutations/core.d.ts +0 -27
- package/dist/provider/hooks/mutations/core.js +0 -66
- package/dist/provider/hooks/mutations/index.d.ts +0 -3
- package/dist/provider/hooks/mutations/index.js +0 -9
- package/dist/provider/hooks/mutations/useLinkAccount.d.ts +0 -9
- package/dist/provider/hooks/mutations/useLinkAccount.js +0 -18
- package/dist/provider/hooks/mutations/utils.d.ts +0 -12
- package/dist/provider/hooks/mutations/utils.js +0 -90
- package/dist/provider/hooks/queries/core.d.ts +0 -4
- package/dist/provider/hooks/queries/core.js +0 -16
- package/dist/provider/hooks/queries/index.d.ts +0 -4
- package/dist/provider/hooks/queries/index.js +0 -11
- package/dist/provider/hooks/queries/useAccount.d.ts +0 -90
- package/dist/provider/hooks/queries/useAccount.js +0 -135
- package/dist/provider/hooks/queries/useIsFullyLoggedIn.d.ts +0 -5
- package/dist/provider/hooks/queries/useIsFullyLoggedIn.js +0 -24
- package/dist/provider/hooks/queries/useWallet.d.ts +0 -5
- package/dist/provider/hooks/queries/useWallet.js +0 -26
- package/dist/provider/hooks/queries/useWalletBalance.d.ts +0 -6
- package/dist/provider/hooks/queries/useWalletBalance.js +0 -55
- package/dist/provider/hooks/queries/utils.d.ts +0 -7
- package/dist/provider/hooks/queries/utils.js +0 -25
- package/dist/provider/hooks/utils/index.d.ts +0 -3
- package/dist/provider/hooks/utils/index.js +0 -10
- package/dist/provider/hooks/utils/useAutoSessionKeepAlive.d.ts +0 -3
- package/dist/provider/hooks/utils/useAutoSessionKeepAlive.js +0 -74
- package/dist/provider/hooks/utils/useClient.d.ts +0 -5
- package/dist/provider/hooks/utils/useClient.js +0 -10
- package/dist/provider/hooks/utils/useEventListeners.d.ts +0 -2
- package/dist/provider/hooks/utils/useEventListeners.js +0 -157
- package/dist/provider/hooks/utils/useFormattedBiometricHints.d.ts +0 -4
- package/dist/provider/hooks/utils/useFormattedBiometricHints.js +0 -27
- package/dist/provider/hooks/utils/useInternalClient.d.ts +0 -5
- package/dist/provider/hooks/utils/useInternalClient.js +0 -10
- package/dist/provider/hooks/utils/useModal.d.ts +0 -11
- package/dist/provider/hooks/utils/useModal.js +0 -27
- package/dist/provider/hooks/utils/useWalletState.d.ts +0 -15
- package/dist/provider/hooks/utils/useWalletState.js +0 -48
- package/dist/provider/index.d.ts +0 -6
- package/dist/provider/index.js +0 -11
- package/dist/provider/providers/AccountLinkProvider.d.ts +0 -47
- package/dist/provider/providers/AccountLinkProvider.js +0 -452
- package/dist/provider/providers/AuthProvider.d.ts +0 -37
- package/dist/provider/providers/AuthProvider.js +0 -523
- package/dist/provider/providers/CosmosExternalWalletProvider.d.ts +0 -7
- package/dist/provider/providers/CosmosExternalWalletProvider.js +0 -66
- package/dist/provider/providers/EvmExternalWalletProvider.d.ts +0 -7
- package/dist/provider/providers/EvmExternalWalletProvider.js +0 -74
- package/dist/provider/providers/ExternalWalletProvider.d.ts +0 -59
- package/dist/provider/providers/ExternalWalletProvider.js +0 -596
- package/dist/provider/providers/SolanaExternalWalletProvider.d.ts +0 -7
- package/dist/provider/providers/SolanaExternalWalletProvider.js +0 -66
- package/dist/provider/stores/getters.d.ts +0 -4
- package/dist/provider/stores/getters.js +0 -13
- package/dist/provider/stores/setters.d.ts +0 -1
- package/dist/provider/stores/setters.js +0 -7
- package/dist/provider/stores/slices/analytics.d.ts +0 -3
- package/dist/provider/stores/slices/analytics.js +0 -9
- package/dist/provider/stores/slices/client.d.ts +0 -3
- package/dist/provider/stores/slices/client.js +0 -9
- package/dist/provider/stores/slices/config.d.ts +0 -3
- package/dist/provider/stores/slices/config.js +0 -9
- package/dist/provider/stores/slices/externalWallets.d.ts +0 -3
- package/dist/provider/stores/slices/externalWallets.js +0 -46
- package/dist/provider/stores/slices/index.d.ts +0 -5
- package/dist/provider/stores/slices/index.js +0 -6
- package/dist/provider/stores/slices/modal.d.ts +0 -3
- package/dist/provider/stores/slices/modal.js +0 -18
- package/dist/provider/stores/slices/wallet.d.ts +0 -3
- package/dist/provider/stores/slices/wallet.js +0 -13
- package/dist/provider/stores/types.d.ts +0 -76
- package/dist/provider/stores/types.js +0 -1
- package/dist/provider/stores/useStore.d.ts +0 -17
- package/dist/provider/stores/useStore.js +0 -34
- package/dist/provider/types/externalWalletProviders.d.ts +0 -12
- package/dist/provider/types/externalWalletProviders.js +0 -1
- package/dist/provider/types/provider.d.ts +0 -161
- package/dist/provider/types/provider.js +0 -1
- package/dist/provider/types/query.d.ts +0 -3
- package/dist/provider/types/query.js +0 -1
- package/dist/provider/types/utils.d.ts +0 -45
- package/dist/provider/types/utils.js +0 -1
- package/dist/provider/utils/constants.d.ts +0 -5
- package/dist/provider/utils/constants.js +0 -10
- package/dist/provider/utils/paraConfigTypeGuards.d.ts +0 -7
- package/dist/provider/utils/paraConfigTypeGuards.js +0 -13
- package/dist/provider/utils/renameMutations.d.ts +0 -5
- package/dist/provider/utils/renameMutations.js +0 -18
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
import { EMAIL_REGEX } from "../constants/constants.js";
|
|
4
|
-
import { formatPhoneNumber } from "@getpara/web-sdk";
|
|
5
|
-
function isCcMatch(countryCode, option) {
|
|
6
|
-
return countryCode === "+1" ? option.selectedLabel === "US" : option.value === countryCode;
|
|
7
|
-
}
|
|
8
|
-
function validateAuth(auth) {
|
|
9
|
-
switch (true) {
|
|
10
|
-
case "email" in auth:
|
|
11
|
-
if (!EMAIL_REGEX.test(auth.email)) {
|
|
12
|
-
throw new Error("Please enter a valid email address!");
|
|
13
|
-
}
|
|
14
|
-
break;
|
|
15
|
-
case "phone" in auth:
|
|
16
|
-
{
|
|
17
|
-
if (!/^\+1\d{3}555\d{4}$/.test(auth.phone)) {
|
|
18
|
-
const formatted = formatPhoneNumber(auth.phone);
|
|
19
|
-
if (!formatted) {
|
|
20
|
-
throw new Error("Please enter a valid phone number!");
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
break;
|
|
25
|
-
}
|
|
26
|
-
return auth;
|
|
27
|
-
}
|
|
28
|
-
function validateInput(identifier, countryCode, type) {
|
|
29
|
-
const isEmail = type === "email";
|
|
30
|
-
const isPhone = type === "phone";
|
|
31
|
-
const auth = isEmail ? { email: identifier } : isPhone ? { phone: `${countryCode}${identifier}` } : void 0;
|
|
32
|
-
if (!auth) {
|
|
33
|
-
throw new Error("Please enter a valid email or phone number!");
|
|
34
|
-
}
|
|
35
|
-
return validateAuth(auth);
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
isCcMatch,
|
|
39
|
-
validateAuth,
|
|
40
|
-
validateInput
|
|
41
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { TAuthLayout } from '../types/modalProps.js';
|
|
2
|
-
export declare const hasExternalWallet: (authLayout: TAuthLayout[]) => "AUTH:FULL" | "AUTH:CONDENSED" | "EXTERNAL:FULL" | "EXTERNAL:CONDENSED" | undefined;
|
|
3
|
-
export declare const hasEmbeddedAuth: (authLayout: TAuthLayout[]) => "AUTH:FULL" | "AUTH:CONDENSED" | "EXTERNAL:FULL" | "EXTERNAL:CONDENSED" | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
const hasExternalWallet = (authLayout) => authLayout.find((layout) => layout.includes("EXTERNAL"));
|
|
4
|
-
const hasEmbeddedAuth = (authLayout) => authLayout.find((layout) => layout.includes("AUTH"));
|
|
5
|
-
export {
|
|
6
|
-
hasEmbeddedAuth,
|
|
7
|
-
hasExternalWallet
|
|
8
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
import { getCountries, getCountryCallingCode } from "libphonenumber-js";
|
|
4
|
-
const excludedCountries = [
|
|
5
|
-
"AC",
|
|
6
|
-
"CG",
|
|
7
|
-
"CI",
|
|
8
|
-
"CV",
|
|
9
|
-
"GF",
|
|
10
|
-
"GP",
|
|
11
|
-
"MF",
|
|
12
|
-
"NC",
|
|
13
|
-
"PM",
|
|
14
|
-
"RE",
|
|
15
|
-
"SD",
|
|
16
|
-
"SH",
|
|
17
|
-
"SJ",
|
|
18
|
-
"TA",
|
|
19
|
-
"VA",
|
|
20
|
-
"WF",
|
|
21
|
-
"XK",
|
|
22
|
-
"YT"
|
|
23
|
-
];
|
|
24
|
-
const generateCountryCodes = () => {
|
|
25
|
-
const countries = getCountries();
|
|
26
|
-
const countryList = countries.filter((country) => !excludedCountries.includes(country)).map((country) => {
|
|
27
|
-
const countryCode = getCountryCallingCode(country);
|
|
28
|
-
const countryName = new Intl.DisplayNames(["en"], { type: "region" }).of(country);
|
|
29
|
-
return {
|
|
30
|
-
label: countryName != null ? countryName : "",
|
|
31
|
-
value: `+${countryCode}`,
|
|
32
|
-
selectedLabel: country,
|
|
33
|
-
icon: country
|
|
34
|
-
};
|
|
35
|
-
}).sort((a, b) => {
|
|
36
|
-
var _a, _b;
|
|
37
|
-
return ((_a = a.label) != null ? _a : "").localeCompare((_b = b.label) != null ? _b : "");
|
|
38
|
-
});
|
|
39
|
-
return countryList;
|
|
40
|
-
};
|
|
41
|
-
const countryCodes = generateCountryCodes();
|
|
42
|
-
var countryCodes_default = countryCodes;
|
|
43
|
-
export {
|
|
44
|
-
countryCodes_default as default
|
|
45
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getMailtoLink(email: any, recoveryShare: any): string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
function getMailtoLink(email, recoveryShare) {
|
|
4
|
-
const emailBody = `Hello,%0D%0DBelow is your Para Recovery Secret. Keep this safe!%0D%0D${recoveryShare}%0D%0DPlease get in touch via support@getpara.com if you have any questions`;
|
|
5
|
-
const mailText = `mailto:${email}?subject=Para%20Recovery%20Secret&body=${emailBody}`;
|
|
6
|
-
return mailText;
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
getMailtoLink
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTileButtonFlex: (index: number, totalItems: number) => "1 1 auto" | "0 0 calc(33.333333% - 5.336px)" | "0 0 calc(50% - 4px)" | undefined;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
const getTileButtonFlex = (index, totalItems) => {
|
|
4
|
-
const gapOffset = 8 - 8 * 0.333;
|
|
5
|
-
if (totalItems < 2) {
|
|
6
|
-
return "1 1 auto";
|
|
7
|
-
}
|
|
8
|
-
if (totalItems % 3 === 0) {
|
|
9
|
-
return `0 0 calc(33.333333% - ${gapOffset}px)`;
|
|
10
|
-
}
|
|
11
|
-
if (totalItems % 3 === 1) {
|
|
12
|
-
return index < 4 ? "0 0 calc(50% - 4px)" : `0 0 calc(33.333333% - ${gapOffset}px)`;
|
|
13
|
-
}
|
|
14
|
-
if (totalItems % 3 === 2) {
|
|
15
|
-
return index < 2 ? "0 0 calc(50% - 4px)" : `0 0 calc(33.333333% - ${gapOffset}px)`;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
getTileButtonFlex
|
|
20
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import ParaWeb from '@getpara/web-sdk';
|
|
2
|
-
export declare function getWalletDisplayName(para: ParaWeb, { type, isExternal, name, isMenu, hideWallets, }: Partial<Pick<(typeof para.availableWallets)[0], 'type' | 'isExternal' | 'name'> & {
|
|
3
|
-
isMenu?: boolean;
|
|
4
|
-
hideWallets?: boolean;
|
|
5
|
-
}>): string;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
const WALLET_TYPES = {
|
|
4
|
-
EVM: "EVM",
|
|
5
|
-
SOLANA: "Solana",
|
|
6
|
-
COSMOS: "Cosmos"
|
|
7
|
-
};
|
|
8
|
-
function getWalletDisplayName(para, {
|
|
9
|
-
type,
|
|
10
|
-
isExternal,
|
|
11
|
-
name,
|
|
12
|
-
isMenu = false,
|
|
13
|
-
hideWallets = false
|
|
14
|
-
}) {
|
|
15
|
-
if (para.isMultiWallet) {
|
|
16
|
-
return name != null ? name : `${isExternal ? "External " : ""}${type ? WALLET_TYPES[type] : ""}${!hideWallets && (isMenu || isExternal) ? " Wallet" : ""}`;
|
|
17
|
-
}
|
|
18
|
-
return hideWallets ? "My Account" : name || "My Wallet";
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
getWalletDisplayName
|
|
22
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isPasskeySupported: () => boolean;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
import { detect } from "detect-browser";
|
|
4
|
-
const isPasskeySupported = () => {
|
|
5
|
-
const browser = detect();
|
|
6
|
-
switch (browser == null ? void 0 : browser.os) {
|
|
7
|
-
case "linux":
|
|
8
|
-
case "Chrome OS":
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
return true;
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
isPasskeySupported
|
|
15
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
function openPopup({
|
|
4
|
-
url,
|
|
5
|
-
target,
|
|
6
|
-
type,
|
|
7
|
-
current
|
|
8
|
-
}) {
|
|
9
|
-
if (typeof window === "undefined") {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
current == null ? void 0 : current.close();
|
|
13
|
-
const popUpWidth = 560;
|
|
14
|
-
let popUpHeight;
|
|
15
|
-
switch (type) {
|
|
16
|
-
case "LOGIN_PASSWORD": {
|
|
17
|
-
popUpHeight = 460;
|
|
18
|
-
break;
|
|
19
|
-
}
|
|
20
|
-
case "LOGIN_PASSKEY": {
|
|
21
|
-
popUpHeight = 798;
|
|
22
|
-
break;
|
|
23
|
-
}
|
|
24
|
-
case "CREATE_PASSWORD": {
|
|
25
|
-
popUpHeight = 400;
|
|
26
|
-
break;
|
|
27
|
-
}
|
|
28
|
-
case "CREATE_PASSKEY": {
|
|
29
|
-
popUpHeight = 464;
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
case "TRANSACTION_REVIEW": {
|
|
33
|
-
popUpHeight = 480;
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
case "OAUTH":
|
|
37
|
-
default: {
|
|
38
|
-
popUpHeight = 768;
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
const dualScreenLeft = window.screenLeft !== void 0 ? window.screenLeft : window.screenX;
|
|
43
|
-
const dualScreenTop = window.screenTop !== void 0 ? window.screenTop : window.screenY;
|
|
44
|
-
const width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
|
|
45
|
-
const height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
|
|
46
|
-
const left = (width - popUpWidth) / 2 + dualScreenLeft;
|
|
47
|
-
const top = (height - popUpHeight) / 2 + dualScreenTop;
|
|
48
|
-
const windowFeatures = `toolbar=no, menubar=no, width=${popUpWidth},
|
|
49
|
-
height=${popUpHeight}, top=${top}, left=${left}`;
|
|
50
|
-
let popupWindow = window.open(url, target, windowFeatures);
|
|
51
|
-
if (!popupWindow) {
|
|
52
|
-
setTimeout(() => {
|
|
53
|
-
popupWindow = window.open(url, "_blank");
|
|
54
|
-
}, 0);
|
|
55
|
-
}
|
|
56
|
-
return popupWindow != null ? popupWindow : null;
|
|
57
|
-
}
|
|
58
|
-
export {
|
|
59
|
-
openPopup
|
|
60
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const routeMobileExternalWallet: (qrUri?: string) => void;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import "../../chunk-MMUBH76A.js";
|
|
3
|
-
import { isAndroid, isMobile, isTelegram } from "@getpara/web-sdk";
|
|
4
|
-
const routeMobileExternalWallet = (qrUri) => {
|
|
5
|
-
if (typeof window === "undefined") {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
if (isMobile()) {
|
|
9
|
-
if (!qrUri) return;
|
|
10
|
-
if (!isTelegram() && qrUri.startsWith("http")) {
|
|
11
|
-
const link = document.createElement("a");
|
|
12
|
-
link.href = qrUri;
|
|
13
|
-
link.target = "_blank";
|
|
14
|
-
link.rel = "noreferrer noopener";
|
|
15
|
-
link.click();
|
|
16
|
-
} else {
|
|
17
|
-
if (isTelegram()) {
|
|
18
|
-
let href = qrUri;
|
|
19
|
-
if (isAndroid()) {
|
|
20
|
-
href = encodeURI(qrUri);
|
|
21
|
-
}
|
|
22
|
-
window.open(href, "_blank", "noreferrer noopener");
|
|
23
|
-
} else {
|
|
24
|
-
window.location.href = qrUri;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
routeMobileExternalWallet
|
|
31
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { EnabledFlow } from '@getpara/web-sdk';
|
|
2
|
-
export declare enum ModalStep {
|
|
3
|
-
AUTH_MAIN = "AUTH_MAIN",
|
|
4
|
-
AUTH_MORE = "AUTH_MORE",
|
|
5
|
-
AUTH_GUEST_SIGNUP = "AUTH_GUEST_SIGNUP",
|
|
6
|
-
AWAITING_GUEST_WALLET_CREATION = "AWAITING_GUEST_WALLET_CREATION",
|
|
7
|
-
EX_WALLET_MORE = "EX_WALLET_MORE",
|
|
8
|
-
EX_WALLET_SELECTED = "EX_WALLET_SELECTED",
|
|
9
|
-
EX_WALLET_NETWORK_SELECT = "EX_WALLET_NETWORK_SELECT",
|
|
10
|
-
VERIFICATIONS = "VERIFICATIONS",
|
|
11
|
-
EXTERNAL_WALLET_VERIFICATION = "EXTERNAL_WALLET_VERIFICATION",
|
|
12
|
-
AWAITING_OAUTH = "AWAITING_OAUTH",
|
|
13
|
-
FARCASTER_OAUTH = "FARCASTER_OAUTH",
|
|
14
|
-
BIOMETRIC_CREATION = "BIOMETRIC_CREATION",
|
|
15
|
-
AWAITING_BIOMETRIC_CREATION = "AWAITING_BIOMETRIC_CREATION",
|
|
16
|
-
PASSWORD_CREATION = "PASSWORD_CREATION",
|
|
17
|
-
AWAITING_PASSWORD_CREATION = "AWAITING_PASSWORD_CREATION",
|
|
18
|
-
AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
|
|
19
|
-
TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
|
|
20
|
-
WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
|
|
21
|
-
SECRET = "SECRET",
|
|
22
|
-
BIOMETRIC_LOGIN = "BIOMETRIC_LOGIN",
|
|
23
|
-
EMBEDDED_PASSWORD_LOGIN = "EMBEDDED_PASSWORD_LOGIN",
|
|
24
|
-
AWAITING_BIOMETRIC_LOGIN = "AWAITING_BIOMETRIC_LOGIN",
|
|
25
|
-
AWAITING_PASSWORD_LOGIN = "AWAITING_PASSWORD_LOGIN",
|
|
26
|
-
LOGIN_DONE = "LOGIN_DONE",
|
|
27
|
-
SETUP_2FA = "SETUP_2FA",
|
|
28
|
-
VERIFY_2FA = "VERIFY_2FA",
|
|
29
|
-
TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
|
|
30
|
-
ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
|
|
31
|
-
ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
|
|
32
|
-
ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
|
|
33
|
-
ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
|
|
34
|
-
ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
|
|
35
|
-
ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE",
|
|
36
|
-
ACCOUNT_MAIN = "ACCOUNT_MAIN",
|
|
37
|
-
CHAIN_SWITCH = "CHAIN_SWITCH",
|
|
38
|
-
ACCOUNT_PROFILE = "ACCOUNT_PROFILE",
|
|
39
|
-
ACCOUNT_PROFILE_ADD = "ACCOUNT_PROFILE_ADD",
|
|
40
|
-
ACCOUNT_PROFILE_LIST = "ACCOUNT_PROFILE_LIST",
|
|
41
|
-
ACCOUNT_PROFILE_REMOVE = "ACCOUNT_PROFILE_REMOVE"
|
|
42
|
-
}
|
|
43
|
-
export type ModalStepPropU = keyof typeof ModalStep | ModalStep;
|
|
44
|
-
export type ModalStepPropL = Lowercase<ModalStepPropU>;
|
|
45
|
-
export type ModalStepProp = ModalStepPropU | ModalStepPropL;
|
|
46
|
-
declare enum AccountStep {
|
|
47
|
-
ACCOUNT_MAIN = "ACCOUNT_MAIN",
|
|
48
|
-
AUTH_GUEST_SIGNUP = "AUTH_GUEST_SIGNUP",
|
|
49
|
-
ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
|
|
50
|
-
ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
|
|
51
|
-
ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
|
|
52
|
-
ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
|
|
53
|
-
ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
|
|
54
|
-
ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE",
|
|
55
|
-
CHAIN_SWITCH = "CHAIN_SWITCH",
|
|
56
|
-
ACCOUNT_PROFILE = "ACCOUNT_PROFILE",
|
|
57
|
-
ACCOUNT_PROFILE_ADD = "ACCOUNT_PROFILE_ADD",
|
|
58
|
-
ACCOUNT_PROFILE_LIST = "ACCOUNT_PROFILE_LIST",
|
|
59
|
-
ACCOUNT_PROFILE_REMOVE = "ACCOUNT_PROFILE_REMOVE"
|
|
60
|
-
}
|
|
61
|
-
export declare const RESET_TO_AUTH_STEPS: ModalStep[];
|
|
62
|
-
export declare const RESET_TO_ACCOUNT_STEPS: ModalStep[];
|
|
63
|
-
export declare const AccountPreviousStep: {
|
|
64
|
-
[key in AccountStep]: ModalStep | undefined;
|
|
65
|
-
};
|
|
66
|
-
declare enum SignUpModalStep {
|
|
67
|
-
AUTH_MAIN = "AUTH_MAIN",
|
|
68
|
-
AUTH_MORE = "AUTH_MORE",
|
|
69
|
-
EX_WALLET_MORE = "EX_WALLET_MORE",
|
|
70
|
-
EX_WALLET_SELECTED = "EX_WALLET_SELECTED",
|
|
71
|
-
EX_WALLET_NETWORK_SELECT = "EX_WALLET_NETWORK_SELECT",
|
|
72
|
-
VERIFICATIONS = "VERIFICATIONS",
|
|
73
|
-
EXTERNAL_WALLET_VERIFICATION = "EXTERNAL_WALLET_VERIFICATION",
|
|
74
|
-
AWAITING_OAUTH = "AWAITING_OAUTH",
|
|
75
|
-
FARCASTER_OAUTH = "FARCASTER_OAUTH",
|
|
76
|
-
TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
|
|
77
|
-
BIOMETRIC_CREATION = "BIOMETRIC_CREATION",
|
|
78
|
-
AWAITING_BIOMETRIC_CREATION = "AWAITING_BIOMETRIC_CREATION",
|
|
79
|
-
PASSWORD_CREATION = "PASSWORD_CREATION",
|
|
80
|
-
AWAITING_PASSWORD_CREATION = "AWAITING_PASSWORD_CREATION",
|
|
81
|
-
AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
|
|
82
|
-
WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
|
|
83
|
-
SECRET = "SECRET",
|
|
84
|
-
SETUP_2FA = "SETUP_2FA",
|
|
85
|
-
VERIFY_2FA = "VERIFY_2FA",
|
|
86
|
-
TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
|
|
87
|
-
ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
|
|
88
|
-
ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
|
|
89
|
-
ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
|
|
90
|
-
ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
|
|
91
|
-
ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
|
|
92
|
-
ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE"
|
|
93
|
-
}
|
|
94
|
-
export declare const SignUpPreviousStep: {
|
|
95
|
-
[key in SignUpModalStep]: ModalStep | undefined;
|
|
96
|
-
};
|
|
97
|
-
export declare const GuestPreviousStep: {
|
|
98
|
-
[key in AccountStep]: ModalStep | undefined;
|
|
99
|
-
};
|
|
100
|
-
declare enum LoginModalStep {
|
|
101
|
-
AUTH_MAIN = "AUTH_MAIN",
|
|
102
|
-
AUTH_MORE = "AUTH_MORE",
|
|
103
|
-
EX_WALLET_MORE = "EX_WALLET_MORE",
|
|
104
|
-
EX_WALLET_SELECTED = "EX_WALLET_SELECTED",
|
|
105
|
-
EX_WALLET_NETWORK_SELECT = "EX_WALLET_NETWORK_SELECT",
|
|
106
|
-
AWAITING_OAUTH = "AWAITING_OAUTH",
|
|
107
|
-
FARCASTER_OAUTH = "FARCASTER_OAUTH",
|
|
108
|
-
TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
|
|
109
|
-
BIOMETRIC_LOGIN = "BIOMETRIC_LOGIN",
|
|
110
|
-
EMBEDDED_PASSWORD_LOGIN = "EMBEDDED_PASSWORD_LOGIN",
|
|
111
|
-
AWAITING_BIOMETRIC_LOGIN = "AWAITING_BIOMETRIC_LOGIN",
|
|
112
|
-
AWAITING_PASSWORD_LOGIN = "AWAITING_PASSWORD_LOGIN",
|
|
113
|
-
AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
|
|
114
|
-
WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
|
|
115
|
-
SECRET = "SECRET",
|
|
116
|
-
SETUP_2FA = "SETUP_2FA",
|
|
117
|
-
VERIFY_2FA = "VERIFY_2FA",
|
|
118
|
-
TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
|
|
119
|
-
LOGIN_DONE = "LOGIN_DONE",
|
|
120
|
-
ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
|
|
121
|
-
ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
|
|
122
|
-
ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
|
|
123
|
-
ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
|
|
124
|
-
ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
|
|
125
|
-
ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE"
|
|
126
|
-
}
|
|
127
|
-
export declare const LoginPreviousStep: {
|
|
128
|
-
[key in LoginModalStep]: ModalStep | undefined;
|
|
129
|
-
};
|
|
130
|
-
export declare const getStepHasFooter: (step: ModalStep) => boolean;
|
|
131
|
-
export declare function getAddFundsStep(currentTab: EnabledFlow): ModalStep;
|
|
132
|
-
export declare const IFrameSteps: ModalStep[];
|
|
133
|
-
export {};
|