@crossmint/client-sdk-react-ui 1.10.7 → 1.11.1

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 (738) hide show
  1. package/dist/chunk-2POV64LQ.js +1 -0
  2. package/dist/chunk-2U6DCZSI.js +1 -0
  3. package/dist/chunk-2VILTRL5.js +1 -0
  4. package/dist/chunk-2VQLMU5A.cjs +1 -0
  5. package/dist/chunk-2WSEHVNP.cjs +1 -0
  6. package/dist/chunk-33OQI6MO.js +1 -0
  7. package/dist/chunk-3BUVHV54.js +0 -0
  8. package/dist/chunk-3EQVCVCE.cjs +1 -0
  9. package/dist/chunk-3FQDW3IU.js +1 -0
  10. package/dist/chunk-3GIMVKF3.js +1 -0
  11. package/dist/chunk-4IHRWQWT.js +1 -0
  12. package/dist/chunk-4ITU7JF2.js +1 -0
  13. package/dist/chunk-56YL3XJW.cjs +1 -0
  14. package/dist/chunk-5IFQJPBE.cjs +1 -0
  15. package/dist/chunk-5M3BWY6T.cjs +1 -0
  16. package/dist/chunk-6IRIZUTM.cjs +1 -0
  17. package/dist/chunk-6M5OP7SM.js +1 -0
  18. package/dist/chunk-72MMCJ2E.js +0 -0
  19. package/dist/chunk-72P3JMXX.js +1 -0
  20. package/dist/chunk-77PBG2JJ.js +1 -0
  21. package/dist/chunk-7ANJ2GZG.cjs +1 -0
  22. package/dist/chunk-7ASOCI4Q.js +1 -0
  23. package/dist/chunk-7B364FBM.cjs +1 -0
  24. package/dist/chunk-7VI5AXX5.cjs +1 -0
  25. package/dist/chunk-AUSETHZ3.cjs +1 -0
  26. package/dist/chunk-AXMHJC73.cjs +1 -0
  27. package/dist/chunk-BR77Q3PK.cjs +1 -0
  28. package/dist/chunk-BV7CQ2QS.js +1 -0
  29. package/dist/chunk-C3JRTLQP.js +1 -0
  30. package/dist/chunk-CW33KBH3.cjs +1 -0
  31. package/dist/chunk-D3255LVM.cjs +1 -0
  32. package/dist/chunk-D4K2AGJK.cjs +1 -0
  33. package/dist/chunk-DGZQUCSD.js +1 -0
  34. package/dist/chunk-DPUG72P3.cjs +1 -0
  35. package/dist/chunk-E4TBJMOO.js +1 -0
  36. package/dist/chunk-EA7H4AXL.js +1 -0
  37. package/dist/chunk-EUXGP4IN.cjs +1 -0
  38. package/dist/chunk-EVADF7QA.js +1 -0
  39. package/dist/chunk-FON43I6G.cjs +1 -0
  40. package/dist/chunk-G4LT7I7W.js +1 -0
  41. package/dist/chunk-GPGY5B6G.js +1 -0
  42. package/dist/chunk-GPQZG7HC.cjs +1 -0
  43. package/dist/chunk-HG5ML6KX.cjs +1 -0
  44. package/dist/chunk-HJ4ZXU2X.js +1 -0
  45. package/dist/chunk-I4GMMHQR.cjs +1 -0
  46. package/dist/chunk-IAJBYU5C.js +1 -0
  47. package/dist/chunk-IMRZHYQK.cjs +1 -0
  48. package/dist/chunk-IMV35JZB.cjs +1 -0
  49. package/dist/chunk-IV4ACZQE.js +1 -0
  50. package/dist/chunk-IZGR67ZI.js +1 -0
  51. package/dist/chunk-JDYEU555.cjs +1 -0
  52. package/dist/chunk-JGM3G5E2.js +1 -0
  53. package/dist/chunk-JSNUJJQJ.js +1 -0
  54. package/dist/chunk-KFL42A3A.js +1 -0
  55. package/dist/chunk-KI4HRYHD.cjs +1 -0
  56. package/dist/chunk-LMSKJDGS.js +1 -0
  57. package/dist/chunk-M42BIIZJ.cjs +1 -0
  58. package/dist/chunk-N7OESP3W.js +1 -0
  59. package/dist/chunk-NB7AJIPT.js +0 -0
  60. package/dist/chunk-NBJIJZGO.js +1 -0
  61. package/dist/chunk-NCDVID2B.js +1 -0
  62. package/dist/chunk-NEKICGOA.cjs +1 -0
  63. package/dist/chunk-NFLGT52C.cjs +1 -0
  64. package/dist/chunk-NRN4WNQL.cjs +1 -0
  65. package/dist/chunk-NU6UB76I.cjs +1 -0
  66. package/dist/chunk-NZQIZ4ZY.cjs +1 -0
  67. package/dist/chunk-O5J2ZIJ6.cjs +1 -0
  68. package/dist/chunk-O73L7XWQ.js +1 -0
  69. package/dist/chunk-OOLXYAO7.js +1 -0
  70. package/dist/chunk-PDEAWPX3.cjs +1 -0
  71. package/dist/chunk-PW7TOKQ2.cjs +1 -0
  72. package/dist/chunk-PXDN3KFO.js +1 -0
  73. package/dist/chunk-QASKWI5Y.js +1 -0
  74. package/dist/chunk-QYQERFYL.cjs +1 -0
  75. package/dist/chunk-ROJ6HFVK.js +1 -0
  76. package/dist/chunk-RYQRCUKB.js +1 -0
  77. package/dist/chunk-S73E6EBO.cjs +1 -0
  78. package/dist/chunk-SFDQPSSP.js +1 -0
  79. package/dist/chunk-SRQAQHYK.cjs +1 -0
  80. package/dist/chunk-T6FFMX2I.js +1 -0
  81. package/dist/chunk-TD56X3VP.js +1 -0
  82. package/dist/chunk-TM7WDKYR.cjs +1 -0
  83. package/dist/chunk-TNCETEEL.js +1 -0
  84. package/dist/chunk-TXOVDTYK.cjs +1 -0
  85. package/dist/chunk-UAFW3OWA.js +1 -0
  86. package/dist/chunk-UEC3RXWE.cjs +1 -0
  87. package/dist/chunk-UHKWPOFV.js +1 -0
  88. package/dist/chunk-UP4F7YLI.cjs +1 -0
  89. package/dist/chunk-UYSB2EMS.cjs +1 -0
  90. package/dist/chunk-VHNBXIOC.js +1 -0
  91. package/dist/chunk-VI6TW7JT.cjs +1 -0
  92. package/dist/chunk-VLDE23JX.js +1 -0
  93. package/dist/chunk-VWBAHXIO.cjs +1 -0
  94. package/dist/chunk-VWL76U5G.js +1 -0
  95. package/dist/chunk-W4UPIFFS.cjs +1 -0
  96. package/dist/chunk-WABJHG6B.cjs +1 -0
  97. package/dist/chunk-WECMBN4Z.cjs +1 -0
  98. package/dist/chunk-WHFUW3W3.js +0 -0
  99. package/dist/chunk-WW3LYPGC.cjs +1 -0
  100. package/dist/chunk-X5BBXO27.cjs +1 -0
  101. package/dist/chunk-XIVIIEY5.js +1 -0
  102. package/dist/chunk-XUQK2ILL.cjs +1 -0
  103. package/dist/chunk-XUT4N66R.cjs +1 -0
  104. package/dist/chunk-YV6LD2NU.js +1 -0
  105. package/dist/chunk-YXF74MVI.cjs +1 -0
  106. package/dist/chunk-Z2FGFHRQ.cjs +1 -0
  107. package/dist/chunk-Z5PEH5AD.js +1 -0
  108. package/dist/chunk-ZUZEZZX7.js +1 -0
  109. package/dist/components/CrossmintNFTCollectionView.cjs +1 -9
  110. package/dist/components/CrossmintNFTCollectionView.js +1 -9
  111. package/dist/components/CrossmintNFTDetail.cjs +1 -9
  112. package/dist/components/CrossmintNFTDetail.js +1 -9
  113. package/dist/components/auth/AuthForm.cjs +1 -30
  114. package/dist/components/auth/AuthForm.js +1 -30
  115. package/dist/components/auth/AuthFormBackButton.cjs +1 -30
  116. package/dist/components/auth/AuthFormBackButton.js +1 -30
  117. package/dist/components/auth/AuthFormDialog.cjs +1 -30
  118. package/dist/components/auth/AuthFormDialog.js +1 -30
  119. package/dist/components/auth/EmbeddedAuthForm.cjs +1 -31
  120. package/dist/components/auth/EmbeddedAuthForm.js +1 -31
  121. package/dist/components/auth/PasskeyPrompt.cjs +1 -14
  122. package/dist/components/auth/PasskeyPrompt.js +1 -14
  123. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -30
  124. package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -30
  125. package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -32
  126. package/dist/components/auth/methods/email/EmailOTPInput.js +1 -32
  127. package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -30
  128. package/dist/components/auth/methods/email/EmailSignIn.js +1 -30
  129. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -30
  130. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -30
  131. package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -30
  132. package/dist/components/auth/methods/google/GoogleSignIn.js +1 -30
  133. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -67
  134. package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -67
  135. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -33
  136. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -33
  137. package/dist/components/auth/methods/web3/Web3Connector.cjs +1 -65
  138. package/dist/components/auth/methods/web3/Web3Connector.js +1 -65
  139. package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs +1 -53
  140. package/dist/components/auth/methods/web3/Web3ConnectorButton.js +1 -53
  141. package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -31
  142. package/dist/components/auth/methods/web3/Web3Connectors.js +1 -31
  143. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.cjs +1 -0
  144. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.d.cts +9 -0
  145. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.d.ts +9 -0
  146. package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.js +1 -0
  147. package/dist/components/common/CrossmintLogoV2/consts.cjs +1 -0
  148. package/dist/components/common/CrossmintLogoV2/consts.d.cts +35 -0
  149. package/dist/components/common/CrossmintLogoV2/consts.d.ts +35 -0
  150. package/dist/components/common/CrossmintLogoV2/consts.js +1 -0
  151. package/dist/components/common/CrossmintLogoV2/schemas.cjs +1 -0
  152. package/dist/components/common/CrossmintLogoV2/schemas.d.cts +199 -0
  153. package/dist/components/common/CrossmintLogoV2/schemas.d.ts +199 -0
  154. package/dist/components/common/CrossmintLogoV2/schemas.js +1 -0
  155. package/dist/components/common/Dialog.cjs +1 -26
  156. package/dist/components/common/Dialog.js +1 -26
  157. package/dist/components/common/Divider.cjs +1 -30
  158. package/dist/components/common/Divider.js +1 -30
  159. package/dist/components/common/InputOTP.cjs +1 -14
  160. package/dist/components/common/InputOTP.js +1 -14
  161. package/dist/components/common/PoweredByCrossmint.cjs +1 -10
  162. package/dist/components/common/PoweredByCrossmint.js +1 -10
  163. package/dist/components/common/Spinner.cjs +1 -9
  164. package/dist/components/common/Spinner.js +1 -9
  165. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs +1 -8
  166. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js +1 -8
  167. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +1 -8
  168. package/dist/components/embed/EmbeddedCheckoutIFrame.js +1 -8
  169. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +1 -11
  170. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +1 -11
  171. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +1 -10
  172. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +1 -10
  173. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +1 -11
  174. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +1 -11
  175. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +1 -10
  176. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +1 -10
  177. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +1 -75
  178. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +1 -75
  179. package/dist/components/embed/index.cjs +1 -14
  180. package/dist/components/embed/index.js +1 -14
  181. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -32
  182. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -32
  183. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -31
  184. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -31
  185. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -142
  186. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -142
  187. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs +1 -70
  188. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js +1 -70
  189. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -8
  190. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -8
  191. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs +1 -52
  192. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js +1 -52
  193. package/dist/components/embed/v3/index.cjs +1 -33
  194. package/dist/components/embed/v3/index.js +1 -33
  195. package/dist/components/hosted/CrossmintPayButton.cjs +1 -11
  196. package/dist/components/hosted/CrossmintPayButton.js +1 -11
  197. package/dist/components/hosted/index.cjs +1 -12
  198. package/dist/components/hosted/index.d.cts +1 -0
  199. package/dist/components/hosted/index.d.ts +1 -0
  200. package/dist/components/hosted/index.js +1 -12
  201. package/dist/components/hosted/styles.cjs +1 -10
  202. package/dist/components/hosted/styles.js +1 -10
  203. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -0
  204. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.d.cts +8 -0
  205. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.d.ts +8 -0
  206. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -0
  207. package/dist/components/hosted/v3/index.cjs +1 -0
  208. package/dist/components/hosted/v3/index.d.cts +4 -0
  209. package/dist/components/hosted/v3/index.d.ts +4 -0
  210. package/dist/components/hosted/v3/index.js +1 -0
  211. package/dist/components/index.cjs +1 -63
  212. package/dist/components/index.d.cts +1 -0
  213. package/dist/components/index.d.ts +1 -0
  214. package/dist/components/index.js +1 -63
  215. package/dist/consts/version.cjs +1 -8
  216. package/dist/consts/version.js +1 -8
  217. package/dist/hooks/index.cjs +1 -42
  218. package/dist/hooks/index.js +1 -42
  219. package/dist/hooks/useAuth.cjs +1 -30
  220. package/dist/hooks/useAuth.js +1 -30
  221. package/dist/hooks/useCrossmint.cjs +1 -10
  222. package/dist/hooks/useCrossmint.js +1 -10
  223. package/dist/hooks/useCrossmintAuth.cjs +1 -30
  224. package/dist/hooks/useCrossmintAuth.js +1 -30
  225. package/dist/hooks/useCrossmintCheckout.cjs +1 -13
  226. package/dist/hooks/useCrossmintCheckout.js +1 -13
  227. package/dist/hooks/useDeepEffect.cjs +1 -8
  228. package/dist/hooks/useDeepEffect.js +1 -8
  229. package/dist/hooks/useEnvironment.cjs +1 -8
  230. package/dist/hooks/useEnvironment.js +1 -8
  231. package/dist/hooks/useOAuthWindowListener.cjs +1 -30
  232. package/dist/hooks/useOAuthWindowListener.js +1 -30
  233. package/dist/hooks/useWallet.cjs +1 -30
  234. package/dist/hooks/useWallet.js +1 -30
  235. package/dist/icons/alert.cjs +1 -8
  236. package/dist/icons/alert.js +1 -8
  237. package/dist/icons/base64Icons.cjs +1 -12
  238. package/dist/icons/base64Icons.js +1 -12
  239. package/dist/icons/chevronRight.cjs +1 -8
  240. package/dist/icons/chevronRight.js +1 -8
  241. package/dist/icons/discord.cjs +1 -29
  242. package/dist/icons/discord.js +1 -29
  243. package/dist/icons/emailOTP.cjs +1 -8
  244. package/dist/icons/emailOTP.js +1 -8
  245. package/dist/icons/farcaster.cjs +1 -8
  246. package/dist/icons/farcaster.js +1 -8
  247. package/dist/icons/fingerprint.cjs +1 -8
  248. package/dist/icons/fingerprint.js +1 -8
  249. package/dist/icons/google.cjs +1 -8
  250. package/dist/icons/google.js +1 -8
  251. package/dist/icons/leftArrow.cjs +1 -8
  252. package/dist/icons/leftArrow.js +1 -8
  253. package/dist/icons/passkey.cjs +1 -8
  254. package/dist/icons/passkey.js +1 -8
  255. package/dist/icons/passkeyPromptLogo.cjs +1 -8
  256. package/dist/icons/passkeyPromptLogo.js +1 -8
  257. package/dist/icons/poweredByLeaf.cjs +1 -8
  258. package/dist/icons/poweredByLeaf.js +1 -8
  259. package/dist/icons/wallet.cjs +1 -8
  260. package/dist/icons/wallet.js +1 -8
  261. package/dist/icons/x.cjs +1 -29
  262. package/dist/icons/x.js +1 -29
  263. package/dist/index.cjs +1 -119
  264. package/dist/index.d.cts +1 -0
  265. package/dist/index.d.ts +1 -0
  266. package/dist/index.js +1 -119
  267. package/dist/providers/CrossmintAuthProvider.cjs +1 -32
  268. package/dist/providers/CrossmintAuthProvider.js +1 -32
  269. package/dist/providers/CrossmintWalletProvider.cjs +1 -32
  270. package/dist/providers/CrossmintWalletProvider.js +1 -32
  271. package/dist/providers/TwindProvider.cjs +1 -9
  272. package/dist/providers/TwindProvider.js +1 -9
  273. package/dist/providers/auth/AuthFormProvider.cjs +1 -32
  274. package/dist/providers/auth/AuthFormProvider.js +1 -32
  275. package/dist/providers/auth/FarcasterProvider.cjs +1 -8
  276. package/dist/providers/auth/FarcasterProvider.js +1 -8
  277. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -33
  278. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -33
  279. package/dist/providers/index.cjs +1 -36
  280. package/dist/providers/index.js +1 -36
  281. package/dist/testUtils.cjs +1 -8
  282. package/dist/testUtils.js +1 -8
  283. package/dist/twind.config.cjs +1 -8
  284. package/dist/twind.config.js +1 -8
  285. package/dist/types/auth.cjs +1 -1
  286. package/dist/types/auth.js +0 -1
  287. package/dist/utils/classNames.cjs +1 -8
  288. package/dist/utils/classNames.js +1 -8
  289. package/dist/utils/createCrossmintApiClient.cjs +1 -9
  290. package/dist/utils/createCrossmintApiClient.js +1 -9
  291. package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs +1 -8
  292. package/dist/utils/dynamic/dynamicChainToCrossmintChain.js +1 -8
  293. package/package.json +8 -8
  294. package/dist/chunk-2ROLE4XU.cjs +0 -31
  295. package/dist/chunk-2ROLE4XU.cjs.map +0 -1
  296. package/dist/chunk-2T2VCED7.js +0 -17
  297. package/dist/chunk-2T2VCED7.js.map +0 -1
  298. package/dist/chunk-33WZFL2D.js +0 -80
  299. package/dist/chunk-33WZFL2D.js.map +0 -1
  300. package/dist/chunk-35RV5AOT.cjs +0 -70
  301. package/dist/chunk-35RV5AOT.cjs.map +0 -1
  302. package/dist/chunk-3J6CUUWT.js +0 -50
  303. package/dist/chunk-3J6CUUWT.js.map +0 -1
  304. package/dist/chunk-3KR4GYLF.js +0 -26
  305. package/dist/chunk-3KR4GYLF.js.map +0 -1
  306. package/dist/chunk-43P7QWBK.cjs +0 -17
  307. package/dist/chunk-43P7QWBK.cjs.map +0 -1
  308. package/dist/chunk-4DAZAO6Y.cjs +0 -59
  309. package/dist/chunk-4DAZAO6Y.cjs.map +0 -1
  310. package/dist/chunk-5EE2IAIP.js +0 -87
  311. package/dist/chunk-5EE2IAIP.js.map +0 -1
  312. package/dist/chunk-5KK3YQWD.cjs +0 -1
  313. package/dist/chunk-5KK3YQWD.cjs.map +0 -1
  314. package/dist/chunk-5RX5WFEW.cjs +0 -11
  315. package/dist/chunk-5RX5WFEW.cjs.map +0 -1
  316. package/dist/chunk-5UXGDXPR.js +0 -153
  317. package/dist/chunk-5UXGDXPR.js.map +0 -1
  318. package/dist/chunk-6CPZDD6Y.js +0 -29
  319. package/dist/chunk-6CPZDD6Y.js.map +0 -1
  320. package/dist/chunk-6EX2VR7S.js +0 -14
  321. package/dist/chunk-6EX2VR7S.js.map +0 -1
  322. package/dist/chunk-6FG6NL44.js +0 -30
  323. package/dist/chunk-6FG6NL44.js.map +0 -1
  324. package/dist/chunk-6LO4NSRH.cjs +0 -21
  325. package/dist/chunk-6LO4NSRH.cjs.map +0 -1
  326. package/dist/chunk-6PPUWTTF.cjs +0 -31
  327. package/dist/chunk-6PPUWTTF.cjs.map +0 -1
  328. package/dist/chunk-7BZSIPWM.js +0 -31
  329. package/dist/chunk-7BZSIPWM.js.map +0 -1
  330. package/dist/chunk-7KIY6DLW.js +0 -28
  331. package/dist/chunk-7KIY6DLW.js.map +0 -1
  332. package/dist/chunk-7SBZ6OIH.js +0 -1
  333. package/dist/chunk-7SBZ6OIH.js.map +0 -1
  334. package/dist/chunk-A2JCJ2OV.cjs +0 -119
  335. package/dist/chunk-A2JCJ2OV.cjs.map +0 -1
  336. package/dist/chunk-A6Q4Z5TO.js +0 -31
  337. package/dist/chunk-A6Q4Z5TO.js.map +0 -1
  338. package/dist/chunk-A7J4DAE7.js +0 -16
  339. package/dist/chunk-A7J4DAE7.js.map +0 -1
  340. package/dist/chunk-ATHR4S2P.js +0 -48
  341. package/dist/chunk-ATHR4S2P.js.map +0 -1
  342. package/dist/chunk-AUCL5NPW.cjs +0 -31
  343. package/dist/chunk-AUCL5NPW.cjs.map +0 -1
  344. package/dist/chunk-AUEQQ4D3.js +0 -119
  345. package/dist/chunk-AUEQQ4D3.js.map +0 -1
  346. package/dist/chunk-AXZLLRBU.cjs +0 -26
  347. package/dist/chunk-AXZLLRBU.cjs.map +0 -1
  348. package/dist/chunk-B7LYPQ4K.cjs +0 -38
  349. package/dist/chunk-B7LYPQ4K.cjs.map +0 -1
  350. package/dist/chunk-BE2ZLB3L.cjs +0 -19
  351. package/dist/chunk-BE2ZLB3L.cjs.map +0 -1
  352. package/dist/chunk-BFTVVPCU.js +0 -81
  353. package/dist/chunk-BFTVVPCU.js.map +0 -1
  354. package/dist/chunk-BKVDVDKX.cjs +0 -1
  355. package/dist/chunk-BKVDVDKX.cjs.map +0 -1
  356. package/dist/chunk-BURUD6IV.cjs +0 -64
  357. package/dist/chunk-BURUD6IV.cjs.map +0 -1
  358. package/dist/chunk-C2VARNXL.js +0 -70
  359. package/dist/chunk-C2VARNXL.js.map +0 -1
  360. package/dist/chunk-CPYPI45H.js +0 -98
  361. package/dist/chunk-CPYPI45H.js.map +0 -1
  362. package/dist/chunk-CRTRMMJ7.js +0 -59
  363. package/dist/chunk-CRTRMMJ7.js.map +0 -1
  364. package/dist/chunk-DCMLWFDK.js +0 -31
  365. package/dist/chunk-DCMLWFDK.js.map +0 -1
  366. package/dist/chunk-DR67KSE7.js +0 -31
  367. package/dist/chunk-DR67KSE7.js.map +0 -1
  368. package/dist/chunk-DZ5MGN25.js +0 -147
  369. package/dist/chunk-DZ5MGN25.js.map +0 -1
  370. package/dist/chunk-ENCR5SUW.cjs +0 -51
  371. package/dist/chunk-ENCR5SUW.cjs.map +0 -1
  372. package/dist/chunk-EOWJ7775.js +0 -18
  373. package/dist/chunk-EOWJ7775.js.map +0 -1
  374. package/dist/chunk-FGHABNQM.js +0 -10
  375. package/dist/chunk-FGHABNQM.js.map +0 -1
  376. package/dist/chunk-FKIMKZ4Y.js +0 -17
  377. package/dist/chunk-FKIMKZ4Y.js.map +0 -1
  378. package/dist/chunk-GMKTZIU2.cjs +0 -22
  379. package/dist/chunk-GMKTZIU2.cjs.map +0 -1
  380. package/dist/chunk-H4F7UVPT.js +0 -34
  381. package/dist/chunk-H4F7UVPT.js.map +0 -1
  382. package/dist/chunk-HATQVB6H.js +0 -19
  383. package/dist/chunk-HATQVB6H.js.map +0 -1
  384. package/dist/chunk-HCW4RO2O.cjs +0 -29
  385. package/dist/chunk-HCW4RO2O.cjs.map +0 -1
  386. package/dist/chunk-HOTEC5UH.js +0 -22
  387. package/dist/chunk-HOTEC5UH.js.map +0 -1
  388. package/dist/chunk-HPOZ6I54.cjs +0 -44
  389. package/dist/chunk-HPOZ6I54.cjs.map +0 -1
  390. package/dist/chunk-HW2Q6J4R.js +0 -64
  391. package/dist/chunk-HW2Q6J4R.js.map +0 -1
  392. package/dist/chunk-HZ26XTTK.cjs +0 -81
  393. package/dist/chunk-HZ26XTTK.cjs.map +0 -1
  394. package/dist/chunk-I63FQCIV.js +0 -189
  395. package/dist/chunk-I63FQCIV.js.map +0 -1
  396. package/dist/chunk-IP4HQL5I.cjs +0 -147
  397. package/dist/chunk-IP4HQL5I.cjs.map +0 -1
  398. package/dist/chunk-IQPA3QOV.js +0 -27
  399. package/dist/chunk-IQPA3QOV.js.map +0 -1
  400. package/dist/chunk-K5S6RUJ3.cjs +0 -153
  401. package/dist/chunk-K5S6RUJ3.cjs.map +0 -1
  402. package/dist/chunk-KEKBOJCF.cjs +0 -50
  403. package/dist/chunk-KEKBOJCF.cjs.map +0 -1
  404. package/dist/chunk-KLWDDALZ.cjs +0 -14
  405. package/dist/chunk-KLWDDALZ.cjs.map +0 -1
  406. package/dist/chunk-KNOUJZN5.cjs +0 -32
  407. package/dist/chunk-KNOUJZN5.cjs.map +0 -1
  408. package/dist/chunk-L3FKENHU.js +0 -14
  409. package/dist/chunk-L3FKENHU.js.map +0 -1
  410. package/dist/chunk-LGY5FQOZ.cjs +0 -29
  411. package/dist/chunk-LGY5FQOZ.cjs.map +0 -1
  412. package/dist/chunk-LJA62EVT.cjs +0 -87
  413. package/dist/chunk-LJA62EVT.cjs.map +0 -1
  414. package/dist/chunk-MCINXS2Y.cjs +0 -1111
  415. package/dist/chunk-MCINXS2Y.cjs.map +0 -1
  416. package/dist/chunk-MH37OJT2.cjs +0 -80
  417. package/dist/chunk-MH37OJT2.cjs.map +0 -1
  418. package/dist/chunk-MJHLKJ6X.cjs +0 -212
  419. package/dist/chunk-MJHLKJ6X.cjs.map +0 -1
  420. package/dist/chunk-MUS7DUPS.cjs +0 -98
  421. package/dist/chunk-MUS7DUPS.cjs.map +0 -1
  422. package/dist/chunk-NMXFWIFA.js +0 -133
  423. package/dist/chunk-NMXFWIFA.js.map +0 -1
  424. package/dist/chunk-O53ZB544.js +0 -1111
  425. package/dist/chunk-O53ZB544.js.map +0 -1
  426. package/dist/chunk-PBSL6JOF.cjs +0 -17
  427. package/dist/chunk-PBSL6JOF.cjs.map +0 -1
  428. package/dist/chunk-PHCGCJSA.js +0 -107
  429. package/dist/chunk-PHCGCJSA.js.map +0 -1
  430. package/dist/chunk-Q3M4UH5U.cjs +0 -48
  431. package/dist/chunk-Q3M4UH5U.cjs.map +0 -1
  432. package/dist/chunk-QDKAU3H2.js +0 -31
  433. package/dist/chunk-QDKAU3H2.js.map +0 -1
  434. package/dist/chunk-QFZ6GZZR.cjs +0 -14
  435. package/dist/chunk-QFZ6GZZR.cjs.map +0 -1
  436. package/dist/chunk-QQXBYOKA.cjs +0 -16
  437. package/dist/chunk-QQXBYOKA.cjs.map +0 -1
  438. package/dist/chunk-QT7UEJZG.cjs +0 -133
  439. package/dist/chunk-QT7UEJZG.cjs.map +0 -1
  440. package/dist/chunk-QTL5I5C2.js +0 -38
  441. package/dist/chunk-QTL5I5C2.js.map +0 -1
  442. package/dist/chunk-R6IL3WOE.cjs +0 -31
  443. package/dist/chunk-R6IL3WOE.cjs.map +0 -1
  444. package/dist/chunk-RZPQIRIY.js +0 -11
  445. package/dist/chunk-RZPQIRIY.js.map +0 -1
  446. package/dist/chunk-RZT2J42J.js +0 -29
  447. package/dist/chunk-RZT2J42J.js.map +0 -1
  448. package/dist/chunk-SBA6FMFT.cjs +0 -18
  449. package/dist/chunk-SBA6FMFT.cjs.map +0 -1
  450. package/dist/chunk-SBTNHVSD.cjs +0 -30
  451. package/dist/chunk-SBTNHVSD.cjs.map +0 -1
  452. package/dist/chunk-SZA3XDJ5.cjs +0 -1
  453. package/dist/chunk-SZA3XDJ5.cjs.map +0 -1
  454. package/dist/chunk-TH42AO6J.js +0 -17
  455. package/dist/chunk-TH42AO6J.js.map +0 -1
  456. package/dist/chunk-U7LXB3SM.js +0 -50
  457. package/dist/chunk-U7LXB3SM.js.map +0 -1
  458. package/dist/chunk-UASNCH3A.cjs +0 -27
  459. package/dist/chunk-UASNCH3A.cjs.map +0 -1
  460. package/dist/chunk-UGHW5HMB.cjs +0 -31
  461. package/dist/chunk-UGHW5HMB.cjs.map +0 -1
  462. package/dist/chunk-UQAKJ4T7.cjs +0 -29
  463. package/dist/chunk-UQAKJ4T7.cjs.map +0 -1
  464. package/dist/chunk-URKPLEPV.cjs +0 -189
  465. package/dist/chunk-URKPLEPV.cjs.map +0 -1
  466. package/dist/chunk-VZIXXIU5.js +0 -32
  467. package/dist/chunk-VZIXXIU5.js.map +0 -1
  468. package/dist/chunk-XDJ6F7N4.cjs +0 -107
  469. package/dist/chunk-XDJ6F7N4.cjs.map +0 -1
  470. package/dist/chunk-XEZF7G64.js +0 -212
  471. package/dist/chunk-XEZF7G64.js.map +0 -1
  472. package/dist/chunk-XXJ7LQ44.js +0 -1
  473. package/dist/chunk-XXJ7LQ44.js.map +0 -1
  474. package/dist/chunk-XYMYRPVT.js +0 -1
  475. package/dist/chunk-XYMYRPVT.js.map +0 -1
  476. package/dist/chunk-Y3SUMTUI.cjs +0 -10
  477. package/dist/chunk-Y3SUMTUI.cjs.map +0 -1
  478. package/dist/chunk-YE55IKBP.cjs +0 -34
  479. package/dist/chunk-YE55IKBP.cjs.map +0 -1
  480. package/dist/chunk-YNBGMNE6.cjs +0 -17
  481. package/dist/chunk-YNBGMNE6.cjs.map +0 -1
  482. package/dist/chunk-YWVQCHQF.js +0 -51
  483. package/dist/chunk-YWVQCHQF.js.map +0 -1
  484. package/dist/chunk-ZDQGQY7Z.js +0 -29
  485. package/dist/chunk-ZDQGQY7Z.js.map +0 -1
  486. package/dist/chunk-ZIHCLVCD.js +0 -44
  487. package/dist/chunk-ZIHCLVCD.js.map +0 -1
  488. package/dist/chunk-ZJC4OB5Z.cjs +0 -50
  489. package/dist/chunk-ZJC4OB5Z.cjs.map +0 -1
  490. package/dist/chunk-ZMSST6ZZ.cjs +0 -28
  491. package/dist/chunk-ZMSST6ZZ.cjs.map +0 -1
  492. package/dist/chunk-ZUIS3FET.js +0 -21
  493. package/dist/chunk-ZUIS3FET.js.map +0 -1
  494. package/dist/components/CrossmintNFTCollectionView.cjs.map +0 -1
  495. package/dist/components/CrossmintNFTCollectionView.js.map +0 -1
  496. package/dist/components/CrossmintNFTDetail.cjs.map +0 -1
  497. package/dist/components/CrossmintNFTDetail.js.map +0 -1
  498. package/dist/components/auth/AuthForm.cjs.map +0 -1
  499. package/dist/components/auth/AuthForm.js.map +0 -1
  500. package/dist/components/auth/AuthFormBackButton.cjs.map +0 -1
  501. package/dist/components/auth/AuthFormBackButton.js.map +0 -1
  502. package/dist/components/auth/AuthFormDialog.cjs.map +0 -1
  503. package/dist/components/auth/AuthFormDialog.js.map +0 -1
  504. package/dist/components/auth/EmbeddedAuthForm.cjs.map +0 -1
  505. package/dist/components/auth/EmbeddedAuthForm.js.map +0 -1
  506. package/dist/components/auth/PasskeyPrompt.cjs.map +0 -1
  507. package/dist/components/auth/PasskeyPrompt.js.map +0 -1
  508. package/dist/components/auth/methods/email/EmailAuthFlow.cjs.map +0 -1
  509. package/dist/components/auth/methods/email/EmailAuthFlow.js.map +0 -1
  510. package/dist/components/auth/methods/email/EmailOTPInput.cjs.map +0 -1
  511. package/dist/components/auth/methods/email/EmailOTPInput.js.map +0 -1
  512. package/dist/components/auth/methods/email/EmailSignIn.cjs.map +0 -1
  513. package/dist/components/auth/methods/email/EmailSignIn.js.map +0 -1
  514. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs.map +0 -1
  515. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js.map +0 -1
  516. package/dist/components/auth/methods/google/GoogleSignIn.cjs.map +0 -1
  517. package/dist/components/auth/methods/google/GoogleSignIn.js.map +0 -1
  518. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs.map +0 -1
  519. package/dist/components/auth/methods/web3/Web3AuthFlow.js.map +0 -1
  520. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs.map +0 -1
  521. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js.map +0 -1
  522. package/dist/components/auth/methods/web3/Web3Connector.cjs.map +0 -1
  523. package/dist/components/auth/methods/web3/Web3Connector.js.map +0 -1
  524. package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs.map +0 -1
  525. package/dist/components/auth/methods/web3/Web3ConnectorButton.js.map +0 -1
  526. package/dist/components/auth/methods/web3/Web3Connectors.cjs.map +0 -1
  527. package/dist/components/auth/methods/web3/Web3Connectors.js.map +0 -1
  528. package/dist/components/common/Dialog.cjs.map +0 -1
  529. package/dist/components/common/Dialog.js.map +0 -1
  530. package/dist/components/common/Divider.cjs.map +0 -1
  531. package/dist/components/common/Divider.js.map +0 -1
  532. package/dist/components/common/InputOTP.cjs.map +0 -1
  533. package/dist/components/common/InputOTP.js.map +0 -1
  534. package/dist/components/common/PoweredByCrossmint.cjs.map +0 -1
  535. package/dist/components/common/PoweredByCrossmint.js.map +0 -1
  536. package/dist/components/common/Spinner.cjs.map +0 -1
  537. package/dist/components/common/Spinner.js.map +0 -1
  538. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs.map +0 -1
  539. package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js.map +0 -1
  540. package/dist/components/embed/EmbeddedCheckoutIFrame.cjs.map +0 -1
  541. package/dist/components/embed/EmbeddedCheckoutIFrame.js.map +0 -1
  542. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs.map +0 -1
  543. package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js.map +0 -1
  544. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs.map +0 -1
  545. package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js.map +0 -1
  546. package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs.map +0 -1
  547. package/dist/components/embed/fiat/FiatEmbeddedCheckout.js.map +0 -1
  548. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs.map +0 -1
  549. package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js.map +0 -1
  550. package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs.map +0 -1
  551. package/dist/components/embed/fiat/FiatPaymentElement_OLD.js.map +0 -1
  552. package/dist/components/embed/index.cjs.map +0 -1
  553. package/dist/components/embed/index.js.map +0 -1
  554. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs.map +0 -1
  555. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js.map +0 -1
  556. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs.map +0 -1
  557. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js.map +0 -1
  558. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs.map +0 -1
  559. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js.map +0 -1
  560. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs.map +0 -1
  561. package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js.map +0 -1
  562. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs.map +0 -1
  563. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js.map +0 -1
  564. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs.map +0 -1
  565. package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js.map +0 -1
  566. package/dist/components/embed/v3/index.cjs.map +0 -1
  567. package/dist/components/embed/v3/index.js.map +0 -1
  568. package/dist/components/hosted/CrossmintPayButton.cjs.map +0 -1
  569. package/dist/components/hosted/CrossmintPayButton.js.map +0 -1
  570. package/dist/components/hosted/index.cjs.map +0 -1
  571. package/dist/components/hosted/index.js.map +0 -1
  572. package/dist/components/hosted/styles.cjs.map +0 -1
  573. package/dist/components/hosted/styles.js.map +0 -1
  574. package/dist/components/index.cjs.map +0 -1
  575. package/dist/components/index.js.map +0 -1
  576. package/dist/consts/version.cjs.map +0 -1
  577. package/dist/consts/version.js.map +0 -1
  578. package/dist/hooks/index.cjs.map +0 -1
  579. package/dist/hooks/index.js.map +0 -1
  580. package/dist/hooks/useAuth.cjs.map +0 -1
  581. package/dist/hooks/useAuth.js.map +0 -1
  582. package/dist/hooks/useCrossmint.cjs.map +0 -1
  583. package/dist/hooks/useCrossmint.js.map +0 -1
  584. package/dist/hooks/useCrossmintAuth.cjs.map +0 -1
  585. package/dist/hooks/useCrossmintAuth.js.map +0 -1
  586. package/dist/hooks/useCrossmintCheckout.cjs.map +0 -1
  587. package/dist/hooks/useCrossmintCheckout.js.map +0 -1
  588. package/dist/hooks/useDeepEffect.cjs.map +0 -1
  589. package/dist/hooks/useDeepEffect.js.map +0 -1
  590. package/dist/hooks/useEnvironment.cjs.map +0 -1
  591. package/dist/hooks/useEnvironment.js.map +0 -1
  592. package/dist/hooks/useOAuthWindowListener.cjs.map +0 -1
  593. package/dist/hooks/useOAuthWindowListener.js.map +0 -1
  594. package/dist/hooks/useWallet.cjs.map +0 -1
  595. package/dist/hooks/useWallet.js.map +0 -1
  596. package/dist/icons/alert.cjs.map +0 -1
  597. package/dist/icons/alert.js.map +0 -1
  598. package/dist/icons/base64Icons.cjs.map +0 -1
  599. package/dist/icons/base64Icons.js.map +0 -1
  600. package/dist/icons/chevronRight.cjs.map +0 -1
  601. package/dist/icons/chevronRight.js.map +0 -1
  602. package/dist/icons/discord.cjs.map +0 -1
  603. package/dist/icons/discord.js.map +0 -1
  604. package/dist/icons/emailOTP.cjs.map +0 -1
  605. package/dist/icons/emailOTP.js.map +0 -1
  606. package/dist/icons/farcaster.cjs.map +0 -1
  607. package/dist/icons/farcaster.js.map +0 -1
  608. package/dist/icons/fingerprint.cjs.map +0 -1
  609. package/dist/icons/fingerprint.js.map +0 -1
  610. package/dist/icons/google.cjs.map +0 -1
  611. package/dist/icons/google.js.map +0 -1
  612. package/dist/icons/leftArrow.cjs.map +0 -1
  613. package/dist/icons/leftArrow.js.map +0 -1
  614. package/dist/icons/passkey.cjs.map +0 -1
  615. package/dist/icons/passkey.js.map +0 -1
  616. package/dist/icons/passkeyPromptLogo.cjs.map +0 -1
  617. package/dist/icons/passkeyPromptLogo.js.map +0 -1
  618. package/dist/icons/poweredByLeaf.cjs.map +0 -1
  619. package/dist/icons/poweredByLeaf.js.map +0 -1
  620. package/dist/icons/wallet.cjs.map +0 -1
  621. package/dist/icons/wallet.js.map +0 -1
  622. package/dist/icons/x.cjs.map +0 -1
  623. package/dist/icons/x.js.map +0 -1
  624. package/dist/index.cjs.map +0 -1
  625. package/dist/index.js.map +0 -1
  626. package/dist/providers/CrossmintAuthProvider.cjs.map +0 -1
  627. package/dist/providers/CrossmintAuthProvider.js.map +0 -1
  628. package/dist/providers/CrossmintWalletProvider.cjs.map +0 -1
  629. package/dist/providers/CrossmintWalletProvider.js.map +0 -1
  630. package/dist/providers/TwindProvider.cjs.map +0 -1
  631. package/dist/providers/TwindProvider.js.map +0 -1
  632. package/dist/providers/auth/AuthFormProvider.cjs.map +0 -1
  633. package/dist/providers/auth/AuthFormProvider.js.map +0 -1
  634. package/dist/providers/auth/FarcasterProvider.cjs.map +0 -1
  635. package/dist/providers/auth/FarcasterProvider.js.map +0 -1
  636. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs.map +0 -1
  637. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js.map +0 -1
  638. package/dist/providers/index.cjs.map +0 -1
  639. package/dist/providers/index.js.map +0 -1
  640. package/dist/testUtils.cjs.map +0 -1
  641. package/dist/testUtils.js.map +0 -1
  642. package/dist/twind.config.cjs.map +0 -1
  643. package/dist/twind.config.js.map +0 -1
  644. package/dist/types/auth.cjs.map +0 -1
  645. package/dist/types/auth.js.map +0 -1
  646. package/dist/utils/classNames.cjs.map +0 -1
  647. package/dist/utils/classNames.js.map +0 -1
  648. package/dist/utils/createCrossmintApiClient.cjs.map +0 -1
  649. package/dist/utils/createCrossmintApiClient.js.map +0 -1
  650. package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs.map +0 -1
  651. package/dist/utils/dynamic/dynamicChainToCrossmintChain.js.map +0 -1
  652. package/src/components/CrossmintCollectionView.test.tsx +0 -36
  653. package/src/components/CrossmintNFTCollectionView.tsx +0 -25
  654. package/src/components/CrossmintNFTDetail.test.tsx +0 -38
  655. package/src/components/CrossmintNFTDetail.tsx +0 -25
  656. package/src/components/auth/AuthForm.tsx +0 -84
  657. package/src/components/auth/AuthFormBackButton.tsx +0 -30
  658. package/src/components/auth/AuthFormDialog.tsx +0 -38
  659. package/src/components/auth/EmbeddedAuthForm.tsx +0 -5
  660. package/src/components/auth/PasskeyPrompt.tsx +0 -258
  661. package/src/components/auth/methods/email/EmailAuthFlow.tsx +0 -19
  662. package/src/components/auth/methods/email/EmailOTPInput.tsx +0 -124
  663. package/src/components/auth/methods/email/EmailSignIn.tsx +0 -110
  664. package/src/components/auth/methods/farcaster/FarcasterSignIn.tsx +0 -169
  665. package/src/components/auth/methods/google/GoogleSignIn.tsx +0 -53
  666. package/src/components/auth/methods/web3/Web3AuthFlow.tsx +0 -35
  667. package/src/components/auth/methods/web3/Web3AuthFlowButton.tsx +0 -44
  668. package/src/components/auth/methods/web3/Web3Connector.tsx +0 -62
  669. package/src/components/auth/methods/web3/Web3ConnectorButton.tsx +0 -38
  670. package/src/components/auth/methods/web3/Web3Connectors.tsx +0 -28
  671. package/src/components/common/Dialog.tsx +0 -122
  672. package/src/components/common/Divider.tsx +0 -25
  673. package/src/components/common/InputOTP.tsx +0 -94
  674. package/src/components/common/PoweredByCrossmint.tsx +0 -10
  675. package/src/components/common/Spinner.tsx +0 -22
  676. package/src/components/dynamic-xyz/DynamicContextProviderWrapper.tsx +0 -31
  677. package/src/components/embed/CrossmintPaymentElement.test.tsx +0 -79
  678. package/src/components/embed/EmbeddedCheckoutIFrame.tsx +0 -71
  679. package/src/components/embed/crypto/CryptoEmbeddedCheckout.tsx +0 -11
  680. package/src/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.tsx +0 -108
  681. package/src/components/embed/fiat/FiatEmbeddedCheckout.tsx +0 -7
  682. package/src/components/embed/fiat/FiatEmbeddedCheckoutIFrame.tsx +0 -21
  683. package/src/components/embed/fiat/FiatPaymentElement_OLD.tsx +0 -73
  684. package/src/components/embed/index.tsx +0 -19
  685. package/src/components/embed/v3/CrossmintEmbeddedCheckoutV3.tsx +0 -7
  686. package/src/components/embed/v3/EmbeddedCheckoutV3IFrame.tsx +0 -83
  687. package/src/components/embed/v3/crypto/CryptoWalletConnectionHandler.tsx +0 -144
  688. package/src/components/embed/v3/crypto/utils/handleEvmTransaction.ts +0 -78
  689. package/src/components/embed/v3/crypto/utils/handleSendTransaction.ts +0 -29
  690. package/src/components/embed/v3/crypto/utils/handleSolanaTransaction.ts +0 -54
  691. package/src/components/embed/v3/index.ts +0 -1
  692. package/src/components/hosted/CrossmintPayButton.test.tsx +0 -188
  693. package/src/components/hosted/CrossmintPayButton.tsx +0 -132
  694. package/src/components/hosted/index.ts +0 -1
  695. package/src/components/hosted/styles.ts +0 -58
  696. package/src/components/index.ts +0 -8
  697. package/src/consts/version.ts +0 -3
  698. package/src/hooks/index.ts +0 -4
  699. package/src/hooks/useAuth.ts +0 -11
  700. package/src/hooks/useCrossmint.test.tsx +0 -103
  701. package/src/hooks/useCrossmint.tsx +0 -57
  702. package/src/hooks/useCrossmintAuth.ts +0 -12
  703. package/src/hooks/useCrossmintCheckout.tsx +0 -56
  704. package/src/hooks/useDeepEffect.ts +0 -15
  705. package/src/hooks/useEnvironment.ts +0 -10
  706. package/src/hooks/useOAuthWindowListener.ts +0 -84
  707. package/src/hooks/useWallet.ts +0 -13
  708. package/src/icons/alert.tsx +0 -19
  709. package/src/icons/base64Icons.ts +0 -8
  710. package/src/icons/chevronRight.tsx +0 -21
  711. package/src/icons/discord.tsx +0 -18
  712. package/src/icons/emailOTP.tsx +0 -147
  713. package/src/icons/farcaster.tsx +0 -26
  714. package/src/icons/fingerprint.tsx +0 -25
  715. package/src/icons/google.tsx +0 -30
  716. package/src/icons/leftArrow.tsx +0 -20
  717. package/src/icons/passkey.tsx +0 -18
  718. package/src/icons/passkeyPromptLogo.tsx +0 -76
  719. package/src/icons/poweredByLeaf.tsx +0 -85
  720. package/src/icons/wallet.tsx +0 -23
  721. package/src/icons/x.tsx +0 -19
  722. package/src/index.ts +0 -23
  723. package/src/providers/CrossmintAuthProvider.test.tsx +0 -269
  724. package/src/providers/CrossmintAuthProvider.tsx +0 -211
  725. package/src/providers/CrossmintWalletProvider.test.tsx +0 -218
  726. package/src/providers/CrossmintWalletProvider.tsx +0 -155
  727. package/src/providers/TwindProvider.tsx +0 -14
  728. package/src/providers/auth/AuthFormProvider.test.tsx +0 -142
  729. package/src/providers/auth/AuthFormProvider.tsx +0 -109
  730. package/src/providers/auth/FarcasterProvider.tsx +0 -12
  731. package/src/providers/auth/web3/DynamicWeb3WalletConnect.tsx +0 -73
  732. package/src/providers/index.ts +0 -2
  733. package/src/testUtils.ts +0 -1
  734. package/src/twind.config.ts +0 -114
  735. package/src/types/auth.ts +0 -4
  736. package/src/utils/classNames.ts +0 -12
  737. package/src/utils/createCrossmintApiClient.ts +0 -17
  738. package/src/utils/dynamic/dynamicChainToCrossmintChain.ts +0 -20
