@getpara/react-sdk 2.0.0-alpha.7 → 2.0.0-alpha.71

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.
Files changed (311) hide show
  1. package/README.md +21 -0
  2. package/dist/cosmos/actions/getCosmjsAminoSigner.d.ts +8 -0
  3. package/dist/cosmos/actions/getCosmjsAminoSigner.js +16 -0
  4. package/dist/cosmos/actions/getCosmjsProtoSigner.d.ts +8 -0
  5. package/dist/cosmos/actions/getCosmjsProtoSigner.js +16 -0
  6. package/dist/cosmos/actions/index.d.ts +2 -0
  7. package/dist/cosmos/actions/index.js +3 -0
  8. package/dist/cosmos/hooks/index.d.ts +2 -0
  9. package/dist/cosmos/hooks/index.js +3 -0
  10. package/dist/cosmos/hooks/useCosmjsAminoSigner.d.ts +11 -0
  11. package/dist/cosmos/hooks/useCosmjsAminoSigner.js +37 -0
  12. package/dist/cosmos/hooks/useCosmjsProtoSigner.d.ts +11 -0
  13. package/dist/cosmos/hooks/useCosmjsProtoSigner.js +37 -0
  14. package/dist/cosmos/index.d.ts +2 -0
  15. package/dist/cosmos/index.js +3 -0
  16. package/dist/css/modal.css +14 -1
  17. package/dist/evm/actions/getViemAccount.d.ts +22 -0
  18. package/dist/evm/actions/getViemAccount.js +20 -0
  19. package/dist/evm/actions/getViemClient.d.ts +17993 -0
  20. package/dist/evm/actions/getViemClient.js +25 -0
  21. package/dist/evm/actions/index.d.ts +2 -0
  22. package/dist/evm/actions/index.js +3 -0
  23. package/dist/evm/hooks/index.d.ts +2 -0
  24. package/dist/evm/hooks/index.js +3 -0
  25. package/dist/evm/hooks/useViemAccount.d.ts +26 -0
  26. package/dist/evm/hooks/useViemAccount.js +32 -0
  27. package/dist/evm/hooks/useViemClient.d.ts +17997 -0
  28. package/dist/evm/hooks/useViemClient.js +30 -0
  29. package/dist/evm/index.d.ts +2 -0
  30. package/dist/evm/index.js +3 -0
  31. package/dist/index.d.ts +3 -6
  32. package/dist/index.js +4 -9
  33. package/dist/provider/ParaProvider.d.ts +1 -2
  34. package/dist/provider/ParaProvider.js +17 -76
  35. package/dist/public/PPMori-Regular.woff2 +0 -0
  36. package/dist/public/PPMori-SemiBold.woff2 +0 -0
  37. package/dist/solana/actions/getSolanaSigner.d.ts +8 -0
  38. package/dist/solana/actions/getSolanaSigner.js +15 -0
  39. package/dist/solana/actions/index.d.ts +1 -0
  40. package/dist/solana/actions/index.js +2 -0
  41. package/dist/solana/hooks/index.d.ts +1 -0
  42. package/dist/solana/hooks/index.js +2 -0
  43. package/dist/solana/hooks/useSolanaSigner.d.ts +12 -0
  44. package/dist/solana/hooks/useSolanaSigner.js +32 -0
  45. package/dist/solana/index.d.ts +2 -0
  46. package/dist/solana/index.js +3 -0
  47. package/package.json +37 -51
  48. package/styles.css/package.json +1 -1
  49. package/dist/cli/cli.mjs +0 -35
  50. package/dist/modal/ParaModal.d.ts +0 -2
  51. package/dist/modal/ParaModal.js +0 -262
  52. package/dist/modal/components/Account/Account.d.ts +0 -5
  53. package/dist/modal/components/Account/Account.js +0 -139
  54. package/dist/modal/components/AddFunds/AddFunds.d.ts +0 -1
  55. package/dist/modal/components/AddFunds/AddFunds.js +0 -69
  56. package/dist/modal/components/AddFunds/AddFundsAsset.d.ts +0 -1
  57. package/dist/modal/components/AddFunds/AddFundsAsset.js +0 -125
  58. package/dist/modal/components/AddFunds/AddFundsAwaiting.d.ts +0 -1
  59. package/dist/modal/components/AddFunds/AddFundsAwaiting.js +0 -78
  60. package/dist/modal/components/AddFunds/AddFundsContext.d.ts +0 -31
  61. package/dist/modal/components/AddFunds/AddFundsContext.js +0 -160
  62. package/dist/modal/components/AddFunds/AddFundsDone.d.ts +0 -6
  63. package/dist/modal/components/AddFunds/AddFundsDone.js +0 -49
  64. package/dist/modal/components/AddFunds/AddFundsProvider.d.ts +0 -1
  65. package/dist/modal/components/AddFunds/AddFundsProvider.js +0 -109
  66. package/dist/modal/components/AddFunds/AddFundsReceive.d.ts +0 -1
  67. package/dist/modal/components/AddFunds/AddFundsReceive.js +0 -83
  68. package/dist/modal/components/AddFunds/AddFundsSettings.d.ts +0 -1
  69. package/dist/modal/components/AddFunds/AddFundsSettings.js +0 -237
  70. package/dist/modal/components/AddFunds/MoonPayEmbed.d.ts +0 -2
  71. package/dist/modal/components/AddFunds/MoonPayEmbed.js +0 -7
  72. package/dist/modal/components/AddFunds/common.d.ts +0 -19
  73. package/dist/modal/components/AddFunds/common.js +0 -24
  74. package/dist/modal/components/AddFunds/index.d.ts +0 -3
  75. package/dist/modal/components/AddFunds/index.js +0 -4
  76. package/dist/modal/components/AuthInput/AuthInput.d.ts +0 -6
  77. package/dist/modal/components/AuthInput/AuthInput.js +0 -262
  78. package/dist/modal/components/AuthInput/hooks/useDropdownPosition.d.ts +0 -7
  79. package/dist/modal/components/AuthInput/hooks/useDropdownPosition.js +0 -33
  80. package/dist/modal/components/AuthInput/phoneMasks.d.ts +0 -247
  81. package/dist/modal/components/AuthInput/phoneMasks.js +0 -253
  82. package/dist/modal/components/AuthMainStep/AuthMainStep.d.ts +0 -9
  83. package/dist/modal/components/AuthMainStep/AuthMainStep.js +0 -50
  84. package/dist/modal/components/AuthMainStep/AuthMainStepContent.d.ts +0 -9
  85. package/dist/modal/components/AuthMainStep/AuthMainStepContent.js +0 -157
  86. package/dist/modal/components/AuthOptions/AuthOptions.d.ts +0 -9
  87. package/dist/modal/components/AuthOptions/AuthOptions.js +0 -67
  88. package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.d.ts +0 -1
  89. package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.js +0 -18
  90. package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.d.ts +0 -1
  91. package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.js +0 -10
  92. package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.d.ts +0 -1
  93. package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.js +0 -18
  94. package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.d.ts +0 -5
  95. package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.js +0 -49
  96. package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.d.ts +0 -1
  97. package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.js +0 -63
  98. package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.d.ts +0 -1
  99. package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.js +0 -55
  100. package/dist/modal/components/Body/AnimatedHeightWrapper.d.ts +0 -6
  101. package/dist/modal/components/Body/AnimatedHeightWrapper.js +0 -29
  102. package/dist/modal/components/Body/Body.d.ts +0 -11
  103. package/dist/modal/components/Body/Body.js +0 -327
  104. package/dist/modal/components/ChainSwitch/ChainSwitch.d.ts +0 -1
  105. package/dist/modal/components/ChainSwitch/ChainSwitch.js +0 -95
  106. package/dist/modal/components/ChainSwitch/config.d.ts +0 -7
  107. package/dist/modal/components/ChainSwitch/config.js +0 -17
  108. package/dist/modal/components/Controls/Controls.d.ts +0 -5
  109. package/dist/modal/components/Controls/Controls.js +0 -77
  110. package/dist/modal/components/Controls/Selects.d.ts +0 -2
  111. package/dist/modal/components/Controls/Selects.js +0 -189
  112. package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.d.ts +0 -1
  113. package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.js +0 -144
  114. package/dist/modal/components/ExternalWalletStep/config.d.ts +0 -7
  115. package/dist/modal/components/ExternalWalletStep/config.js +0 -17
  116. package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.d.ts +0 -1
  117. package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.js +0 -34
  118. package/dist/modal/components/ExternalWallets/ExternalWallets.d.ts +0 -1
  119. package/dist/modal/components/ExternalWallets/ExternalWallets.js +0 -173
  120. package/dist/modal/components/Footer/Footer.d.ts +0 -1
  121. package/dist/modal/components/Footer/Footer.js +0 -95
  122. package/dist/modal/components/Header/Header.d.ts +0 -1
  123. package/dist/modal/components/Header/Header.js +0 -43
  124. package/dist/modal/components/Header/hooks/useStepTitle.d.ts +0 -3
  125. package/dist/modal/components/Header/hooks/useStepTitle.js +0 -54
  126. package/dist/modal/components/Hero/Hero.d.ts +0 -1
  127. package/dist/modal/components/Hero/Hero.js +0 -116
  128. package/dist/modal/components/IFrameStep/IFrameStep.d.ts +0 -1
  129. package/dist/modal/components/IFrameStep/IFrameStep.js +0 -59
  130. package/dist/modal/components/LoginDoneStep/LoginDoneStep.d.ts +0 -1
  131. package/dist/modal/components/LoginDoneStep/LoginDoneStep.js +0 -31
  132. package/dist/modal/components/ModalContent/ModalContent.d.ts +0 -10
  133. package/dist/modal/components/ModalContent/ModalContent.js +0 -95
  134. package/dist/modal/components/OAuth/FarcasterOAuthStep.d.ts +0 -2
  135. package/dist/modal/components/OAuth/FarcasterOAuthStep.js +0 -27
  136. package/dist/modal/components/OAuth/OAuth.d.ts +0 -6
  137. package/dist/modal/components/OAuth/OAuth.js +0 -79
  138. package/dist/modal/components/OAuth/TelegramOAuthStep.d.ts +0 -1
  139. package/dist/modal/components/OAuth/TelegramOAuthStep.js +0 -90
  140. package/dist/modal/components/OnRampComponents/AddingFunds.d.ts +0 -1
  141. package/dist/modal/components/OnRampComponents/AddingFunds.js +0 -23
  142. package/dist/modal/components/OnRampComponents/OnRampProviderButton.d.ts +0 -9
  143. package/dist/modal/components/OnRampComponents/OnRampProviderButton.js +0 -77
  144. package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.d.ts +0 -6
  145. package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.js +0 -107
  146. package/dist/modal/components/Setup2FAStep/Setup2FAStep.d.ts +0 -5
  147. package/dist/modal/components/Setup2FAStep/Setup2FAStep.js +0 -132
  148. package/dist/modal/components/StripeComponents/StripeComponents.d.ts +0 -16
  149. package/dist/modal/components/StripeComponents/StripeComponents.js +0 -88
  150. package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.d.ts +0 -5
  151. package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.js +0 -27
  152. package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.d.ts +0 -1
  153. package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.js +0 -143
  154. package/dist/modal/components/Waiting/Waiting.d.ts +0 -6
  155. package/dist/modal/components/Waiting/Waiting.js +0 -17
  156. package/dist/modal/components/WalletCard/PartnerIcon.d.ts +0 -6
  157. package/dist/modal/components/WalletCard/PartnerIcon.js +0 -34
  158. package/dist/modal/components/WalletCard/WalletCard.d.ts +0 -18
  159. package/dist/modal/components/WalletCard/WalletCard.js +0 -128
  160. package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.d.ts +0 -6
  161. package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.js +0 -73
  162. package/dist/modal/components/common.d.ts +0 -42
  163. package/dist/modal/components/common.js +0 -175
  164. package/dist/modal/components/index.d.ts +0 -1
  165. package/dist/modal/components/index.js +0 -2
  166. package/dist/modal/constants/constants.d.ts +0 -39
  167. package/dist/modal/constants/constants.js +0 -138
  168. package/dist/modal/constants/defaults.d.ts +0 -5
  169. package/dist/modal/constants/defaults.js +0 -10
  170. package/dist/modal/constants/oAuthLogos.d.ts +0 -8
  171. package/dist/modal/constants/oAuthLogos.js +0 -24
  172. package/dist/modal/hooks/useGoBack.d.ts +0 -1
  173. package/dist/modal/hooks/useGoBack.js +0 -43
  174. package/dist/modal/index.d.ts +0 -8
  175. package/dist/modal/index.js +0 -29
  176. package/dist/modal/stores/index.d.ts +0 -1
  177. package/dist/modal/stores/index.js +0 -2
  178. package/dist/modal/stores/modal/actions.d.ts +0 -3
  179. package/dist/modal/stores/modal/actions.js +0 -133
  180. package/dist/modal/stores/modal/useModalStore.d.ts +0 -102
  181. package/dist/modal/stores/modal/useModalStore.js +0 -68
  182. package/dist/modal/types/commonTypes.d.ts +0 -6
  183. package/dist/modal/types/commonTypes.js +0 -1
  184. package/dist/modal/types/externalWallets.d.ts +0 -33
  185. package/dist/modal/types/externalWallets.js +0 -32
  186. package/dist/modal/types/modalProps.d.ts +0 -124
  187. package/dist/modal/types/modalProps.js +0 -12
  188. package/dist/modal/utils/authInputHelpers.d.ts +0 -7
  189. package/dist/modal/utils/authInputHelpers.js +0 -38
  190. package/dist/modal/utils/authLayoutHelpers.d.ts +0 -3
  191. package/dist/modal/utils/authLayoutHelpers.js +0 -8
  192. package/dist/modal/utils/countryCodes.d.ts +0 -8
  193. package/dist/modal/utils/countryCodes.js +0 -45
  194. package/dist/modal/utils/getMailtoLink.d.ts +0 -1
  195. package/dist/modal/utils/getMailtoLink.js +0 -10
  196. package/dist/modal/utils/getTileButtonFlex.d.ts +0 -1
  197. package/dist/modal/utils/getTileButtonFlex.js +0 -20
  198. package/dist/modal/utils/isPasskeySupported.d.ts +0 -1
  199. package/dist/modal/utils/isPasskeySupported.js +0 -15
  200. package/dist/modal/utils/openPopup.d.ts +0 -6
  201. package/dist/modal/utils/openPopup.js +0 -60
  202. package/dist/modal/utils/routeMobileExternalWallet.d.ts +0 -1
  203. package/dist/modal/utils/routeMobileExternalWallet.js +0 -31
  204. package/dist/modal/utils/steps.d.ts +0 -120
  205. package/dist/modal/utils/steps.js +0 -247
  206. package/dist/modal/utils/stringFormatters.d.ts +0 -5
  207. package/dist/modal/utils/stringFormatters.js +0 -19
  208. package/dist/modal/utils/validateOnRampConfig.d.ts +0 -5
  209. package/dist/modal/utils/validateOnRampConfig.js +0 -32
  210. package/dist/provider/actions/getAccount.d.ts +0 -26
  211. package/dist/provider/actions/getAccount.js +0 -51
  212. package/dist/provider/actions/getWallet.d.ts +0 -5
  213. package/dist/provider/actions/getWallet.js +0 -14
  214. package/dist/provider/actions/index.d.ts +0 -27
  215. package/dist/provider/actions/index.js +0 -59
  216. package/dist/provider/actions/utils.d.ts +0 -3
  217. package/dist/provider/actions/utils.js +0 -15
  218. package/dist/provider/components/CosmosWalletWrapper.d.ts +0 -11
  219. package/dist/provider/components/CosmosWalletWrapper.js +0 -34
  220. package/dist/provider/components/EvmWalletWrapper.d.ts +0 -12
  221. package/dist/provider/components/EvmWalletWrapper.js +0 -34
  222. package/dist/provider/components/ExternalWalletWrapper.d.ts +0 -8
  223. package/dist/provider/components/ExternalWalletWrapper.js +0 -139
  224. package/dist/provider/components/SolanaWalletWrapper.d.ts +0 -9
  225. package/dist/provider/components/SolanaWalletWrapper.js +0 -36
  226. package/dist/provider/external/getParaCosmosConnector.d.ts +0 -7
  227. package/dist/provider/external/getParaCosmosConnector.js +0 -22
  228. package/dist/provider/external/getParaEvmConnector.d.ts +0 -7
  229. package/dist/provider/external/getParaEvmConnector.js +0 -22
  230. package/dist/provider/external/getParaSolanaConnector.d.ts +0 -7
  231. package/dist/provider/external/getParaSolanaConnector.js +0 -22
  232. package/dist/provider/external/stubs/CosmosExternalWalletContextStub.d.ts +0 -12
  233. package/dist/provider/external/stubs/CosmosExternalWalletContextStub.js +0 -18
  234. package/dist/provider/external/stubs/EvmExternalWalletContextStub.d.ts +0 -3
  235. package/dist/provider/external/stubs/EvmExternalWalletContextStub.js +0 -21
  236. package/dist/provider/external/stubs/SolanaExternalWalletContextStub.d.ts +0 -8
  237. package/dist/provider/external/stubs/SolanaExternalWalletContextStub.js +0 -14
  238. package/dist/provider/hooks/index.d.ts +0 -3
  239. package/dist/provider/hooks/index.js +0 -4
  240. package/dist/provider/hooks/mutations/index.d.ts +0 -26
  241. package/dist/provider/hooks/mutations/index.js +0 -61
  242. package/dist/provider/hooks/mutations/utils.d.ts +0 -4
  243. package/dist/provider/hooks/mutations/utils.js +0 -22
  244. package/dist/provider/hooks/queries/index.d.ts +0 -3
  245. package/dist/provider/hooks/queries/index.js +0 -10
  246. package/dist/provider/hooks/queries/useAccount.d.ts +0 -5
  247. package/dist/provider/hooks/queries/useAccount.js +0 -21
  248. package/dist/provider/hooks/queries/useWallet.d.ts +0 -5
  249. package/dist/provider/hooks/queries/useWallet.js +0 -22
  250. package/dist/provider/hooks/queries/useWalletBalance.d.ts +0 -6
  251. package/dist/provider/hooks/queries/useWalletBalance.js +0 -55
  252. package/dist/provider/hooks/utils/index.d.ts +0 -3
  253. package/dist/provider/hooks/utils/index.js +0 -10
  254. package/dist/provider/hooks/utils/useAutoSessionKeepAlive.d.ts +0 -3
  255. package/dist/provider/hooks/utils/useAutoSessionKeepAlive.js +0 -74
  256. package/dist/provider/hooks/utils/useClient.d.ts +0 -5
  257. package/dist/provider/hooks/utils/useClient.js +0 -10
  258. package/dist/provider/hooks/utils/useEventListeners.d.ts +0 -2
  259. package/dist/provider/hooks/utils/useEventListeners.js +0 -147
  260. package/dist/provider/hooks/utils/useInternalClient.d.ts +0 -5
  261. package/dist/provider/hooks/utils/useInternalClient.js +0 -10
  262. package/dist/provider/hooks/utils/useModal.d.ts +0 -8
  263. package/dist/provider/hooks/utils/useModal.js +0 -17
  264. package/dist/provider/hooks/utils/useWalletState.d.ts +0 -15
  265. package/dist/provider/hooks/utils/useWalletState.js +0 -48
  266. package/dist/provider/index.d.ts +0 -4
  267. package/dist/provider/index.js +0 -9
  268. package/dist/provider/providers/AuthProvider.d.ts +0 -35
  269. package/dist/provider/providers/AuthProvider.js +0 -498
  270. package/dist/provider/providers/CosmosExternalWalletProvider.d.ts +0 -7
  271. package/dist/provider/providers/CosmosExternalWalletProvider.js +0 -66
  272. package/dist/provider/providers/EvmExternalWalletProvider.d.ts +0 -7
  273. package/dist/provider/providers/EvmExternalWalletProvider.js +0 -74
  274. package/dist/provider/providers/ExternalWalletProvider.d.ts +0 -76
  275. package/dist/provider/providers/ExternalWalletProvider.js +0 -428
  276. package/dist/provider/providers/SolanaExternalWalletProvider.d.ts +0 -7
  277. package/dist/provider/providers/SolanaExternalWalletProvider.js +0 -66
  278. package/dist/provider/stores/getters.d.ts +0 -4
  279. package/dist/provider/stores/getters.js +0 -13
  280. package/dist/provider/stores/setters.d.ts +0 -1
  281. package/dist/provider/stores/setters.js +0 -7
  282. package/dist/provider/stores/slices/client.d.ts +0 -3
  283. package/dist/provider/stores/slices/client.js +0 -9
  284. package/dist/provider/stores/slices/config.d.ts +0 -3
  285. package/dist/provider/stores/slices/config.js +0 -9
  286. package/dist/provider/stores/slices/externalWallets.d.ts +0 -3
  287. package/dist/provider/stores/slices/externalWallets.js +0 -40
  288. package/dist/provider/stores/slices/index.d.ts +0 -4
  289. package/dist/provider/stores/slices/index.js +0 -5
  290. package/dist/provider/stores/slices/modal.d.ts +0 -3
  291. package/dist/provider/stores/slices/modal.js +0 -16
  292. package/dist/provider/stores/slices/wallet.d.ts +0 -3
  293. package/dist/provider/stores/slices/wallet.js +0 -13
  294. package/dist/provider/stores/types.d.ts +0 -64
  295. package/dist/provider/stores/types.js +0 -1
  296. package/dist/provider/stores/useStore.d.ts +0 -17
  297. package/dist/provider/stores/useStore.js +0 -28
  298. package/dist/provider/types/externalWalletProviders.d.ts +0 -12
  299. package/dist/provider/types/externalWalletProviders.js +0 -1
  300. package/dist/provider/types/provider.d.ts +0 -147
  301. package/dist/provider/types/provider.js +0 -1
  302. package/dist/provider/types/query.d.ts +0 -3
  303. package/dist/provider/types/query.js +0 -1
  304. package/dist/provider/types/utils.d.ts +0 -22
  305. package/dist/provider/types/utils.js +0 -1
  306. package/dist/provider/utils/constants.d.ts +0 -5
  307. package/dist/provider/utils/constants.js +0 -10
  308. package/dist/provider/utils/paraConfigTypeGuards.d.ts +0 -7
  309. package/dist/provider/utils/paraConfigTypeGuards.js +0 -13
  310. package/dist/provider/utils/renameMutations.d.ts +0 -5
  311. package/dist/provider/utils/renameMutations.js +0 -18
