@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.
Files changed (344) hide show
  1. package/dist/cosmos/actions/getCosmjsAminoSigner.d.ts +8 -0
  2. package/dist/cosmos/actions/getCosmjsAminoSigner.js +16 -0
  3. package/dist/cosmos/actions/getCosmjsProtoSigner.d.ts +8 -0
  4. package/dist/cosmos/actions/getCosmjsProtoSigner.js +16 -0
  5. package/dist/cosmos/actions/index.d.ts +2 -0
  6. package/dist/cosmos/actions/index.js +3 -0
  7. package/dist/cosmos/hooks/index.d.ts +2 -0
  8. package/dist/cosmos/hooks/index.js +3 -0
  9. package/dist/cosmos/hooks/useCosmjsAminoSigner.d.ts +11 -0
  10. package/dist/cosmos/hooks/useCosmjsAminoSigner.js +37 -0
  11. package/dist/cosmos/hooks/useCosmjsProtoSigner.d.ts +11 -0
  12. package/dist/cosmos/hooks/useCosmjsProtoSigner.js +37 -0
  13. package/dist/cosmos/index.d.ts +2 -0
  14. package/dist/cosmos/index.js +3 -0
  15. package/dist/css/modal.css +14 -1
  16. package/dist/evm/actions/getViemAccount.d.ts +22 -0
  17. package/dist/evm/actions/getViemAccount.js +20 -0
  18. package/dist/evm/actions/getViemClient.d.ts +7659 -0
  19. package/dist/evm/actions/getViemClient.js +25 -0
  20. package/dist/evm/actions/index.d.ts +2 -0
  21. package/dist/evm/actions/index.js +3 -0
  22. package/dist/evm/hooks/index.d.ts +2 -0
  23. package/dist/evm/hooks/index.js +3 -0
  24. package/dist/evm/hooks/useViemAccount.d.ts +26 -0
  25. package/dist/evm/hooks/useViemAccount.js +32 -0
  26. package/dist/evm/hooks/useViemClient.d.ts +7663 -0
  27. package/dist/evm/hooks/useViemClient.js +30 -0
  28. package/dist/evm/index.d.ts +2 -0
  29. package/dist/evm/index.js +3 -0
  30. package/dist/index.d.ts +3 -5
  31. package/dist/index.js +4 -4
  32. package/dist/provider/ParaProvider.d.ts +1 -2
  33. package/dist/provider/ParaProvider.js +13 -106
  34. package/dist/public/PPMori-Regular.woff2 +0 -0
  35. package/dist/public/PPMori-SemiBold.woff2 +0 -0
  36. package/dist/solana/actions/getSolanaSigner.d.ts +8 -0
  37. package/dist/solana/actions/getSolanaSigner.js +15 -0
  38. package/dist/solana/actions/index.d.ts +1 -0
  39. package/dist/solana/actions/index.js +2 -0
  40. package/dist/solana/hooks/index.d.ts +1 -0
  41. package/dist/solana/hooks/index.js +2 -0
  42. package/dist/solana/hooks/useSolanaSigner.d.ts +12 -0
  43. package/dist/solana/hooks/useSolanaSigner.js +32 -0
  44. package/dist/solana/index.d.ts +2 -0
  45. package/dist/solana/index.js +3 -0
  46. package/package.json +19 -29
  47. package/styles.css/package.json +1 -1
  48. package/dist/cli/cli.mjs +0 -50
  49. package/dist/modal/ParaModal.d.ts +0 -2
  50. package/dist/modal/ParaModal.js +0 -301
  51. package/dist/modal/components/Account/Account.d.ts +0 -5
  52. package/dist/modal/components/Account/Account.js +0 -148
  53. package/dist/modal/components/Account/AccountProfile.d.ts +0 -1
  54. package/dist/modal/components/Account/AccountProfile.js +0 -168
  55. package/dist/modal/components/Account/AccountProfileLink.d.ts +0 -1
  56. package/dist/modal/components/Account/AccountProfileLink.js +0 -206
  57. package/dist/modal/components/Account/AccountProfileLinkOptions.d.ts +0 -1
  58. package/dist/modal/components/Account/AccountProfileLinkOptions.js +0 -111
  59. package/dist/modal/components/Account/AccountProfileUnlink.d.ts +0 -1
  60. package/dist/modal/components/Account/AccountProfileUnlink.js +0 -47
  61. package/dist/modal/components/AddFunds/AddFunds.d.ts +0 -1
  62. package/dist/modal/components/AddFunds/AddFunds.js +0 -69
  63. package/dist/modal/components/AddFunds/AddFundsAsset.d.ts +0 -1
  64. package/dist/modal/components/AddFunds/AddFundsAsset.js +0 -125
  65. package/dist/modal/components/AddFunds/AddFundsAwaiting.d.ts +0 -1
  66. package/dist/modal/components/AddFunds/AddFundsAwaiting.js +0 -78
  67. package/dist/modal/components/AddFunds/AddFundsContext.d.ts +0 -31
  68. package/dist/modal/components/AddFunds/AddFundsContext.js +0 -160
  69. package/dist/modal/components/AddFunds/AddFundsDone.d.ts +0 -6
  70. package/dist/modal/components/AddFunds/AddFundsDone.js +0 -49
  71. package/dist/modal/components/AddFunds/AddFundsProvider.d.ts +0 -1
  72. package/dist/modal/components/AddFunds/AddFundsProvider.js +0 -109
  73. package/dist/modal/components/AddFunds/AddFundsReceive.d.ts +0 -1
  74. package/dist/modal/components/AddFunds/AddFundsReceive.js +0 -83
  75. package/dist/modal/components/AddFunds/AddFundsSettings.d.ts +0 -1
  76. package/dist/modal/components/AddFunds/AddFundsSettings.js +0 -237
  77. package/dist/modal/components/AddFunds/MoonPayEmbed.d.ts +0 -2
  78. package/dist/modal/components/AddFunds/MoonPayEmbed.js +0 -7
  79. package/dist/modal/components/AddFunds/common.d.ts +0 -19
  80. package/dist/modal/components/AddFunds/common.js +0 -24
  81. package/dist/modal/components/AddFunds/index.d.ts +0 -3
  82. package/dist/modal/components/AddFunds/index.js +0 -4
  83. package/dist/modal/components/AuthInput/AuthInput.d.ts +0 -20
  84. package/dist/modal/components/AuthInput/AuthInput.js +0 -277
  85. package/dist/modal/components/AuthInput/hooks/useDropdownPosition.d.ts +0 -7
  86. package/dist/modal/components/AuthInput/hooks/useDropdownPosition.js +0 -33
  87. package/dist/modal/components/AuthInput/phoneMasks.d.ts +0 -247
  88. package/dist/modal/components/AuthInput/phoneMasks.js +0 -253
  89. package/dist/modal/components/AuthMainStep/AuthMainStep.d.ts +0 -9
  90. package/dist/modal/components/AuthMainStep/AuthMainStep.js +0 -50
  91. package/dist/modal/components/AuthMainStep/AuthMainStepContent.d.ts +0 -9
  92. package/dist/modal/components/AuthMainStep/AuthMainStepContent.js +0 -164
  93. package/dist/modal/components/AuthOptions/AuthOptions.d.ts +0 -9
  94. package/dist/modal/components/AuthOptions/AuthOptions.js +0 -85
  95. package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.d.ts +0 -1
  96. package/dist/modal/components/AwaitingBiometricsStep/AwaitingBiometricsStep.js +0 -18
  97. package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.d.ts +0 -1
  98. package/dist/modal/components/AwaitingOAuthStep/AwaitingOAuthStep.js +0 -10
  99. package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.d.ts +0 -1
  100. package/dist/modal/components/AwaitingPasswordStep/AwaitingPasswordStep.js +0 -18
  101. package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.d.ts +0 -5
  102. package/dist/modal/components/AwaitingWalletCreationStep/AwaitingWalletCreationStep.js +0 -49
  103. package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.d.ts +0 -1
  104. package/dist/modal/components/BiometricCreationStep/BiometricCreationStep.js +0 -62
  105. package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.d.ts +0 -1
  106. package/dist/modal/components/BiometricLoginStep/BiometricLoginStep.js +0 -48
  107. package/dist/modal/components/Body/AnimatedHeightWrapper.d.ts +0 -6
  108. package/dist/modal/components/Body/AnimatedHeightWrapper.js +0 -29
  109. package/dist/modal/components/Body/Body.d.ts +0 -11
  110. package/dist/modal/components/Body/Body.js +0 -350
  111. package/dist/modal/components/ChainSwitch/ChainSwitch.d.ts +0 -1
  112. package/dist/modal/components/ChainSwitch/ChainSwitch.js +0 -95
  113. package/dist/modal/components/ChainSwitch/config.d.ts +0 -7
  114. package/dist/modal/components/ChainSwitch/config.js +0 -17
  115. package/dist/modal/components/Controls/Controls.d.ts +0 -5
  116. package/dist/modal/components/Controls/Controls.js +0 -78
  117. package/dist/modal/components/Controls/Selects.d.ts +0 -2
  118. package/dist/modal/components/Controls/Selects.js +0 -173
  119. package/dist/modal/components/ExternalWalletNetworkSelectStep/ExternalWalletNetworkSelectStep.d.ts +0 -1
  120. package/dist/modal/components/ExternalWalletNetworkSelectStep/ExternalWalletNetworkSelectStep.js +0 -75
  121. package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.d.ts +0 -8
  122. package/dist/modal/components/ExternalWalletStep/ExternalWalletStep.js +0 -175
  123. package/dist/modal/components/ExternalWalletStep/config.d.ts +0 -7
  124. package/dist/modal/components/ExternalWalletStep/config.js +0 -17
  125. package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.d.ts +0 -1
  126. package/dist/modal/components/ExternalWalletVerificationStep/ExternalWalletVerificationStep.js +0 -39
  127. package/dist/modal/components/ExternalWallets/ExternalWallets.d.ts +0 -1
  128. package/dist/modal/components/ExternalWallets/ExternalWallets.js +0 -184
  129. package/dist/modal/components/Footer/Footer.d.ts +0 -1
  130. package/dist/modal/components/Footer/Footer.js +0 -95
  131. package/dist/modal/components/Header/Header.d.ts +0 -1
  132. package/dist/modal/components/Header/Header.js +0 -43
  133. package/dist/modal/components/Header/hooks/useStepTitle.d.ts +0 -3
  134. package/dist/modal/components/Header/hooks/useStepTitle.js +0 -61
  135. package/dist/modal/components/Hero/Hero.d.ts +0 -1
  136. package/dist/modal/components/Hero/Hero.js +0 -116
  137. package/dist/modal/components/IFrameStep/IFrameStep.d.ts +0 -1
  138. package/dist/modal/components/IFrameStep/IFrameStep.js +0 -59
  139. package/dist/modal/components/LoginDoneStep/LoginDoneStep.d.ts +0 -5
  140. package/dist/modal/components/LoginDoneStep/LoginDoneStep.js +0 -44
  141. package/dist/modal/components/ModalContent/ModalContent.d.ts +0 -10
  142. package/dist/modal/components/ModalContent/ModalContent.js +0 -88
  143. package/dist/modal/components/OAuth/FarcasterOAuthStep.d.ts +0 -3
  144. package/dist/modal/components/OAuth/FarcasterOAuthStep.js +0 -31
  145. package/dist/modal/components/OAuth/OAuth.d.ts +0 -6
  146. package/dist/modal/components/OAuth/OAuth.js +0 -79
  147. package/dist/modal/components/OAuth/TelegramOAuthStep.d.ts +0 -8
  148. package/dist/modal/components/OAuth/TelegramOAuthStep.js +0 -74
  149. package/dist/modal/components/OnRampComponents/AddingFunds.d.ts +0 -1
  150. package/dist/modal/components/OnRampComponents/AddingFunds.js +0 -23
  151. package/dist/modal/components/OnRampComponents/OnRampProviderButton.d.ts +0 -9
  152. package/dist/modal/components/OnRampComponents/OnRampProviderButton.js +0 -77
  153. package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.d.ts +0 -6
  154. package/dist/modal/components/RecoverySecretStep/RecoverySecretStep.js +0 -107
  155. package/dist/modal/components/Setup2FAStep/Setup2FAStep.d.ts +0 -5
  156. package/dist/modal/components/Setup2FAStep/Setup2FAStep.js +0 -132
  157. package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.d.ts +0 -5
  158. package/dist/modal/components/TwoFactorDoneStep/TwoFactorDoneStep.js +0 -27
  159. package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.d.ts +0 -12
  160. package/dist/modal/components/VerificationCodeStep/VerificationCodeStep.js +0 -160
  161. package/dist/modal/components/Waiting/Waiting.d.ts +0 -6
  162. package/dist/modal/components/Waiting/Waiting.js +0 -17
  163. package/dist/modal/components/WalletCard/PartnerIcon.d.ts +0 -6
  164. package/dist/modal/components/WalletCard/PartnerIcon.js +0 -34
  165. package/dist/modal/components/WalletCard/WalletCard.d.ts +0 -18
  166. package/dist/modal/components/WalletCard/WalletCard.js +0 -128
  167. package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.d.ts +0 -6
  168. package/dist/modal/components/WalletCreationDoneStep/WalletCreationDoneStep.js +0 -83
  169. package/dist/modal/components/common.d.ts +0 -59
  170. package/dist/modal/components/common.js +0 -261
  171. package/dist/modal/components/index.d.ts +0 -1
  172. package/dist/modal/components/index.js +0 -2
  173. package/dist/modal/constants/constants.d.ts +0 -40
  174. package/dist/modal/constants/constants.js +0 -142
  175. package/dist/modal/constants/defaults.d.ts +0 -5
  176. package/dist/modal/constants/defaults.js +0 -10
  177. package/dist/modal/constants/oAuthLogos.d.ts +0 -17
  178. package/dist/modal/constants/oAuthLogos.js +0 -158
  179. package/dist/modal/constants/walletTypeConfig.d.ts +0 -6
  180. package/dist/modal/constants/walletTypeConfig.js +0 -13
  181. package/dist/modal/hooks/useGoBack.d.ts +0 -1
  182. package/dist/modal/hooks/useGoBack.js +0 -43
  183. package/dist/modal/hooks/useTelegramLogin.d.ts +0 -12
  184. package/dist/modal/hooks/useTelegramLogin.js +0 -65
  185. package/dist/modal/index.d.ts +0 -8
  186. package/dist/modal/index.js +0 -29
  187. package/dist/modal/stores/index.d.ts +0 -1
  188. package/dist/modal/stores/index.js +0 -2
  189. package/dist/modal/stores/modal/actions.d.ts +0 -3
  190. package/dist/modal/stores/modal/actions.js +0 -135
  191. package/dist/modal/stores/modal/useModalStore.d.ts +0 -103
  192. package/dist/modal/stores/modal/useModalStore.js +0 -73
  193. package/dist/modal/types/commonTypes.d.ts +0 -6
  194. package/dist/modal/types/commonTypes.js +0 -1
  195. package/dist/modal/types/modalProps.d.ts +0 -129
  196. package/dist/modal/types/modalProps.js +0 -12
  197. package/dist/modal/utils/authInputHelpers.d.ts +0 -5
  198. package/dist/modal/utils/authInputHelpers.js +0 -41
  199. package/dist/modal/utils/authLayoutHelpers.d.ts +0 -3
  200. package/dist/modal/utils/authLayoutHelpers.js +0 -8
  201. package/dist/modal/utils/countryCodes.d.ts +0 -8
  202. package/dist/modal/utils/countryCodes.js +0 -45
  203. package/dist/modal/utils/getMailtoLink.d.ts +0 -1
  204. package/dist/modal/utils/getMailtoLink.js +0 -10
  205. package/dist/modal/utils/getTileButtonFlex.d.ts +0 -1
  206. package/dist/modal/utils/getTileButtonFlex.js +0 -20
  207. package/dist/modal/utils/getWalletDisplayName.d.ts +0 -5
  208. package/dist/modal/utils/getWalletDisplayName.js +0 -22
  209. package/dist/modal/utils/isPasskeySupported.d.ts +0 -1
  210. package/dist/modal/utils/isPasskeySupported.js +0 -15
  211. package/dist/modal/utils/openPopup.d.ts +0 -6
  212. package/dist/modal/utils/openPopup.js +0 -60
  213. package/dist/modal/utils/routeMobileExternalWallet.d.ts +0 -1
  214. package/dist/modal/utils/routeMobileExternalWallet.js +0 -31
  215. package/dist/modal/utils/steps.d.ts +0 -133
  216. package/dist/modal/utils/steps.js +0 -273
  217. package/dist/modal/utils/stringFormatters.d.ts +0 -5
  218. package/dist/modal/utils/stringFormatters.js +0 -19
  219. package/dist/modal/utils/validateOnRampConfig.d.ts +0 -5
  220. package/dist/modal/utils/validateOnRampConfig.js +0 -32
  221. package/dist/provider/actions/getEmbeddedAccount.d.ts +0 -26
  222. package/dist/provider/actions/getEmbeddedAccount.js +0 -52
  223. package/dist/provider/actions/getWallet.d.ts +0 -5
  224. package/dist/provider/actions/getWallet.js +0 -18
  225. package/dist/provider/actions/index.d.ts +0 -47
  226. package/dist/provider/actions/index.js +0 -79
  227. package/dist/provider/actions/utils.d.ts +0 -4
  228. package/dist/provider/actions/utils.js +0 -34
  229. package/dist/provider/components/CosmosWalletWrapper.d.ts +0 -11
  230. package/dist/provider/components/CosmosWalletWrapper.js +0 -43
  231. package/dist/provider/components/EvmWalletWrapper.d.ts +0 -12
  232. package/dist/provider/components/EvmWalletWrapper.js +0 -43
  233. package/dist/provider/components/ExternalWalletWrapper.d.ts +0 -8
  234. package/dist/provider/components/ExternalWalletWrapper.js +0 -140
  235. package/dist/provider/components/SolanaWalletWrapper.d.ts +0 -9
  236. package/dist/provider/components/SolanaWalletWrapper.js +0 -44
  237. package/dist/provider/external/getParaCosmosConnector.d.ts +0 -7
  238. package/dist/provider/external/getParaCosmosConnector.js +0 -19
  239. package/dist/provider/external/getParaCosmosLib.d.ts +0 -4
  240. package/dist/provider/external/getParaCosmosLib.js +0 -16
  241. package/dist/provider/external/getParaEvmConnector.d.ts +0 -7
  242. package/dist/provider/external/getParaEvmConnector.js +0 -19
  243. package/dist/provider/external/getParaEvmLib.d.ts +0 -4
  244. package/dist/provider/external/getParaEvmLib.js +0 -16
  245. package/dist/provider/external/getParaSolanaConnector.d.ts +0 -7
  246. package/dist/provider/external/getParaSolanaConnector.js +0 -19
  247. package/dist/provider/external/getParaSolanaLib.d.ts +0 -4
  248. package/dist/provider/external/getParaSolanaLib.js +0 -16
  249. package/dist/provider/external/stubs/CosmosExternalWalletContextStub.d.ts +0 -2
  250. package/dist/provider/external/stubs/CosmosExternalWalletContextStub.js +0 -8
  251. package/dist/provider/external/stubs/EvmExternalWalletContextStub.d.ts +0 -2
  252. package/dist/provider/external/stubs/EvmExternalWalletContextStub.js +0 -8
  253. package/dist/provider/external/stubs/SolanaExternalWalletContextStub.d.ts +0 -2
  254. package/dist/provider/external/stubs/SolanaExternalWalletContextStub.js +0 -8
  255. package/dist/provider/hooks/index.d.ts +0 -3
  256. package/dist/provider/hooks/index.js +0 -4
  257. package/dist/provider/hooks/mutations/core.d.ts +0 -27
  258. package/dist/provider/hooks/mutations/core.js +0 -66
  259. package/dist/provider/hooks/mutations/index.d.ts +0 -3
  260. package/dist/provider/hooks/mutations/index.js +0 -9
  261. package/dist/provider/hooks/mutations/useLinkAccount.d.ts +0 -9
  262. package/dist/provider/hooks/mutations/useLinkAccount.js +0 -18
  263. package/dist/provider/hooks/mutations/utils.d.ts +0 -12
  264. package/dist/provider/hooks/mutations/utils.js +0 -90
  265. package/dist/provider/hooks/queries/core.d.ts +0 -4
  266. package/dist/provider/hooks/queries/core.js +0 -16
  267. package/dist/provider/hooks/queries/index.d.ts +0 -4
  268. package/dist/provider/hooks/queries/index.js +0 -11
  269. package/dist/provider/hooks/queries/useAccount.d.ts +0 -90
  270. package/dist/provider/hooks/queries/useAccount.js +0 -135
  271. package/dist/provider/hooks/queries/useIsFullyLoggedIn.d.ts +0 -5
  272. package/dist/provider/hooks/queries/useIsFullyLoggedIn.js +0 -24
  273. package/dist/provider/hooks/queries/useWallet.d.ts +0 -5
  274. package/dist/provider/hooks/queries/useWallet.js +0 -26
  275. package/dist/provider/hooks/queries/useWalletBalance.d.ts +0 -6
  276. package/dist/provider/hooks/queries/useWalletBalance.js +0 -55
  277. package/dist/provider/hooks/queries/utils.d.ts +0 -7
  278. package/dist/provider/hooks/queries/utils.js +0 -25
  279. package/dist/provider/hooks/utils/index.d.ts +0 -3
  280. package/dist/provider/hooks/utils/index.js +0 -10
  281. package/dist/provider/hooks/utils/useAutoSessionKeepAlive.d.ts +0 -3
  282. package/dist/provider/hooks/utils/useAutoSessionKeepAlive.js +0 -74
  283. package/dist/provider/hooks/utils/useClient.d.ts +0 -5
  284. package/dist/provider/hooks/utils/useClient.js +0 -10
  285. package/dist/provider/hooks/utils/useEventListeners.d.ts +0 -2
  286. package/dist/provider/hooks/utils/useEventListeners.js +0 -157
  287. package/dist/provider/hooks/utils/useFormattedBiometricHints.d.ts +0 -4
  288. package/dist/provider/hooks/utils/useFormattedBiometricHints.js +0 -27
  289. package/dist/provider/hooks/utils/useInternalClient.d.ts +0 -5
  290. package/dist/provider/hooks/utils/useInternalClient.js +0 -10
  291. package/dist/provider/hooks/utils/useModal.d.ts +0 -11
  292. package/dist/provider/hooks/utils/useModal.js +0 -27
  293. package/dist/provider/hooks/utils/useWalletState.d.ts +0 -15
  294. package/dist/provider/hooks/utils/useWalletState.js +0 -48
  295. package/dist/provider/index.d.ts +0 -6
  296. package/dist/provider/index.js +0 -11
  297. package/dist/provider/providers/AccountLinkProvider.d.ts +0 -47
  298. package/dist/provider/providers/AccountLinkProvider.js +0 -452
  299. package/dist/provider/providers/AuthProvider.d.ts +0 -37
  300. package/dist/provider/providers/AuthProvider.js +0 -523
  301. package/dist/provider/providers/CosmosExternalWalletProvider.d.ts +0 -7
  302. package/dist/provider/providers/CosmosExternalWalletProvider.js +0 -66
  303. package/dist/provider/providers/EvmExternalWalletProvider.d.ts +0 -7
  304. package/dist/provider/providers/EvmExternalWalletProvider.js +0 -74
  305. package/dist/provider/providers/ExternalWalletProvider.d.ts +0 -59
  306. package/dist/provider/providers/ExternalWalletProvider.js +0 -596
  307. package/dist/provider/providers/SolanaExternalWalletProvider.d.ts +0 -7
  308. package/dist/provider/providers/SolanaExternalWalletProvider.js +0 -66
  309. package/dist/provider/stores/getters.d.ts +0 -4
  310. package/dist/provider/stores/getters.js +0 -13
  311. package/dist/provider/stores/setters.d.ts +0 -1
  312. package/dist/provider/stores/setters.js +0 -7
  313. package/dist/provider/stores/slices/analytics.d.ts +0 -3
  314. package/dist/provider/stores/slices/analytics.js +0 -9
  315. package/dist/provider/stores/slices/client.d.ts +0 -3
  316. package/dist/provider/stores/slices/client.js +0 -9
  317. package/dist/provider/stores/slices/config.d.ts +0 -3
  318. package/dist/provider/stores/slices/config.js +0 -9
  319. package/dist/provider/stores/slices/externalWallets.d.ts +0 -3
  320. package/dist/provider/stores/slices/externalWallets.js +0 -46
  321. package/dist/provider/stores/slices/index.d.ts +0 -5
  322. package/dist/provider/stores/slices/index.js +0 -6
  323. package/dist/provider/stores/slices/modal.d.ts +0 -3
  324. package/dist/provider/stores/slices/modal.js +0 -18
  325. package/dist/provider/stores/slices/wallet.d.ts +0 -3
  326. package/dist/provider/stores/slices/wallet.js +0 -13
  327. package/dist/provider/stores/types.d.ts +0 -76
  328. package/dist/provider/stores/types.js +0 -1
  329. package/dist/provider/stores/useStore.d.ts +0 -17
  330. package/dist/provider/stores/useStore.js +0 -34
  331. package/dist/provider/types/externalWalletProviders.d.ts +0 -12
  332. package/dist/provider/types/externalWalletProviders.js +0 -1
  333. package/dist/provider/types/provider.d.ts +0 -161
  334. package/dist/provider/types/provider.js +0 -1
  335. package/dist/provider/types/query.d.ts +0 -3
  336. package/dist/provider/types/query.js +0 -1
  337. package/dist/provider/types/utils.d.ts +0 -45
  338. package/dist/provider/types/utils.js +0 -1
  339. package/dist/provider/utils/constants.d.ts +0 -5
  340. package/dist/provider/utils/constants.js +0 -10
  341. package/dist/provider/utils/paraConfigTypeGuards.d.ts +0 -7
  342. package/dist/provider/utils/paraConfigTypeGuards.js +0 -13
  343. package/dist/provider/utils/renameMutations.d.ts +0 -5
  344. package/dist/provider/utils/renameMutations.js +0 -18