@@ -1,142 +1 @@
1
- import {
2
- handleSendTransaction
3
- } from "../../../../chunk-A6Q4Z5TO.js";
4
- import {
5
- dynamicChainToCrossmintChain
6
- } from "../../../../chunk-6CPZDD6Y.js";
7
- import {
8
- DynamicContextProviderWrapper
9
- } from "../../../../chunk-RZT2J42J.js";
10
- import {
11
- __async,
12
- __spreadValues
13
- } from "../../../../chunk-CRTRMMJ7.js";
14
-
15
- // src/components/embed/v3/crypto/CryptoWalletConnectionHandler.tsx
16
- import { EthereumWalletConnectors } from "@dynamic-labs/ethereum";
17
- import { DynamicContext, useDynamicContext } from "@dynamic-labs/sdk-react-core";
18
- import { SolanaWalletConnectors } from "@dynamic-labs/solana";
19
- import { useContext, useEffect, useState } from "react";
20
- import { jsx } from "react/jsx-runtime";
21
- function CryptoWalletConnectionHandler(props) {
22
- const { iframeClient, apiKeyEnvironment } = props;
23
- return /* @__PURE__ */ jsx(
24
- DynamicContextProviderWrapper,
25
- {
26
- apiKeyEnvironment,
27
- settings: {
28
- walletConnectors: [EthereumWalletConnectors, SolanaWalletConnectors],
29
- events: {
30
- onAuthFlowCancel() {
31
- console.log("[CryptoWalletConnectionHandler] onAuthFlowCancel");
32
- iframeClient == null ? void 0 : iframeClient.send("crypto:connect-wallet.failed", {
33
- error: "cancelled"
34
- });
35
- },
36
- onAuthFlowClose() {
37
- console.log("[CryptoWalletConnectionHandler] onAuthFlowClose");
38
- },
39
- onAuthFailure(data, reason) {
40
- console.error("[CryptoWalletConnectionHandler] onAuthFailure", data, reason);
41
- },
42
- onAuthSuccess(data) {
43
- console.log("[CryptoWalletConnectionHandler] onAuthSuccess", data);
44
- }
45
- },
46
- handlers: {
47
- handleConnectedWallet: (wallet) => __async(this, null, function* () {
48
- var _a;
49
- console.log("[CryptoWalletConnectionHandler] handleConnectedWallet", wallet);
50
- const address = wallet.address;
51
- if (!address) {
52
- console.error("[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing");
53
- iframeClient == null ? void 0 : iframeClient.send("crypto:connect-wallet.failed", {
54
- error: "address is missing"
55
- });
56
- return false;
57
- }
58
- const chain = yield dynamicChainToCrossmintChain(wallet);
59
- iframeClient == null ? void 0 : iframeClient.send("crypto:connect-wallet.success", {
60
- address,
61
- chain,
62
- walletProviderKey: (_a = wallet.connector) == null ? void 0 : _a.key
63
- });
64
- return true;
65
- })
66
- }
67
- },
68
- children: /* @__PURE__ */ jsx(_CryptoWalletConnectionHandler, __spreadValues({}, props))
69
- }
70
- );
71
- }
72
- function _CryptoWalletConnectionHandler({ iframeClient }) {
73
- const [showDynamicModal, setShowDynamicModal] = useState(false);
74
- const { primaryWallet } = useDynamicContext();
75
- useEffect(() => {
76
- if (iframeClient == null) {
77
- return;
78
- }
79
- const showAuthFlowListener = iframeClient.on("crypto:connect-wallet.show", ({ show }) => {
80
- setShowDynamicModal(show);
81
- });
82
- return () => {
83
- iframeClient.off(showAuthFlowListener);
84
- };
85
- }, [iframeClient]);
86
- useEffect(() => {
87
- if (iframeClient == null) {
88
- return;
89
- }
90
- const signTransactionListener = iframeClient.on(
91
- "crypto:send-transaction",
92
- (_0) => __async(this, [_0], function* ({ chain, serializedTransaction }) {
93
- if (primaryWallet == null) {
94
- console.error("[CryptoWalletConnectionHandler] signTransaction: primaryWallet is missing");
95
- iframeClient.send("crypto:send-transaction:failed", {
96
- error: "primaryWallet is missing"
97
- });
98
- return;
99
- }
100
- yield handleSendTransaction(
101
- primaryWallet,
102
- chain,
103
- serializedTransaction,
104
- iframeClient
105
- );
106
- })
107
- );
108
- return () => {
109
- iframeClient.off(signTransactionListener);
110
- };
111
- }, [iframeClient, primaryWallet]);
112
- return showDynamicModal ? /* @__PURE__ */ jsx(ShowDynamicModal, { setShowDynamicModal }) : null;
113
- }
114
- function ShowDynamicModal({ setShowDynamicModal }) {
115
- const context = useContext(DynamicContext);
116
- if (context == null) {
117
- throw new Error("DynamicContext is missing");
118
- }
119
- const { setShowAuthFlow, handleLogOut } = context;
120
- useEffect(() => {
121
- var _a;
122
- (_a = document.getElementById("crossmint-focus-target")) == null ? void 0 : _a.focus();
123
- (() => __async(this, null, function* () {
124
- yield handleLogOut();
125
- setShowAuthFlow(true, {
126
- clearErrors: true,
127
- emitCancelAuth: true,
128
- ignoreIfIsEmbeddedWidget: true,
129
- initializeWalletConnect: true,
130
- performMultiWalletChecks: false
131
- // Important to be false in order to not require double clicking connect button
132
- });
133
- setShowDynamicModal(false);
134
- }))();
135
- }, []);
136
- return null;
137
- }
138
- export {
139
- CryptoWalletConnectionHandler,
140
- ShowDynamicModal
141
- };
142
- //# sourceMappingURL=CryptoWalletConnectionHandler.js.map
1
+ import{a as y}from"../../../../chunk-2VILTRL5.js";import{a as m}from"../../../../chunk-YV6LD2NU.js";import{a as u}from"../../../../chunk-XIVIIEY5.js";import{a as d,d as a}from"../../../../chunk-PXDN3KFO.js";import{EthereumWalletConnectors as p}from"@dynamic-labs/ethereum";import{DynamicContext as h,useDynamicContext as C}from"@dynamic-labs/sdk-react-core";import{SolanaWalletConnectors as f}from"@dynamic-labs/solana";import{useContext as W,useEffect as c,useState as w}from"react";import{jsx as i}from"react/jsx-runtime";function P(n){let{iframeClient:e,apiKeyEnvironment:r}=n;return i(u,{apiKeyEnvironment:r,settings:{walletConnectors:[p,f],events:{onAuthFlowCancel(){console.log("[CryptoWalletConnectionHandler] onAuthFlowCancel"),e==null||e.send("crypto:connect-wallet.failed",{error:"cancelled"})},onAuthFlowClose(){console.log("[CryptoWalletConnectionHandler] onAuthFlowClose")},onAuthFailure(o,t){console.error("[CryptoWalletConnectionHandler] onAuthFailure",o,t)},onAuthSuccess(o){console.log("[CryptoWalletConnectionHandler] onAuthSuccess",o)}},handlers:{handleConnectedWallet:o=>a(this,null,function*(){var s;console.log("[CryptoWalletConnectionHandler] handleConnectedWallet",o);let t=o.address;if(!t)return console.error("[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing"),e==null||e.send("crypto:connect-wallet.failed",{error:"address is missing"}),!1;let l=yield m(o);return e==null||e.send("crypto:connect-wallet.success",{address:t,chain:l,walletProviderKey:(s=o.connector)==null?void 0:s.key}),!0})}},children:i(g,d({},n))})}function g({iframeClient:n}){let[e,r]=w(!1),{primaryWallet:o}=C();return c(()=>{if(n==null)return;let t=n.on("crypto:connect-wallet.show",({show:l})=>{r(l)});return()=>{n.off(t)}},[n]),c(()=>{if(n==null)return;let t=n.on("crypto:send-transaction",B=>a(this,[B],function*({chain:l,serializedTransaction:s}){if(o==null){console.error("[CryptoWalletConnectionHandler] signTransaction: primaryWallet is missing"),n.send("crypto:send-transaction:failed",{error:"primaryWallet is missing"});return}yield y(o,l,s,n)}));return()=>{n.off(t)}},[n,o]),e?i(A,{setShowDynamicModal:r}):null}function A({setShowDynamicModal:n}){let e=W(h);if(e==null)throw new Error("DynamicContext is missing");let{setShowAuthFlow:r,handleLogOut:o}=e;return c(()=>{var t;(t=document.getElementById("crossmint-focus-target"))==null||t.focus(),a(this,null,function*(){yield o(),r(!0,{clearErrors:!0,emitCancelAuth:!0,ignoreIfIsEmbeddedWidget:!0,initializeWalletConnect:!0,performMultiWalletChecks:!1}),n(!1)})},[]),null}export{P as CryptoWalletConnectionHandler,A as ShowDynamicModal};
@@ -1,70 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunk4DAZAO6Ycjs = require('../../../../../chunk-4DAZAO6Y.cjs');
4
-
5
- // src/components/embed/v3/crypto/utils/handleEvmTransaction.ts
6
-
7
-
8
- var _commonsdkbase = require('@crossmint/common-sdk-base');
9
-
10
-
11
- var _viem = require('viem');
12
- function handleEvmTransaction(_0) {
13
- return _chunk4DAZAO6Ycjs.__async.call(void 0, this, arguments, function* ({
14
- primaryWallet,
15
- chain,
16
- serializedTransaction,
17
- iframeClient
18
- }) {
19
- const { connector } = primaryWallet;
20
- const chainId = _commonsdkbase.blockchainToChainId.call(void 0, chain);
21
- try {
22
- yield connector.switchNetwork({ networkChainId: chainId });
23
- } catch (error) {
24
- console.error(`[CryptoWalletConnectionHandler] failed to switch network to ${chainId}`, error);
25
- iframeClient.send("crypto:send-transaction:failed", {
26
- error: error.message
27
- });
28
- return;
29
- }
30
- let walletClient;
31
- try {
32
- walletClient = connector.getWalletClient(String(chainId));
33
- if (!walletClient) {
34
- throw new Error(`connector.getWalletClient(${chainId}) returned undefined`);
35
- }
36
- } catch (error) {
37
- console.error("[CryptoWalletConnectionHandler] failed to get wallet client", error);
38
- iframeClient.send("crypto:send-transaction:failed", {
39
- error: error.message
40
- });
41
- return;
42
- }
43
- let parsedTransaction;
44
- try {
45
- parsedTransaction = _viem.parseTransaction.call(void 0, serializedTransaction);
46
- } catch (error) {
47
- console.error("[CryptoWalletConnectionHandler] failed to parse transaction", error);
48
- iframeClient.send("crypto:send-transaction:failed", {
49
- error: error.message
50
- });
51
- return;
52
- }
53
- try {
54
- const txId = yield walletClient.sendTransaction(parsedTransaction);
55
- console.log("[CryptoWalletConnectionHandler] txId", txId);
56
- iframeClient.send("crypto:send-transaction:success", {
57
- txId
58
- });
59
- } catch (error) {
60
- console.error("[CryptoWalletConnectionHandler] failed to send transaction", error);
61
- iframeClient.send("crypto:send-transaction:failed", {
62
- error: error.message
63
- });
64
- }
65
- });
66
- }
67
-
68
-
69
- exports.handleEvmTransaction = handleEvmTransaction;
70
- //# sourceMappingURL=handleEvmTransaction.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2WSEHVNPcjs = require('../../../../../chunk-2WSEHVNP.cjs');var _commonsdkbase = require('@crossmint/common-sdk-base');var _viem = require('viem');function m(E){return _chunk2WSEHVNPcjs.d.call(void 0, this,arguments,function*({primaryWallet:i,chain:s,serializedTransaction:l,iframeClient:t}){let{connector:a}=i,n=_commonsdkbase.blockchainToChainId.call(void 0, s);try{yield a.switchNetwork({networkChainId:n})}catch(e){console.error(`[CryptoWalletConnectionHandler] failed to switch network to ${n}`,e),t.send("crypto:send-transaction:failed",{error:e.message});return}let r;try{if(r=a.getWalletClient(String(n)),!r)throw new Error(`connector.getWalletClient(${n}) returned undefined`)}catch(e){console.error("[CryptoWalletConnectionHandler] failed to get wallet client",e),t.send("crypto:send-transaction:failed",{error:e.message});return}let o;try{o=_viem.parseTransaction.call(void 0, l)}catch(e){console.error("[CryptoWalletConnectionHandler] failed to parse transaction",e),t.send("crypto:send-transaction:failed",{error:e.message});return}try{let e=yield r.sendTransaction(o);console.log("[CryptoWalletConnectionHandler] txId",e),t.send("crypto:send-transaction:success",{txId:e})}catch(e){console.error("[CryptoWalletConnectionHandler] failed to send transaction",e),t.send("crypto:send-transaction:failed",{error:e.message})}})}exports.handleEvmTransaction = m;
@@ -1,70 +1 @@
1
- import {
2
- __async
3
- } from "../../../../../chunk-CRTRMMJ7.js";
4
-
5
- // src/components/embed/v3/crypto/utils/handleEvmTransaction.ts
6
- import {
7
- blockchainToChainId
8
- } from "@crossmint/common-sdk-base";
9
- import {
10
- parseTransaction
11
- } from "viem";
12
- function handleEvmTransaction(_0) {
13
- return __async(this, arguments, function* ({
14
- primaryWallet,
15
- chain,
16
- serializedTransaction,
17
- iframeClient
18
- }) {
19
- const { connector } = primaryWallet;
20
- const chainId = blockchainToChainId(chain);
21
- try {
22
- yield connector.switchNetwork({ networkChainId: chainId });
23
- } catch (error) {
24
- console.error(`[CryptoWalletConnectionHandler] failed to switch network to ${chainId}`, error);
25
- iframeClient.send("crypto:send-transaction:failed", {
26
- error: error.message
27
- });
28
- return;
29
- }
30
- let walletClient;
31
- try {
32
- walletClient = connector.getWalletClient(String(chainId));
33
- if (!walletClient) {
34
- throw new Error(`connector.getWalletClient(${chainId}) returned undefined`);
35
- }
36
- } catch (error) {
37
- console.error("[CryptoWalletConnectionHandler] failed to get wallet client", error);
38
- iframeClient.send("crypto:send-transaction:failed", {
39
- error: error.message
40
- });
41
- return;
42
- }
43
- let parsedTransaction;
44
- try {
45
- parsedTransaction = parseTransaction(serializedTransaction);
46
- } catch (error) {
47
- console.error("[CryptoWalletConnectionHandler] failed to parse transaction", error);
48
- iframeClient.send("crypto:send-transaction:failed", {
49
- error: error.message
50
- });
51
- return;
52
- }
53
- try {
54
- const txId = yield walletClient.sendTransaction(parsedTransaction);
55
- console.log("[CryptoWalletConnectionHandler] txId", txId);
56
- iframeClient.send("crypto:send-transaction:success", {
57
- txId
58
- });
59
- } catch (error) {
60
- console.error("[CryptoWalletConnectionHandler] failed to send transaction", error);
61
- iframeClient.send("crypto:send-transaction:failed", {
62
- error: error.message
63
- });
64
- }
65
- });
66
- }
67
- export {
68
- handleEvmTransaction
69
- };
70
- //# sourceMappingURL=handleEvmTransaction.js.map
1
+ import{d as c}from"../../../../../chunk-PXDN3KFO.js";import{blockchainToChainId as d}from"@crossmint/common-sdk-base";import{parseTransaction as p}from"viem";function u(f){return c(this,arguments,function*({primaryWallet:i,chain:s,serializedTransaction:l,iframeClient:t}){let{connector:a}=i,n=d(s);try{yield a.switchNetwork({networkChainId:n})}catch(e){console.error(`[CryptoWalletConnectionHandler] failed to switch network to ${n}`,e),t.send("crypto:send-transaction:failed",{error:e.message});return}let r;try{if(r=a.getWalletClient(String(n)),!r)throw new Error(`connector.getWalletClient(${n}) returned undefined`)}catch(e){console.error("[CryptoWalletConnectionHandler] failed to get wallet client",e),t.send("crypto:send-transaction:failed",{error:e.message});return}let o;try{o=p(l)}catch(e){console.error("[CryptoWalletConnectionHandler] failed to parse transaction",e),t.send("crypto:send-transaction:failed",{error:e.message});return}try{let e=yield r.sendTransaction(o);console.log("[CryptoWalletConnectionHandler] txId",e),t.send("crypto:send-transaction:success",{txId:e})}catch(e){console.error("[CryptoWalletConnectionHandler] failed to send transaction",e),t.send("crypto:send-transaction:failed",{error:e.message})}})}export{u as handleEvmTransaction};
@@ -1,8 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkAUCL5NPWcjs = require('../../../../../chunk-AUCL5NPW.cjs');
4
- require('../../../../../chunk-4DAZAO6Y.cjs');
5
-
6
-
7
- exports.handleSendTransaction = _chunkAUCL5NPWcjs.handleSendTransaction;
8
- //# sourceMappingURL=handleSendTransaction.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAUSETHZ3cjs = require('../../../../../chunk-AUSETHZ3.cjs');require('../../../../../chunk-2WSEHVNP.cjs');exports.handleSendTransaction = _chunkAUSETHZ3cjs.a;
@@ -1,8 +1 @@
1
- import {
2
- handleSendTransaction
3
- } from "../../../../../chunk-A6Q4Z5TO.js";
4
- import "../../../../../chunk-CRTRMMJ7.js";
5
- export {
6
- handleSendTransaction
7
- };
8
- //# sourceMappingURL=handleSendTransaction.js.map
1
+ import{a}from"../../../../../chunk-2VILTRL5.js";import"../../../../../chunk-PXDN3KFO.js";export{a as handleSendTransaction};
@@ -1,52 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
-
3
- var _chunk4DAZAO6Ycjs = require('../../../../../chunk-4DAZAO6Y.cjs');
4
-
5
- // src/components/embed/v3/crypto/utils/handleSolanaTransaction.ts
6
- var _web3js = require('@solana/web3.js');
7
- var _bs58 = require('bs58'); var _bs582 = _interopRequireDefault(_bs58);
8
- function handleSolanaTransaction(_0) {
9
- return _chunk4DAZAO6Ycjs.__async.call(void 0, this, arguments, function* ({
10
- primaryWallet,
11
- serializedTransaction,
12
- iframeClient
13
- }) {
14
- const { connector } = primaryWallet;
15
- let signer;
16
- try {
17
- signer = yield connector.getSigner();
18
- } catch (error) {
19
- console.error("[CryptoWalletConnectionHandler] failed to get signer", error);
20
- iframeClient.send("crypto:send-transaction:failed", {
21
- error: "Failed to get signer"
22
- });
23
- return;
24
- }
25
- let deserializedTransaction;
26
- try {
27
- deserializedTransaction = _web3js.Transaction.from(_bs582.default.decode(serializedTransaction));
28
- } catch (error) {
29
- console.error("[CryptoWalletConnectionHandler] failed to deserialize transaction", error);
30
- iframeClient.send("crypto:send-transaction:failed", {
31
- error: "Failed to deserialize transaction"
32
- });
33
- return;
34
- }
35
- try {
36
- const { signature: txId } = yield signer.signAndSendTransaction(deserializedTransaction);
37
- console.log("[CryptoWalletConnectionHandler] txId", txId);
38
- iframeClient.send("crypto:send-transaction:success", {
39
- txId
40
- });
41
- } catch (error) {
42
- console.error("[CryptoWalletConnectionHandler] failed to send transaction", error);
43
- iframeClient.send("crypto:send-transaction:failed", {
44
- error: error.message
45
- });
46
- }
47
- });
48
- }
49
-
50
-
51
- exports.handleSolanaTransaction = handleSolanaTransaction;
52
- //# sourceMappingURL=handleSolanaTransaction.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2WSEHVNPcjs = require('../../../../../chunk-2WSEHVNP.cjs');var _web3js = require('@solana/web3.js');var _bs58 = require('bs58'); var _bs582 = _interopRequireDefault(_bs58);function y(u){return _chunk2WSEHVNPcjs.d.call(void 0, this,arguments,function*({primaryWallet:a,serializedTransaction:s,iframeClient:e}){let{connector:i}=a,t;try{t=yield i.getSigner()}catch(r){console.error("[CryptoWalletConnectionHandler] failed to get signer",r),e.send("crypto:send-transaction:failed",{error:"Failed to get signer"});return}let n;try{n=_web3js.Transaction.from(_bs582.default.decode(s))}catch(r){console.error("[CryptoWalletConnectionHandler] failed to deserialize transaction",r),e.send("crypto:send-transaction:failed",{error:"Failed to deserialize transaction"});return}try{let{signature:r}=yield t.signAndSendTransaction(n);console.log("[CryptoWalletConnectionHandler] txId",r),e.send("crypto:send-transaction:success",{txId:r})}catch(r){console.error("[CryptoWalletConnectionHandler] failed to send transaction",r),e.send("crypto:send-transaction:failed",{error:r.message})}})}exports.handleSolanaTransaction = y;
@@ -1,52 +1 @@
1
- import {
2
- __async
3
- } from "../../../../../chunk-CRTRMMJ7.js";
4
-
5
- // src/components/embed/v3/crypto/utils/handleSolanaTransaction.ts
6
- import { Transaction } from "@solana/web3.js";
7
- import base58 from "bs58";
8
- function handleSolanaTransaction(_0) {
9
- return __async(this, arguments, function* ({
10
- primaryWallet,
11
- serializedTransaction,
12
- iframeClient
13
- }) {
14
- const { connector } = primaryWallet;
15
- let signer;
16
- try {
17
- signer = yield connector.getSigner();
18
- } catch (error) {
19
- console.error("[CryptoWalletConnectionHandler] failed to get signer", error);
20
- iframeClient.send("crypto:send-transaction:failed", {
21
- error: "Failed to get signer"
22
- });
23
- return;
24
- }
25
- let deserializedTransaction;
26
- try {
27
- deserializedTransaction = Transaction.from(base58.decode(serializedTransaction));
28
- } catch (error) {
29
- console.error("[CryptoWalletConnectionHandler] failed to deserialize transaction", error);
30
- iframeClient.send("crypto:send-transaction:failed", {
31
- error: "Failed to deserialize transaction"
32
- });
33
- return;
34
- }
35
- try {
36
- const { signature: txId } = yield signer.signAndSendTransaction(deserializedTransaction);
37
- console.log("[CryptoWalletConnectionHandler] txId", txId);
38
- iframeClient.send("crypto:send-transaction:success", {
39
- txId
40
- });
41
- } catch (error) {
42
- console.error("[CryptoWalletConnectionHandler] failed to send transaction", error);
43
- iframeClient.send("crypto:send-transaction:failed", {
44
- error: error.message
45
- });
46
- }
47
- });
48
- }
49
- export {
50
- handleSolanaTransaction
51
- };
52
- //# sourceMappingURL=handleSolanaTransaction.js.map
1
+ import{d as o}from"../../../../../chunk-PXDN3KFO.js";import{Transaction as c}from"@solana/web3.js";import l from"bs58";function g(I){return o(this,arguments,function*({primaryWallet:a,serializedTransaction:s,iframeClient:e}){let{connector:i}=a,t;try{t=yield i.getSigner()}catch(r){console.error("[CryptoWalletConnectionHandler] failed to get signer",r),e.send("crypto:send-transaction:failed",{error:"Failed to get signer"});return}let n;try{n=c.from(l.decode(s))}catch(r){console.error("[CryptoWalletConnectionHandler] failed to deserialize transaction",r),e.send("crypto:send-transaction:failed",{error:"Failed to deserialize transaction"});return}try{let{signature:r}=yield t.signAndSendTransaction(n);console.log("[CryptoWalletConnectionHandler] txId",r),e.send("crypto:send-transaction:success",{txId:r})}catch(r){console.error("[CryptoWalletConnectionHandler] failed to send transaction",r),e.send("crypto:send-transaction:failed",{error:r.message})}})}export{g as handleSolanaTransaction};
@@ -1,33 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-SZA3XDJ5.cjs');
2
-
3
-
4
- var _chunkYNBGMNE6cjs = require('../../../chunk-YNBGMNE6.cjs');
5
- require('../../../chunk-LJA62EVT.cjs');
6
- require('../../../chunk-MCINXS2Y.cjs');
7
- require('../../../chunk-QQXBYOKA.cjs');
8
- require('../../../chunk-MJHLKJ6X.cjs');
9
- require('../../../chunk-QT7UEJZG.cjs');
10
- require('../../../chunk-MH37OJT2.cjs');
11
- require('../../../chunk-PBSL6JOF.cjs');
12
- require('../../../chunk-B7LYPQ4K.cjs');
13
- require('../../../chunk-BE2ZLB3L.cjs');
14
- require('../../../chunk-5RX5WFEW.cjs');
15
- require('../../../chunk-HCW4RO2O.cjs');
16
- require('../../../chunk-UASNCH3A.cjs');
17
- require('../../../chunk-MUS7DUPS.cjs');
18
- require('../../../chunk-IP4HQL5I.cjs');
19
- require('../../../chunk-ZMSST6ZZ.cjs');
20
- require('../../../chunk-URKPLEPV.cjs');
21
- require('../../../chunk-HPOZ6I54.cjs');
22
- require('../../../chunk-YE55IKBP.cjs');
23
- require('../../../chunk-ENCR5SUW.cjs');
24
- require('../../../chunk-ZJC4OB5Z.cjs');
25
- require('../../../chunk-GMKTZIU2.cjs');
26
- require('../../../chunk-KEKBOJCF.cjs');
27
- require('../../../chunk-A2JCJ2OV.cjs');
28
- require('../../../chunk-Y3SUMTUI.cjs');
29
- require('../../../chunk-4DAZAO6Y.cjs');
30
-
31
-
32
- exports.CrossmintEmbeddedCheckout_Alpha = _chunkYNBGMNE6cjs.CrossmintEmbeddedCheckout_Alpha;
33
- //# sourceMappingURL=index.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-2VQLMU5A.cjs');var _chunkXUQK2ILLcjs = require('../../../chunk-XUQK2ILL.cjs');require('../../../chunk-WECMBN4Z.cjs');require('../../../chunk-M42BIIZJ.cjs');require('../../../chunk-BR77Q3PK.cjs');require('../../../chunk-PDEAWPX3.cjs');require('../../../chunk-7ANJ2GZG.cjs');require('../../../chunk-HG5ML6KX.cjs');require('../../../chunk-UYSB2EMS.cjs');require('../../../chunk-Z2FGFHRQ.cjs');require('../../../chunk-7VI5AXX5.cjs');require('../../../chunk-WABJHG6B.cjs');require('../../../chunk-TM7WDKYR.cjs');require('../../../chunk-VI6TW7JT.cjs');require('../../../chunk-VWBAHXIO.cjs');require('../../../chunk-PW7TOKQ2.cjs');require('../../../chunk-NRN4WNQL.cjs');require('../../../chunk-I4GMMHQR.cjs');require('../../../chunk-SRQAQHYK.cjs');require('../../../chunk-QYQERFYL.cjs');require('../../../chunk-D3255LVM.cjs');require('../../../chunk-CW33KBH3.cjs');require('../../../chunk-D4K2AGJK.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-NU6UB76I.cjs');require('../../../chunk-UEC3RXWE.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout_Alpha = _chunkXUQK2ILLcjs.a;
@@ -1,33 +1 @@
1
- import "../../../chunk-XXJ7LQ44.js";
2
- import {
3
- CrossmintEmbeddedCheckout_Alpha
4
- } from "../../../chunk-TH42AO6J.js";
5
- import "../../../chunk-5EE2IAIP.js";
6
- import "../../../chunk-O53ZB544.js";
7
- import "../../../chunk-A7J4DAE7.js";
8
- import "../../../chunk-XEZF7G64.js";
9
- import "../../../chunk-NMXFWIFA.js";
10
- import "../../../chunk-33WZFL2D.js";
11
- import "../../../chunk-FKIMKZ4Y.js";
12
- import "../../../chunk-QTL5I5C2.js";
13
- import "../../../chunk-HATQVB6H.js";
14
- import "../../../chunk-RZPQIRIY.js";
15
- import "../../../chunk-ZDQGQY7Z.js";
16
- import "../../../chunk-IQPA3QOV.js";
17
- import "../../../chunk-CPYPI45H.js";
18
- import "../../../chunk-DZ5MGN25.js";
19
- import "../../../chunk-7KIY6DLW.js";
20
- import "../../../chunk-I63FQCIV.js";
21
- import "../../../chunk-ZIHCLVCD.js";
22
- import "../../../chunk-H4F7UVPT.js";
23
- import "../../../chunk-YWVQCHQF.js";
24
- import "../../../chunk-U7LXB3SM.js";
25
- import "../../../chunk-HOTEC5UH.js";
26
- import "../../../chunk-3J6CUUWT.js";
27
- import "../../../chunk-AUEQQ4D3.js";
28
- import "../../../chunk-FGHABNQM.js";
29
- import "../../../chunk-CRTRMMJ7.js";
30
- export {
31
- CrossmintEmbeddedCheckout_Alpha
32
- };
33
- //# sourceMappingURL=index.js.map
1
+ import"../../../chunk-72MMCJ2E.js";import{a}from"../../../chunk-33OQI6MO.js";import"../../../chunk-IV4ACZQE.js";import"../../../chunk-Z5PEH5AD.js";import"../../../chunk-JSNUJJQJ.js";import"../../../chunk-O73L7XWQ.js";import"../../../chunk-BV7CQ2QS.js";import"../../../chunk-VHNBXIOC.js";import"../../../chunk-3GIMVKF3.js";import"../../../chunk-TNCETEEL.js";import"../../../chunk-T6FFMX2I.js";import"../../../chunk-NBJIJZGO.js";import"../../../chunk-SFDQPSSP.js";import"../../../chunk-77PBG2JJ.js";import"../../../chunk-EVADF7QA.js";import"../../../chunk-HJ4ZXU2X.js";import"../../../chunk-UAFW3OWA.js";import"../../../chunk-C3JRTLQP.js";import"../../../chunk-E4TBJMOO.js";import"../../../chunk-OOLXYAO7.js";import"../../../chunk-4ITU7JF2.js";import"../../../chunk-6M5OP7SM.js";import"../../../chunk-G4LT7I7W.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-7ASOCI4Q.js";import"../../../chunk-LMSKJDGS.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout_Alpha};
@@ -1,11 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkK5S6RUJ3cjs = require('../../chunk-K5S6RUJ3.cjs');
4
- require('../../chunk-Q3M4UH5U.cjs');
5
- require('../../chunk-KLWDDALZ.cjs');
6
- require('../../chunk-Y3SUMTUI.cjs');
7
- require('../../chunk-4DAZAO6Y.cjs');
8
-
9
-
10
- exports.CrossmintPayButton = _chunkK5S6RUJ3cjs.CrossmintPayButton;
11
- //# sourceMappingURL=CrossmintPayButton.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIMRZHYQKcjs = require('../../chunk-IMRZHYQK.cjs');require('../../chunk-O5J2ZIJ6.cjs');require('../../chunk-X5BBXO27.cjs');require('../../chunk-UEC3RXWE.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintPayButton = _chunkIMRZHYQKcjs.a;
@@ -1,11 +1 @@
1
- import {
2
- CrossmintPayButton
3
- } from "../../chunk-5UXGDXPR.js";
4
- import "../../chunk-ATHR4S2P.js";
5
- import "../../chunk-L3FKENHU.js";
6
- import "../../chunk-FGHABNQM.js";
7
- import "../../chunk-CRTRMMJ7.js";
8
- export {
9
- CrossmintPayButton
10
- };
11
- //# sourceMappingURL=CrossmintPayButton.js.map
1
+ import{a}from"../../chunk-2U6DCZSI.js";import"../../chunk-72P3JMXX.js";import"../../chunk-2POV64LQ.js";import"../../chunk-LMSKJDGS.js";import"../../chunk-PXDN3KFO.js";export{a as CrossmintPayButton};
@@ -1,12 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-BKVDVDKX.cjs');
2
-
3
-
4
- var _chunkK5S6RUJ3cjs = require('../../chunk-K5S6RUJ3.cjs');
5
- require('../../chunk-Q3M4UH5U.cjs');
6
- require('../../chunk-KLWDDALZ.cjs');
7
- require('../../chunk-Y3SUMTUI.cjs');
8
- require('../../chunk-4DAZAO6Y.cjs');
9
-
10
-
11
- exports.CrossmintPayButton = _chunkK5S6RUJ3cjs.CrossmintPayButton;
12
- //# sourceMappingURL=index.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-XUT4N66R.cjs');require('../../chunk-3EQVCVCE.cjs');var _chunk5M3BWY6Tcjs = require('../../chunk-5M3BWY6T.cjs');require('../../chunk-56YL3XJW.cjs');require('../../chunk-KI4HRYHD.cjs');var _chunkIMRZHYQKcjs = require('../../chunk-IMRZHYQK.cjs');require('../../chunk-O5J2ZIJ6.cjs');require('../../chunk-X5BBXO27.cjs');require('../../chunk-D4K2AGJK.cjs');require('../../chunk-GPQZG7HC.cjs');require('../../chunk-UEC3RXWE.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout_Alpha = _chunk5M3BWY6Tcjs.a; exports.CrossmintPayButton = _chunkIMRZHYQKcjs.a;
@@ -1,4 +1,5 @@
1
1
  export { CrossmintPayButton, CrossmintPayButtonReactProps } from './CrossmintPayButton.cjs';