@@ -1,33 +0,0 @@
1
- export declare enum EvmWallet {
2
- METAMASK = "METAMASK",
3
- RAINBOW = "RAINBOW",
4
- COINBASE = "COINBASE",
5
- WALLETCONNECT = "WALLETCONNECT",
6
- ZERION = "ZERION",
7
- SAFE = "SAFE",
8
- RABBY = "RABBY"
9
- }
10
- export declare enum SolanaWallet {
11
- PHANTOM = "PHANTOM",
12
- GLOW = "GLOW",
13
- BACKPACK = "BACKPACK"
14
- }
15
- export declare enum CosmosWallet {
16
- KEPLR = "KEPLR",
17
- LEAP = "LEAP"
18
- }
19
- export declare const ExternalWallet: {
20
- KEPLR: CosmosWallet.KEPLR;
21
- LEAP: CosmosWallet.LEAP;
22
- PHANTOM: SolanaWallet.PHANTOM;
23
- GLOW: SolanaWallet.GLOW;
24
- BACKPACK: SolanaWallet.BACKPACK;
25
- METAMASK: EvmWallet.METAMASK;
26
- RAINBOW: EvmWallet.RAINBOW;
27
- COINBASE: EvmWallet.COINBASE;
28
- WALLETCONNECT: EvmWallet.WALLETCONNECT;
29
- ZERION: EvmWallet.ZERION;
30
- SAFE: EvmWallet.SAFE;
31
- RABBY: EvmWallet.RABBY;
32
- };
33
- export type TExternalWallet = keyof typeof ExternalWallet;
@@ -1,32 +0,0 @@
1
- "use client";
2
- import {
3
- __spreadValues
4
- } from "../../chunk-MMUBH76A.js";
5
- var EvmWallet = /* @__PURE__ */ ((EvmWallet2) => {
6
- EvmWallet2["METAMASK"] = "METAMASK";
7
- EvmWallet2["RAINBOW"] = "RAINBOW";
8
- EvmWallet2["COINBASE"] = "COINBASE";
9
- EvmWallet2["WALLETCONNECT"] = "WALLETCONNECT";
10
- EvmWallet2["ZERION"] = "ZERION";
11
- EvmWallet2["SAFE"] = "SAFE";
12
- EvmWallet2["RABBY"] = "RABBY";
13
- return EvmWallet2;
14
- })(EvmWallet || {});
15
- var SolanaWallet = /* @__PURE__ */ ((SolanaWallet2) => {
16
- SolanaWallet2["PHANTOM"] = "PHANTOM";
17
- SolanaWallet2["GLOW"] = "GLOW";
18
- SolanaWallet2["BACKPACK"] = "BACKPACK";
19
- return SolanaWallet2;
20
- })(SolanaWallet || {});
21
- var CosmosWallet = /* @__PURE__ */ ((CosmosWallet2) => {
22
- CosmosWallet2["KEPLR"] = "KEPLR";
23
- CosmosWallet2["LEAP"] = "LEAP";
24
- return CosmosWallet2;
25
- })(CosmosWallet || {});
26
- const ExternalWallet = __spreadValues(__spreadValues(__spreadValues({}, EvmWallet), SolanaWallet), CosmosWallet);
27
- export {
28
- CosmosWallet,
29
- EvmWallet,
30
- ExternalWallet,
31
- SolanaWallet
32
- };
@@ -1,124 +0,0 @@
1
- import ParaWeb, { CurrentWalletIds, TOAuthMethod } from '@getpara/web-sdk';
2
- import { Theme } from '@getpara/react-components';
3
- import { OnModalStepChangeValue } from '../stores/index.js';
4
- import { ModalStep, ModalStepProp } from '../utils/steps.js';
5
- export type ParaModalHandle = {
6
- /**
7
- * Move the modal backward
8
- */
9
- goBack: () => void;
10
- /**
11
- * Returns if the modal can go back
12
- */
13
- canGoBack: () => boolean;
14
- /**
15
- * Returns if the modal is expanded
16
- */
17
- currentStep: () => ModalStep;
18
- /**
19
- * Trigger the modal close handler
20
- */
21
- handleModalClose: () => void;
22
- };
23
- export type OAuthLogoVariantType = 'dark' | 'light' | 'default';
24
- export type ParaModalTheme = Theme & {
25
- oAuthLogoVariant?: OAuthLogoVariantType;
26
- };
27
- export declare enum AuthLayout {
28
- AUTH_FULL = "AUTH:FULL",
29
- AUTH_CONDENSED = "AUTH:CONDENSED",
30
- EXTERNAL_FULL = "EXTERNAL:FULL",
31
- EXTERNAL_CONDENSED = "EXTERNAL:CONDENSED"
32
- }
33
- export type TAuthLayout = `${AuthLayout}`;
34
- export interface ParaModalProps {
35
- /**
36
- * Your ParaWeb instance.
37
- */
38
- para?: ParaWeb;
39
- /**
40
- * Whether or not the modal is open.
41
- */
42
- isOpen?: boolean;
43
- /**
44
- * Whether or not to show two-factor authentication steps to users.
45
- * Defaults to `false`.
46
- */
47
- twoFactorAuthEnabled?: boolean;
48
- /**
49
- * Whether or not to show the wallet recovery to users.
50
- * Defaults to `false`
51
- */
52
- recoverySecretStepEnabled?: boolean;
53
- /**
54
- * Which OAuth methods (if any) to show.
55
- * Defaults to `true`.
56
- */
57
- oAuthMethods?: TOAuthMethod[];
58
- /**
59
- * Whether or not to allow for email login. If true, only OAuth login will be available.
60
- * Defaults to `false`.
61
- */
62
- disableEmailLogin?: boolean;
63
- /**
64
- * Whether or not to allow for phone login. If true, only OAuth login will be available.
65
- * Defaults to `false`.
66
- */
67
- disablePhoneLogin?: boolean;
68
- /**
69
- * Theming to be used throughout the modal.
70
- */
71
- theme?: ParaModalTheme;
72
- /**
73
- * Logo to be shown throughout the modal.
74
- */
75
- logo?: string;
76
- /**
77
- * Whether or not to run configured on-ramp providers in test mode.
78
- */
79
- onRampTestMode?: boolean;
80
- /**
81
- * Whether to display information about on-chain wallets and use related terminology in the Para Modal.
82
- */
83
- hideWallets?: boolean;
84
- currentStepOverride?: ModalStepProp | undefined;
85
- /**
86
- * Whether or not to display just the modal without the overlay component.
87
- * Useful for rendering the modal inside a custom component
88
- * Defaults to `false`
89
- */
90
- bareModal?: boolean;
91
- /**
92
- * Whether or not to use the embedded modal styling
93
- * This is typically only used internally by Para and may result in unwanted styling!
94
- */
95
- embeddedModal?: boolean;
96
- className?: string;
97
- /**
98
- * How the modal should order the components on the main auth screen.
99
- * Only the first method of each type (auth or external) will be used.
100
- * Default to [AuthLayout.AUTH_FULL, AuthLayout.EXTERNAL_FULL]
101
- */
102
- authLayout?: TAuthLayout[];
103
- /**
104
- * Default email or phone number (formatted like: +15555555555) to pre-populate the input field.
105
- */
106
- defaultAuthIdentifier?: string;
107
- /**
108
- * Called when the modal step changes
109
- */
110
- onModalStepChange?: (value: OnModalStepChangeValue) => void;
111
- /**
112
- * Called when the modal is closed
113
- */
114
- onClose?: () => void;
115
- /**
116
- * Whether to enable guest login. A guest user will be provisioned embedded wallets that they will then claim upon signing up through your app.
117
- */
118
- isGuestModeEnabled?: boolean;
119
- loginTransitionOverride?: (para: ParaWeb) => Promise<void>;
120
- createWalletOverride?: (para: ParaWeb) => Promise<{
121
- recoverySecret?: string;
122
- walletIds: CurrentWalletIds;
123
- }>;
124
- }
@@ -1,12 +0,0 @@
1
- "use client";
2
- import "../../chunk-MMUBH76A.js";
3
- var AuthLayout = /* @__PURE__ */ ((AuthLayout2) => {
4
- AuthLayout2["AUTH_FULL"] = "AUTH:FULL";
5
- AuthLayout2["AUTH_CONDENSED"] = "AUTH:CONDENSED";
6
- AuthLayout2["EXTERNAL_FULL"] = "EXTERNAL:FULL";
7
- AuthLayout2["EXTERNAL_CONDENSED"] = "EXTERNAL:CONDENSED";
8
- return AuthLayout2;
9
- })(AuthLayout || {});
10
- export {
11
- AuthLayout
12
- };
@@ -1,7 +0,0 @@
1
- import countryCodes from './countryCodes.js';
2
- export declare function isCcMatch(countryCode: string, option: (typeof countryCodes)[number]): boolean;
3
- export declare function validateAuth(identifier: string, countryCode?: string, type?: 'email' | 'phone'): {
4
- email: string;
5
- } | {
6
- phone: import("@getpara/user-management-client").AuthIdentifier<"phone">;
7
- };
@@ -1,38 +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(identifier, countryCode, type) {
9
- const isEmail = type === "email";
10
- const isPhone = type === "phone";
11
- let auth;
12
- switch (true) {
13
- case isEmail:
14
- if (!EMAIL_REGEX.test(identifier)) {
15
- throw new Error("Please enter a valid email!");
16
- }
17
- auth = { email: identifier };
18
- break;
19
- case isPhone:
20
- if (countryCode === "+1" && identifier.slice(3, 6) === "555") {
21
- auth = { phone: `${countryCode}${identifier}` };
22
- break;
23
- }
24
- const validatedPhone = formatPhoneNumber(identifier, countryCode);
25
- if (!validatedPhone) {
26
- throw new Error("Please enter a valid phone number!");
27
- }
28
- auth = { phone: validatedPhone };
29
- break;
30
- default:
31
- throw new Error("Please enter a valid email or phone number!");
32
- }
33
- return auth;
34
- }
35
- export {
36
- isCcMatch,
37
- validateAuth
38
- };
@@ -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,8 +0,0 @@
1
- import { IconType } from '@getpara/core-components';
2
- declare const countryCodes: {
3
- label: string;
4
- value: string;
5
- selectedLabel: string;
6
- icon: IconType;
7
- }[];
8
- export default countryCodes;
@@ -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 +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,6 +0,0 @@
1
- export declare function openPopup({ url, target, type, current, }: {
2
- url: string;
3
- target: string;
4
- type: 'OAUTH' | 'LOGIN_PASSKEY' | 'CREATE_PASSKEY' | 'TRANSACTION_REVIEW' | 'CREATE_PASSWORD' | 'LOGIN_PASSWORD';
5
- current?: Window | null;
6
- }): Window | null;
@@ -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,120 +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
- VERIFICATIONS = "VERIFICATIONS",
10
- EXTERNAL_WALLET_VERIFICATION = "EXTERNAL_WALLET_VERIFICATION",
11
- AWAITING_OAUTH = "AWAITING_OAUTH",
12
- FARCASTER_OAUTH = "FARCASTER_OAUTH",
13
- BIOMETRIC_CREATION = "BIOMETRIC_CREATION",
14
- AWAITING_BIOMETRIC_CREATION = "AWAITING_BIOMETRIC_CREATION",
15
- PASSWORD_CREATION = "PASSWORD_CREATION",
16
- AWAITING_PASSWORD_CREATION = "AWAITING_PASSWORD_CREATION",
17
- AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
18
- TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
19
- WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
20
- SECRET = "SECRET",
21
- BIOMETRIC_LOGIN = "BIOMETRIC_LOGIN",
22
- AWAITING_BIOMETRIC_LOGIN = "AWAITING_BIOMETRIC_LOGIN",
23
- AWAITING_PASSWORD_LOGIN = "AWAITING_PASSWORD_LOGIN",
24
- LOGIN_DONE = "LOGIN_DONE",
25
- SETUP_2FA = "SETUP_2FA",
26
- VERIFY_2FA = "VERIFY_2FA",
27
- TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
28
- ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
29
- ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
30
- ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
31
- ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
32
- ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
33
- ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE",
34
- ACCOUNT_MAIN = "ACCOUNT_MAIN",
35
- CHAIN_SWITCH = "CHAIN_SWITCH"
36
- }
37
- export type ModalStepPropU = keyof typeof ModalStep | ModalStep;
38
- export type ModalStepPropL = Lowercase<ModalStepPropU>;
39
- export type ModalStepProp = ModalStepPropU | ModalStepPropL;
40
- declare enum AccountStep {
41
- ACCOUNT_MAIN = "ACCOUNT_MAIN",
42
- AUTH_GUEST_SIGNUP = "AUTH_GUEST_SIGNUP",
43
- ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
44
- ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
45
- ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
46
- ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
47
- ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
48
- ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE",
49
- CHAIN_SWITCH = "CHAIN_SWITCH"
50
- }
51
- export declare const RESET_TO_AUTH_STEPS: ModalStep[];
52
- export declare const RESET_TO_ACCOUNT_STEPS: ModalStep[];
53
- export declare const AccountPreviousStep: {
54
- [key in AccountStep]: ModalStep | undefined;
55
- };
56
- declare enum SignUpModalStep {
57
- AUTH_MAIN = "AUTH_MAIN",
58
- AUTH_MORE = "AUTH_MORE",
59
- EX_WALLET_MORE = "EX_WALLET_MORE",
60
- EX_WALLET_SELECTED = "EX_WALLET_SELECTED",
61
- VERIFICATIONS = "VERIFICATIONS",
62
- EXTERNAL_WALLET_VERIFICATION = "EXTERNAL_WALLET_VERIFICATION",
63
- AWAITING_OAUTH = "AWAITING_OAUTH",
64
- FARCASTER_OAUTH = "FARCASTER_OAUTH",
65
- TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
66
- BIOMETRIC_CREATION = "BIOMETRIC_CREATION",
67
- AWAITING_BIOMETRIC_CREATION = "AWAITING_BIOMETRIC_CREATION",
68
- PASSWORD_CREATION = "PASSWORD_CREATION",
69
- AWAITING_PASSWORD_CREATION = "AWAITING_PASSWORD_CREATION",
70
- AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
71
- WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
72
- SECRET = "SECRET",
73
- SETUP_2FA = "SETUP_2FA",
74
- VERIFY_2FA = "VERIFY_2FA",
75
- TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
76
- ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
77
- ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
78
- ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
79
- ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
80
- ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
81
- ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE"
82
- }
83
- export declare const SignUpPreviousStep: {
84
- [key in SignUpModalStep]: ModalStep | undefined;
85
- };
86
- export declare const GuestPreviousStep: {
87
- [key in AccountStep]: ModalStep | undefined;
88
- };
89
- declare enum LoginModalStep {
90
- AUTH_MAIN = "AUTH_MAIN",
91
- AUTH_MORE = "AUTH_MORE",
92
- EX_WALLET_MORE = "EX_WALLET_MORE",
93
- EX_WALLET_SELECTED = "EX_WALLET_SELECTED",
94
- AWAITING_OAUTH = "AWAITING_OAUTH",
95
- FARCASTER_OAUTH = "FARCASTER_OAUTH",
96
- TELEGRAM_OAUTH = "TELEGRAM_OAUTH",
97
- BIOMETRIC_LOGIN = "BIOMETRIC_LOGIN",
98
- AWAITING_BIOMETRIC_LOGIN = "AWAITING_BIOMETRIC_LOGIN",
99
- AWAITING_PASSWORD_LOGIN = "AWAITING_PASSWORD_LOGIN",
100
- AWAITING_WALLET_CREATION = "AWAITING_WALLET_CREATION",
101
- WALLET_CREATION_DONE = "WALLET_CREATION_DONE",
102
- SECRET = "SECRET",
103
- SETUP_2FA = "SETUP_2FA",
104
- VERIFY_2FA = "VERIFY_2FA",
105
- TWO_FACTOR_DONE = "TWO_FACTOR_DONE",
106
- LOGIN_DONE = "LOGIN_DONE",
107
- ADD_FUNDS_BUY = "ADD_FUNDS_BUY",
108
- ADD_FUNDS_RECEIVE = "ADD_FUNDS_RECEIVE",
109
- ADD_FUNDS_WITHDRAW = "ADD_FUNDS_WITHDRAW",
110
- ADD_FUNDS_AWAITING = "ADD_FUNDS_AWAITING",
111
- ADD_FUNDS_SUCCESS = "ADD_FUNDS_SUCCESS",
112
- ADD_FUNDS_FAILURE = "ADD_FUNDS_FAILURE"
113
- }
114
- export declare const LoginPreviousStep: {
115
- [key in LoginModalStep]: ModalStep | undefined;
116
- };
117
- export declare const getStepHasFooter: (step: ModalStep) => boolean;
118
- export declare function getAddFundsStep(currentTab: EnabledFlow): ModalStep;
119
- export declare const IFrameSteps: ModalStep[];
120
- export {};