@@ -1,247 +0,0 @@
1
- export declare const defaultPhoneMask = "#################";
2
- export declare const phoneMasks: {
3
- AF: string;
4
- AX: string;
5
- AL: string;
6
- DZ: string;
7
- AS: string;
8
- AD: string;
9
- AO: string;
10
- AI: string;
11
- AG: string;
12
- AR: string;
13
- AM: string;
14
- AW: string;
15
- AU: string;
16
- AT: string;
17
- AZ: string;
18
- BS: string;
19
- BH: string;
20
- BD: string;
21
- BB: string;
22
- BY: string;
23
- BE: string;
24
- BZ: string;
25
- BJ: string;
26
- BM: string;
27
- BT: string;
28
- BO: string;
29
- BA: string;
30
- BW: string;
31
- BR: string;
32
- IO: string;
33
- BN: string;
34
- BG: string;
35
- BF: string;
36
- BI: string;
37
- KH: string;
38
- CM: string;
39
- CA: string;
40
- CV: string;
41
- KY: string;
42
- CF: string;
43
- TD: string;
44
- CL: string;
45
- CN: string;
46
- CX: string;
47
- CC: string;
48
- CO: string;
49
- KM: string;
50
- CG: string;
51
- CK: string;
52
- CR: string;
53
- HR: string;
54
- CU: string;
55
- CY: string;
56
- CZ: string;
57
- CD: string;
58
- DK: string;
59
- DJ: string;
60
- DM: string;
61
- DO: string;
62
- EC: string;
63
- EG: string;
64
- SV: string;
65
- GQ: string;
66
- ER: string;
67
- EE: string;
68
- SZ: string;
69
- ET: string;
70
- FK: string;
71
- FO: string;
72
- FJ: string;
73
- FI: string;
74
- FR: string;
75
- GF: string;
76
- PF: string;
77
- GA: string;
78
- GM: string;
79
- GE: string;
80
- DE: string;
81
- GH: string;
82
- GI: string;
83
- GR: string;
84
- GL: string;
85
- GD: string;
86
- GP: string;
87
- GU: string;
88
- GT: string;
89
- GG: string;
90
- GN: string;
91
- GW: string;
92
- GY: string;
93
- HT: string;
94
- VA: string;
95
- HN: string;
96
- HK: string;
97
- HU: string;
98
- IS: string;
99
- IN: string;
100
- ID: string;
101
- IR: string;
102
- IQ: string;
103
- IE: string;
104
- IM: string;
105
- IL: string;
106
- IT: string;
107
- CI: string;
108
- JM: string;
109
- JP: string;
110
- JE: string;
111
- JO: string;
112
- KZ: string;
113
- KE: string;
114
- KI: string;
115
- KP: string;
116
- KR: string;
117
- XK: string;
118
- KW: string;
119
- KG: string;
120
- LA: string;
121
- LV: string;
122
- LB: string;
123
- LS: string;
124
- LR: string;
125
- LY: string;
126
- LI: string;
127
- LT: string;
128
- LU: string;
129
- MO: string;
130
- MG: string;
131
- MW: string;
132
- MY: string;
133
- MV: string;
134
- ML: string;
135
- MT: string;
136
- MH: string;
137
- MQ: string;
138
- MR: string;
139
- MU: string;
140
- YT: string;
141
- MX: string;
142
- FM: string;
143
- MD: string;
144
- MC: string;
145
- MN: string;
146
- ME: string;
147
- MS: string;
148
- MA: string;
149
- MZ: string;
150
- MM: string;
151
- NA: string;
152
- NR: string;
153
- NP: string;
154
- NL: string;
155
- NC: string;
156
- NZ: string;
157
- NI: string;
158
- NE: string;
159
- NG: string;
160
- NU: string;
161
- NF: string;
162
- MK: string;
163
- MP: string;
164
- NO: string;
165
- OM: string;
166
- PK: string;
167
- PW: string;
168
- PS: string;
169
- PA: string;
170
- PG: string;
171
- PY: string;
172
- PE: string;
173
- PH: string;
174
- PN: string;
175
- PL: string;
176
- PT: string;
177
- PR: string;
178
- QA: string;
179
- RE: string;
180
- RO: string;
181
- RU: string;
182
- RW: string;
183
- BL: string;
184
- SH: string;
185
- KN: string;
186
- LC: string;
187
- MF: string;
188
- PM: string;
189
- VC: string;
190
- WS: string;
191
- SM: string;
192
- ST: string;
193
- SA: string;
194
- SN: string;
195
- RS: string;
196
- SC: string;
197
- SL: string;
198
- SG: string;
199
- SX: string;
200
- SK: string;
201
- SI: string;
202
- SB: string;
203
- SO: string;
204
- ZA: string;
205
- GS: string;
206
- SS: string;
207
- ES: string;
208
- LK: string;
209
- SD: string;
210
- SR: string;
211
- SJ: string;
212
- SE: string;
213
- CH: string;
214
- SY: string;
215
- TW: string;
216
- TJ: string;
217
- TZ: string;
218
- TH: string;
219
- TL: string;
220
- TG: string;
221
- TK: string;
222
- TO: string;
223
- TT: string;
224
- TN: string;
225
- TR: string;
226
- TM: string;
227
- TC: string;
228
- TV: string;
229
- UG: string;
230
- UA: string;
231
- AE: string;
232
- GB: string;
233
- US: string;
234
- UM: string;
235
- UY: string;
236
- UZ: string;
237
- VU: string;
238
- VE: string;
239
- VN: string;
240
- VG: string;
241
- VI: string;
242
- WF: string;
243
- EH: string;
244
- YE: string;
245
- ZM: string;
246
- ZW: string;
247
- };
@@ -1,253 +0,0 @@
1
- "use client";
2
- import "../../../chunk-MMUBH76A.js";
3
- const defaultPhoneMask = "#################";
4
- const phoneMasks = {
5
- AF: "### ### ####",
6
- AX: "## ### ####",
7
- AL: "(###) ### ###",
8
- DZ: "(###) ### ###",
9
- AS: "(###) ###-####",
10
- AD: "### ###",
11
- AO: "(###) ### ###",
12
- AI: "(###) ###-####",
13
- AG: "(###) ###-####",
14
- AR: "(###) ###-####",
15
- AM: "## ### ###",
16
- AW: "### ####",
17
- AU: "# #### ####",
18
- AT: "(###) ### ####",
19
- AZ: "(###) ### ## ##",
20
- BS: "(###) ###-####",
21
- BH: "#### ####",
22
- BD: "# ### ###",
23
- BB: "(###) ###-####",
24
- BY: "(##) ###-##-##",
25
- BE: "(###) ### ###",
26
- BZ: "###-####",
27
- BJ: "##-##-####",
28
- BM: "(###) ###-####",
29
- BT: "# ### ###",
30
- BO: "# ### ####",
31
- BA: "## ###-###",
32
- BW: "## ### ###",
33
- BR: "(##) ####-####",
34
- IO: "### ####",
35
- BN: "### ####",
36
- BG: "(###) ### ###",
37
- BF: "## ## ####",
38
- BI: "## ## ####",
39
- KH: "## ### ###",
40
- CM: "#### ####",
41
- CA: "(###) ###-####",
42
- CV: "(###) ## ##",
43
- KY: "(###) ###-####",
44
- CF: "## ## ####",
45
- TD: "## ## ## ##",
46
- CL: "# #### ####",
47
- CN: "(###) #### ####",
48
- CX: "# ## ## ##",
49
- CC: "# ## ## ##",
50
- CO: "(###) ### ####",
51
- KM: "## ## ## ##",
52
- CG: "## ### ####",
53
- CK: "## ###",
54
- CR: "#### ####",
55
- HR: "## #### ###",
56
- CU: "# ### ####",
57
- CY: "## ### ###",
58
- CZ: "### ### ###",
59
- CD: "### ### ###",
60
- DK: "## ## ## ##",
61
- DJ: "## ## ## ##",
62
- DM: "(###) ###-####",
63
- DO: "(###) ###-####",
64
- EC: "## ### ####",
65
- EG: "# #### ####",
66
- SV: "#### ####",
67
- GQ: "## ### ####",
68
- ER: "# ### ###",
69
- EE: "#### ####",
70
- SZ: "#### ####",
71
- ET: "## ### ####",
72
- FK: "#####",
73
- FO: "######",
74
- FJ: "### ####",
75
- FI: "## ### ####",
76
- FR: "## ## ## ## ##",
77
- GF: "### ## ## ##",
78
- PF: "## ## ##",
79
- GA: "# ## ## ##",
80
- GM: "### ####",
81
- GE: "(###) ## ## ##",
82
- DE: "###########",
83
- GH: "## ### ####",
84
- GI: "### #####",
85
- GR: "(###) ### ####",
86
- GL: "## ## ##",
87
- GD: "(###) ###-####",
88
- GP: "### ## ## ##",
89
- GU: "(###) ###-####",
90
- GT: "# ### ####",
91
- GG: "(####) ### ###",
92
- GN: "## ### ###",
93
- GW: "# #######",
94
- GY: "### ####",
95
- HT: "## ## ####",
96
- VA: "### ####",
97
- HN: "####-####",
98
- HK: "#### ####",
99
- HU: "(##) ### ####",
100
- IS: "### ####",
101
- IN: "####### ###",
102
- ID: "(###) ###-####",
103
- IR: "(###) ### ####",
104
- IQ: "(###) ### ####",
105
- IE: "(###) ### ###",
106
- IM: "(####) ### ###",
107
- IL: "#-###-####",
108
- IT: "(###) #### ###",
109
- CI: "## ## ## ##",
110
- JM: "(###) ###-####",
111
- JP: "(###) ###-####",
112
- JE: "(####) ### ###",
113
- JO: "# #### ####",
114
- KZ: "(###) ###-##-##",
115
- KE: "### ######",
116
- KI: "## ###",
117
- KP: "###-###-####",
118
- KR: "(###) ####-####",
119
- XK: "## ### ###",
120
- KW: "#### ####",
121
- KG: "(###) ###-###",
122
- LA: "## ## ####",
123
- LV: "## ### ###",
124
- LB: "## ### ###",
125
- LS: "# ### ####",
126
- LR: "## ### ###",
127
- LY: "##-#######",
128
- LI: "(###) ###-####",
129
- LT: "(###) ## ###",
130
- LU: "### ### ###",
131
- MO: "#### ####",
132
- MG: "## ## ### ##",
133
- MW: "# #### ####",
134
- MY: "(###) ###-###",
135
- MV: "###-####",
136
- ML: "## ## ####",
137
- MT: "#### ####",
138
- MH: "###-####",
139
- MQ: "### ## ## ##",
140
- MR: "## ## ####",
141
- MU: "### ####",
142
- YT: "### ## ## ##",
143
- MX: "(###) ###-####",
144
- FM: "### ####",
145
- MD: "#### ####",
146
- MC: "(###) ###-###",
147
- MN: "## ## ####",
148
- ME: "## ### ###",
149
- MS: "(###) ###-####",
150
- MA: "#-####-####",
151
- MZ: "## ### ####",
152
- MM: "# ### ####",
153
- NA: "## ### ####",
154
- NR: "### ####",
155
- NP: "#-######",
156
- NL: "## ### ####",
157
- NC: "##.##.##",
158
- NZ: "## ### ###",
159
- NI: "#### ####",
160
- NE: "## ## ## ##",
161
- NG: "## #### ####",
162
- NU: "####",
163
- NF: "### ###",
164
- MK: "## ### ###",
165
- MP: "(###) ###-####",
166
- NO: "### ## ###",
167
- OM: "#### ####",
168
- PK: "(###) #######",
169
- PW: "### ####",
170
- PS: "## ### ####",
171
- PA: "####-####",
172
- PG: "(###) ## ###",
173
- PY: "## ### ####",
174
- PE: "(###) ### ###",
175
- PH: "(###) ###-####",
176
- PN: "### ####",
177
- PL: "### ### ###",
178
- PT: "## ### ####",
179
- PR: "(###) ###-####",
180
- QA: "#### ####",
181
- RE: "##### ####",
182
- RO: "## ### ####",
183
- RU: "(###) ###-##-##",
184
- RW: "(###) ### ###",
185
- BL: "### ## ## ##",
186
- SH: "####",
187
- KN: "(###) ###-####",
188
- LC: "(###) ###-####",
189
- MF: "### ## ## ##",
190
- PM: "## ## ##",
191
- VC: "(###) ###-####",
192
- WS: "####",
193
- SM: "(####) ######",
194
- ST: "## ####",
195
- SA: "# ### ####",
196
- SN: "## ### ####",
197
- RS: "## ### ####",
198
- SC: "# ### ###",
199
- SL: "## ######",
200
- SG: "#### ####",
201
- SX: "(###) ###-####",
202
- SK: "(###) ### ###",
203
- SI: "## ### ###",
204
- SB: "### ####",
205
- SO: "# ### ###",
206
- ZA: "## ### ####",
207
- GS: "####",
208
- SS: "# ### ####",
209
- ES: "### ### ###",
210
- LK: "## ### ####",
211
- SD: "## ### ####",
212
- SR: "###-####",
213
- SJ: "### ## ###",
214
- SE: "## ### ####",
215
- CH: "## ### ####",
216
- SY: "## #### ###",
217
- TW: "#### ####",
218
- TJ: "## ### ####",
219
- TZ: "## ### ####",
220
- TH: "# #### ####",
221
- TL: "#### ####",
222
- TG: "## ## ## ##",
223
- TK: "####",
224
- TO: "####",
225
- TT: "(###) ###-####",
226
- TN: "## ### ###",
227
- TR: "(###) ### ####",
228
- TM: "# ### ###",
229
- TC: "(###) ###-####",
230
- TV: "####",
231
- UG: "## ### ####",
232
- UA: "## ### ####",
233
- AE: "# ### ####",
234
- GB: "#### ### ###",
235
- US: "(###) ###-####",
236
- UM: "(###) ###-####",
237
- UY: "# ### ## ##",
238
- UZ: "## ### ####",
239
- VU: "## ####",
240
- VE: "###-###-####",
241
- VN: "## #### ###",
242
- VG: "(###) ###-####",
243
- VI: "(###) ###-####",
244
- WF: "## ####",
245
- EH: "###-###-###",
246
- YE: "# ### ###",
247
- ZM: "## ### ####",
248
- ZW: "# #######"
249
- };
250
- export {
251
- defaultPhoneMask,
252
- phoneMasks
253
- };
@@ -1,9 +0,0 @@
1
- import { TOAuthMethod } from '@getpara/web-sdk';
2
- interface AuthMainStepProps {
3
- oAuthMethods?: TOAuthMethod[];
4
- disableEmailLogin: boolean;
5
- disablePhoneLogin: boolean;
6
- isGuestModeEnabled?: boolean;
7
- }
8
- export declare const AuthMainStep: ({ oAuthMethods, disableEmailLogin, disablePhoneLogin, isGuestModeEnabled, }: AuthMainStepProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,50 +0,0 @@
1
- "use client";
2
- import "../../../chunk-MMUBH76A.js";
3
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
- import { safeStyled } from "@getpara/react-common";
5
- import { AuthMainStepContent } from "./AuthMainStepContent.js";
6
- import { CenteredText } from "../common.js";
7
- import { useStore } from "../../../provider/stores/useStore.js";
8
- import { useModalStore } from "../../stores/index.js";
9
- const AuthMainStep = ({
10
- oAuthMethods,
11
- disableEmailLogin,
12
- disablePhoneLogin,
13
- isGuestModeEnabled = false
14
- }) => {
15
- const authLayout = useModalStore((state) => state.authLayout);
16
- const embeddedModal = useStore((state) => {
17
- var _a;
18
- return (_a = state.modalConfig) == null ? void 0 : _a.embeddedModal;
19
- });
20
- const logo = useStore((state) => {
21
- var _a;
22
- return (_a = state.modalConfig) == null ? void 0 : _a.logo;
23
- });
24
- const appName = useStore((state) => state.appName);
25
- const firstLayoutType = authLayout == null ? void 0 : authLayout[0].split(":")[0];
26
- const heading = firstLayoutType === "AUTH" ? "Sign Up or Login" : "Connect Wallet";
27
- return /* @__PURE__ */ jsxs(Fragment, { children: [
28
- logo && /* @__PURE__ */ jsx(Logo, { src: logo, alt: `${appName ? `${appName} -` : ""}logo` }),
29
- !embeddedModal && /* @__PURE__ */ jsx(CenteredText, { variant: logo ? "bodyM" : "headingS", weight: "semiBold", children: heading }),
30
- /* @__PURE__ */ jsx(
31
- AuthMainStepContent,
32
- {
33
- disableEmailLogin,
34
- disablePhoneLogin,
35
- isGuestModeEnabled,
36
- oAuthMethods
37
- }
38
- )
39
- ] });
40
- };
41
- const Logo = safeStyled.img`
42
- height: 100px;
43
- max-width: 260px;
44
- object-fit: contain;
45
- box-sizing: content-box;
46
- align-self: center;
47
- `;
48
- export {
49
- AuthMainStep
50
- };
@@ -1,9 +0,0 @@
1
- import { TOAuthMethod } from '@getpara/web-sdk';
2
- interface AuthMainStepContentProps {
3
- oAuthMethods?: TOAuthMethod[];
4
- disableEmailLogin: boolean;
5
- disablePhoneLogin: boolean;
6
- isGuestModeEnabled?: boolean;
7
- }
8
- export declare const AuthMainStepContent: ({ oAuthMethods, disableEmailLogin, disablePhoneLogin, isGuestModeEnabled, }: AuthMainStepContentProps) => import("react/jsx-runtime").JSX.Element;
9
- export {};