2
+ export { CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha } from './v3/CrossmintHostedCheckoutV3.cjs';
2
3
  import 'react/jsx-runtime';
3
4
  import 'react';
4
5
  import '@crossmint/client-sdk-base';
@@ -1,4 +1,5 @@
1
1
  export { CrossmintPayButton, CrossmintPayButtonReactProps } from './CrossmintPayButton.js';
2
+ export { CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha } from './v3/CrossmintHostedCheckoutV3.js';
2
3
  import 'react/jsx-runtime';
3
4
  import 'react';
4
5
  import '@crossmint/client-sdk-base';
@@ -1,12 +1 @@
1
- import "../../chunk-7SBZ6OIH.js";
2
- import {
3
- CrossmintPayButton
4
- } from "../../chunk-5UXGDXPR.js";
5
- import "../../chunk-ATHR4S2P.js";
6
- import "../../chunk-L3FKENHU.js";
7
- import "../../chunk-FGHABNQM.js";
8
- import "../../chunk-CRTRMMJ7.js";
9
- export {
10
- CrossmintPayButton
11
- };
12
- //# sourceMappingURL=index.js.map
1
+ import"../../chunk-WHFUW3W3.js";import"../../chunk-NB7AJIPT.js";import{a as b}from"../../chunk-TD56X3VP.js";import"../../chunk-EA7H4AXL.js";import"../../chunk-KFL42A3A.js";import{a}from"../../chunk-2U6DCZSI.js";import"../../chunk-72P3JMXX.js";import"../../chunk-2POV64LQ.js";import"../../chunk-G4LT7I7W.js";import"../../chunk-ROJ6HFVK.js";import"../../chunk-LMSKJDGS.js";import"../../chunk-PXDN3KFO.js";export{b as CrossmintHostedCheckout_Alpha,a as CrossmintPayButton};
@@ -1,10 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunkQ3M4UH5Ucjs = require('../../chunk-Q3M4UH5U.cjs');
5
- require('../../chunk-4DAZAO6Y.cjs');
6
-
7
-
8
-
9
- exports.formatProps = _chunkQ3M4UH5Ucjs.formatProps; exports.useStyles = _chunkQ3M4UH5Ucjs.useStyles;
10
- //# sourceMappingURL=styles.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO5J2ZIJ6cjs = require('../../chunk-O5J2ZIJ6.cjs');require('../../chunk-2WSEHVNP.cjs');exports.formatProps = _chunkO5J2ZIJ6cjs.a; exports.useStyles = _chunkO5J2ZIJ6cjs.b;
@@ -1,10 +1 @@
1
- import {
2
- formatProps,
3
- useStyles
4
- } from "../../chunk-ATHR4S2P.js";
5
- import "../../chunk-CRTRMMJ7.js";
6
- export {
7
- formatProps,
8
- useStyles
9
- };
10
- //# sourceMappingURL=styles.js.map
1
+ import{a,b}from"../../chunk-72P3JMXX.js";import"../../chunk-PXDN3KFO.js";export{a as formatProps,b as useStyles};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5M3BWY6Tcjs = require('../../../chunk-5M3BWY6T.cjs');require('../../../chunk-56YL3XJW.cjs');require('../../../chunk-KI4HRYHD.cjs');require('../../../chunk-D4K2AGJK.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-UEC3RXWE.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout_Alpha = _chunk5M3BWY6Tcjs.a;
@@ -0,0 +1,8 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CrossmintHostedCheckoutV3Props } from '@crossmint/client-sdk-base';
3
+ import { JSX } from 'react';
4
+
5
+ type CrossmintHostedCheckoutV3ReactProps = CrossmintHostedCheckoutV3Props & JSX.IntrinsicElements["button"];
6
+ declare function CrossmintHostedCheckout_Alpha(props: CrossmintHostedCheckoutV3ReactProps): react_jsx_runtime.JSX.Element | null;
7
+
8
+ export { type CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha };
@@ -0,0 +1,8 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { CrossmintHostedCheckoutV3Props } from '@crossmint/client-sdk-base';
3
+ import { JSX } from 'react';
4
+
5
+ type CrossmintHostedCheckoutV3ReactProps = CrossmintHostedCheckoutV3Props & JSX.IntrinsicElements["button"];
6
+ declare function CrossmintHostedCheckout_Alpha(props: CrossmintHostedCheckoutV3ReactProps): react_jsx_runtime.JSX.Element | null;
7
+
8
+ export { type CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha };
@@ -0,0 +1 @@
1
+ import{a}from"../../../chunk-TD56X3VP.js";import"../../../chunk-EA7H4AXL.js";import"../../../chunk-KFL42A3A.js";import"../../../chunk-G4LT7I7W.js";import"../../../chunk-ROJ6HFVK.js";import"../../../chunk-LMSKJDGS.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintHostedCheckout_Alpha};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-3EQVCVCE.cjs');var _chunk5M3BWY6Tcjs = require('../../../chunk-5M3BWY6T.cjs');require('../../../chunk-56YL3XJW.cjs');require('../../../chunk-KI4HRYHD.cjs');require('../../../chunk-D4K2AGJK.cjs');require('../../../chunk-GPQZG7HC.cjs');require('../../../chunk-UEC3RXWE.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintHostedCheckout_Alpha = _chunk5M3BWY6Tcjs.a;
@@ -0,0 +1,4 @@
1
+ export { CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha } from './CrossmintHostedCheckoutV3.cjs';
2
+ import 'react/jsx-runtime';
3
+ import '@crossmint/client-sdk-base';
4
+ import 'react';
@@ -0,0 +1,4 @@
1
+ export { CrossmintHostedCheckoutV3ReactProps, CrossmintHostedCheckout_Alpha } from './CrossmintHostedCheckoutV3.js';
2
+ import 'react/jsx-runtime';
3
+ import '@crossmint/client-sdk-base';
4
+ import 'react';