@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.
- package/dist/chunk-2POV64LQ.js +1 -0
- package/dist/chunk-2U6DCZSI.js +1 -0
- package/dist/chunk-2VILTRL5.js +1 -0
- package/dist/chunk-2VQLMU5A.cjs +1 -0
- package/dist/chunk-2WSEHVNP.cjs +1 -0
- package/dist/chunk-33OQI6MO.js +1 -0
- package/dist/chunk-3BUVHV54.js +0 -0
- package/dist/chunk-3EQVCVCE.cjs +1 -0
- package/dist/chunk-3FQDW3IU.js +1 -0
- package/dist/chunk-3GIMVKF3.js +1 -0
- package/dist/chunk-4IHRWQWT.js +1 -0
- package/dist/chunk-4ITU7JF2.js +1 -0
- package/dist/chunk-56YL3XJW.cjs +1 -0
- package/dist/chunk-5IFQJPBE.cjs +1 -0
- package/dist/chunk-5M3BWY6T.cjs +1 -0
- package/dist/chunk-6IRIZUTM.cjs +1 -0
- package/dist/chunk-6M5OP7SM.js +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-7ANJ2GZG.cjs +1 -0
- package/dist/chunk-7ASOCI4Q.js +1 -0
- package/dist/chunk-7B364FBM.cjs +1 -0
- package/dist/chunk-7VI5AXX5.cjs +1 -0
- package/dist/chunk-AUSETHZ3.cjs +1 -0
- package/dist/chunk-AXMHJC73.cjs +1 -0
- package/dist/chunk-BR77Q3PK.cjs +1 -0
- package/dist/chunk-BV7CQ2QS.js +1 -0
- package/dist/chunk-C3JRTLQP.js +1 -0
- package/dist/chunk-CW33KBH3.cjs +1 -0
- package/dist/chunk-D3255LVM.cjs +1 -0
- package/dist/chunk-D4K2AGJK.cjs +1 -0
- package/dist/chunk-DGZQUCSD.js +1 -0
- package/dist/chunk-DPUG72P3.cjs +1 -0
- package/dist/chunk-E4TBJMOO.js +1 -0
- package/dist/chunk-EA7H4AXL.js +1 -0
- package/dist/chunk-EUXGP4IN.cjs +1 -0
- package/dist/chunk-EVADF7QA.js +1 -0
- package/dist/chunk-FON43I6G.cjs +1 -0
- package/dist/chunk-G4LT7I7W.js +1 -0
- package/dist/chunk-GPGY5B6G.js +1 -0
- package/dist/chunk-GPQZG7HC.cjs +1 -0
- package/dist/chunk-HG5ML6KX.cjs +1 -0
- package/dist/chunk-HJ4ZXU2X.js +1 -0
- package/dist/chunk-I4GMMHQR.cjs +1 -0
- package/dist/chunk-IAJBYU5C.js +1 -0
- package/dist/chunk-IMRZHYQK.cjs +1 -0
- package/dist/chunk-IMV35JZB.cjs +1 -0
- package/dist/chunk-IV4ACZQE.js +1 -0
- package/dist/chunk-IZGR67ZI.js +1 -0
- package/dist/chunk-JDYEU555.cjs +1 -0
- package/dist/chunk-JGM3G5E2.js +1 -0
- package/dist/chunk-JSNUJJQJ.js +1 -0
- package/dist/chunk-KFL42A3A.js +1 -0
- package/dist/chunk-KI4HRYHD.cjs +1 -0
- package/dist/chunk-LMSKJDGS.js +1 -0
- package/dist/chunk-M42BIIZJ.cjs +1 -0
- package/dist/chunk-N7OESP3W.js +1 -0
- package/dist/chunk-NB7AJIPT.js +0 -0
- package/dist/chunk-NBJIJZGO.js +1 -0
- package/dist/chunk-NCDVID2B.js +1 -0
- package/dist/chunk-NEKICGOA.cjs +1 -0
- package/dist/chunk-NFLGT52C.cjs +1 -0
- package/dist/chunk-NRN4WNQL.cjs +1 -0
- package/dist/chunk-NU6UB76I.cjs +1 -0
- package/dist/chunk-NZQIZ4ZY.cjs +1 -0
- package/dist/chunk-O5J2ZIJ6.cjs +1 -0
- package/dist/chunk-O73L7XWQ.js +1 -0
- package/dist/chunk-OOLXYAO7.js +1 -0
- package/dist/chunk-PDEAWPX3.cjs +1 -0
- package/dist/chunk-PW7TOKQ2.cjs +1 -0
- package/dist/chunk-PXDN3KFO.js +1 -0
- package/dist/chunk-QASKWI5Y.js +1 -0
- package/dist/chunk-QYQERFYL.cjs +1 -0
- package/dist/chunk-ROJ6HFVK.js +1 -0
- package/dist/chunk-RYQRCUKB.js +1 -0
- package/dist/chunk-S73E6EBO.cjs +1 -0
- package/dist/chunk-SFDQPSSP.js +1 -0
- package/dist/chunk-SRQAQHYK.cjs +1 -0
- package/dist/chunk-T6FFMX2I.js +1 -0
- package/dist/chunk-TD56X3VP.js +1 -0
- package/dist/chunk-TM7WDKYR.cjs +1 -0
- package/dist/chunk-TNCETEEL.js +1 -0
- package/dist/chunk-TXOVDTYK.cjs +1 -0
- package/dist/chunk-UAFW3OWA.js +1 -0
- package/dist/chunk-UEC3RXWE.cjs +1 -0
- package/dist/chunk-UHKWPOFV.js +1 -0
- package/dist/chunk-UP4F7YLI.cjs +1 -0
- package/dist/chunk-UYSB2EMS.cjs +1 -0
- package/dist/chunk-VHNBXIOC.js +1 -0
- package/dist/chunk-VI6TW7JT.cjs +1 -0
- package/dist/chunk-VLDE23JX.js +1 -0
- package/dist/chunk-VWBAHXIO.cjs +1 -0
- package/dist/chunk-VWL76U5G.js +1 -0
- package/dist/chunk-W4UPIFFS.cjs +1 -0
- package/dist/chunk-WABJHG6B.cjs +1 -0
- package/dist/chunk-WECMBN4Z.cjs +1 -0
- package/dist/chunk-WHFUW3W3.js +0 -0
- package/dist/chunk-WW3LYPGC.cjs +1 -0
- package/dist/chunk-X5BBXO27.cjs +1 -0
- package/dist/chunk-XIVIIEY5.js +1 -0
- package/dist/chunk-XUQK2ILL.cjs +1 -0
- package/dist/chunk-XUT4N66R.cjs +1 -0
- package/dist/chunk-YV6LD2NU.js +1 -0
- package/dist/chunk-YXF74MVI.cjs +1 -0
- package/dist/chunk-Z2FGFHRQ.cjs +1 -0
- package/dist/chunk-Z5PEH5AD.js +1 -0
- package/dist/chunk-ZUZEZZX7.js +1 -0
- package/dist/components/CrossmintNFTCollectionView.cjs +1 -9
- package/dist/components/CrossmintNFTCollectionView.js +1 -9
- package/dist/components/CrossmintNFTDetail.cjs +1 -9
- package/dist/components/CrossmintNFTDetail.js +1 -9
- package/dist/components/auth/AuthForm.cjs +1 -30
- package/dist/components/auth/AuthForm.js +1 -30
- package/dist/components/auth/AuthFormBackButton.cjs +1 -30
- package/dist/components/auth/AuthFormBackButton.js +1 -30
- package/dist/components/auth/AuthFormDialog.cjs +1 -30
- package/dist/components/auth/AuthFormDialog.js +1 -30
- package/dist/components/auth/EmbeddedAuthForm.cjs +1 -31
- package/dist/components/auth/EmbeddedAuthForm.js +1 -31
- package/dist/components/auth/PasskeyPrompt.cjs +1 -14
- package/dist/components/auth/PasskeyPrompt.js +1 -14
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -30
- package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -30
- package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -32
- package/dist/components/auth/methods/email/EmailOTPInput.js +1 -32
- package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -30
- package/dist/components/auth/methods/email/EmailSignIn.js +1 -30
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -30
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -30
- package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -30
- package/dist/components/auth/methods/google/GoogleSignIn.js +1 -30
- package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -67
- package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -67
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -33
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -33
- package/dist/components/auth/methods/web3/Web3Connector.cjs +1 -65
- package/dist/components/auth/methods/web3/Web3Connector.js +1 -65
- package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs +1 -53
- package/dist/components/auth/methods/web3/Web3ConnectorButton.js +1 -53
- package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -31
- package/dist/components/auth/methods/web3/Web3Connectors.js +1 -31
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.cjs +1 -0
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.d.cts +9 -0
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.d.ts +9 -0
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.js +1 -0
- package/dist/components/common/CrossmintLogoV2/consts.cjs +1 -0
- package/dist/components/common/CrossmintLogoV2/consts.d.cts +35 -0
- package/dist/components/common/CrossmintLogoV2/consts.d.ts +35 -0
- package/dist/components/common/CrossmintLogoV2/consts.js +1 -0
- package/dist/components/common/CrossmintLogoV2/schemas.cjs +1 -0
- package/dist/components/common/CrossmintLogoV2/schemas.d.cts +199 -0
- package/dist/components/common/CrossmintLogoV2/schemas.d.ts +199 -0
- package/dist/components/common/CrossmintLogoV2/schemas.js +1 -0
- package/dist/components/common/Dialog.cjs +1 -26
- package/dist/components/common/Dialog.js +1 -26
- package/dist/components/common/Divider.cjs +1 -30
- package/dist/components/common/Divider.js +1 -30
- package/dist/components/common/InputOTP.cjs +1 -14
- package/dist/components/common/InputOTP.js +1 -14
- package/dist/components/common/PoweredByCrossmint.cjs +1 -10
- package/dist/components/common/PoweredByCrossmint.js +1 -10
- package/dist/components/common/Spinner.cjs +1 -9
- package/dist/components/common/Spinner.js +1 -9
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs +1 -8
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js +1 -8
- package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +1 -8
- package/dist/components/embed/EmbeddedCheckoutIFrame.js +1 -8
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +1 -11
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +1 -11
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +1 -10
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +1 -10
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +1 -11
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +1 -11
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +1 -10
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +1 -10
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +1 -75
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +1 -75
- package/dist/components/embed/index.cjs +1 -14
- package/dist/components/embed/index.js +1 -14
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -32
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -32
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -31
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -31
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -142
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -142
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs +1 -70
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js +1 -70
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -8
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -8
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs +1 -52
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js +1 -52
- package/dist/components/embed/v3/index.cjs +1 -33
- package/dist/components/embed/v3/index.js +1 -33
- package/dist/components/hosted/CrossmintPayButton.cjs +1 -11
- package/dist/components/hosted/CrossmintPayButton.js +1 -11
- package/dist/components/hosted/index.cjs +1 -12
- package/dist/components/hosted/index.d.cts +1 -0
- package/dist/components/hosted/index.d.ts +1 -0
- package/dist/components/hosted/index.js +1 -12
- package/dist/components/hosted/styles.cjs +1 -10
- package/dist/components/hosted/styles.js +1 -10
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -0
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.d.cts +8 -0
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.d.ts +8 -0
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -0
- package/dist/components/hosted/v3/index.cjs +1 -0
- package/dist/components/hosted/v3/index.d.cts +4 -0
- package/dist/components/hosted/v3/index.d.ts +4 -0
- package/dist/components/hosted/v3/index.js +1 -0
- package/dist/components/index.cjs +1 -63
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -63
- package/dist/consts/version.cjs +1 -8
- package/dist/consts/version.js +1 -8
- package/dist/hooks/index.cjs +1 -42
- package/dist/hooks/index.js +1 -42
- package/dist/hooks/useAuth.cjs +1 -30
- package/dist/hooks/useAuth.js +1 -30
- package/dist/hooks/useCrossmint.cjs +1 -10
- package/dist/hooks/useCrossmint.js +1 -10
- package/dist/hooks/useCrossmintAuth.cjs +1 -30
- package/dist/hooks/useCrossmintAuth.js +1 -30
- package/dist/hooks/useCrossmintCheckout.cjs +1 -13
- package/dist/hooks/useCrossmintCheckout.js +1 -13
- package/dist/hooks/useDeepEffect.cjs +1 -8
- package/dist/hooks/useDeepEffect.js +1 -8
- package/dist/hooks/useEnvironment.cjs +1 -8
- package/dist/hooks/useEnvironment.js +1 -8
- package/dist/hooks/useOAuthWindowListener.cjs +1 -30
- package/dist/hooks/useOAuthWindowListener.js +1 -30
- package/dist/hooks/useWallet.cjs +1 -30
- package/dist/hooks/useWallet.js +1 -30
- package/dist/icons/alert.cjs +1 -8
- package/dist/icons/alert.js +1 -8
- package/dist/icons/base64Icons.cjs +1 -12
- package/dist/icons/base64Icons.js +1 -12
- package/dist/icons/chevronRight.cjs +1 -8
- package/dist/icons/chevronRight.js +1 -8
- package/dist/icons/discord.cjs +1 -29
- package/dist/icons/discord.js +1 -29
- package/dist/icons/emailOTP.cjs +1 -8
- package/dist/icons/emailOTP.js +1 -8
- package/dist/icons/farcaster.cjs +1 -8
- package/dist/icons/farcaster.js +1 -8
- package/dist/icons/fingerprint.cjs +1 -8
- package/dist/icons/fingerprint.js +1 -8
- package/dist/icons/google.cjs +1 -8
- package/dist/icons/google.js +1 -8
- package/dist/icons/leftArrow.cjs +1 -8
- package/dist/icons/leftArrow.js +1 -8
- package/dist/icons/passkey.cjs +1 -8
- package/dist/icons/passkey.js +1 -8
- package/dist/icons/passkeyPromptLogo.cjs +1 -8
- package/dist/icons/passkeyPromptLogo.js +1 -8
- package/dist/icons/poweredByLeaf.cjs +1 -8
- package/dist/icons/poweredByLeaf.js +1 -8
- package/dist/icons/wallet.cjs +1 -8
- package/dist/icons/wallet.js +1 -8
- package/dist/icons/x.cjs +1 -29
- package/dist/icons/x.js +1 -29
- package/dist/index.cjs +1 -119
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -119
- package/dist/providers/CrossmintAuthProvider.cjs +1 -32
- package/dist/providers/CrossmintAuthProvider.js +1 -32
- package/dist/providers/CrossmintWalletProvider.cjs +1 -32
- package/dist/providers/CrossmintWalletProvider.js +1 -32
- package/dist/providers/TwindProvider.cjs +1 -9
- package/dist/providers/TwindProvider.js +1 -9
- package/dist/providers/auth/AuthFormProvider.cjs +1 -32
- package/dist/providers/auth/AuthFormProvider.js +1 -32
- package/dist/providers/auth/FarcasterProvider.cjs +1 -8
- package/dist/providers/auth/FarcasterProvider.js +1 -8
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -33
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -33
- package/dist/providers/index.cjs +1 -36
- package/dist/providers/index.js +1 -36
- package/dist/testUtils.cjs +1 -8
- package/dist/testUtils.js +1 -8
- package/dist/twind.config.cjs +1 -8
- package/dist/twind.config.js +1 -8
- package/dist/types/auth.cjs +1 -1
- package/dist/types/auth.js +0 -1
- package/dist/utils/classNames.cjs +1 -8
- package/dist/utils/classNames.js +1 -8
- package/dist/utils/createCrossmintApiClient.cjs +1 -9
- package/dist/utils/createCrossmintApiClient.js +1 -9
- package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs +1 -8
- package/dist/utils/dynamic/dynamicChainToCrossmintChain.js +1 -8
- package/package.json +8 -8
- package/dist/chunk-2ROLE4XU.cjs +0 -31
- package/dist/chunk-2ROLE4XU.cjs.map +0 -1
- package/dist/chunk-2T2VCED7.js +0 -17
- package/dist/chunk-2T2VCED7.js.map +0 -1
- package/dist/chunk-33WZFL2D.js +0 -80
- package/dist/chunk-33WZFL2D.js.map +0 -1
- package/dist/chunk-35RV5AOT.cjs +0 -70
- package/dist/chunk-35RV5AOT.cjs.map +0 -1
- package/dist/chunk-3J6CUUWT.js +0 -50
- package/dist/chunk-3J6CUUWT.js.map +0 -1
- package/dist/chunk-3KR4GYLF.js +0 -26
- package/dist/chunk-3KR4GYLF.js.map +0 -1
- package/dist/chunk-43P7QWBK.cjs +0 -17
- package/dist/chunk-43P7QWBK.cjs.map +0 -1
- package/dist/chunk-4DAZAO6Y.cjs +0 -59
- package/dist/chunk-4DAZAO6Y.cjs.map +0 -1
- package/dist/chunk-5EE2IAIP.js +0 -87
- package/dist/chunk-5EE2IAIP.js.map +0 -1
- package/dist/chunk-5KK3YQWD.cjs +0 -1
- package/dist/chunk-5KK3YQWD.cjs.map +0 -1
- package/dist/chunk-5RX5WFEW.cjs +0 -11
- package/dist/chunk-5RX5WFEW.cjs.map +0 -1
- package/dist/chunk-5UXGDXPR.js +0 -153
- package/dist/chunk-5UXGDXPR.js.map +0 -1
- package/dist/chunk-6CPZDD6Y.js +0 -29
- package/dist/chunk-6CPZDD6Y.js.map +0 -1
- package/dist/chunk-6EX2VR7S.js +0 -14
- package/dist/chunk-6EX2VR7S.js.map +0 -1
- package/dist/chunk-6FG6NL44.js +0 -30
- package/dist/chunk-6FG6NL44.js.map +0 -1
- package/dist/chunk-6LO4NSRH.cjs +0 -21
- package/dist/chunk-6LO4NSRH.cjs.map +0 -1
- package/dist/chunk-6PPUWTTF.cjs +0 -31
- package/dist/chunk-6PPUWTTF.cjs.map +0 -1
- package/dist/chunk-7BZSIPWM.js +0 -31
- package/dist/chunk-7BZSIPWM.js.map +0 -1
- package/dist/chunk-7KIY6DLW.js +0 -28
- package/dist/chunk-7KIY6DLW.js.map +0 -1
- package/dist/chunk-7SBZ6OIH.js +0 -1
- package/dist/chunk-7SBZ6OIH.js.map +0 -1
- package/dist/chunk-A2JCJ2OV.cjs +0 -119
- package/dist/chunk-A2JCJ2OV.cjs.map +0 -1
- package/dist/chunk-A6Q4Z5TO.js +0 -31
- package/dist/chunk-A6Q4Z5TO.js.map +0 -1
- package/dist/chunk-A7J4DAE7.js +0 -16
- package/dist/chunk-A7J4DAE7.js.map +0 -1
- package/dist/chunk-ATHR4S2P.js +0 -48
- package/dist/chunk-ATHR4S2P.js.map +0 -1
- package/dist/chunk-AUCL5NPW.cjs +0 -31
- package/dist/chunk-AUCL5NPW.cjs.map +0 -1
- package/dist/chunk-AUEQQ4D3.js +0 -119
- package/dist/chunk-AUEQQ4D3.js.map +0 -1
- package/dist/chunk-AXZLLRBU.cjs +0 -26
- package/dist/chunk-AXZLLRBU.cjs.map +0 -1
- package/dist/chunk-B7LYPQ4K.cjs +0 -38
- package/dist/chunk-B7LYPQ4K.cjs.map +0 -1
- package/dist/chunk-BE2ZLB3L.cjs +0 -19
- package/dist/chunk-BE2ZLB3L.cjs.map +0 -1
- package/dist/chunk-BFTVVPCU.js +0 -81
- package/dist/chunk-BFTVVPCU.js.map +0 -1
- package/dist/chunk-BKVDVDKX.cjs +0 -1
- package/dist/chunk-BKVDVDKX.cjs.map +0 -1
- package/dist/chunk-BURUD6IV.cjs +0 -64
- package/dist/chunk-BURUD6IV.cjs.map +0 -1
- package/dist/chunk-C2VARNXL.js +0 -70
- package/dist/chunk-C2VARNXL.js.map +0 -1
- package/dist/chunk-CPYPI45H.js +0 -98
- package/dist/chunk-CPYPI45H.js.map +0 -1
- package/dist/chunk-CRTRMMJ7.js +0 -59
- package/dist/chunk-CRTRMMJ7.js.map +0 -1
- package/dist/chunk-DCMLWFDK.js +0 -31
- package/dist/chunk-DCMLWFDK.js.map +0 -1
- package/dist/chunk-DR67KSE7.js +0 -31
- package/dist/chunk-DR67KSE7.js.map +0 -1
- package/dist/chunk-DZ5MGN25.js +0 -147
- package/dist/chunk-DZ5MGN25.js.map +0 -1
- package/dist/chunk-ENCR5SUW.cjs +0 -51
- package/dist/chunk-ENCR5SUW.cjs.map +0 -1
- package/dist/chunk-EOWJ7775.js +0 -18
- package/dist/chunk-EOWJ7775.js.map +0 -1
- package/dist/chunk-FGHABNQM.js +0 -10
- package/dist/chunk-FGHABNQM.js.map +0 -1
- package/dist/chunk-FKIMKZ4Y.js +0 -17
- package/dist/chunk-FKIMKZ4Y.js.map +0 -1
- package/dist/chunk-GMKTZIU2.cjs +0 -22
- package/dist/chunk-GMKTZIU2.cjs.map +0 -1
- package/dist/chunk-H4F7UVPT.js +0 -34
- package/dist/chunk-H4F7UVPT.js.map +0 -1
- package/dist/chunk-HATQVB6H.js +0 -19
- package/dist/chunk-HATQVB6H.js.map +0 -1
- package/dist/chunk-HCW4RO2O.cjs +0 -29
- package/dist/chunk-HCW4RO2O.cjs.map +0 -1
- package/dist/chunk-HOTEC5UH.js +0 -22
- package/dist/chunk-HOTEC5UH.js.map +0 -1
- package/dist/chunk-HPOZ6I54.cjs +0 -44
- package/dist/chunk-HPOZ6I54.cjs.map +0 -1
- package/dist/chunk-HW2Q6J4R.js +0 -64
- package/dist/chunk-HW2Q6J4R.js.map +0 -1
- package/dist/chunk-HZ26XTTK.cjs +0 -81
- package/dist/chunk-HZ26XTTK.cjs.map +0 -1
- package/dist/chunk-I63FQCIV.js +0 -189
- package/dist/chunk-I63FQCIV.js.map +0 -1
- package/dist/chunk-IP4HQL5I.cjs +0 -147
- package/dist/chunk-IP4HQL5I.cjs.map +0 -1
- package/dist/chunk-IQPA3QOV.js +0 -27
- package/dist/chunk-IQPA3QOV.js.map +0 -1
- package/dist/chunk-K5S6RUJ3.cjs +0 -153
- package/dist/chunk-K5S6RUJ3.cjs.map +0 -1
- package/dist/chunk-KEKBOJCF.cjs +0 -50
- package/dist/chunk-KEKBOJCF.cjs.map +0 -1
- package/dist/chunk-KLWDDALZ.cjs +0 -14
- package/dist/chunk-KLWDDALZ.cjs.map +0 -1
- package/dist/chunk-KNOUJZN5.cjs +0 -32
- package/dist/chunk-KNOUJZN5.cjs.map +0 -1
- package/dist/chunk-L3FKENHU.js +0 -14
- package/dist/chunk-L3FKENHU.js.map +0 -1
- package/dist/chunk-LGY5FQOZ.cjs +0 -29
- package/dist/chunk-LGY5FQOZ.cjs.map +0 -1
- package/dist/chunk-LJA62EVT.cjs +0 -87
- package/dist/chunk-LJA62EVT.cjs.map +0 -1
- package/dist/chunk-MCINXS2Y.cjs +0 -1111
- package/dist/chunk-MCINXS2Y.cjs.map +0 -1
- package/dist/chunk-MH37OJT2.cjs +0 -80
- package/dist/chunk-MH37OJT2.cjs.map +0 -1
- package/dist/chunk-MJHLKJ6X.cjs +0 -212
- package/dist/chunk-MJHLKJ6X.cjs.map +0 -1
- package/dist/chunk-MUS7DUPS.cjs +0 -98
- package/dist/chunk-MUS7DUPS.cjs.map +0 -1
- package/dist/chunk-NMXFWIFA.js +0 -133
- package/dist/chunk-NMXFWIFA.js.map +0 -1
- package/dist/chunk-O53ZB544.js +0 -1111
- package/dist/chunk-O53ZB544.js.map +0 -1
- package/dist/chunk-PBSL6JOF.cjs +0 -17
- package/dist/chunk-PBSL6JOF.cjs.map +0 -1
- package/dist/chunk-PHCGCJSA.js +0 -107
- package/dist/chunk-PHCGCJSA.js.map +0 -1
- package/dist/chunk-Q3M4UH5U.cjs +0 -48
- package/dist/chunk-Q3M4UH5U.cjs.map +0 -1
- package/dist/chunk-QDKAU3H2.js +0 -31
- package/dist/chunk-QDKAU3H2.js.map +0 -1
- package/dist/chunk-QFZ6GZZR.cjs +0 -14
- package/dist/chunk-QFZ6GZZR.cjs.map +0 -1
- package/dist/chunk-QQXBYOKA.cjs +0 -16
- package/dist/chunk-QQXBYOKA.cjs.map +0 -1
- package/dist/chunk-QT7UEJZG.cjs +0 -133
- package/dist/chunk-QT7UEJZG.cjs.map +0 -1
- package/dist/chunk-QTL5I5C2.js +0 -38
- package/dist/chunk-QTL5I5C2.js.map +0 -1
- package/dist/chunk-R6IL3WOE.cjs +0 -31
- package/dist/chunk-R6IL3WOE.cjs.map +0 -1
- package/dist/chunk-RZPQIRIY.js +0 -11
- package/dist/chunk-RZPQIRIY.js.map +0 -1
- package/dist/chunk-RZT2J42J.js +0 -29
- package/dist/chunk-RZT2J42J.js.map +0 -1
- package/dist/chunk-SBA6FMFT.cjs +0 -18
- package/dist/chunk-SBA6FMFT.cjs.map +0 -1
- package/dist/chunk-SBTNHVSD.cjs +0 -30
- package/dist/chunk-SBTNHVSD.cjs.map +0 -1
- package/dist/chunk-SZA3XDJ5.cjs +0 -1
- package/dist/chunk-SZA3XDJ5.cjs.map +0 -1
- package/dist/chunk-TH42AO6J.js +0 -17
- package/dist/chunk-TH42AO6J.js.map +0 -1
- package/dist/chunk-U7LXB3SM.js +0 -50
- package/dist/chunk-U7LXB3SM.js.map +0 -1
- package/dist/chunk-UASNCH3A.cjs +0 -27
- package/dist/chunk-UASNCH3A.cjs.map +0 -1
- package/dist/chunk-UGHW5HMB.cjs +0 -31
- package/dist/chunk-UGHW5HMB.cjs.map +0 -1
- package/dist/chunk-UQAKJ4T7.cjs +0 -29
- package/dist/chunk-UQAKJ4T7.cjs.map +0 -1
- package/dist/chunk-URKPLEPV.cjs +0 -189
- package/dist/chunk-URKPLEPV.cjs.map +0 -1
- package/dist/chunk-VZIXXIU5.js +0 -32
- package/dist/chunk-VZIXXIU5.js.map +0 -1
- package/dist/chunk-XDJ6F7N4.cjs +0 -107
- package/dist/chunk-XDJ6F7N4.cjs.map +0 -1
- package/dist/chunk-XEZF7G64.js +0 -212
- package/dist/chunk-XEZF7G64.js.map +0 -1
- package/dist/chunk-XXJ7LQ44.js +0 -1
- package/dist/chunk-XXJ7LQ44.js.map +0 -1
- package/dist/chunk-XYMYRPVT.js +0 -1
- package/dist/chunk-XYMYRPVT.js.map +0 -1
- package/dist/chunk-Y3SUMTUI.cjs +0 -10
- package/dist/chunk-Y3SUMTUI.cjs.map +0 -1
- package/dist/chunk-YE55IKBP.cjs +0 -34
- package/dist/chunk-YE55IKBP.cjs.map +0 -1
- package/dist/chunk-YNBGMNE6.cjs +0 -17
- package/dist/chunk-YNBGMNE6.cjs.map +0 -1
- package/dist/chunk-YWVQCHQF.js +0 -51
- package/dist/chunk-YWVQCHQF.js.map +0 -1
- package/dist/chunk-ZDQGQY7Z.js +0 -29
- package/dist/chunk-ZDQGQY7Z.js.map +0 -1
- package/dist/chunk-ZIHCLVCD.js +0 -44
- package/dist/chunk-ZIHCLVCD.js.map +0 -1
- package/dist/chunk-ZJC4OB5Z.cjs +0 -50
- package/dist/chunk-ZJC4OB5Z.cjs.map +0 -1
- package/dist/chunk-ZMSST6ZZ.cjs +0 -28
- package/dist/chunk-ZMSST6ZZ.cjs.map +0 -1
- package/dist/chunk-ZUIS3FET.js +0 -21
- package/dist/chunk-ZUIS3FET.js.map +0 -1
- package/dist/components/CrossmintNFTCollectionView.cjs.map +0 -1
- package/dist/components/CrossmintNFTCollectionView.js.map +0 -1
- package/dist/components/CrossmintNFTDetail.cjs.map +0 -1
- package/dist/components/CrossmintNFTDetail.js.map +0 -1
- package/dist/components/auth/AuthForm.cjs.map +0 -1
- package/dist/components/auth/AuthForm.js.map +0 -1
- package/dist/components/auth/AuthFormBackButton.cjs.map +0 -1
- package/dist/components/auth/AuthFormBackButton.js.map +0 -1
- package/dist/components/auth/AuthFormDialog.cjs.map +0 -1
- package/dist/components/auth/AuthFormDialog.js.map +0 -1
- package/dist/components/auth/EmbeddedAuthForm.cjs.map +0 -1
- package/dist/components/auth/EmbeddedAuthForm.js.map +0 -1
- package/dist/components/auth/PasskeyPrompt.cjs.map +0 -1
- package/dist/components/auth/PasskeyPrompt.js.map +0 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs.map +0 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.js.map +0 -1
- package/dist/components/auth/methods/email/EmailOTPInput.cjs.map +0 -1
- package/dist/components/auth/methods/email/EmailOTPInput.js.map +0 -1
- package/dist/components/auth/methods/email/EmailSignIn.cjs.map +0 -1
- package/dist/components/auth/methods/email/EmailSignIn.js.map +0 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs.map +0 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js.map +0 -1
- package/dist/components/auth/methods/google/GoogleSignIn.cjs.map +0 -1
- package/dist/components/auth/methods/google/GoogleSignIn.js.map +0 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.cjs.map +0 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.js.map +0 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs.map +0 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.js.map +0 -1
- package/dist/components/auth/methods/web3/Web3Connector.cjs.map +0 -1
- package/dist/components/auth/methods/web3/Web3Connector.js.map +0 -1
- package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs.map +0 -1
- package/dist/components/auth/methods/web3/Web3ConnectorButton.js.map +0 -1
- package/dist/components/auth/methods/web3/Web3Connectors.cjs.map +0 -1
- package/dist/components/auth/methods/web3/Web3Connectors.js.map +0 -1
- package/dist/components/common/Dialog.cjs.map +0 -1
- package/dist/components/common/Dialog.js.map +0 -1
- package/dist/components/common/Divider.cjs.map +0 -1
- package/dist/components/common/Divider.js.map +0 -1
- package/dist/components/common/InputOTP.cjs.map +0 -1
- package/dist/components/common/InputOTP.js.map +0 -1
- package/dist/components/common/PoweredByCrossmint.cjs.map +0 -1
- package/dist/components/common/PoweredByCrossmint.js.map +0 -1
- package/dist/components/common/Spinner.cjs.map +0 -1
- package/dist/components/common/Spinner.js.map +0 -1
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.cjs.map +0 -1
- package/dist/components/dynamic-xyz/DynamicContextProviderWrapper.js.map +0 -1
- package/dist/components/embed/EmbeddedCheckoutIFrame.cjs.map +0 -1
- package/dist/components/embed/EmbeddedCheckoutIFrame.js.map +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs.map +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js.map +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs.map +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js.map +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs.map +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.js.map +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs.map +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js.map +0 -1
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs.map +0 -1
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.js.map +0 -1
- package/dist/components/embed/index.cjs.map +0 -1
- package/dist/components/embed/index.js.map +0 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs.map +0 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js.map +0 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs.map +0 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js.map +0 -1
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs.map +0 -1
- package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.cjs.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleEvmTransaction.js.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.cjs.map +0 -1
- package/dist/components/embed/v3/crypto/utils/handleSolanaTransaction.js.map +0 -1
- package/dist/components/embed/v3/index.cjs.map +0 -1
- package/dist/components/embed/v3/index.js.map +0 -1
- package/dist/components/hosted/CrossmintPayButton.cjs.map +0 -1
- package/dist/components/hosted/CrossmintPayButton.js.map +0 -1
- package/dist/components/hosted/index.cjs.map +0 -1
- package/dist/components/hosted/index.js.map +0 -1
- package/dist/components/hosted/styles.cjs.map +0 -1
- package/dist/components/hosted/styles.js.map +0 -1
- package/dist/components/index.cjs.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/consts/version.cjs.map +0 -1
- package/dist/consts/version.js.map +0 -1
- package/dist/hooks/index.cjs.map +0 -1
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useAuth.cjs.map +0 -1
- package/dist/hooks/useAuth.js.map +0 -1
- package/dist/hooks/useCrossmint.cjs.map +0 -1
- package/dist/hooks/useCrossmint.js.map +0 -1
- package/dist/hooks/useCrossmintAuth.cjs.map +0 -1
- package/dist/hooks/useCrossmintAuth.js.map +0 -1
- package/dist/hooks/useCrossmintCheckout.cjs.map +0 -1
- package/dist/hooks/useCrossmintCheckout.js.map +0 -1
- package/dist/hooks/useDeepEffect.cjs.map +0 -1
- package/dist/hooks/useDeepEffect.js.map +0 -1
- package/dist/hooks/useEnvironment.cjs.map +0 -1
- package/dist/hooks/useEnvironment.js.map +0 -1
- package/dist/hooks/useOAuthWindowListener.cjs.map +0 -1
- package/dist/hooks/useOAuthWindowListener.js.map +0 -1
- package/dist/hooks/useWallet.cjs.map +0 -1
- package/dist/hooks/useWallet.js.map +0 -1
- package/dist/icons/alert.cjs.map +0 -1
- package/dist/icons/alert.js.map +0 -1
- package/dist/icons/base64Icons.cjs.map +0 -1
- package/dist/icons/base64Icons.js.map +0 -1
- package/dist/icons/chevronRight.cjs.map +0 -1
- package/dist/icons/chevronRight.js.map +0 -1
- package/dist/icons/discord.cjs.map +0 -1
- package/dist/icons/discord.js.map +0 -1
- package/dist/icons/emailOTP.cjs.map +0 -1
- package/dist/icons/emailOTP.js.map +0 -1
- package/dist/icons/farcaster.cjs.map +0 -1
- package/dist/icons/farcaster.js.map +0 -1
- package/dist/icons/fingerprint.cjs.map +0 -1
- package/dist/icons/fingerprint.js.map +0 -1
- package/dist/icons/google.cjs.map +0 -1
- package/dist/icons/google.js.map +0 -1
- package/dist/icons/leftArrow.cjs.map +0 -1
- package/dist/icons/leftArrow.js.map +0 -1
- package/dist/icons/passkey.cjs.map +0 -1
- package/dist/icons/passkey.js.map +0 -1
- package/dist/icons/passkeyPromptLogo.cjs.map +0 -1
- package/dist/icons/passkeyPromptLogo.js.map +0 -1
- package/dist/icons/poweredByLeaf.cjs.map +0 -1
- package/dist/icons/poweredByLeaf.js.map +0 -1
- package/dist/icons/wallet.cjs.map +0 -1
- package/dist/icons/wallet.js.map +0 -1
- package/dist/icons/x.cjs.map +0 -1
- package/dist/icons/x.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/providers/CrossmintAuthProvider.cjs.map +0 -1
- package/dist/providers/CrossmintAuthProvider.js.map +0 -1
- package/dist/providers/CrossmintWalletProvider.cjs.map +0 -1
- package/dist/providers/CrossmintWalletProvider.js.map +0 -1
- package/dist/providers/TwindProvider.cjs.map +0 -1
- package/dist/providers/TwindProvider.js.map +0 -1
- package/dist/providers/auth/AuthFormProvider.cjs.map +0 -1
- package/dist/providers/auth/AuthFormProvider.js.map +0 -1
- package/dist/providers/auth/FarcasterProvider.cjs.map +0 -1
- package/dist/providers/auth/FarcasterProvider.js.map +0 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs.map +0 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js.map +0 -1
- package/dist/providers/index.cjs.map +0 -1
- package/dist/providers/index.js.map +0 -1
- package/dist/testUtils.cjs.map +0 -1
- package/dist/testUtils.js.map +0 -1
- package/dist/twind.config.cjs.map +0 -1
- package/dist/twind.config.js.map +0 -1
- package/dist/types/auth.cjs.map +0 -1
- package/dist/types/auth.js.map +0 -1
- package/dist/utils/classNames.cjs.map +0 -1
- package/dist/utils/classNames.js.map +0 -1
- package/dist/utils/createCrossmintApiClient.cjs.map +0 -1
- package/dist/utils/createCrossmintApiClient.js.map +0 -1
- package/dist/utils/dynamic/dynamicChainToCrossmintChain.cjs.map +0 -1
- package/dist/utils/dynamic/dynamicChainToCrossmintChain.js.map +0 -1
- package/src/components/CrossmintCollectionView.test.tsx +0 -36
- package/src/components/CrossmintNFTCollectionView.tsx +0 -25
- package/src/components/CrossmintNFTDetail.test.tsx +0 -38
- package/src/components/CrossmintNFTDetail.tsx +0 -25
- package/src/components/auth/AuthForm.tsx +0 -84
- package/src/components/auth/AuthFormBackButton.tsx +0 -30
- package/src/components/auth/AuthFormDialog.tsx +0 -38
- package/src/components/auth/EmbeddedAuthForm.tsx +0 -5
- package/src/components/auth/PasskeyPrompt.tsx +0 -258
- package/src/components/auth/methods/email/EmailAuthFlow.tsx +0 -19
- package/src/components/auth/methods/email/EmailOTPInput.tsx +0 -124
- package/src/components/auth/methods/email/EmailSignIn.tsx +0 -110
- package/src/components/auth/methods/farcaster/FarcasterSignIn.tsx +0 -169
- package/src/components/auth/methods/google/GoogleSignIn.tsx +0 -53
- package/src/components/auth/methods/web3/Web3AuthFlow.tsx +0 -35
- package/src/components/auth/methods/web3/Web3AuthFlowButton.tsx +0 -44
- package/src/components/auth/methods/web3/Web3Connector.tsx +0 -62
- package/src/components/auth/methods/web3/Web3ConnectorButton.tsx +0 -38
- package/src/components/auth/methods/web3/Web3Connectors.tsx +0 -28
- package/src/components/common/Dialog.tsx +0 -122
- package/src/components/common/Divider.tsx +0 -25
- package/src/components/common/InputOTP.tsx +0 -94
- package/src/components/common/PoweredByCrossmint.tsx +0 -10
- package/src/components/common/Spinner.tsx +0 -22
- package/src/components/dynamic-xyz/DynamicContextProviderWrapper.tsx +0 -31
- package/src/components/embed/CrossmintPaymentElement.test.tsx +0 -79
- package/src/components/embed/EmbeddedCheckoutIFrame.tsx +0 -71
- package/src/components/embed/crypto/CryptoEmbeddedCheckout.tsx +0 -11
- package/src/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.tsx +0 -108
- package/src/components/embed/fiat/FiatEmbeddedCheckout.tsx +0 -7
- package/src/components/embed/fiat/FiatEmbeddedCheckoutIFrame.tsx +0 -21
- package/src/components/embed/fiat/FiatPaymentElement_OLD.tsx +0 -73
- package/src/components/embed/index.tsx +0 -19
- package/src/components/embed/v3/CrossmintEmbeddedCheckoutV3.tsx +0 -7
- package/src/components/embed/v3/EmbeddedCheckoutV3IFrame.tsx +0 -83
- package/src/components/embed/v3/crypto/CryptoWalletConnectionHandler.tsx +0 -144
- package/src/components/embed/v3/crypto/utils/handleEvmTransaction.ts +0 -78
- package/src/components/embed/v3/crypto/utils/handleSendTransaction.ts +0 -29
- package/src/components/embed/v3/crypto/utils/handleSolanaTransaction.ts +0 -54
- package/src/components/embed/v3/index.ts +0 -1
- package/src/components/hosted/CrossmintPayButton.test.tsx +0 -188
- package/src/components/hosted/CrossmintPayButton.tsx +0 -132
- package/src/components/hosted/index.ts +0 -1
- package/src/components/hosted/styles.ts +0 -58
- package/src/components/index.ts +0 -8
- package/src/consts/version.ts +0 -3
- package/src/hooks/index.ts +0 -4
- package/src/hooks/useAuth.ts +0 -11
- package/src/hooks/useCrossmint.test.tsx +0 -103
- package/src/hooks/useCrossmint.tsx +0 -57
- package/src/hooks/useCrossmintAuth.ts +0 -12
- package/src/hooks/useCrossmintCheckout.tsx +0 -56
- package/src/hooks/useDeepEffect.ts +0 -15
- package/src/hooks/useEnvironment.ts +0 -10
- package/src/hooks/useOAuthWindowListener.ts +0 -84
- package/src/hooks/useWallet.ts +0 -13
- package/src/icons/alert.tsx +0 -19
- package/src/icons/base64Icons.ts +0 -8
- package/src/icons/chevronRight.tsx +0 -21
- package/src/icons/discord.tsx +0 -18
- package/src/icons/emailOTP.tsx +0 -147
- package/src/icons/farcaster.tsx +0 -26
- package/src/icons/fingerprint.tsx +0 -25
- package/src/icons/google.tsx +0 -30
- package/src/icons/leftArrow.tsx +0 -20
- package/src/icons/passkey.tsx +0 -18
- package/src/icons/passkeyPromptLogo.tsx +0 -76
- package/src/icons/poweredByLeaf.tsx +0 -85
- package/src/icons/wallet.tsx +0 -23
- package/src/icons/x.tsx +0 -19
- package/src/index.ts +0 -23
- package/src/providers/CrossmintAuthProvider.test.tsx +0 -269
- package/src/providers/CrossmintAuthProvider.tsx +0 -211
- package/src/providers/CrossmintWalletProvider.test.tsx +0 -218
- package/src/providers/CrossmintWalletProvider.tsx +0 -155
- package/src/providers/TwindProvider.tsx +0 -14
- package/src/providers/auth/AuthFormProvider.test.tsx +0 -142
- package/src/providers/auth/AuthFormProvider.tsx +0 -109
- package/src/providers/auth/FarcasterProvider.tsx +0 -12
- package/src/providers/auth/web3/DynamicWeb3WalletConnect.tsx +0 -73
- package/src/providers/index.ts +0 -2
- package/src/testUtils.ts +0 -1
- package/src/twind.config.ts +0 -114
- package/src/types/auth.ts +0 -4
- package/src/utils/classNames.ts +0 -12
- package/src/utils/createCrossmintApiClient.ts +0 -17
- package/src/utils/dynamic/dynamicChainToCrossmintChain.ts +0 -20
package/dist/chunk-EOWJ7775.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// src/hooks/useDeepEffect.ts
|
|
2
|
-
import isEqual from "lodash.isequal";
|
|
3
|
-
import { useEffect, useRef } from "react";
|
|
4
|
-
function useDeepEffect(callback, dependencies) {
|
|
5
|
-
const dependenciesRef = useRef(dependencies);
|
|
6
|
-
useEffect(() => {
|
|
7
|
-
const hasChanged = dependencies.some((dep, i) => !isEqual(dep, dependenciesRef.current[i]));
|
|
8
|
-
if (hasChanged) {
|
|
9
|
-
dependenciesRef.current = dependencies;
|
|
10
|
-
return callback();
|
|
11
|
-
}
|
|
12
|
-
}, [dependencies]);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
useDeepEffect
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=chunk-EOWJ7775.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/hooks/useDeepEffect.ts"],"sourcesContent":["import isEqual from \"lodash.isequal\";\nimport { type DependencyList, type EffectCallback, useEffect, useRef } from \"react\";\n\nexport default function useDeepEffect(callback: EffectCallback, dependencies: DependencyList): void {\n const dependenciesRef = useRef(dependencies);\n\n useEffect(() => {\n const hasChanged = dependencies.some((dep, i) => !isEqual(dep, dependenciesRef.current[i]));\n\n if (hasChanged) {\n dependenciesRef.current = dependencies;\n return callback();\n }\n }, [dependencies]);\n}\n"],"mappings":";AAAA,OAAO,aAAa;AACpB,SAAmD,WAAW,cAAc;AAE7D,SAAR,cAA+B,UAA0B,cAAoC;AAChG,QAAM,kBAAkB,OAAO,YAAY;AAE3C,YAAU,MAAM;AACZ,UAAM,aAAa,aAAa,KAAK,CAAC,KAAK,MAAM,CAAC,QAAQ,KAAK,gBAAgB,QAAQ,CAAC,CAAC,CAAC;AAE1F,QAAI,YAAY;AACZ,sBAAgB,UAAU;AAC1B,aAAO,SAAS;AAAA,IACpB;AAAA,EACJ,GAAG,CAAC,YAAY,CAAC;AACrB;","names":[]}
|
package/dist/chunk-FGHABNQM.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json","../src/consts/version.ts"],"sourcesContent":["{\n \"name\": \"@crossmint/client-sdk-react-ui\",\n \"version\": \"1.10.7\",\n \"repository\": \"https://github.com/Crossmint/crossmint-sdk\",\n \"license\": \"Apache-2.0\",\n \"author\": \"Paella Labs Inc\",\n \"sideEffects\": false,\n \"type\": \"module\",\n \"exports\": {\n \"import\": \"./dist/index.js\",\n \"require\": \"./dist/index.cjs\"\n },\n \"main\": \"./dist/index.cjs\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"files\": [\"dist\", \"src\", \"LICENSE\"],\n \"scripts\": {\n \"build\": \"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup\",\n \"dev\": \"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch\",\n \"test:vitest\": \"vitest run\"\n },\n \"dependencies\": {\n \"@crossmint/client-sdk-auth\": \"workspace:*\",\n \"@crossmint/client-sdk-base\": \"workspace:*\",\n \"@crossmint/client-sdk-smart-wallet\": \"workspace:*\",\n \"@crossmint/client-sdk-window\": \"workspace:*\",\n \"@crossmint/common-sdk-auth\": \"workspace:*\",\n \"@crossmint/common-sdk-base\": \"workspace:*\",\n \"@dynamic-labs/ethereum\": \"2.6.3\",\n \"@dynamic-labs/sdk-react-core\": \"2.6.3\",\n \"@dynamic-labs/solana\": \"2.6.3\",\n \"@ethersproject/transactions\": \"5.7.0\",\n \"@farcaster/auth-kit\": \"0.6.0\",\n \"@headlessui/react\": \"2.1.5\",\n \"@radix-ui/react-dialog\": \"1.1.2\",\n \"@radix-ui/react-visually-hidden\": \"1.1.0\",\n \"@solana/web3.js\": \"1.95.1\",\n \"@twind/core\": \"1.1.3\",\n \"@twind/preset-tailwind\": \"1.1.4\",\n \"bs58\": \"5.0.0\",\n \"clsx\": \"2.1.1\",\n \"color\": \"4.2.3\",\n \"input-otp\": \"1.2.4\",\n \"lodash.isequal\": \"4.5.0\",\n \"react-jss\": \"10.10.0\",\n \"tailwind-merge\": \"2.4.0\",\n \"tailwindcss\": \"3.4.10\",\n \"viem\": \"2.17.5\",\n \"zod\": \"3.22.4\"\n },\n \"devDependencies\": {\n \"@testing-library/react\": \"^16.0.1\",\n \"@types/color\": \"4.2.0\",\n \"@types/lodash.isequal\": \"4.5.6\",\n \"@types/react\": \"^18.3.0\",\n \"@types/react-dom\": \"^18.3.0\",\n \"react\": \"^18.3.0\",\n \"react-dom\": \"^18.3.0\"\n },\n \"peerDependencies\": {\n \"react\": \">=17.0.2\",\n \"react-dom\": \">=17.0.2\"\n }\n}\n","import { version } from \"../../package.json\";\n\nexport const LIB_VERSION = version;\n"],"mappings":";AAEI,cAAW;;;ACAR,IAAM,cAAc;","names":[]}
|
package/dist/chunk-FKIMKZ4Y.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
classNames
|
|
3
|
-
} from "./chunk-RZPQIRIY.js";
|
|
4
|
-
import {
|
|
5
|
-
PoweredByLeaf
|
|
6
|
-
} from "./chunk-DZ5MGN25.js";
|
|
7
|
-
|
|
8
|
-
// src/components/common/PoweredByCrossmint.tsx
|
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
function PoweredByCrossmint({ color = "#A4AFB2", className }) {
|
|
11
|
-
return /* @__PURE__ */ jsx("p", { className: classNames("flex", className), children: /* @__PURE__ */ jsx(PoweredByLeaf, { color }) });
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
PoweredByCrossmint
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=chunk-FKIMKZ4Y.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/common/PoweredByCrossmint.tsx"],"sourcesContent":["import { PoweredByLeaf } from \"@/icons/poweredByLeaf\";\nimport { classNames } from \"@/utils/classNames\";\n\nexport function PoweredByCrossmint({ color = \"#A4AFB2\", className }: { color?: string; className?: string }) {\n return (\n <p className={classNames(\"flex\", className)}>\n <PoweredByLeaf color={color} />\n </p>\n );\n}\n"],"mappings":";;;;;;;;AAMY;AAHL,SAAS,mBAAmB,EAAE,QAAQ,WAAW,UAAU,GAA2C;AACzG,SACI,oBAAC,OAAE,WAAW,WAAW,QAAQ,SAAS,GACtC,8BAAC,iBAAc,OAAc,GACjC;AAER;","names":[]}
|
package/dist/chunk-GMKTZIU2.cjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkY3SUMTUIcjs = require('./chunk-Y3SUMTUI.cjs');
|
|
4
|
-
|
|
5
|
-
// src/utils/createCrossmintApiClient.ts
|
|
6
|
-
var _commonsdkbase = require('@crossmint/common-sdk-base');
|
|
7
|
-
function createCrossmintApiClient(crossmint, apiKeyExpectations) {
|
|
8
|
-
return new (0, _commonsdkbase.CrossmintApiClient)(crossmint, {
|
|
9
|
-
internalConfig: {
|
|
10
|
-
sdkMetadata: {
|
|
11
|
-
name: "@crossmint/client-sdk-react-ui",
|
|
12
|
-
version: _chunkY3SUMTUIcjs.LIB_VERSION
|
|
13
|
-
},
|
|
14
|
-
apiKeyExpectations
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
exports.createCrossmintApiClient = createCrossmintApiClient;
|
|
22
|
-
//# sourceMappingURL=chunk-GMKTZIU2.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/createCrossmintApiClient.ts"],"names":[],"mappings":";;;;;AACA,SAAyB,0BAAiE;AAEnF,SAAS,yBACZ,WACA,oBACF;AACE,SAAO,IAAI,mBAAmB,WAAW;AAAA,IACrC,gBAAgB;AAAA,MACZ,aAAa;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA,MACb;AAAA,MACA;AAAA,IACJ;AAAA,EACJ,CAAC;AACL","sourcesContent":["import { LIB_VERSION } from \"@/consts/version\";\nimport { type Crossmint, CrossmintApiClient, type CrossmintApiClientInternalConfig } from \"@crossmint/common-sdk-base\";\n\nexport function createCrossmintApiClient(\n crossmint: Crossmint,\n apiKeyExpectations?: CrossmintApiClientInternalConfig[\"apiKeyExpectations\"]\n) {\n return new CrossmintApiClient(crossmint, {\n internalConfig: {\n sdkMetadata: {\n name: \"@crossmint/client-sdk-react-ui\",\n version: LIB_VERSION,\n },\n apiKeyExpectations,\n },\n });\n}\n"]}
|
package/dist/chunk-H4F7UVPT.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// src/icons/fingerprint.tsx
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
function FingerprintIcon() {
|
|
4
|
-
return /* @__PURE__ */ jsxs(
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
width: "24",
|
|
9
|
-
height: "24",
|
|
10
|
-
viewBox: "0 0 24 24",
|
|
11
|
-
fill: "none",
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
strokeWidth: "2",
|
|
14
|
-
strokeLinecap: "round",
|
|
15
|
-
strokeLinejoin: "round",
|
|
16
|
-
children: [
|
|
17
|
-
/* @__PURE__ */ jsx("path", { d: "M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4" }),
|
|
18
|
-
/* @__PURE__ */ jsx("path", { d: "M14 13.12c0 2.38 0 6.38-1 8.88" }),
|
|
19
|
-
/* @__PURE__ */ jsx("path", { d: "M17.29 21.02c.12-.6.43-2.3.5-3.02" }),
|
|
20
|
-
/* @__PURE__ */ jsx("path", { d: "M2 12a10 10 0 0 1 18-6" }),
|
|
21
|
-
/* @__PURE__ */ jsx("path", { d: "M2 16h.01" }),
|
|
22
|
-
/* @__PURE__ */ jsx("path", { d: "M21.8 16c.2-2 .131-5.354 0-6" }),
|
|
23
|
-
/* @__PURE__ */ jsx("path", { d: "M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2" }),
|
|
24
|
-
/* @__PURE__ */ jsx("path", { d: "M8.65 22c.21-.66.45-1.32.57-2" }),
|
|
25
|
-
/* @__PURE__ */ jsx("path", { d: "M9 6.8a6 6 0 0 1 9 5.2v2" })
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
FingerprintIcon
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=chunk-H4F7UVPT.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/icons/fingerprint.tsx"],"sourcesContent":["export default function FingerprintIcon() {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4\" />\n <path d=\"M14 13.12c0 2.38 0 6.38-1 8.88\" />\n <path d=\"M17.29 21.02c.12-.6.43-2.3.5-3.02\" />\n <path d=\"M2 12a10 10 0 0 1 18-6\" />\n <path d=\"M2 16h.01\" />\n <path d=\"M21.8 16c.2-2 .131-5.354 0-6\" />\n <path d=\"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2\" />\n <path d=\"M8.65 22c.21-.66.45-1.32.57-2\" />\n <path d=\"M9 6.8a6 6 0 0 1 9 5.2v2\" />\n </svg>\n );\n}\n"],"mappings":";AAEQ,SAWI,KAXJ;AAFO,SAAR,kBAAmC;AACtC,SACI;AAAA,IAAC;AAAA;AAAA,MACG,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MAEf;AAAA,4BAAC,UAAK,GAAE,6CAA4C;AAAA,QACpD,oBAAC,UAAK,GAAE,kCAAiC;AAAA,QACzC,oBAAC,UAAK,GAAE,qCAAoC;AAAA,QAC5C,oBAAC,UAAK,GAAE,0BAAyB;AAAA,QACjC,oBAAC,UAAK,GAAE,aAAY;AAAA,QACpB,oBAAC,UAAK,GAAE,gCAA+B;AAAA,QACvC,oBAAC,UAAK,GAAE,4CAA2C;AAAA,QACnD,oBAAC,UAAK,GAAE,iCAAgC;AAAA,QACxC,oBAAC,UAAK,GAAE,4BAA2B;AAAA;AAAA;AAAA,EACvC;AAER;","names":[]}
|
package/dist/chunk-HATQVB6H.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
twind_config_default
|
|
3
|
-
} from "./chunk-AUEQQ4D3.js";
|
|
4
|
-
|
|
5
|
-
// src/providers/TwindProvider.tsx
|
|
6
|
-
import { install } from "@twind/core";
|
|
7
|
-
import { useEffect } from "react";
|
|
8
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
9
|
-
function TwindProvider({ children }) {
|
|
10
|
-
useEffect(() => {
|
|
11
|
-
install(twind_config_default);
|
|
12
|
-
}, []);
|
|
13
|
-
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
TwindProvider
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=chunk-HATQVB6H.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/providers/TwindProvider.tsx"],"sourcesContent":["import type React from \"react\";\nimport twindConfig from \"@/twind.config\";\nimport { install } from \"@twind/core\";\nimport { useEffect } from \"react\";\n\nexport function TwindProvider({ children }: { children: React.ReactNode }) {\n useEffect(() => {\n // Initialize twind with custom configuration\n // This sets up the CSS-in-JS styling solution for the entire application\n install(twindConfig);\n }, []);\n\n return <>{children}</>;\n}\n"],"mappings":";;;;;AAEA,SAAS,eAAe;AACxB,SAAS,iBAAiB;AASf;AAPJ,SAAS,cAAc,EAAE,SAAS,GAAkC;AACvE,YAAU,MAAM;AAGZ,YAAQ,oBAAW;AAAA,EACvB,GAAG,CAAC,CAAC;AAEL,SAAO,gCAAG,UAAS;AACvB;","names":[]}
|
package/dist/chunk-HCW4RO2O.cjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/leftArrow.tsx
|
|
2
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
3
|
-
function LeftArrowIcon({ className, style }) {
|
|
4
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
width: "24",
|
|
9
|
-
height: "24",
|
|
10
|
-
viewBox: "0 0 24 24",
|
|
11
|
-
fill: "none",
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
strokeWidth: "2",
|
|
14
|
-
strokeLinecap: "round",
|
|
15
|
-
strokeLinejoin: "round",
|
|
16
|
-
className,
|
|
17
|
-
style,
|
|
18
|
-
children: [
|
|
19
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "m12 19-7-7 7-7" }),
|
|
20
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "path", { d: "M19 12H5" })
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.LeftArrowIcon = LeftArrowIcon;
|
|
29
|
-
//# sourceMappingURL=chunk-HCW4RO2O.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/icons/leftArrow.tsx"],"names":[],"mappings":";AAEQ,SAaI,KAbJ;AAFD,SAAS,cAAc,EAAE,WAAW,MAAM,GAAwD;AACrG,SACI;AAAA,IAAC;AAAA;AAAA,MACG,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf;AAAA,MACA;AAAA,MAEA;AAAA,4BAAC,UAAK,GAAE,kBAAiB;AAAA,QACzB,oBAAC,UAAK,GAAE,YAAW;AAAA;AAAA;AAAA,EACvB;AAER","sourcesContent":["export function LeftArrowIcon({ className, style }: { className?: string; style?: React.CSSProperties }) {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={className}\n style={style}\n >\n <path d=\"m12 19-7-7 7-7\" />\n <path d=\"M19 12H5\" />\n </svg>\n );\n}\n"]}
|
package/dist/chunk-HOTEC5UH.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LIB_VERSION
|
|
3
|
-
} from "./chunk-FGHABNQM.js";
|
|
4
|
-
|
|
5
|
-
// src/utils/createCrossmintApiClient.ts
|
|
6
|
-
import { CrossmintApiClient } from "@crossmint/common-sdk-base";
|
|
7
|
-
function createCrossmintApiClient(crossmint, apiKeyExpectations) {
|
|
8
|
-
return new CrossmintApiClient(crossmint, {
|
|
9
|
-
internalConfig: {
|
|
10
|
-
sdkMetadata: {
|
|
11
|
-
name: "@crossmint/client-sdk-react-ui",
|
|
12
|
-
version: LIB_VERSION
|
|
13
|
-
},
|
|
14
|
-
apiKeyExpectations
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export {
|
|
20
|
-
createCrossmintApiClient
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=chunk-HOTEC5UH.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/createCrossmintApiClient.ts"],"sourcesContent":["import { LIB_VERSION } from \"@/consts/version\";\nimport { type Crossmint, CrossmintApiClient, type CrossmintApiClientInternalConfig } from \"@crossmint/common-sdk-base\";\n\nexport function createCrossmintApiClient(\n crossmint: Crossmint,\n apiKeyExpectations?: CrossmintApiClientInternalConfig[\"apiKeyExpectations\"]\n) {\n return new CrossmintApiClient(crossmint, {\n internalConfig: {\n sdkMetadata: {\n name: \"@crossmint/client-sdk-react-ui\",\n version: LIB_VERSION,\n },\n apiKeyExpectations,\n },\n });\n}\n"],"mappings":";;;;;AACA,SAAyB,0BAAiE;AAEnF,SAAS,yBACZ,WACA,oBACF;AACE,SAAO,IAAI,mBAAmB,WAAW;AAAA,IACrC,gBAAgB;AAAA,MACZ,aAAa;AAAA,QACT,MAAM;AAAA,QACN,SAAS;AAAA,MACb;AAAA,MACA;AAAA,IACJ;AAAA,EACJ,CAAC;AACL;","names":[]}
|
package/dist/chunk-HPOZ6I54.cjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/icons/farcaster.tsx
|
|
2
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
3
|
-
var FarcasterIcon = ({ className }) => {
|
|
4
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
width: "24",
|
|
8
|
-
height: "24",
|
|
9
|
-
viewBox: "0 0 1000 1000",
|
|
10
|
-
fill: "none",
|
|
11
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
-
className,
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "rect", { width: "1000", height: "1000", fill: "#855DCD" }),
|
|
15
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16
|
-
"path",
|
|
17
|
-
{
|
|
18
|
-
d: "M257.778 155.556H742.222V844.444H671.111V528.889H670.414C662.554 441.677 589.258 373.333 500 373.333C410.742 373.333 337.446 441.677 329.586 528.889H328.889V844.444H257.778V155.556Z",
|
|
19
|
-
fill: "white"
|
|
20
|
-
}
|
|
21
|
-
),
|
|
22
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23
|
-
"path",
|
|
24
|
-
{
|
|
25
|
-
d: "M128.889 253.333L157.778 351.111H182.222V746.667C169.949 746.667 160 756.616 160 768.889V795.556H155.556C143.283 795.556 133.333 805.505 133.333 817.778V844.444H382.222V817.778C382.222 805.505 372.273 795.556 360 795.556H355.556V768.889C355.556 756.616 345.606 746.667 333.333 746.667H306.667V253.333H128.889Z",
|
|
26
|
-
fill: "white"
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
d: "M675.555 746.667C663.282 746.667 653.333 756.616 653.333 768.889V795.556H648.889C636.616 795.556 626.667 805.505 626.667 817.778V844.444H875.555V817.778C875.555 805.505 865.606 795.556 853.333 795.556H848.889V768.889C848.889 756.616 838.94 746.667 826.667 746.667V351.111H851.111L880 253.333H702.222V746.667H675.555Z",
|
|
33
|
-
fill: "white"
|
|
34
|
-
}
|
|
35
|
-
)
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
);
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
exports.FarcasterIcon = FarcasterIcon;
|
|
44
|
-
//# sourceMappingURL=chunk-HPOZ6I54.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/icons/farcaster.tsx"],"names":[],"mappings":";AAEQ,SAQI,KARJ;AAFD,IAAM,gBAAgB,CAAC,EAAE,UAAU,MAA8B;AACpE,SACI;AAAA,IAAC;AAAA;AAAA,MACG,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACN;AAAA,MAEA;AAAA,4BAAC,UAAK,OAAM,QAAO,QAAO,QAAO,MAAK,WAAU;AAAA,QAChD;AAAA,UAAC;AAAA;AAAA,YACG,GAAE;AAAA,YACF,MAAK;AAAA;AAAA,QACT;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACG,GAAE;AAAA,YACF,MAAK;AAAA;AAAA,QACT;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACG,GAAE;AAAA,YACF,MAAK;AAAA;AAAA,QACT;AAAA;AAAA;AAAA,EACJ;AAER","sourcesContent":["export const FarcasterIcon = ({ className }: { className?: string }) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 1000 1000\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n >\n <rect width=\"1000\" height=\"1000\" fill=\"#855DCD\" />\n <path\n d=\"M257.778 155.556H742.222V844.444H671.111V528.889H670.414C662.554 441.677 589.258 373.333 500 373.333C410.742 373.333 337.446 441.677 329.586 528.889H328.889V844.444H257.778V155.556Z\"\n fill=\"white\"\n />\n <path\n d=\"M128.889 253.333L157.778 351.111H182.222V746.667C169.949 746.667 160 756.616 160 768.889V795.556H155.556C143.283 795.556 133.333 805.505 133.333 817.778V844.444H382.222V817.778C382.222 805.505 372.273 795.556 360 795.556H355.556V768.889C355.556 756.616 345.606 746.667 333.333 746.667H306.667V253.333H128.889Z\"\n fill=\"white\"\n />\n <path\n d=\"M675.555 746.667C663.282 746.667 653.333 756.616 653.333 768.889V795.556H648.889C636.616 795.556 626.667 805.505 626.667 817.778V844.444H875.555V817.778C875.555 805.505 865.606 795.556 853.333 795.556H848.889V768.889C848.889 756.616 838.94 746.667 826.667 746.667V351.111H851.111L880 253.333H702.222V746.667H675.555Z\"\n fill=\"white\"\n />\n </svg>\n );\n};\n"]}
|
package/dist/chunk-HW2Q6J4R.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
WalletIcon
|
|
3
|
-
} from "./chunk-VZIXXIU5.js";
|
|
4
|
-
import {
|
|
5
|
-
ChevronRightIcon
|
|
6
|
-
} from "./chunk-3KR4GYLF.js";
|
|
7
|
-
import {
|
|
8
|
-
useAuthForm
|
|
9
|
-
} from "./chunk-O53ZB544.js";
|
|
10
|
-
import {
|
|
11
|
-
classNames
|
|
12
|
-
} from "./chunk-RZPQIRIY.js";
|
|
13
|
-
|
|
14
|
-
// src/components/auth/methods/web3/Web3AuthFlowButton.tsx
|
|
15
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
function Web3AuthFlowButton() {
|
|
17
|
-
var _a, _b, _c, _d, _e;
|
|
18
|
-
const { step, appearance, setStep, setError } = useAuthForm();
|
|
19
|
-
if (step !== "initial") {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
return /* @__PURE__ */ jsxs(
|
|
23
|
-
"button",
|
|
24
|
-
{
|
|
25
|
-
className: classNames(
|
|
26
|
-
"relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center",
|
|
27
|
-
"transition-colors duration-200 ease-in-out",
|
|
28
|
-
"hover:bg-cm-hover focus:bg-cm-hover outline-none"
|
|
29
|
-
),
|
|
30
|
-
style: {
|
|
31
|
-
borderRadius: appearance == null ? void 0 : appearance.borderRadius,
|
|
32
|
-
borderColor: (_a = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a.border,
|
|
33
|
-
backgroundColor: (_b = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _b.buttonBackground
|
|
34
|
-
},
|
|
35
|
-
onClick: () => {
|
|
36
|
-
setStep("web3");
|
|
37
|
-
setError(null);
|
|
38
|
-
},
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ jsx(
|
|
41
|
-
WalletIcon,
|
|
42
|
-
{
|
|
43
|
-
className: "h-[21px] w-[21px] absolute left-[20px]",
|
|
44
|
-
style: { color: (_c = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _c.textPrimary }
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium", style: { margin: "0px 32px", color: (_d = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _d.textPrimary }, children: "Continue with a wallet" }),
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
49
|
-
ChevronRightIcon,
|
|
50
|
-
{
|
|
51
|
-
className: "h-[21px] w-[21px] absolute right-[20px]",
|
|
52
|
-
style: { color: (_e = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _e.textSecondary }
|
|
53
|
-
}
|
|
54
|
-
),
|
|
55
|
-
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Continue with a wallet" })
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export {
|
|
62
|
-
Web3AuthFlowButton
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=chunk-HW2Q6J4R.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/auth/methods/web3/Web3AuthFlowButton.tsx"],"sourcesContent":["import { ChevronRightIcon } from \"@/icons/chevronRight\";\nimport { WalletIcon } from \"@/icons/wallet\";\nimport { useAuthForm } from \"@/providers/auth/AuthFormProvider\";\nimport { classNames } from \"@/utils/classNames\";\n\nexport function Web3AuthFlowButton() {\n const { step, appearance, setStep, setError } = useAuthForm();\n\n if (step !== \"initial\") {\n return null;\n }\n\n return (\n <button\n className={classNames(\n \"relative flex text-base p-4 bg-cm-muted-primary text-cm-text-primary items-center w-full rounded-xl justify-center\",\n \"transition-colors duration-200 ease-in-out\",\n \"hover:bg-cm-hover focus:bg-cm-hover outline-none\"\n )}\n style={{\n borderRadius: appearance?.borderRadius,\n borderColor: appearance?.colors?.border,\n backgroundColor: appearance?.colors?.buttonBackground,\n }}\n onClick={() => {\n setStep(\"web3\");\n setError(null);\n }}\n >\n <WalletIcon\n className=\"h-[21px] w-[21px] absolute left-[20px]\"\n style={{ color: appearance?.colors?.textPrimary }}\n />\n <span className=\"font-medium\" style={{ margin: \"0px 32px\", color: appearance?.colors?.textPrimary }}>\n Continue with a wallet\n </span>\n <ChevronRightIcon\n className=\"h-[21px] w-[21px] absolute right-[20px]\"\n style={{ color: appearance?.colors?.textSecondary }}\n />\n <span className=\"sr-only\">Continue with a wallet</span>\n </button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAaQ,SAgBI,KAhBJ;AARD,SAAS,qBAAqB;AALrC;AAMI,QAAM,EAAE,MAAM,YAAY,SAAS,SAAS,IAAI,YAAY;AAE5D,MAAI,SAAS,WAAW;AACpB,WAAO;AAAA,EACX;AAEA,SACI;AAAA,IAAC;AAAA;AAAA,MACG,WAAW;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,MACJ;AAAA,MACA,OAAO;AAAA,QACH,cAAc,yCAAY;AAAA,QAC1B,cAAa,8CAAY,WAAZ,mBAAoB;AAAA,QACjC,kBAAiB,8CAAY,WAAZ,mBAAoB;AAAA,MACzC;AAAA,MACA,SAAS,MAAM;AACX,gBAAQ,MAAM;AACd,iBAAS,IAAI;AAAA,MACjB;AAAA,MAEA;AAAA;AAAA,UAAC;AAAA;AAAA,YACG,WAAU;AAAA,YACV,OAAO,EAAE,QAAO,8CAAY,WAAZ,mBAAoB,YAAY;AAAA;AAAA,QACpD;AAAA,QACA,oBAAC,UAAK,WAAU,eAAc,OAAO,EAAE,QAAQ,YAAY,QAAO,8CAAY,WAAZ,mBAAoB,YAAY,GAAG,oCAErG;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACG,WAAU;AAAA,YACV,OAAO,EAAE,QAAO,8CAAY,WAAZ,mBAAoB,cAAc;AAAA;AAAA,QACtD;AAAA,QACA,oBAAC,UAAK,WAAU,WAAU,oCAAsB;AAAA;AAAA;AAAA,EACpD;AAER;","names":[]}
|
package/dist/chunk-HZ26XTTK.cjs
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunkLGY5FQOZcjs = require('./chunk-LGY5FQOZ.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkUQAKJ4T7cjs = require('./chunk-UQAKJ4T7.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkMCINXS2Ycjs = require('./chunk-MCINXS2Y.cjs');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var _chunk4DAZAO6Ycjs = require('./chunk-4DAZAO6Y.cjs');
|
|
14
|
-
|
|
15
|
-
// src/providers/auth/web3/DynamicWeb3WalletConnect.tsx
|
|
16
|
-
var _ethereum = require('@dynamic-labs/ethereum');
|
|
17
|
-
var _solana = require('@dynamic-labs/solana');
|
|
18
|
-
var _jsxruntime = require('react/jsx-runtime');
|
|
19
|
-
function DynamicWeb3WalletConnect({
|
|
20
|
-
children,
|
|
21
|
-
apiKeyEnvironment
|
|
22
|
-
}) {
|
|
23
|
-
var _a, _b;
|
|
24
|
-
const { crossmintAuth } = _chunkMCINXS2Ycjs.useCrossmintAuth.call(void 0, );
|
|
25
|
-
const { appearance } = _chunkMCINXS2Ycjs.useAuthForm.call(void 0, );
|
|
26
|
-
const cssOverrides = `.powered-by-dynamic { display: none !important; } .wallet-list__scroll-container { padding: 0px !important; } .wallet-list__search-container { padding-left: 0px !important; padding-right: 0px !important; } .dynamic-footer { display: none !important; } h1 { color: ${(_a = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _a.textPrimary} !important; } * { color: ${(_b = appearance == null ? void 0 : appearance.colors) == null ? void 0 : _b.textSecondary} !important; }`;
|
|
27
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28
|
-
_chunkUQAKJ4T7cjs.DynamicContextProviderWrapper,
|
|
29
|
-
{
|
|
30
|
-
apiKeyEnvironment,
|
|
31
|
-
settings: {
|
|
32
|
-
cssOverrides,
|
|
33
|
-
walletConnectors: [_ethereum.EthereumWalletConnectors, _solana.SolanaWalletConnectors],
|
|
34
|
-
events: {
|
|
35
|
-
onAuthFlowCancel() {
|
|
36
|
-
console.log("[CryptoWalletConnectionHandler] onAuthFlowCancel");
|
|
37
|
-
},
|
|
38
|
-
onAuthFlowClose() {
|
|
39
|
-
console.log("[CryptoWalletConnectionHandler] onAuthFlowClose");
|
|
40
|
-
},
|
|
41
|
-
onAuthFailure(data, reason) {
|
|
42
|
-
console.error("[CryptoWalletConnectionHandler] onAuthFailure", data, reason);
|
|
43
|
-
},
|
|
44
|
-
onAuthSuccess(data) {
|
|
45
|
-
console.log("[CryptoWalletConnectionHandler] onAuthSuccess", data);
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
handlers: {
|
|
49
|
-
handleConnectedWallet: (wallet) => _chunk4DAZAO6Ycjs.__async.call(void 0, this, null, function* () {
|
|
50
|
-
var _a2;
|
|
51
|
-
console.log("[CryptoWalletConnectionHandler] handleConnectedWallet", wallet);
|
|
52
|
-
const address = wallet.address;
|
|
53
|
-
if (!address) {
|
|
54
|
-
console.error("[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing");
|
|
55
|
-
return false;
|
|
56
|
-
}
|
|
57
|
-
const chain = yield _chunkLGY5FQOZcjs.dynamicChainToCrossmintChain.call(void 0, wallet);
|
|
58
|
-
console.log({ chain });
|
|
59
|
-
try {
|
|
60
|
-
const res = yield crossmintAuth == null ? void 0 : crossmintAuth.signInWithSmartWallet(address);
|
|
61
|
-
const signature = yield (_a2 = wallet.connector) == null ? void 0 : _a2.signMessage(res.challenge);
|
|
62
|
-
const authResponse = yield crossmintAuth == null ? void 0 : crossmintAuth.authenticateSmartWallet(address, signature);
|
|
63
|
-
const oneTimeSecret = authResponse.oneTimeSecret;
|
|
64
|
-
yield crossmintAuth == null ? void 0 : crossmintAuth.handleRefreshAuthMaterial(oneTimeSecret);
|
|
65
|
-
} catch (error) {
|
|
66
|
-
console.error("[CryptoWalletConnectionHandler] Error authenticating wallet:", error);
|
|
67
|
-
return false;
|
|
68
|
-
}
|
|
69
|
-
return true;
|
|
70
|
-
})
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
children
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
exports.DynamicWeb3WalletConnect = DynamicWeb3WalletConnect;
|
|
81
|
-
//# sourceMappingURL=chunk-HZ26XTTK.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/providers/auth/web3/DynamicWeb3WalletConnect.tsx"],"names":["_a"],"mappings":";;;;;;;;;;;;;;;AACA,SAAS,gCAAgC;AACzC,SAAS,8BAA8B;AAiB/B;AAVD,SAAS,yBAAyB;AAAA,EACrC;AAAA,EACA;AACJ,GAA8E;AAZ9E;AAaI,QAAM,EAAE,cAAc,IAAI,iBAAiB;AAC3C,QAAM,EAAE,WAAW,IAAI,YAAY;AAEnC,QAAM,eAAe,4QAA2Q,8CAAY,WAAZ,mBAAoB,WAAW,8BAA6B,8CAAY,WAAZ,mBAAoB,aAAa;AAE7X,SACI;AAAA,IAAC;AAAA;AAAA,MACG;AAAA,MACA,UAAU;AAAA,QACN;AAAA,QACA,kBAAkB,CAAC,0BAA0B,sBAAsB;AAAA,QACnE,QAAQ;AAAA,UACJ,mBAAmB;AACf,oBAAQ,IAAI,kDAAkD;AAAA,UAClE;AAAA,UACA,kBAAkB;AACd,oBAAQ,IAAI,iDAAiD;AAAA,UACjE;AAAA,UACA,cAAc,MAAM,QAAQ;AACxB,oBAAQ,MAAM,iDAAiD,MAAM,MAAM;AAAA,UAC/E;AAAA,UACA,cAAc,MAAM;AAChB,oBAAQ,IAAI,iDAAiD,IAAI;AAAA,UACrE;AAAA,QACJ;AAAA,QACA,UAAU;AAAA,UACN,uBAAuB,CAAO,WAAW;AAvC7D,gBAAAA;AAwCwB,oBAAQ,IAAI,yDAAyD,MAAM;AAE3E,kBAAM,UAAU,OAAO;AACvB,gBAAI,CAAC,SAAS;AACV,sBAAQ,MAAM,2EAA2E;AACzF,qBAAO;AAAA,YACX;AAEA,kBAAM,QAAQ,MAAM,6BAA6B,MAAM;AACvD,oBAAQ,IAAI,EAAE,MAAM,CAAC;AAErB,gBAAI;AACA,oBAAM,MAAM,MAAM,+CAAe,sBAAsB;AACvD,oBAAM,YAAa,OAAMA,MAAA,OAAO,cAAP,gBAAAA,IAAkB,YAAY,IAAI;AAC3D,oBAAM,eAAgB,MAAM,+CAAe,wBAAwB,SAAS;AAG5E,oBAAM,gBAAgB,aAAa;AACnC,oBAAM,+CAAe,0BAA0B;AAAA,YACnD,SAAS,OAAO;AACZ,sBAAQ,MAAM,gEAAgE,KAAK;AACnF,qBAAO;AAAA,YACX;AAEA,mBAAO;AAAA,UACX;AAAA,QACJ;AAAA,MACJ;AAAA,MAEC;AAAA;AAAA,EACL;AAER","sourcesContent":["import type React from \"react\";\nimport { EthereumWalletConnectors } from \"@dynamic-labs/ethereum\";\nimport { SolanaWalletConnectors } from \"@dynamic-labs/solana\";\nimport type { APIKeyEnvironmentPrefix } from \"@crossmint/common-sdk-base\";\nimport DynamicContextProviderWrapper from \"@/components/dynamic-xyz/DynamicContextProviderWrapper\";\nimport { useCrossmintAuth } from \"@/hooks/useCrossmintAuth\";\nimport { useAuthForm } from \"../AuthFormProvider\";\nimport { dynamicChainToCrossmintChain } from \"@/utils/dynamic/dynamicChainToCrossmintChain\";\n\nexport function DynamicWeb3WalletConnect({\n children,\n apiKeyEnvironment,\n}: { children: React.ReactNode; apiKeyEnvironment: APIKeyEnvironmentPrefix }) {\n const { crossmintAuth } = useCrossmintAuth();\n const { appearance } = useAuthForm();\n\n const cssOverrides = `.powered-by-dynamic { display: none !important; } .wallet-list__scroll-container { padding: 0px !important; } .wallet-list__search-container { padding-left: 0px !important; padding-right: 0px !important; } .dynamic-footer { display: none !important; } h1 { color: ${appearance?.colors?.textPrimary} !important; } * { color: ${appearance?.colors?.textSecondary} !important; }`;\n\n return (\n <DynamicContextProviderWrapper\n apiKeyEnvironment={apiKeyEnvironment}\n settings={{\n cssOverrides,\n walletConnectors: [EthereumWalletConnectors, SolanaWalletConnectors],\n events: {\n onAuthFlowCancel() {\n console.log(\"[CryptoWalletConnectionHandler] onAuthFlowCancel\");\n },\n onAuthFlowClose() {\n console.log(\"[CryptoWalletConnectionHandler] onAuthFlowClose\");\n },\n onAuthFailure(data, reason) {\n console.error(\"[CryptoWalletConnectionHandler] onAuthFailure\", data, reason);\n },\n onAuthSuccess(data) {\n console.log(\"[CryptoWalletConnectionHandler] onAuthSuccess\", data);\n },\n },\n handlers: {\n handleConnectedWallet: async (wallet) => {\n console.log(\"[CryptoWalletConnectionHandler] handleConnectedWallet\", wallet);\n\n const address = wallet.address;\n if (!address) {\n console.error(\"[CryptoWalletConnectionHandler] handleConnectedWallet: address is missing\");\n return false;\n }\n\n const chain = await dynamicChainToCrossmintChain(wallet);\n console.log({ chain });\n\n try {\n const res = await crossmintAuth?.signInWithSmartWallet(address);\n const signature = (await wallet.connector?.signMessage(res.challenge)) as `0x${string}`;\n const authResponse = (await crossmintAuth?.authenticateSmartWallet(address, signature)) as {\n oneTimeSecret: string;\n };\n const oneTimeSecret = authResponse.oneTimeSecret;\n await crossmintAuth?.handleRefreshAuthMaterial(oneTimeSecret);\n } catch (error) {\n console.error(\"[CryptoWalletConnectionHandler] Error authenticating wallet:\", error);\n return false;\n }\n\n return true;\n },\n },\n }}\n >\n {children}\n </DynamicContextProviderWrapper>\n );\n}\n"]}
|
package/dist/chunk-I63FQCIV.js
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
// src/icons/emailOTP.tsx
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
function EmailOtpIcon({
|
|
4
|
-
customAccentColor = "#04AA6D",
|
|
5
|
-
customButtonBackgroundColor = "#F2F3F7",
|
|
6
|
-
customBackgroundColor = "#ffffff"
|
|
7
|
-
}) {
|
|
8
|
-
return /* @__PURE__ */ jsxs("svg", { width: "136", height: "113", viewBox: "0 0 136 113", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
9
|
-
/* @__PURE__ */ jsx("mask", { id: "mask0_944_1329", maskUnits: "userSpaceOnUse", x: "8", y: "8", width: "97", height: "97", children: /* @__PURE__ */ jsx(
|
|
10
|
-
"path",
|
|
11
|
-
{
|
|
12
|
-
d: "M104.598 56.2539C104.598 82.7636 83.1073 104.254 56.5977 104.254C30.088 104.254 8.59766 82.7636 8.59766 56.2539C8.59766 29.7442 30.088 8.25391 56.5977 8.25391C83.1073 8.25391 104.598 29.7442 104.598 56.2539Z",
|
|
13
|
-
fill: "#D9D9D9"
|
|
14
|
-
}
|
|
15
|
-
) }),
|
|
16
|
-
/* @__PURE__ */ jsxs("g", { mask: "url(#mask0_944_1329)", children: [
|
|
17
|
-
/* @__PURE__ */ jsx("circle", { cx: "56.5977", cy: "56.2539", r: "48", fill: customButtonBackgroundColor }),
|
|
18
|
-
/* @__PURE__ */ jsxs("g", { filter: "url(#filter0_d_944_1329)", children: [
|
|
19
|
-
/* @__PURE__ */ jsx("mask", { id: "mask1_944_1329", maskUnits: "userSpaceOnUse", x: "29", y: "37", width: "55", height: "37", children: /* @__PURE__ */ jsx("rect", { x: "29.2957", y: "37.5449", width: "54.604", height: "35.8658", rx: "3.212", fill: "#52E0B5" }) }),
|
|
20
|
-
/* @__PURE__ */ jsxs("g", { mask: "url(#mask1_944_1329)", children: [
|
|
21
|
-
/* @__PURE__ */ jsx(
|
|
22
|
-
"rect",
|
|
23
|
-
{
|
|
24
|
-
x: "29.2957",
|
|
25
|
-
y: "34.8662",
|
|
26
|
-
width: "54.604",
|
|
27
|
-
height: "38.544",
|
|
28
|
-
rx: "3.212",
|
|
29
|
-
fill: customBackgroundColor
|
|
30
|
-
}
|
|
31
|
-
),
|
|
32
|
-
/* @__PURE__ */ jsx("mask", { id: "mask2_944_1329", maskUnits: "userSpaceOnUse", x: "29", y: "51", width: "55", height: "41", children: /* @__PURE__ */ jsx(
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: "M31.8833 74.2272C29.1168 72.267 29.1866 68.1383 32.0178 66.2728L53.9469 51.8234C55.5553 50.7636 57.6403 50.7636 59.2487 51.8234L81.1779 66.2728C84.0091 68.1383 84.0789 72.267 81.3124 74.2272L56.5978 91.7381L31.8833 74.2272Z",
|
|
36
|
-
fill: "#52E0B5"
|
|
37
|
-
}
|
|
38
|
-
) }),
|
|
39
|
-
/* @__PURE__ */ jsx("g", { mask: "url(#mask2_944_1329)", children: /* @__PURE__ */ jsx(
|
|
40
|
-
"path",
|
|
41
|
-
{
|
|
42
|
-
d: "M32.0675 73.9008C29.5307 72.1034 29.5947 68.3175 32.1909 66.6068L54.12 52.1574C55.5949 51.1856 57.5068 51.1856 58.9817 52.1574L80.9108 66.6068C83.507 68.3175 83.571 72.1034 81.0341 73.9008L56.5508 91.2479L32.0675 73.9008Z",
|
|
43
|
-
stroke: "#D0D5DD",
|
|
44
|
-
strokeWidth: "0.8"
|
|
45
|
-
}
|
|
46
|
-
) }),
|
|
47
|
-
/* @__PURE__ */ jsx(
|
|
48
|
-
"path",
|
|
49
|
-
{
|
|
50
|
-
d: "M26.9443 36.6072C23.1618 33.6476 22.8212 28.0457 26.2172 24.6497L50.9406 -0.073638C54.0648 -3.19783 59.1301 -3.19783 62.2543 -0.0736384L86.9776 24.6497C90.3737 28.0457 90.033 33.6476 86.2506 36.6072L61.5272 55.9514C58.6312 58.2173 54.5636 58.2173 51.6677 55.9514L26.9443 36.6072Z",
|
|
51
|
-
fill: customBackgroundColor
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
/* @__PURE__ */ jsx(
|
|
55
|
-
"path",
|
|
56
|
-
{
|
|
57
|
-
d: "M27.1908 36.2921C23.5974 33.4806 23.2738 28.1588 26.5001 24.9326L51.2234 0.209205C54.1914 -2.75878 59.0035 -2.75878 61.9714 0.209205L86.6948 24.9326C89.921 28.1588 89.5974 33.4806 86.0041 36.2921L61.2807 55.6364C58.5296 57.789 54.6653 57.789 51.9142 55.6364L27.1908 36.2921Z",
|
|
58
|
-
stroke: "#67797F",
|
|
59
|
-
strokeOpacity: "0.45",
|
|
60
|
-
strokeWidth: "0.8"
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
] })
|
|
64
|
-
] })
|
|
65
|
-
] }),
|
|
66
|
-
/* @__PURE__ */ jsx("g", { filter: "url(#filter1_d_944_1329)", children: /* @__PURE__ */ jsx(
|
|
67
|
-
"path",
|
|
68
|
-
{
|
|
69
|
-
d: "M106.88 68.5039H82.8799C74.5956 68.5039 67.8799 75.2196 67.8799 83.5039C67.8799 91.7882 74.5956 98.5039 82.8799 98.5039H106.88C115.164 98.5039 121.88 91.7882 121.88 83.5039C121.88 75.2196 115.164 68.5039 106.88 68.5039Z",
|
|
70
|
-
fill: customBackgroundColor
|
|
71
|
-
}
|
|
72
|
-
) }),
|
|
73
|
-
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_944_1329)", children: [
|
|
74
|
-
/* @__PURE__ */ jsx("mask", { id: "mask3_944_1329", maskUnits: "userSpaceOnUse", x: "70", y: "71", width: "49", height: "25", children: /* @__PURE__ */ jsx("path", { d: "M118.88 71.5039H70.8799V95.5039H118.88V71.5039Z", fill: "white" }) }),
|
|
75
|
-
/* @__PURE__ */ jsxs("g", { mask: "url(#mask3_944_1329)", children: [
|
|
76
|
-
/* @__PURE__ */ jsx("path", { d: "M118.88 71.5039H70.8799V95.5039H118.88V71.5039Z", fill: "url(#paint0_linear_944_1329)" }),
|
|
77
|
-
/* @__PURE__ */ jsx("path", { d: "M118.88 71.5039H70.8799V95.5039H118.88V71.5039Z", fill: customAccentColor })
|
|
78
|
-
] }),
|
|
79
|
-
/* @__PURE__ */ jsx(
|
|
80
|
-
"path",
|
|
81
|
-
{
|
|
82
|
-
d: "M80.5866 87.7014L80.7337 85.1127L78.5604 86.5381L77.7805 85.183L80.1009 84.0196L77.7805 82.8563L78.5604 81.5012L80.7337 82.9266L80.5866 80.3378H82.1399L81.9993 82.9266L84.1726 81.5012L84.9524 82.8563L82.6257 84.0196L84.9524 85.183L84.1726 86.5381L81.9993 85.1127L82.1399 87.7014H80.5866ZM90.0001 87.7014L90.1471 85.1127L87.9738 86.5381L87.194 85.183L89.5143 84.0196L87.194 82.8563L87.9738 81.5012L90.1471 82.9266L90.0001 80.3378H91.5534L91.4127 82.9266L93.586 81.5012L94.3659 82.8563L92.0391 84.0196L94.3659 85.183L93.586 86.5381L91.4127 85.1127L91.5534 87.7014H90.0001ZM99.4135 87.7014L99.5605 85.1127L97.3872 86.5381L96.6074 85.183L98.9277 84.0196L96.6074 82.8563L97.3872 81.5012L99.5605 82.9266L99.4135 80.3378H100.967L100.826 82.9266L102.999 81.5012L103.779 82.8563L101.453 84.0196L103.779 85.183L102.999 86.5381L100.826 85.1127L100.967 87.7014H99.4135ZM108.827 87.7014L108.974 85.1127L106.801 86.5381L106.021 85.183L108.341 84.0196L106.021 82.8563L106.801 81.5012L108.974 82.9266L108.827 80.3378H110.38L110.24 82.9266L112.413 81.5012L113.193 82.8563L110.866 84.0196L113.193 85.183L112.413 86.5381L110.24 85.1127L110.38 87.7014H108.827Z",
|
|
83
|
-
fill: customBackgroundColor
|
|
84
|
-
}
|
|
85
|
-
)
|
|
86
|
-
] }),
|
|
87
|
-
/* @__PURE__ */ jsxs("defs", { children: [
|
|
88
|
-
/* @__PURE__ */ jsxs(
|
|
89
|
-
"filter",
|
|
90
|
-
{
|
|
91
|
-
id: "filter0_d_944_1329",
|
|
92
|
-
x: "11.6957",
|
|
93
|
-
y: "28.7449",
|
|
94
|
-
width: "89.804",
|
|
95
|
-
height: "71.0657",
|
|
96
|
-
filterUnits: "userSpaceOnUse",
|
|
97
|
-
colorInterpolationFilters: "sRGB",
|
|
98
|
-
children: [
|
|
99
|
-
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
100
|
-
/* @__PURE__ */ jsx(
|
|
101
|
-
"feColorMatrix",
|
|
102
|
-
{
|
|
103
|
-
in: "SourceAlpha",
|
|
104
|
-
type: "matrix",
|
|
105
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
106
|
-
result: "hardAlpha"
|
|
107
|
-
}
|
|
108
|
-
),
|
|
109
|
-
/* @__PURE__ */ jsx("feOffset", { dy: "8.8" }),
|
|
110
|
-
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "8.8" }),
|
|
111
|
-
/* @__PURE__ */ jsx("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
112
|
-
/* @__PURE__ */ jsx(
|
|
113
|
-
"feColorMatrix",
|
|
114
|
-
{
|
|
115
|
-
type: "matrix",
|
|
116
|
-
values: "0 0 0 0 0.0370486 0 0 0 0 0.087038 0 0 0 0 0.0916667 0 0 0 0.16 0"
|
|
117
|
-
}
|
|
118
|
-
),
|
|
119
|
-
/* @__PURE__ */ jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_944_1329" }),
|
|
120
|
-
/* @__PURE__ */ jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_944_1329", result: "shape" })
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
),
|
|
124
|
-
/* @__PURE__ */ jsxs(
|
|
125
|
-
"filter",
|
|
126
|
-
{
|
|
127
|
-
id: "filter1_d_944_1329",
|
|
128
|
-
x: "53.8799",
|
|
129
|
-
y: "54.5039",
|
|
130
|
-
width: "82",
|
|
131
|
-
height: "58",
|
|
132
|
-
filterUnits: "userSpaceOnUse",
|
|
133
|
-
colorInterpolationFilters: "sRGB",
|
|
134
|
-
children: [
|
|
135
|
-
/* @__PURE__ */ jsx("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
|
|
136
|
-
/* @__PURE__ */ jsx(
|
|
137
|
-
"feColorMatrix",
|
|
138
|
-
{
|
|
139
|
-
in: "SourceAlpha",
|
|
140
|
-
type: "matrix",
|
|
141
|
-
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
142
|
-
result: "hardAlpha"
|
|
143
|
-
}
|
|
144
|
-
),
|
|
145
|
-
/* @__PURE__ */ jsx("feOffset", {}),
|
|
146
|
-
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: "7" }),
|
|
147
|
-
/* @__PURE__ */ jsx("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
148
|
-
/* @__PURE__ */ jsx(
|
|
149
|
-
"feColorMatrix",
|
|
150
|
-
{
|
|
151
|
-
type: "matrix",
|
|
152
|
-
values: "0 0 0 0 0.0362847 0 0 0 0 0.0869733 0 0 0 0 0.0916667 0 0 0 0.12 0"
|
|
153
|
-
}
|
|
154
|
-
),
|
|
155
|
-
/* @__PURE__ */ jsx("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_944_1329" }),
|
|
156
|
-
/* @__PURE__ */ jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_944_1329", result: "shape" })
|
|
157
|
-
]
|
|
158
|
-
}
|
|
159
|
-
),
|
|
160
|
-
/* @__PURE__ */ jsxs(
|
|
161
|
-
"linearGradient",
|
|
162
|
-
{
|
|
163
|
-
id: "paint0_linear_944_1329",
|
|
164
|
-
x1: "103.915",
|
|
165
|
-
y1: "95.5039",
|
|
166
|
-
x2: "97.9027",
|
|
167
|
-
y2: "68.179",
|
|
168
|
-
gradientUnits: "userSpaceOnUse",
|
|
169
|
-
children: [
|
|
170
|
-
/* @__PURE__ */ jsx("stop", { stopColor: "#2E996C" }),
|
|
171
|
-
/* @__PURE__ */ jsx("stop", { offset: "1", stopColor: "#D0F2E5" })
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
),
|
|
175
|
-
/* @__PURE__ */ jsx("clipPath", { id: "clip0_944_1329", children: /* @__PURE__ */ jsx(
|
|
176
|
-
"path",
|
|
177
|
-
{
|
|
178
|
-
d: "M70.8799 83.5039C70.8799 76.8765 76.2525 71.5039 82.8799 71.5039H106.88C113.507 71.5039 118.88 76.8765 118.88 83.5039C118.88 90.1313 113.507 95.5039 106.88 95.5039H82.8799C76.2525 95.5039 70.8799 90.1313 70.8799 83.5039Z",
|
|
179
|
-
fill: customBackgroundColor
|
|
180
|
-
}
|
|
181
|
-
) })
|
|
182
|
-
] })
|
|
183
|
-
] });
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
export {
|
|
187
|
-
EmailOtpIcon
|
|
188
|
-
};
|
|
189
|
-
//# sourceMappingURL=chunk-I63FQCIV.js.map
|