@crossmint/client-sdk-react-ui 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-22TFOKGT.js +1 -0
- package/dist/chunk-265BME7Y.cjs +1 -0
- package/dist/chunk-2POV64LQ.js +1 -0
- package/dist/chunk-2TVTJ6GV.js +1 -0
- package/dist/chunk-2VQLMU5A.cjs +1 -0
- package/dist/chunk-2WSEHVNP.cjs +1 -0
- package/dist/chunk-3BUVHV54.js +0 -0
- package/dist/chunk-3JUSQ2QE.cjs +1 -0
- package/dist/chunk-47YB6ECI.cjs +1 -0
- package/dist/chunk-4IHRWQWT.js +1 -0
- package/dist/chunk-4ITU7JF2.js +1 -0
- package/dist/chunk-5DCSVXPM.js +1 -0
- package/dist/chunk-5IFQJPBE.cjs +1 -0
- package/dist/chunk-63OMZNLN.js +1 -0
- package/dist/chunk-6GZGVNLH.cjs +1 -0
- package/dist/chunk-6IWCD2YY.cjs +1 -0
- package/dist/chunk-72MMCJ2E.js +0 -0
- package/dist/chunk-72P3JMXX.js +1 -0
- package/dist/chunk-77PBG2JJ.js +1 -0
- package/dist/chunk-7CPFUVAV.js +1 -0
- package/dist/chunk-7HSC6Q3U.js +1 -0
- package/dist/chunk-7M23WP3P.js +1 -0
- package/dist/chunk-7MUBJ5DE.cjs +1 -0
- package/dist/chunk-7MYTZUEK.js +1 -0
- package/dist/chunk-7WTGDAJW.js +1 -0
- package/dist/chunk-7YJMOHOO.js +1 -0
- package/dist/chunk-7Z2T6P5L.cjs +1 -0
- package/dist/chunk-A3QHXPHD.js +1 -0
- package/dist/chunk-AMP2ZDXD.cjs +1 -0
- package/dist/chunk-ASU2E6GU.js +1 -0
- package/dist/chunk-B7GHWWM6.cjs +1 -0
- package/dist/chunk-BHJ5JTA2.js +1 -0
- package/dist/chunk-BR77Q3PK.cjs +1 -0
- package/dist/chunk-C3JRTLQP.js +1 -0
- package/dist/chunk-D3255LVM.cjs +1 -0
- package/dist/chunk-DCG56C7R.cjs +1 -0
- package/dist/chunk-DGZQUCSD.js +1 -0
- package/dist/chunk-E4TBJMOO.js +1 -0
- package/dist/chunk-E75QRQ6Q.js +1 -0
- package/dist/chunk-E7T2NBUP.cjs +1 -0
- package/dist/chunk-EK4Y233O.js +1 -0
- package/dist/chunk-EUXGP4IN.cjs +1 -0
- package/dist/chunk-EVADF7QA.js +1 -0
- package/dist/chunk-FFIN4TCT.cjs +1 -0
- package/dist/chunk-FON43I6G.cjs +1 -0
- package/dist/chunk-FYYNH6VT.js +1 -0
- package/dist/chunk-G6WJLBM7.js +1 -0
- package/dist/chunk-GJTS3VOX.cjs +1 -0
- package/dist/chunk-HFIIBQLK.js +1 -0
- package/dist/chunk-HHQZJJKE.js +1 -0
- package/dist/chunk-HWGRWJUT.cjs +1 -0
- package/dist/chunk-HYI4R74V.cjs +1 -0
- package/dist/chunk-I4GMMHQR.cjs +1 -0
- package/dist/chunk-IAJBYU5C.js +1 -0
- package/dist/chunk-IKY4YQDO.js +1 -0
- package/dist/chunk-IMV35JZB.cjs +1 -0
- package/dist/chunk-JGM3G5E2.js +1 -0
- package/dist/chunk-JSNLFGET.js +1 -0
- package/dist/chunk-JSNUJJQJ.js +1 -0
- package/dist/chunk-KY4UBKAO.cjs +1 -0
- package/dist/chunk-LF6WLVWL.js +1 -0
- package/dist/chunk-LZ5XEFKY.cjs +1 -0
- package/dist/chunk-MC3WZMO2.cjs +1 -0
- package/dist/chunk-MJMMQJVO.cjs +1 -0
- package/dist/chunk-N4QVZLJB.js +1 -0
- package/dist/chunk-NBJIJZGO.js +1 -0
- package/dist/chunk-NETRNZFY.js +1 -0
- package/dist/chunk-NFLGT52C.cjs +1 -0
- package/dist/chunk-NRN4WNQL.cjs +1 -0
- package/dist/chunk-NTIINLZM.cjs +1 -0
- package/dist/chunk-NY7SDPXG.js +1 -0
- package/dist/chunk-NZQIZ4ZY.cjs +1 -0
- package/dist/chunk-O5J2ZIJ6.cjs +1 -0
- package/dist/chunk-OEAPYLBR.cjs +1 -0
- package/dist/chunk-OOLXYAO7.js +1 -0
- package/dist/chunk-OVBCANGC.cjs +1 -0
- package/dist/chunk-PNUQCT4M.cjs +1 -0
- package/dist/chunk-PXDN3KFO.js +1 -0
- package/dist/chunk-QASKWI5Y.js +1 -0
- package/dist/chunk-QDOP7HRG.js +1 -0
- package/dist/chunk-QP4CMLMG.cjs +1 -0
- package/dist/chunk-QYQERFYL.cjs +1 -0
- package/dist/chunk-QZZXNJMU.js +1 -0
- package/dist/chunk-RGOIGFPQ.cjs +1 -0
- package/dist/chunk-RJGOALQ6.cjs +1 -0
- package/dist/chunk-RUQHINLO.js +1 -0
- package/dist/chunk-RYQRCUKB.js +1 -0
- package/dist/chunk-S73E6EBO.cjs +1 -0
- package/dist/chunk-SC5LQJBG.cjs +1 -0
- package/dist/chunk-SFDQPSSP.js +1 -0
- package/dist/chunk-SJFJI2OT.cjs +1 -0
- package/dist/chunk-SKRQKK2T.cjs +1 -0
- package/dist/chunk-SRQAQHYK.cjs +1 -0
- package/dist/chunk-SSWWXH5O.cjs +1 -0
- package/dist/chunk-SYDMK3TQ.js +1 -0
- package/dist/chunk-T422SK4C.cjs +1 -0
- package/dist/chunk-T5PSAJ3R.cjs +1 -0
- package/dist/chunk-TM7WDKYR.cjs +1 -0
- package/dist/chunk-TNCETEEL.js +1 -0
- package/dist/chunk-U6FTIAJO.js +1 -0
- package/dist/chunk-U7JNW7VQ.js +1 -0
- package/dist/chunk-UAFW3OWA.js +1 -0
- package/dist/chunk-UI2RH2CP.js +1 -0
- package/dist/chunk-UOHM5SBY.cjs +1 -0
- package/dist/chunk-UX6T7EAP.js +1 -0
- package/dist/chunk-V2YSOSYZ.cjs +1 -0
- package/dist/chunk-V4LKDMLV.js +1 -0
- package/dist/chunk-VI6TW7JT.cjs +1 -0
- package/dist/chunk-VIJFGMUH.js +1 -0
- package/dist/chunk-VWBAHXIO.cjs +1 -0
- package/dist/chunk-W4UPIFFS.cjs +1 -0
- package/dist/chunk-WABJHG6B.cjs +1 -0
- package/dist/chunk-WARJE3L2.cjs +1 -0
- package/dist/chunk-WF3RK7VH.js +1 -0
- package/dist/chunk-X5BBXO27.cjs +1 -0
- package/dist/chunk-XIVIIEY5.js +1 -0
- package/dist/chunk-XMNGTV3F.cjs +1 -0
- package/dist/chunk-Y5RJUIQB.cjs +1 -0
- package/dist/chunk-YKC4ST2J.js +1 -0
- package/dist/chunk-YLAJFXWZ.js +0 -0
- package/dist/chunk-YVTAV6EU.cjs +1 -0
- package/dist/chunk-Z2FGFHRQ.cjs +1 -0
- package/dist/components/CrossmintNFTCollectionView.cjs +1 -0
- package/dist/components/CrossmintNFTCollectionView.d.cts +6 -0
- package/dist/components/CrossmintNFTCollectionView.d.ts +6 -0
- package/dist/components/CrossmintNFTCollectionView.js +1 -0
- package/dist/components/CrossmintNFTDetail.cjs +1 -0
- package/dist/components/CrossmintNFTDetail.d.cts +6 -0
- package/dist/components/CrossmintNFTDetail.d.ts +6 -0
- package/dist/components/CrossmintNFTDetail.js +1 -0
- package/dist/components/auth/AuthForm.cjs +1 -0
- package/dist/components/auth/AuthForm.d.cts +7 -0
- package/dist/components/auth/AuthForm.d.ts +7 -0
- package/dist/components/auth/AuthForm.js +1 -0
- package/dist/components/auth/AuthFormBackButton.cjs +1 -0
- package/dist/components/auth/AuthFormBackButton.d.cts +9 -0
- package/dist/components/auth/AuthFormBackButton.d.ts +9 -0
- package/dist/components/auth/AuthFormBackButton.js +1 -0
- package/dist/components/auth/AuthFormDialog.cjs +1 -0
- package/dist/components/auth/AuthFormDialog.d.cts +7 -0
- package/dist/components/auth/AuthFormDialog.d.ts +7 -0
- package/dist/components/auth/AuthFormDialog.js +1 -0
- package/dist/components/auth/EmbeddedAuthForm.cjs +1 -0
- package/dist/components/auth/EmbeddedAuthForm.d.cts +5 -0
- package/dist/components/auth/EmbeddedAuthForm.d.ts +5 -0
- package/dist/components/auth/EmbeddedAuthForm.js +1 -0
- package/dist/components/auth/PasskeyPrompt.cjs +1 -0
- package/dist/components/auth/PasskeyPrompt.d.cts +15 -0
- package/dist/components/auth/PasskeyPrompt.d.ts +15 -0
- package/dist/components/auth/PasskeyPrompt.js +1 -0
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -0
- package/dist/components/auth/methods/email/EmailAuthFlow.d.cts +5 -0
- package/dist/components/auth/methods/email/EmailAuthFlow.d.ts +5 -0
- package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -0
- package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -0
- package/dist/components/auth/methods/email/EmailOTPInput.d.cts +10 -0
- package/dist/components/auth/methods/email/EmailOTPInput.d.ts +10 -0
- package/dist/components/auth/methods/email/EmailOTPInput.js +1 -0
- package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -0
- package/dist/components/auth/methods/email/EmailSignIn.d.cts +8 -0
- package/dist/components/auth/methods/email/EmailSignIn.d.ts +8 -0
- package/dist/components/auth/methods/email/EmailSignIn.js +1 -0
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -0
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.d.cts +5 -0
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.d.ts +5 -0
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -0
- package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -0
- package/dist/components/auth/methods/google/GoogleSignIn.d.cts +6 -0
- package/dist/components/auth/methods/google/GoogleSignIn.d.ts +6 -0
- package/dist/components/auth/methods/google/GoogleSignIn.js +1 -0
- package/dist/components/common/Dialog.cjs +1 -0
- package/dist/components/common/Dialog.d.cts +27 -0
- package/dist/components/common/Dialog.d.ts +27 -0
- package/dist/components/common/Dialog.js +1 -0
- package/dist/components/common/Divider.cjs +1 -0
- package/dist/components/common/Divider.d.cts +9 -0
- package/dist/components/common/Divider.d.ts +9 -0
- package/dist/components/common/Divider.js +1 -0
- package/dist/components/common/InputOTP.cjs +1 -0
- package/dist/components/common/InputOTP.d.cts +46 -0
- package/dist/components/common/InputOTP.d.ts +46 -0
- package/dist/components/common/InputOTP.js +1 -0
- package/dist/components/common/PoweredByCrossmint.cjs +1 -0
- package/dist/components/common/PoweredByCrossmint.d.cts +8 -0
- package/dist/components/common/PoweredByCrossmint.d.ts +8 -0
- package/dist/components/common/PoweredByCrossmint.js +1 -0
- package/dist/components/common/Spinner.cjs +1 -0
- package/dist/components/common/Spinner.d.cts +9 -0
- package/dist/components/common/Spinner.d.ts +9 -0
- package/dist/components/common/Spinner.js +1 -0
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs +1 -0
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.d.cts +13 -0
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.d.ts +13 -0
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js +1 -0
- package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +1 -0
- package/dist/components/embed/EmbeddedCheckoutIFrame.d.cts +9 -0
- package/dist/components/embed/EmbeddedCheckoutIFrame.d.ts +9 -0
- package/dist/components/embed/EmbeddedCheckoutIFrame.js +1 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +1 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.d.cts +6 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.d.ts +6 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +1 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +1 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.d.cts +6 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.d.ts +6 -0
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +1 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +1 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.d.cts +6 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.d.ts +6 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +1 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +1 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.d.cts +6 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.d.ts +6 -0
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +1 -0
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +1 -0
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.d.cts +6 -0
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.d.ts +6 -0
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +1 -0
- package/dist/components/embed/index.cjs +1 -0
- package/dist/components/embed/index.d.cts +6 -0
- package/dist/components/embed/index.d.ts +6 -0
- package/dist/components/embed/index.js +1 -0
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -0
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.d.cts +6 -0
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.d.ts +6 -0
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -0
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -0
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.d.cts +6 -0
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.d.ts +6 -0
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -0
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -0
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.d.cts +10 -0
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.d.ts +10 -0
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -0
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs +1 -0
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.d.cts +12 -0
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.d.ts +12 -0
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js +1 -0
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -0
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.d.cts +7 -0
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.d.ts +7 -0
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -0
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs +1 -0
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.d.cts +10 -0
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.d.ts +10 -0
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js +1 -0
- package/dist/components/embed/v3/index.cjs +1 -0
- package/dist/components/embed/v3/index.d.cts +3 -0
- package/dist/components/embed/v3/index.d.ts +3 -0
- package/dist/components/embed/v3/index.js +1 -0
- package/dist/components/hosted/CrossmintPayButton.cjs +1 -0
- package/dist/components/hosted/CrossmintPayButton.d.cts +11 -0
- package/dist/components/hosted/CrossmintPayButton.d.ts +11 -0
- package/dist/components/hosted/CrossmintPayButton.js +1 -0
- package/dist/components/hosted/index.cjs +1 -0
- package/dist/components/hosted/index.d.cts +4 -0
- package/dist/components/hosted/index.d.ts +4 -0
- package/dist/components/hosted/index.js +1 -0
- package/dist/components/hosted/styles.cjs +1 -0
- package/dist/components/hosted/styles.d.cts +11 -0
- package/dist/components/hosted/styles.d.ts +11 -0
- package/dist/components/hosted/styles.js +1 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +10 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +1 -0
- package/dist/consts/version.cjs +1 -0
- package/dist/consts/version.d.cts +3 -0
- package/dist/consts/version.d.ts +3 -0
- package/dist/consts/version.js +1 -0
- package/dist/hooks/index.cjs +1 -0
- package/dist/hooks/index.d.cts +12 -0
- package/dist/hooks/index.d.ts +12 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useAuth.cjs +1 -0
- package/dist/hooks/useAuth.d.cts +13 -0
- package/dist/hooks/useAuth.d.ts +13 -0
- package/dist/hooks/useAuth.js +1 -0
- package/dist/hooks/useAuthSignIn.cjs +1 -0
- package/dist/hooks/useAuthSignIn.d.cts +21 -0
- package/dist/hooks/useAuthSignIn.d.ts +21 -0
- package/dist/hooks/useAuthSignIn.js +1 -0
- package/dist/hooks/useCrossmint.cjs +1 -0
- package/dist/hooks/useCrossmint.d.cts +15 -0
- package/dist/hooks/useCrossmint.d.ts +15 -0
- package/dist/hooks/useCrossmint.js +1 -0
- package/dist/hooks/useCrossmintCheckout.cjs +1 -0
- package/dist/hooks/useCrossmintCheckout.d.cts +13 -0
- package/dist/hooks/useCrossmintCheckout.d.ts +13 -0
- package/dist/hooks/useCrossmintCheckout.js +1 -0
- package/dist/hooks/useDeepEffect.cjs +1 -0
- package/dist/hooks/useDeepEffect.d.cts +5 -0
- package/dist/hooks/useDeepEffect.d.ts +5 -0
- package/dist/hooks/useDeepEffect.js +1 -0
- package/dist/hooks/useEnvironment.cjs +1 -0
- package/dist/hooks/useEnvironment.d.cts +5 -0
- package/dist/hooks/useEnvironment.d.ts +5 -0
- package/dist/hooks/useEnvironment.js +1 -0
- package/dist/hooks/useOAuthWindowListener.cjs +1 -0
- package/dist/hooks/useOAuthWindowListener.d.cts +12 -0
- package/dist/hooks/useOAuthWindowListener.d.ts +12 -0
- package/dist/hooks/useOAuthWindowListener.js +1 -0
- package/dist/hooks/useRefreshToken.cjs +1 -0
- package/dist/hooks/useRefreshToken.d.cts +11 -0
- package/dist/hooks/useRefreshToken.d.ts +11 -0
- package/dist/hooks/useRefreshToken.js +1 -0
- package/dist/hooks/useWallet.cjs +1 -0
- package/dist/hooks/useWallet.d.cts +18 -0
- package/dist/hooks/useWallet.d.ts +18 -0
- package/dist/hooks/useWallet.js +1 -0
- package/dist/icons/alert.cjs +1 -0
- package/dist/icons/alert.d.cts +7 -0
- package/dist/icons/alert.d.ts +7 -0
- package/dist/icons/alert.js +1 -0
- package/dist/icons/discord.cjs +1 -0
- package/dist/icons/discord.d.cts +7 -0
- package/dist/icons/discord.d.ts +7 -0
- package/dist/icons/discord.js +1 -0
- package/dist/icons/emailOTP.cjs +1 -0
- package/dist/icons/emailOTP.d.cts +9 -0
- package/dist/icons/emailOTP.d.ts +9 -0
- package/dist/icons/emailOTP.js +1 -0
- package/dist/icons/farcaster.cjs +1 -0
- package/dist/icons/farcaster.d.cts +7 -0
- package/dist/icons/farcaster.d.ts +7 -0
- package/dist/icons/farcaster.js +1 -0
- package/dist/icons/fingerprint.cjs +1 -0
- package/dist/icons/fingerprint.d.cts +5 -0
- package/dist/icons/fingerprint.d.ts +5 -0
- package/dist/icons/fingerprint.js +1 -0
- package/dist/icons/google.cjs +1 -0
- package/dist/icons/google.d.cts +7 -0
- package/dist/icons/google.d.ts +7 -0
- package/dist/icons/google.js +1 -0
- package/dist/icons/leftArrow.cjs +1 -0
- package/dist/icons/leftArrow.d.cts +8 -0
- package/dist/icons/leftArrow.d.ts +8 -0
- package/dist/icons/leftArrow.js +1 -0
- package/dist/icons/passkey.cjs +1 -0
- package/dist/icons/passkey.d.cts +5 -0
- package/dist/icons/passkey.d.ts +5 -0
- package/dist/icons/passkey.js +1 -0
- package/dist/icons/passkeyPromptLogo.cjs +1 -0
- package/dist/icons/passkeyPromptLogo.d.cts +8 -0
- package/dist/icons/passkeyPromptLogo.d.ts +8 -0
- package/dist/icons/passkeyPromptLogo.js +1 -0
- package/dist/icons/poweredByLeaf.cjs +1 -0
- package/dist/icons/poweredByLeaf.d.cts +8 -0
- package/dist/icons/poweredByLeaf.d.ts +8 -0
- package/dist/icons/poweredByLeaf.js +1 -0
- package/dist/icons/x.cjs +1 -0
- package/dist/icons/x.d.cts +7 -0
- package/dist/icons/x.d.ts +7 -0
- package/dist/icons/x.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +18 -124
- package/dist/index.d.ts +18 -124
- package/dist/index.js +1 -1
- package/dist/providers/CrossmintAuthProvider.cjs +1 -0
- package/dist/providers/CrossmintAuthProvider.d.cts +34 -0
- package/dist/providers/CrossmintAuthProvider.d.ts +34 -0
- package/dist/providers/CrossmintAuthProvider.js +1 -0
- package/dist/providers/CrossmintWalletProvider.cjs +1 -0
- package/dist/providers/CrossmintWalletProvider.d.cts +30 -0
- package/dist/providers/CrossmintWalletProvider.d.ts +30 -0
- package/dist/providers/CrossmintWalletProvider.js +1 -0
- package/dist/providers/TwindProvider.cjs +1 -0
- package/dist/providers/TwindProvider.d.cts +8 -0
- package/dist/providers/TwindProvider.d.ts +8 -0
- package/dist/providers/TwindProvider.js +1 -0
- package/dist/providers/auth/AuthFormProvider.cjs +1 -0
- package/dist/providers/auth/AuthFormProvider.d.cts +36 -0
- package/dist/providers/auth/AuthFormProvider.d.ts +36 -0
- package/dist/providers/auth/AuthFormProvider.js +1 -0
- package/dist/providers/auth/FarcasterProvider.cjs +1 -0
- package/dist/providers/auth/FarcasterProvider.d.cts +9 -0
- package/dist/providers/auth/FarcasterProvider.d.ts +9 -0
- package/dist/providers/auth/FarcasterProvider.js +1 -0
- package/dist/providers/index.cjs +1 -0
- package/dist/providers/index.d.cts +7 -0
- package/dist/providers/index.d.ts +7 -0
- package/dist/providers/index.js +1 -0
- package/dist/testUtils.cjs +1 -0
- package/dist/testUtils.d.cts +4 -0
- package/dist/testUtils.d.ts +4 -0
- package/dist/testUtils.js +1 -0
- package/dist/twind.config.cjs +1 -0
- package/dist/twind.config.d.cts +11 -0
- package/dist/twind.config.d.ts +11 -0
- package/dist/twind.config.js +1 -0
- package/dist/types/auth.cjs +1 -0
- package/dist/types/auth.d.cts +6 -0
- package/dist/types/auth.d.ts +6 -0
- package/dist/types/auth.js +0 -0
- package/dist/utils/authCookies.cjs +1 -0
- package/dist/utils/authCookies.d.cts +5 -0
- package/dist/utils/authCookies.d.ts +5 -0
- package/dist/utils/authCookies.js +1 -0
- package/dist/utils/classNames.cjs +1 -0
- package/dist/utils/classNames.d.cts +11 -0
- package/dist/utils/classNames.d.ts +11 -0
- package/dist/utils/classNames.js +1 -0
- package/dist/utils/createCrossmintApiClient.cjs +1 -0
- package/dist/utils/createCrossmintApiClient.d.cts +5 -0
- package/dist/utils/createCrossmintApiClient.d.ts +5 -0
- package/dist/utils/createCrossmintApiClient.js +1 -0
- package/package.json +5 -5
- package/src/index.ts +0 -8
- package/src/providers/CrossmintAuthProvider.tsx +35 -32
- package/src/providers/TwindProvider.tsx +14 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _twind_preset_tailwind from '@twind/preset-tailwind';
|
|
2
|
+
import * as _twind_core from '@twind/core';
|
|
3
|
+
|
|
4
|
+
declare const _default: _twind_core.TwindConfig<_twind_core.BaseTheme & _twind_preset_tailwind.TailwindTheme & {
|
|
5
|
+
screens: {
|
|
6
|
+
xs: string;
|
|
7
|
+
};
|
|
8
|
+
extend: never;
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
export { _default as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _twind_preset_tailwind from '@twind/preset-tailwind';
|
|
2
|
+
import * as _twind_core from '@twind/core';
|
|
3
|
+
|
|
4
|
+
declare const _default: _twind_core.TwindConfig<_twind_core.BaseTheme & _twind_preset_tailwind.TailwindTheme & {
|
|
5
|
+
screens: {
|
|
6
|
+
xs: string;
|
|
7
|
+
};
|
|
8
|
+
extend: never;
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
export { _default as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-63OMZNLN.js";import"./chunk-PXDN3KFO.js";export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFFIN4TCTcjs = require('../chunk-FFIN4TCT.cjs');require('../chunk-2WSEHVNP.cjs');exports.deleteCookie = _chunkFFIN4TCTcjs.c; exports.getCookie = _chunkFFIN4TCTcjs.a; exports.setCookie = _chunkFFIN4TCTcjs.b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"../chunk-QDOP7HRG.js";import"../chunk-PXDN3KFO.js";export{c as deleteCookie,a as getCookie,b as setCookie};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWABJHG6Bcjs = require('../chunk-WABJHG6B.cjs');require('../chunk-2WSEHVNP.cjs');exports.classNames = _chunkWABJHG6Bcjs.a;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Combines multiple class names into a single string.
|
|
5
|
+
*
|
|
6
|
+
* @param inputs - The class names to combine.
|
|
7
|
+
* @returns The combined class names as a string.
|
|
8
|
+
*/
|
|
9
|
+
declare function classNames(...inputs: ClassValue[]): string;
|
|
10
|
+
|
|
11
|
+
export { classNames };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Combines multiple class names into a single string.
|
|
5
|
+
*
|
|
6
|
+
* @param inputs - The class names to combine.
|
|
7
|
+
* @returns The combined class names as a string.
|
|
8
|
+
*/
|
|
9
|
+
declare function classNames(...inputs: ClassValue[]): string;
|
|
10
|
+
|
|
11
|
+
export { classNames };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-NBJIJZGO.js";import"../chunk-PXDN3KFO.js";export{a as classNames};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDCG56C7Rcjs = require('../chunk-DCG56C7R.cjs');require('../chunk-WARJE3L2.cjs');require('../chunk-2WSEHVNP.cjs');exports.createCrossmintApiClient = _chunkDCG56C7Rcjs.a;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Crossmint, CrossmintApiClientInternalConfig, CrossmintApiClient } from '@crossmint/common-sdk-base';
|
|
2
|
+
|
|
3
|
+
declare function createCrossmintApiClient(crossmint: Crossmint, apiKeyExpectations?: CrossmintApiClientInternalConfig["apiKeyExpectations"]): CrossmintApiClient;
|
|
4
|
+
|
|
5
|
+
export { createCrossmintApiClient };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Crossmint, CrossmintApiClientInternalConfig, CrossmintApiClient } from '@crossmint/common-sdk-base';
|
|
2
|
+
|
|
3
|
+
declare function createCrossmintApiClient(crossmint: Crossmint, apiKeyExpectations?: CrossmintApiClientInternalConfig["apiKeyExpectations"]): CrossmintApiClient;
|
|
4
|
+
|
|
5
|
+
export { createCrossmintApiClient };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-IKY4YQDO.js";import"../chunk-HFIIBQLK.js";import"../chunk-PXDN3KFO.js";export{a as createCrossmintApiClient};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossmint/client-sdk-react-ui",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"repository": "https://github.com/Crossmint/crossmint-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Paella Labs Inc",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"viem": "2.17.5",
|
|
43
43
|
"zod": "3.22.4",
|
|
44
44
|
"@crossmint/client-sdk-auth": "0.2.3",
|
|
45
|
+
"@crossmint/common-sdk-auth": "0.2.3",
|
|
45
46
|
"@crossmint/client-sdk-base": "1.3.1",
|
|
47
|
+
"@crossmint/common-sdk-base": "0.2.0",
|
|
46
48
|
"@crossmint/client-sdk-smart-wallet": "0.1.21",
|
|
47
|
-
"@crossmint/client-sdk-window": "0.1.0"
|
|
48
|
-
"@crossmint/common-sdk-auth": "0.2.3",
|
|
49
|
-
"@crossmint/common-sdk-base": "0.2.0"
|
|
49
|
+
"@crossmint/client-sdk-window": "0.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/lodash.isequal": "4.5.6",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"react-dom": ">=17.0.2"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
|
-
"build": "tsup",
|
|
63
|
+
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
|
64
64
|
"dev": "tsup --watch",
|
|
65
65
|
"test": "vitest run"
|
|
66
66
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import { install } from "@twind/core";
|
|
2
|
-
|
|
3
|
-
import twindConfig from "./twind.config";
|
|
4
|
-
|
|
5
|
-
// Initialize twind with custom configuration
|
|
6
|
-
// This sets up the CSS-in-JS styling solution for the entire application
|
|
7
|
-
install(twindConfig);
|
|
8
|
-
|
|
9
1
|
export * from "./components";
|
|
10
2
|
export * from "./hooks";
|
|
11
3
|
export * from "./providers";
|
|
@@ -15,6 +15,7 @@ import { useCrossmint, useRefreshToken, useWallet } from "../hooks";
|
|
|
15
15
|
import { CrossmintWalletProvider } from "./CrossmintWalletProvider";
|
|
16
16
|
import { deleteCookie, getCookie, setCookie } from "@/utils/authCookies";
|
|
17
17
|
import { AuthFormProvider } from "./auth/AuthFormProvider";
|
|
18
|
+
import { TwindProvider } from "./TwindProvider";
|
|
18
19
|
|
|
19
20
|
export type CrossmintAuthWalletConfig = {
|
|
20
21
|
defaultChain: EVMSmartWalletChain;
|
|
@@ -140,40 +141,42 @@ export function CrossmintAuthProvider({
|
|
|
140
141
|
};
|
|
141
142
|
|
|
142
143
|
return (
|
|
143
|
-
<
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<CrossmintWalletProvider
|
|
155
|
-
defaultChain={embeddedWallets.defaultChain}
|
|
156
|
-
showPasskeyHelpers={embeddedWallets.showPasskeyHelpers}
|
|
157
|
-
appearance={appearance}
|
|
144
|
+
<TwindProvider>
|
|
145
|
+
<AuthContext.Provider
|
|
146
|
+
value={{
|
|
147
|
+
login,
|
|
148
|
+
logout,
|
|
149
|
+
jwt: crossmint.jwt,
|
|
150
|
+
refreshToken: crossmint.refreshToken,
|
|
151
|
+
user,
|
|
152
|
+
status: getAuthStatus(),
|
|
153
|
+
getUser,
|
|
154
|
+
}}
|
|
158
155
|
>
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
fetchAuthMaterial,
|
|
164
|
-
appearance,
|
|
165
|
-
setDialogOpen,
|
|
166
|
-
loginMethods,
|
|
167
|
-
}}
|
|
156
|
+
<CrossmintWalletProvider
|
|
157
|
+
defaultChain={embeddedWallets.defaultChain}
|
|
158
|
+
showPasskeyHelpers={embeddedWallets.showPasskeyHelpers}
|
|
159
|
+
appearance={appearance}
|
|
168
160
|
>
|
|
169
|
-
<
|
|
170
|
-
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
161
|
+
<AuthFormProvider
|
|
162
|
+
initialState={{
|
|
163
|
+
apiKey: crossmint.apiKey,
|
|
164
|
+
baseUrl: crossmintBaseUrl,
|
|
165
|
+
fetchAuthMaterial,
|
|
166
|
+
appearance,
|
|
167
|
+
setDialogOpen,
|
|
168
|
+
loginMethods,
|
|
169
|
+
}}
|
|
170
|
+
>
|
|
171
|
+
<WalletManager embeddedWallets={embeddedWallets} accessToken={crossmint.jwt}>
|
|
172
|
+
{children}
|
|
173
|
+
</WalletManager>
|
|
174
|
+
|
|
175
|
+
<AuthFormDialog open={dialogOpen} />
|
|
176
|
+
</AuthFormProvider>
|
|
177
|
+
</CrossmintWalletProvider>
|
|
178
|
+
</AuthContext.Provider>
|
|
179
|
+
</TwindProvider>
|
|
177
180
|
);
|
|
178
181
|
}
|
|
179
182
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import twindConfig from "@/twind.config";
|
|
3
|
+
import { install } from "@twind/core";
|
|
4
|
+
import { useEffect } from "react";
|
|
5
|
+
|
|
6
|
+
export function TwindProvider({ children }: { children: React.ReactNode }) {
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
// Initialize twind with custom configuration
|
|
9
|
+
// This sets up the CSS-in-JS styling solution for the entire application
|
|
10
|
+
install(twindConfig);
|
|
11
|
+
}, []);
|
|
12
|
+
|
|
13
|
+
return <>{children}</>;
|
|
14
|
+
}
|