@crossmint/client-sdk-react-ui 2.2.19 → 2.3.0
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-23YVHBPI.js +11 -0
- package/dist/chunk-2SBA4RZZ.cjs +17 -0
- package/dist/{chunk-WMDN55HV.js → chunk-2ZIM34DD.js} +1 -1
- package/dist/chunk-36S5R2NM.js +53 -0
- package/dist/{chunk-RQ4I3YNZ.js → chunk-3NEYD7GW.js} +1 -1
- package/dist/{chunk-ZSHAQLLM.js → chunk-3TUDRFXX.js} +1 -1
- package/dist/chunk-3X24JZVG.cjs +6 -0
- package/dist/{chunk-DQHM2ITY.js → chunk-44MREOU3.js} +1 -1
- package/dist/{chunk-F2PJZF7H.cjs → chunk-4RD5CZ3D.cjs} +1 -1
- package/dist/chunk-56YL3XJW.cjs +1 -0
- package/dist/chunk-5J6CUTGJ.cjs +53 -0
- package/dist/chunk-5MRPY46P.js +46 -0
- package/dist/chunk-5OQLZOD4.cjs +231 -0
- package/dist/chunk-5VJQFSG6.js +1 -0
- package/dist/{chunk-2QPYIF6Q.js → chunk-6QJNYB7C.js} +1 -1
- package/dist/chunk-7U6Q4ELB.cjs +35 -0
- package/dist/chunk-A5BH5XDB.js +1 -0
- package/dist/chunk-AHMPKIEY.cjs +14 -0
- package/dist/{chunk-JRIASLIO.cjs → chunk-ALORBDLN.cjs} +1 -1
- package/dist/{chunk-JO7RY6MG.cjs → chunk-ANSLIVQ7.cjs} +1 -1
- package/dist/chunk-AO2V2B62.cjs +160 -0
- package/dist/chunk-AOBO3CEQ.js +14 -0
- package/dist/chunk-B6B7IV7W.js +1 -0
- package/dist/chunk-BABEX7ZC.js +2 -0
- package/dist/chunk-BAXCSO7J.js +1 -0
- package/dist/{chunk-2RMGS33N.js → chunk-BG2YKGGE.js} +1 -1
- package/dist/{chunk-FN2TD2AN.cjs → chunk-BLES7UUS.cjs} +1 -1
- package/dist/chunk-BPEDL7VV.cjs +1 -0
- package/dist/chunk-BPHJ7DTH.cjs +1 -0
- package/dist/chunk-BWCRTWMO.js +3 -0
- package/dist/chunk-CDQFTAM2.cjs +1 -0
- package/dist/chunk-DFSB3TWF.js +1 -0
- package/dist/chunk-DJZOP4MT.cjs +34 -0
- package/dist/{chunk-6FS7UPZR.cjs → chunk-DQD3L5EO.cjs} +1 -1
- package/dist/chunk-EA7H4AXL.js +1 -0
- package/dist/{chunk-ND3NGHHK.js → chunk-EAUAF6IQ.js} +1 -1
- package/dist/chunk-EAWYV5ZO.cjs +1 -0
- package/dist/chunk-EDALAJ5I.cjs +1 -0
- package/dist/chunk-EO53B7LL.cjs +1 -0
- package/dist/chunk-G7JHUDRI.cjs +1 -0
- package/dist/{chunk-EDVCZOXC.cjs → chunk-GH7J7WBI.cjs} +1 -1
- package/dist/chunk-GKVX7FEM.js +40 -0
- package/dist/chunk-H3CPTTQQ.js +1 -0
- package/dist/chunk-H4XBJVSE.cjs +98 -0
- package/dist/chunk-HHI2XRKR.js +1 -0
- package/dist/chunk-HJGCM4XH.js +13 -0
- package/dist/chunk-I4D3YJW2.js +0 -0
- package/dist/chunk-IBDJ3NF2.js +1 -0
- package/dist/{chunk-EBQTOAUH.cjs → chunk-JGZA7M5Q.cjs} +1 -1
- package/dist/chunk-JL7YHC7D.js +34 -0
- package/dist/chunk-JVXYIBS3.cjs +46 -0
- package/dist/{chunk-YWG7CFLR.cjs → chunk-JYZ5GRCH.cjs} +1 -1
- package/dist/chunk-KFFPM6JM.js +1 -0
- package/dist/{chunk-45YOYLMH.cjs → chunk-KSK4MJU7.cjs} +1 -1
- package/dist/chunk-KXQ5HCBO.js +231 -0
- package/dist/chunk-L2E6XMSV.js +1 -0
- package/dist/chunk-LUSXGZYB.js +66 -0
- package/dist/chunk-MN6UTXVP.js +160 -0
- package/dist/chunk-NL42M74L.cjs +2 -0
- package/dist/chunk-NZUCXN2O.js +6 -0
- package/dist/chunk-O5IPDCMT.js +48 -0
- package/dist/chunk-OAHZHKRR.js +1 -0
- package/dist/chunk-OIBR6K7M.js +2 -0
- package/dist/{chunk-5OTTEW45.cjs → chunk-OSSEBYGB.cjs} +1 -1
- package/dist/chunk-OVJIGWD7.cjs +66 -0
- package/dist/chunk-QFUZG5YR.js +1 -0
- package/dist/chunk-QQP4GR7V.js +35 -0
- package/dist/{chunk-S5S2XFIC.cjs → chunk-RH2CVOIS.cjs} +1 -1
- package/dist/{chunk-QSFNFR6M.js → chunk-RVASNIDI.js} +1 -1
- package/dist/chunk-S4BKL6MR.cjs +11 -0
- package/dist/chunk-S7ZQ4UUK.cjs +2 -0
- package/dist/chunk-SCHRLC2I.cjs +3 -0
- package/dist/chunk-SHJCMWEH.js +98 -0
- package/dist/chunk-TBD7RAFW.js +17 -0
- package/dist/chunk-UG5R7IPH.js +3 -0
- package/dist/chunk-UHFCB2EY.js +1 -0
- package/dist/chunk-UMWTEGO6.cjs +1 -0
- package/dist/chunk-VRFL53NP.cjs +40 -0
- package/dist/chunk-VXAHFAP4.cjs +1 -0
- package/dist/{chunk-4BH7ZTBT.cjs → chunk-W3W7VNA6.cjs} +1 -1
- package/dist/chunk-W5RDCN5G.cjs +1 -0
- package/dist/chunk-WK3BTTQG.cjs +13 -0
- package/dist/{chunk-HTPJVU3D.js → chunk-XAFMKKD2.js} +1 -1
- package/dist/chunk-XBXL7GMY.cjs +48 -0
- package/dist/chunk-XFYW7RD2.js +1 -0
- package/dist/{chunk-MUEZI3JY.cjs → chunk-Y66ATVFL.cjs} +1 -1
- package/dist/{chunk-JHFLZEYO.js → chunk-YAFI3AUR.js} +1 -1
- package/dist/chunk-YCYSZLQ2.cjs +1 -0
- package/dist/chunk-YGN7O63X.cjs +3 -0
- package/dist/chunk-YNISB2IC.cjs +1 -0
- package/dist/{chunk-Z5SLTCGE.js → chunk-YYS3QKWM.js} +1 -1
- package/dist/chunk-ZT6OJ47F.cjs +1 -0
- package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
- package/dist/components/CrossmintNFTCollectionView.js +1 -1
- package/dist/components/CrossmintNFTDetail.cjs +1 -1
- package/dist/components/CrossmintNFTDetail.js +1 -1
- package/dist/components/auth/AuthForm.cjs +1 -1
- package/dist/components/auth/AuthForm.d.cts +3 -2
- package/dist/components/auth/AuthForm.d.ts +3 -2
- package/dist/components/auth/AuthForm.js +1 -1
- package/dist/components/auth/AuthFormBackButton.cjs +1 -1
- package/dist/components/auth/AuthFormBackButton.d.cts +3 -1
- package/dist/components/auth/AuthFormBackButton.d.ts +3 -1
- package/dist/components/auth/AuthFormBackButton.js +1 -1
- package/dist/components/auth/AuthFormDialog.cjs +1 -1
- package/dist/components/auth/AuthFormDialog.js +1 -1
- package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
- package/dist/components/auth/EmbeddedAuthForm.js +1 -1
- package/dist/components/auth/PasskeyPrompt.cjs +1 -1
- package/dist/components/auth/PasskeyPrompt.d.cts +3 -2
- package/dist/components/auth/PasskeyPrompt.d.ts +3 -2
- package/dist/components/auth/PasskeyPrompt.js +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.d.cts +1 -2
- package/dist/components/auth/methods/email/EmailOTPInput.d.ts +1 -2
- package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
- package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -1
- package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.js +1 -1
- package/dist/components/common/CountdownButton.cjs +1 -1
- package/dist/components/common/CountdownButton.js +1 -1
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.cjs +1 -1
- package/dist/components/common/CrossmintLogoV2/CrossmintLogoV2.js +1 -1
- package/dist/components/common/Dialog.cjs +1 -1
- package/dist/components/common/Dialog.d.cts +24 -21
- package/dist/components/common/Dialog.d.ts +24 -21
- package/dist/components/common/Dialog.js +1 -1
- package/dist/components/common/Divider.cjs +1 -1
- package/dist/components/common/Divider.js +1 -1
- package/dist/components/common/InputOTP.cjs +1 -1
- package/dist/components/common/InputOTP.d.cts +2 -10
- package/dist/components/common/InputOTP.d.ts +2 -10
- package/dist/components/common/InputOTP.js +1 -1
- package/dist/components/common/OAuthButton.cjs +1 -0
- package/dist/components/common/OAuthButton.d.cts +14 -0
- package/dist/components/common/OAuthButton.d.ts +14 -0
- package/dist/components/common/OAuthButton.js +1 -0
- package/dist/components/common/ScreenReaderText.cjs +1 -0
- package/dist/components/common/ScreenReaderText.d.cts +6 -0
- package/dist/components/common/ScreenReaderText.d.ts +6 -0
- package/dist/components/common/ScreenReaderText.js +1 -0
- package/dist/components/common/SecuredByCrossmint.cjs +1 -1
- package/dist/components/common/SecuredByCrossmint.d.cts +2 -2
- package/dist/components/common/SecuredByCrossmint.d.ts +2 -2
- package/dist/components/common/SecuredByCrossmint.js +1 -1
- package/dist/components/common/Spinner.cjs +1 -1
- package/dist/components/common/Spinner.d.cts +1 -2
- package/dist/components/common/Spinner.d.ts +1 -2
- package/dist/components/common/Spinner.js +1 -1
- package/dist/components/embed/index.cjs +1 -1
- package/dist/components/embed/index.js +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
- package/dist/components/embed/v3/index.cjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +1 -1
- package/dist/components/hosted/index.cjs +1 -1
- package/dist/components/hosted/index.js +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
- package/dist/components/hosted/v3/index.cjs +1 -1
- package/dist/components/hosted/v3/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.d.cts +0 -4
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.js +1 -1
- package/dist/components/signers/BaseConfirmation.cjs +1 -0
- package/dist/components/signers/BaseConfirmation.d.cts +14 -0
- package/dist/components/signers/BaseConfirmation.d.ts +14 -0
- package/dist/components/signers/BaseConfirmation.js +1 -0
- package/dist/components/signers/BaseOTPInput.cjs +1 -0
- package/dist/components/signers/BaseOTPInput.d.cts +19 -0
- package/dist/components/signers/BaseOTPInput.d.ts +19 -0
- package/dist/components/signers/BaseOTPInput.js +1 -0
- package/dist/components/signers/EmailSignersDialog.cjs +1 -1
- package/dist/components/signers/EmailSignersDialog.d.cts +1 -1
- package/dist/components/signers/EmailSignersDialog.d.ts +1 -1
- package/dist/components/signers/EmailSignersDialog.js +1 -1
- package/dist/components/signers/PhoneSignersDialog.cjs +1 -1
- package/dist/components/signers/PhoneSignersDialog.d.cts +1 -1
- package/dist/components/signers/PhoneSignersDialog.d.ts +1 -1
- package/dist/components/signers/PhoneSignersDialog.js +1 -1
- package/dist/components/signers/index.cjs +1 -1
- package/dist/components/signers/index.d.cts +0 -4
- package/dist/components/signers/index.d.ts +0 -4
- package/dist/components/signers/index.js +1 -1
- package/dist/consts/version.cjs +1 -1
- package/dist/consts/version.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useAuth.cjs +1 -1
- package/dist/hooks/useAuth.js +1 -1
- package/dist/hooks/useCrossmintAuth.cjs +1 -1
- package/dist/hooks/useCrossmintAuth.js +1 -1
- package/dist/hooks/useCrossmintCheckout.cjs +1 -1
- package/dist/hooks/useCrossmintCheckout.js +1 -1
- package/dist/hooks/useOAuthWindowListener.cjs +1 -1
- package/dist/hooks/useOAuthWindowListener.d.cts +1 -0
- package/dist/hooks/useOAuthWindowListener.d.ts +1 -0
- package/dist/hooks/useOAuthWindowListener.js +1 -1
- package/dist/icons/chevronRight.cjs +1 -1
- package/dist/icons/chevronRight.d.cts +1 -2
- package/dist/icons/chevronRight.d.ts +1 -2
- package/dist/icons/chevronRight.js +1 -1
- package/dist/icons/discord.cjs +1 -1
- package/dist/icons/discord.d.cts +2 -2
- package/dist/icons/discord.d.ts +2 -2
- package/dist/icons/discord.js +1 -1
- package/dist/icons/farcaster.cjs +1 -1
- package/dist/icons/farcaster.d.cts +2 -2
- package/dist/icons/farcaster.d.ts +2 -2
- package/dist/icons/farcaster.js +1 -1
- package/dist/icons/google.cjs +1 -1
- package/dist/icons/google.d.cts +2 -2
- package/dist/icons/google.d.ts +2 -2
- package/dist/icons/google.js +1 -1
- package/dist/icons/leftArrow.cjs +1 -1
- package/dist/icons/leftArrow.d.cts +1 -2
- package/dist/icons/leftArrow.d.ts +1 -2
- package/dist/icons/leftArrow.js +1 -1
- package/dist/icons/mail.cjs +1 -0
- package/dist/icons/mail.d.cts +6 -0
- package/dist/icons/mail.d.ts +6 -0
- package/dist/icons/mail.js +1 -0
- package/dist/icons/phone.cjs +1 -0
- package/dist/icons/phone.d.cts +6 -0
- package/dist/icons/phone.d.ts +6 -0
- package/dist/icons/phone.js +1 -0
- package/dist/icons/phoneOTP.cjs +1 -1
- package/dist/icons/phoneOTP.d.cts +1 -2
- package/dist/icons/phoneOTP.d.ts +1 -2
- package/dist/icons/phoneOTP.js +1 -1
- package/dist/icons/twitter.cjs +1 -1
- package/dist/icons/twitter.d.cts +2 -2
- package/dist/icons/twitter.d.ts +2 -2
- package/dist/icons/twitter.js +1 -1
- package/dist/icons/wallet.cjs +1 -1
- package/dist/icons/wallet.d.cts +1 -2
- package/dist/icons/wallet.d.ts +1 -2
- package/dist/icons/wallet.js +1 -1
- package/dist/icons/x.cjs +1 -1
- package/dist/icons/x.d.cts +2 -2
- package/dist/icons/x.d.ts +2 -2
- package/dist/icons/x.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -5
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1 -1
- package/dist/providers/CrossmintAuthProvider.cjs +1 -1
- package/dist/providers/CrossmintAuthProvider.js +1 -1
- package/dist/providers/CrossmintAuthProviderInternal.cjs +1 -1
- package/dist/providers/CrossmintAuthProviderInternal.js +1 -1
- package/dist/providers/CrossmintWalletProvider.cjs +1 -1
- package/dist/providers/CrossmintWalletProvider.js +1 -1
- package/dist/providers/auth/OAuthFlowProvider.cjs +1 -1
- package/dist/providers/auth/OAuthFlowProvider.d.cts +1 -0
- package/dist/providers/auth/OAuthFlowProvider.d.ts +1 -0
- package/dist/providers/auth/OAuthFlowProvider.js +1 -1
- package/dist/providers/dynamic/DynamicWalletProvider.cjs +1 -1
- package/dist/providers/dynamic/DynamicWalletProvider.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/styles/globals.cjs +1 -0
- package/dist/styles/globals.d.cts +5 -0
- package/dist/styles/globals.d.ts +5 -0
- package/dist/styles/globals.js +1 -0
- package/dist/styles/index.cjs +1 -0
- package/dist/styles/index.d.cts +3 -0
- package/dist/styles/index.d.ts +3 -0
- package/dist/styles/index.js +1 -0
- package/dist/styles/theme.cjs +1 -0
- package/dist/styles/theme.d.cts +13 -0
- package/dist/styles/theme.d.ts +13 -0
- package/dist/styles/theme.js +1 -0
- package/dist/types/wallet.cjs +1 -1
- package/dist/types/wallet.d.cts +1 -1
- package/dist/types/wallet.d.ts +1 -1
- package/dist/types/wallet.js +1 -1
- package/dist/utils/createCrossmintApiClient.cjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/package.json +11 -13
- package/dist/chunk-2F3EMF5G.cjs +0 -1
- package/dist/chunk-2LLVSWMJ.js +0 -1
- package/dist/chunk-2NZ6SYFP.cjs +0 -1
- package/dist/chunk-34ULQ2PW.cjs +0 -1
- package/dist/chunk-4EQ23ZKC.cjs +0 -1
- package/dist/chunk-4ROE755V.cjs +0 -1
- package/dist/chunk-6BFWRGAS.cjs +0 -1
- package/dist/chunk-7OJVAIXA.cjs +0 -1
- package/dist/chunk-7UIB46UZ.cjs +0 -1
- package/dist/chunk-7YO3UHAR.cjs +0 -1
- package/dist/chunk-CW4GAQRA.js +0 -1
- package/dist/chunk-CZ7CTBCO.js +0 -1
- package/dist/chunk-DCELWGNS.js +0 -1
- package/dist/chunk-DSBQW65Y.cjs +0 -1
- package/dist/chunk-E4DYZZKZ.cjs +0 -1
- package/dist/chunk-E4TBJMOO.js +0 -1
- package/dist/chunk-E5D2JTKO.js +0 -1
- package/dist/chunk-E65EGG73.cjs +0 -1
- package/dist/chunk-EOMXTZMF.js +0 -1
- package/dist/chunk-FPE5X5RH.cjs +0 -1
- package/dist/chunk-GGUEHZAY.js +0 -1
- package/dist/chunk-GHRFRG65.js +0 -1
- package/dist/chunk-GLOKRANI.cjs +0 -1
- package/dist/chunk-GONS3X7J.js +0 -2
- package/dist/chunk-I7KK3D7J.js +0 -1
- package/dist/chunk-J2YZL55W.js +0 -1
- package/dist/chunk-J4QPNKHC.cjs +0 -1
- package/dist/chunk-JGT6RWSD.js +0 -1
- package/dist/chunk-JPJKOERH.js +0 -1
- package/dist/chunk-JU37JPL7.js +0 -1
- package/dist/chunk-KIESVSW4.js +0 -1
- package/dist/chunk-LSQT2KG6.cjs +0 -1
- package/dist/chunk-NI4D3UIR.cjs +0 -2
- package/dist/chunk-NZSQVKPG.js +0 -1
- package/dist/chunk-OKVJQEKZ.js +0 -1
- package/dist/chunk-ONU6TI5W.cjs +0 -1
- package/dist/chunk-P453UQYI.js +0 -11
- package/dist/chunk-PGE5M3Q5.cjs +0 -1
- package/dist/chunk-PIUCKVF7.js +0 -1
- package/dist/chunk-PZUWRGVP.cjs +0 -1
- package/dist/chunk-QHDN67N5.js +0 -1
- package/dist/chunk-QQTPO5IF.js +0 -1
- package/dist/chunk-RWWMM4HD.js +0 -1
- package/dist/chunk-SFDQPSSP.js +0 -1
- package/dist/chunk-SGP6SK6O.js +0 -1
- package/dist/chunk-SQ6GQUV4.js +0 -1
- package/dist/chunk-SRQAQHYK.cjs +0 -1
- package/dist/chunk-TM7WDKYR.cjs +0 -1
- package/dist/chunk-TXOVDTYK.cjs +0 -1
- package/dist/chunk-TZO3ANJ6.js +0 -1
- package/dist/chunk-UILJI3DM.js +0 -1
- package/dist/chunk-UMCSEFX6.cjs +0 -11
- package/dist/chunk-VDZMHNUZ.cjs +0 -1
- package/dist/chunk-VLDE23JX.js +0 -1
- package/dist/chunk-VNY6LU32.cjs +0 -1
- package/dist/chunk-VUIDQYBY.cjs +0 -1
- package/dist/chunk-VWL76U5G.js +0 -1
- package/dist/chunk-WAMK2K23.cjs +0 -1
- package/dist/chunk-WW6GUXHG.js +0 -1
- package/dist/chunk-YGYMICXJ.cjs +0 -1
- package/dist/chunk-YXF74MVI.cjs +0 -1
- package/dist/chunk-ZBQCXWMD.cjs +0 -1
- package/dist/chunk-ZKXBJNL7.js +0 -2
- package/dist/chunk-ZNDVEP3D.js +0 -1
- package/dist/chunk-ZSJQWAT2.js +0 -1
- package/dist/chunk-ZWMCD7KM.cjs +0 -2
- package/dist/components/auth/methods/web3/Web3Connector.cjs +0 -1
- package/dist/components/auth/methods/web3/Web3Connector.d.cts +0 -13
- package/dist/components/auth/methods/web3/Web3Connector.d.ts +0 -13
- package/dist/components/auth/methods/web3/Web3Connector.js +0 -1
- package/dist/components/auth/methods/web3/Web3ConnectorButton.cjs +0 -1
- package/dist/components/auth/methods/web3/Web3ConnectorButton.d.cts +0 -11
- package/dist/components/auth/methods/web3/Web3ConnectorButton.d.ts +0 -11
- package/dist/components/auth/methods/web3/Web3ConnectorButton.js +0 -1
- package/dist/components/signers/EmailConfirmation.cjs +0 -1
- package/dist/components/signers/EmailConfirmation.d.cts +0 -12
- package/dist/components/signers/EmailConfirmation.d.ts +0 -12
- package/dist/components/signers/EmailConfirmation.js +0 -1
- package/dist/components/signers/EmailOTPInput.cjs +0 -1
- package/dist/components/signers/EmailOTPInput.d.cts +0 -12
- package/dist/components/signers/EmailOTPInput.d.ts +0 -12
- package/dist/components/signers/EmailOTPInput.js +0 -1
- package/dist/components/signers/PhoneConfirmation.cjs +0 -1
- package/dist/components/signers/PhoneConfirmation.d.cts +0 -12
- package/dist/components/signers/PhoneConfirmation.d.ts +0 -12
- package/dist/components/signers/PhoneConfirmation.js +0 -1
- package/dist/components/signers/PhoneOTPInput.cjs +0 -1
- package/dist/components/signers/PhoneOTPInput.d.cts +0 -12
- package/dist/components/signers/PhoneOTPInput.d.ts +0 -12
- package/dist/components/signers/PhoneOTPInput.js +0 -1
- package/dist/components/signers/consts.cjs +0 -1
- package/dist/components/signers/consts.d.cts +0 -3
- package/dist/components/signers/consts.d.ts +0 -3
- package/dist/components/signers/consts.js +0 -1
- package/dist/twind-instance.cjs +0 -1
- package/dist/twind-instance.d.cts +0 -8
- package/dist/twind-instance.d.ts +0 -8
- package/dist/twind-instance.js +0 -1
- package/dist/twind.config.cjs +0 -1
- package/dist/twind.config.d.cts +0 -8
- package/dist/twind.config.d.ts +0 -8
- package/dist/twind.config.js +0 -1
- package/dist/utils/classNames.cjs +0 -1
- package/dist/utils/classNames.d.cts +0 -12
- package/dist/utils/classNames.d.ts +0 -12
- package/dist/utils/classNames.js +0 -1
- package/dist/utils/errorUtils.cjs +0 -1
- package/dist/utils/errorUtils.d.cts +0 -6
- package/dist/utils/errorUtils.d.ts +0 -6
- package/dist/utils/errorUtils.js +0 -1
- /package/dist/{chunk-VAKQ4II7.js → chunk-HGHYGPCN.js} +0 -0
- /package/dist/{chunk-4YRSANGA.cjs → chunk-QHI4DOG7.cjs} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{a as m}from"./chunk-WK7PY5WL.js";import{a as s}from"./chunk-NZUCXN2O.js";import{a}from"./chunk-DFSB3TWF.js";import{a as p}from"./chunk-QFUZG5YR.js";import{a as c,b as i,c as l}from"./chunk-PXDN3KFO.js";import h from"@emotion/styled";import{jsx as d}from"react/jsx-runtime";var f=h.button`
|
|
2
|
+
${s}
|
|
3
|
+
|
|
4
|
+
position: absolute;
|
|
5
|
+
top: 0px;
|
|
6
|
+
left: 0px;
|
|
7
|
+
width: 32px;
|
|
8
|
+
height: 32px;
|
|
9
|
+
border-radius: 6px;
|
|
10
|
+
border: none;
|
|
11
|
+
z-index: 1000;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
color: ${e=>{var t,o,r;return(r=(o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.textPrimary)!=null?r:a["cm-text-secondary"]}};
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
transition: all 0.15s ease;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: ${e=>{var t,o;return((o=(t=e==null?void 0:e.appearance)==null?void 0:t.colors)==null?void 0:o.backgroundSecondary)||a["cm-hover"]}};
|
|
22
|
+
color: ${e=>{var t,o,r;return(r=(o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.textPrimary)!=null?r:a["cm-text-secondary"]}};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:focus {
|
|
26
|
+
outline: none;
|
|
27
|
+
background-color: ${e=>{var t,o;return((o=(t=e==null?void 0:e.appearance)==null?void 0:t.colors)==null?void 0:o.backgroundSecondary)||a["cm-hover"]}};
|
|
28
|
+
box-shadow: 0 0 0 2px ${e=>{var t,o;return((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.accent)||a["cm-accent"]}};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
svg {
|
|
32
|
+
width: 24px;
|
|
33
|
+
height: 24px;
|
|
34
|
+
}
|
|
35
|
+
`,A=y=>{var n=y,{iconColor:e,ringColor:t,onClick:o}=n,r=l(n,["iconColor","ringColor","onClick"]);let{setError:u,appearance:g}=m();return d(f,i(c({appearance:g,onClick:x=>{u(null),o==null||o(x)}},r),{children:d(p,{style:{height:"24px",width:"24px",color:e}})}))};export{A as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkW3W7VNA6cjs = require('./chunk-W3W7VNA6.cjs');var _chunk5OQLZOD4cjs = require('./chunk-5OQLZOD4.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _react = require('react');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _jsxruntime = require('react/jsx-runtime');function h({children:o}){let{experimental_setCustomAuth:r,experimental_customAuth:e}=_clientsdkreactbase.useCrossmint.call(void 0, ),{user:t,jwt:n,experimental_externalWalletSigner:i}=_chunkW3W7VNA6cjs.a.call(void 0, );return _react.useEffect.call(void 0, ()=>{n==null&&(e==null?void 0:e.jwt)!=null&&r(void 0),i!=null||(t==null?void 0:t.email)!=null?r({jwt:n,email:t==null?void 0:t.email,externalWalletSigner:i}):r({jwt:n})},[i,n,t]),o}function y(e){var t=e,{children:o}=t,r=_chunk2WSEHVNPcjs.c.call(void 0, t,["children"]);return _jsxruntime.jsx.call(void 0, _chunk5OQLZOD4cjs.g,_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {},r),{children:_jsxruntime.jsx.call(void 0, h,{children:o})}))}exports.a = y;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as y}from"./chunk-5X3MPD2V.js";import{a as l}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-5X3MPD2V.js";import{a as l}from"./chunk-3NEYD7GW.js";import{a,b as p}from"./chunk-PXDN3KFO.js";import{useCrossmint as E}from"@crossmint/client-sdk-react-base";import{lazy as v,useEffect as h,useRef as s,useState as f}from"react";import{crossmintEmbeddedCheckoutV3Service as S}from"@crossmint/client-sdk-base";import{Fragment as x,jsx as o,jsxs as H}from"react/jsx-runtime";var V=v(()=>import("./components/embed/v3/crypto/CryptoWalletConnectionHandler.js").then(r=>({default:r.CryptoWalletConnectionHandler})));function K(r){var m;let[e,C]=f(null),[P,b]=f(0),g=s((m=r.payment.crypto.payer)==null?void 0:m.initialChain),n=s(r);if(I(r,n.current)){let t=a({},r),u=w(r,g.current);u.shouldPreserve&&(t.payment.crypto.payer=u.updatedPayer),n.current=t}let{crossmint:k}=E(),c=l(k,{usageOrigin:"client"}),d=S({apiClient:c}),i=s(null);return h(()=>{let t=i.current;!t||e||C(d.iframe.createClient(t))},[i.current,e]),h(()=>{if(e!=null)return e.on("ui:height.changed",t=>b(t.height)),()=>{e.off("ui:height.changed")}},[e]),H(x,{children:[o("iframe",{ref:i,src:d.iframe.getUrl(n.current),id:"crossmint-embedded-checkout.iframe",role:"crossmint-embedded-checkout.iframe",allow:"payment *; microphone; camera",style:{boxShadow:"none",border:"none",padding:"0px",width:"100%",minWidth:"100%",overflow:"hidden",display:"block",userSelect:"none",transform:"translate(0px)",opacity:"1",transition:"ease 0s, opacity 0.4s ease 0.1s",height:`${P}px`,backgroundColor:"transparent"}}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?o(y,{payer:n.current.payment.crypto.payer,iframeClient:e}):o(V,{iframeClient:e,apiKeyEnvironment:c.parsedAPIKey.environment}):null,o("span",{id:"crossmint-focus-target",tabIndex:-1})]})}function I(r,e){return JSON.stringify(r)!==JSON.stringify(e)}function w(r,e){return r.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:p(a({},r.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}export{K as a};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _jsxruntime = require('react/jsx-runtime');var p=_styled2.default.span`
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: 1px;
|
|
4
|
+
height: 1px;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: -1px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
clip: rect(0, 0, 0, 0);
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
border: 0;
|
|
11
|
+
`;function a(t){return _jsxruntime.jsx.call(void 0, p,_chunk2WSEHVNPcjs.a.call(void 0, {},t))}exports.a = a;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOVJIGWD7cjs = require('./chunk-OVJIGWD7.cjs');var _chunk5J6CUTGJcjs = require('./chunk-5J6CUTGJ.cjs');var _chunkBPEDL7VVcjs = require('./chunk-BPEDL7VV.cjs');var _chunkAO2V2B62cjs = require('./chunk-AO2V2B62.cjs');var _chunkI4GMMHQRcjs = require('./chunk-I4GMMHQR.cjs');var _jsxruntime = require('react/jsx-runtime');function M({email:i,open:r,setOpen:k,step:e,onSubmitOTP:O,onResendOTPCode:y,onSubmitEmail:P,rejectRef:n,appearance:o}){var s,m,c;function l(a){var d;(r||a)&&((d=n.current)==null||d.call(n,new Error),k(!1))}return _jsxruntime.jsxs.call(void 0, _chunkAO2V2B62cjs.a,{open:r,setDialogOpen:l,appearance:o,style:{overflow:"hidden"},children:[e==="initial"?_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, _chunkAO2V2B62cjs.b,{appearance:o,children:"Confirm it's you"}),_jsxruntime.jsx.call(void 0, _chunkAO2V2B62cjs.c,{appearance:o,children:"You're using this wallet for the first time on this device. Click 'Send code' to get a one-time verification code."})]}):null,e==="otp"?_jsxruntime.jsx.call(void 0, _chunk5J6CUTGJcjs.a,{contactInfo:i!=null?i:"",contactType:"email",icon:_jsxruntime.jsx.call(void 0, "div",{style:{position:"relative",left:"12px"},children:_jsxruntime.jsx.call(void 0, _chunkI4GMMHQRcjs.a,{customAccentColor:(s=o==null?void 0:o.colors)==null?void 0:s.accent,customButtonBackgroundColor:(m=o==null?void 0:o.colors)==null?void 0:m.buttonBackground,customBackgroundColor:(c=o==null?void 0:o.colors)==null?void 0:c.background})}),title:"Check your email",description:`A temporary login code has been sent to <strong>${i}</strong>`,helpText:`Can't find the email? Check spam folder.
|
|
2
|
+
Some emails may take several minutes to arrive.`,onSubmitOTP:O,onResendCode:y,appearance:o}):_jsxruntime.jsx.call(void 0, _chunkOVJIGWD7cjs.a,{contactInfo:i!=null?i:"",icon:_jsxruntime.jsx.call(void 0, _chunkBPEDL7VVcjs.a,{}),onConfirm:P,onCancel:l,appearance:o})]})}exports.a = M;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkEAWYV5ZOcjs = require('./chunk-EAWYV5ZO.cjs');var _chunkFQ246XXNcjs = require('./chunk-FQ246XXN.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _jsxruntime = require('react/jsx-runtime');var i=_styled2.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,c=_chunkEAWYV5ZOcjs.a["cm-text-secondary"];function f({color:t=c,style:s}){return _jsxruntime.jsx.call(void 0, i,{style:s,children:_jsxruntime.jsx.call(void 0, _chunkFQ246XXNcjs.a,{color:t})})}exports.a = f;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import{a as l}from"./chunk-OOLXYAO7.js";import{a as C}from"./chunk-77PBG2JJ.js";import{a as g}from"./chunk-HVZ5M3FY.js";import{a as y}from"./chunk-MN6UTXVP.js";import{a as f}from"./chunk-UG5R7IPH.js";import{a}from"./chunk-DFSB3TWF.js";import r from"@emotion/styled";import{Fragment as R,jsx as t,jsxs as i}from"react/jsx-runtime";var v=r.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 10px;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
`,P=r.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
position: relative;
|
|
11
|
+
left: 6px;
|
|
12
|
+
`,b=r.div`
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
`,w=r.p`
|
|
16
|
+
font-size: 18px;
|
|
17
|
+
line-height: 28px;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.textPrimary)||a["cm-text-primary"]}};
|
|
20
|
+
margin: 0;
|
|
21
|
+
`,B=r.div`
|
|
22
|
+
margin-bottom: 24px;
|
|
23
|
+
`,T=r.div`
|
|
24
|
+
font-weight: normal;
|
|
25
|
+
color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.textSecondary)||a["cm-text-secondary"]}};
|
|
26
|
+
line-height: 1.5;
|
|
27
|
+
`,I=r.div`
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: 16px;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
`,S=r.div`
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
padding-top: 16px;
|
|
36
|
+
`,x=r.div`
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
gap: 8px;
|
|
40
|
+
`,d=r.div`
|
|
41
|
+
display: flex;
|
|
42
|
+
gap: 8px;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
`,u=r.div`
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
`,U=r.div`
|
|
47
|
+
margin-bottom: 12px;
|
|
48
|
+
`,A=r.button`
|
|
49
|
+
position: relative;
|
|
50
|
+
display: flex;
|
|
51
|
+
font-size: 16px;
|
|
52
|
+
padding: 16px;
|
|
53
|
+
background-color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.buttonBackground)||a["cm-muted-primary"]}};
|
|
54
|
+
color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.textPrimary)||a["cm-text-primary"]}};
|
|
55
|
+
align-items: center;
|
|
56
|
+
width: 100%;
|
|
57
|
+
border-radius: ${o=>{var e;return((e=o.appearance)==null?void 0:e.borderRadius)||"12px"}};
|
|
58
|
+
justify-content: center;
|
|
59
|
+
transition: all 200ms ease;
|
|
60
|
+
border: none;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
background-color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.backgroundSecondary)||a["cm-hover"]}};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:focus {
|
|
68
|
+
background-color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.backgroundSecondary)||a["cm-hover"]}};
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
`,F=r.span`
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
margin: 0 32px;
|
|
74
|
+
color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.textPrimary)||a["cm-text-primary"]}};
|
|
75
|
+
`,$=r.span`
|
|
76
|
+
position: absolute;
|
|
77
|
+
width: 1px;
|
|
78
|
+
height: 1px;
|
|
79
|
+
padding: 0;
|
|
80
|
+
margin: -1px;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
clip: rect(0, 0, 0, 0);
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
border: 0;
|
|
85
|
+
`,L=r.a`
|
|
86
|
+
padding: 14px;
|
|
87
|
+
text-align: center;
|
|
88
|
+
text-decoration: none;
|
|
89
|
+
border-radius: 8px;
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
background-color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.inputBackground)||a["cm-muted-primary"]}};
|
|
92
|
+
color: ${o=>{var e,n;return((n=(e=o.appearance)==null?void 0:e.colors)==null?void 0:n.textSecondary)||a["cm-text-primary"]}};
|
|
93
|
+
transition: opacity 200ms ease;
|
|
94
|
+
|
|
95
|
+
&:hover {
|
|
96
|
+
opacity: 0.8;
|
|
97
|
+
}
|
|
98
|
+
`;function p({title:o,content:e,primaryButton:n,secondaryAction:k,open:h,appearance:c}){var m;return t(y,{open:h,appearance:c,showCloseButton:!1,children:i(v,{children:[t(P,{children:t(g,{appearance:c})}),t(b,{children:t(w,{appearance:c,children:o})}),t(B,{children:t(T,{appearance:c,children:e})}),i(I,{children:[n,k]}),t(S,{children:t(f,{color:(m=c==null?void 0:c.colors)==null?void 0:m.textSecondary})})]})})}var s=({appearance:o,onClick:e,children:n})=>i(A,{appearance:o,onClick:e,children:[t(F,{appearance:o,children:n}),t($,{children:n})]});function E({state:o,appearance:e}){if(!o.open||o.type==null)return null;switch(o.type){case"create-wallet":return t(p,{open:o.open,title:"Create Your Wallet",appearance:e,content:i(R,{children:[t(U,{children:"You're about to create a wallet."}),i(x,{children:[i(d,{children:[t(u,{children:t(C,{})}),"Your wallet will be secured with a passkey"]}),i(d,{children:[t(u,{children:t(l,{})}),"Your device will ask you for your fingerprint, face, or screen lock to set it up"]})]})]}),primaryButton:t(s,{appearance:e,onClick:o.primaryActionOnClick,children:"Create Wallet"})});case"create-wallet-error":return t(p,{open:o.open,title:"Wallet Creation Failed",appearance:e,content:t("div",{children:"We couldn't create your wallet. This could be due to rejecting the request, a timeout, or not having access to your passkey on this device."}),primaryButton:t(s,{appearance:e,onClick:o.primaryActionOnClick,children:"Try again"})});case"transaction":return t(p,{open:o.open,title:"Use Your Wallet",appearance:e,content:t(x,{children:i(d,{children:[t(u,{children:t(l,{})}),t("span",{children:"Your device will ask you for your fingerprint, face, or screen lock to authorize this action."})]})}),primaryButton:t(s,{appearance:e,onClick:o.primaryActionOnClick,children:"Use Wallet"})});case"transaction-error":return t(p,{open:o.open,title:"Wallet Access Failed",appearance:e,content:t("div",{children:"We couldn't access your wallet. This could be due to rejecting the request, a timeout, or not having access to your passkey on this device."}),primaryButton:t(s,{appearance:e,onClick:o.primaryActionOnClick,children:"Try again"}),secondaryAction:t(L,{href:"https://docs.crossmint.com/wallets/signers-and-custody#passkey",rel:"noopener noreferrer",target:"_blank",appearance:e,children:"Troubleshoot"})});case"not-supported":return t(p,{open:o.open,title:"Passkeys Not Supported on This Device",appearance:e,content:t("div",{children:"To access your wallet with a passkey, switch to a device or browser that supports passkeys, such as Chrome or Safari on a smartphone, tablet, or modern computer"}),primaryButton:t(s,{appearance:e,onClick:o.primaryActionOnClick,children:"Understood"})});default:return null}}export{E as a};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{a as m}from"./chunk-WK7PY5WL.js";import{a as i}from"./chunk-DFSB3TWF.js";import r from"@emotion/styled";import{jsx as t,jsxs as u}from"react/jsx-runtime";var g=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
padding: 8px 0px 12px;
|
|
7
|
+
`,e=r.span`
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 1px;
|
|
10
|
+
background-color: ${i["cm-border"]};
|
|
11
|
+
`,x=r.p`
|
|
12
|
+
color: ${i["cm-text-primary"]};
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
margin: 1px;
|
|
16
|
+
padding: 0 8px;
|
|
17
|
+
`;function C({appearance:o,text:d}){var n,l,s;let{step:f}=m();return f!=="initial"?null:u(g,{children:[t(e,{style:{backgroundColor:(n=o==null?void 0:o.colors)==null?void 0:n.border}}),d!=null?t(x,{style:{color:(l=o==null?void 0:o.colors)==null?void 0:l.textSecondary},children:d}):null,t(e,{style:{backgroundColor:(s=o==null?void 0:o.colors)==null?void 0:s.border}})]})}export{C as a};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{a as e}from"./chunk-DFSB3TWF.js";import{a as o}from"./chunk-H34D6PAN.js";import n from"@emotion/styled";import{jsx as r}from"react/jsx-runtime";var i=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
`,c=e["cm-text-secondary"];function C({color:t=c,style:s}){return r(i,{style:s,children:r(o,{color:t})})}export{C as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as t,jsxs as V}from"react/jsx-runtime";var i=({style:H})=>V("svg",{width:"24",height:"24",viewBox:"0 0 1000 1000",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:H,children:[t("rect",{width:"1000",height:"1000",fill:"#855DCD"}),t("path",{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",fill:"white"}),t("path",{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",fill:"white"}),t("path",{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",fill:"white"})]});export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');function o({style:L}){return _jsxruntime.jsx.call(void 0, "svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:L,children:_jsxruntime.jsx.call(void 0, "path",{d:"M 14.285156 10.171875 L 23.222656 0 L 21.105469 0 L 13.34375 8.832031 L 7.148438 0 L 0 0 L 9.371094 13.355469 L 0 24.019531 L 2.117188 24.019531 L 10.308594 14.691406 L 16.851562 24.019531 L 24 24.019531 M 2.878906 1.5625 L 6.132812 1.5625 L 21.101562 22.535156 L 17.851562 22.535156",fill:"currentColor"})})}exports.a = o;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkS4BKL6MRcjs = require('./chunk-S4BKL6MR.cjs');var _chunkAHMPKIEYcjs = require('./chunk-AHMPKIEY.cjs');var _chunk3X24JZVGcjs = require('./chunk-3X24JZVG.cjs');var _chunkEAWYV5ZOcjs = require('./chunk-EAWYV5ZO.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _jsxruntime = require('react/jsx-runtime');var x=_styled2.default.button`
|
|
2
|
+
${_chunk3X24JZVGcjs.a}
|
|
3
|
+
|
|
4
|
+
/* Base button styles */
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: 16px;
|
|
11
|
+
font-size: 16px;
|
|
12
|
+
min-height: 56px;
|
|
13
|
+
border: none;
|
|
14
|
+
border-radius: ${e=>{var o;return((o=e.appearance)==null?void 0:o.borderRadius)||"12px"}};
|
|
15
|
+
background-color: ${e=>{var o,t;return((t=(o=e.appearance)==null?void 0:o.colors)==null?void 0:t.buttonBackground)||_chunkEAWYV5ZOcjs.a["cm-muted-primary"]}};
|
|
16
|
+
color: ${e=>{var o,t;return((t=(o=e.appearance)==null?void 0:o.colors)==null?void 0:t.textPrimary)||_chunkEAWYV5ZOcjs.a["cm-text-primary"]}};
|
|
17
|
+
cursor: ${e=>e.isLoading?"not-allowed":"pointer"};
|
|
18
|
+
|
|
19
|
+
/* Transitions */
|
|
20
|
+
transition: background-color 200ms ease-in-out;
|
|
21
|
+
|
|
22
|
+
/* Hover and focus states */
|
|
23
|
+
&:hover {
|
|
24
|
+
background-color: ${e=>{var o,t,n,i;return e.isLoading?((t=(o=e.appearance)==null?void 0:o.colors)==null?void 0:t.buttonBackground)||_chunkEAWYV5ZOcjs.a["cm-muted-primary"]:((i=(n=e.appearance)==null?void 0:n.colors)==null?void 0:i.backgroundSecondary)||_chunkEAWYV5ZOcjs.a["cm-hover"]}};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:focus {
|
|
28
|
+
outline: none;
|
|
29
|
+
background-color: ${e=>{var o,t;return((t=(o=e.appearance)==null?void 0:o.colors)==null?void 0:t.backgroundSecondary)||_chunkEAWYV5ZOcjs.a["cm-hover"]}};
|
|
30
|
+
}
|
|
31
|
+
`,B=_styled2.default.div`
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 18px;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
`,h=_styled2.default.span`
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
color: ${e=>{var o,t;return((t=(o=e.appearance)==null?void 0:o.colors)==null?void 0:t.textPrimary)||_chunkEAWYV5ZOcjs.a["cm-text-primary"]}};
|
|
40
|
+
`;function I(C){var s=C,{icon:e,children:o,isLoading:t=!1,appearance:n,onButtonClick:i}=s,b=_chunk2WSEHVNPcjs.c.call(void 0, s,["icon","children","isLoading","appearance","onButtonClick"]);var u,d;return _jsxruntime.jsxs.call(void 0, x,_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {appearance:n,isLoading:t,onClick:t?void 0:i},b),{children:[_jsxruntime.jsx.call(void 0, B,{children:e}),t?_jsxruntime.jsx.call(void 0, _chunkAHMPKIEYcjs.a,{style:{color:(u=n==null?void 0:n.colors)==null?void 0:u.textSecondary,fill:(d=n==null?void 0:n.colors)==null?void 0:d.textPrimary}}):_jsxruntime.jsx.call(void 0, h,{appearance:n,children:o}),_jsxruntime.jsx.call(void 0, _chunkS4BKL6MRcjs.a,{children:o})]}))}exports.a = I;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');function p({style:t}){return _jsxruntime.jsxs.call(void 0, "svg",{width:"25",height:"25",x:"0px",y:"0px",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",style:t,children:[_jsxruntime.jsx.call(void 0, "path",{fill:"#fbc02d",d:"M43.611,20.083H42V20H24v8h11.303c-1.649,4.657-6.08,8-11.303,8c-6.627,0-12-5.373-12-12 s5.373-12,12-12c3.059,0,5.842,1.154,7.961,3.039l5.657-5.657C34.046,6.053,29.268,4,24,4C12.955,4,4,12.955,4,24s8.955,20,20,20 s20-8.955,20-20C44,22.659,43.862,21.35,43.611,20.083z"}),_jsxruntime.jsx.call(void 0, "path",{fill:"#e53935",d:"M6.306,14.691l6.571,4.819C14.655,15.108,18.961,12,24,12c3.059,0,5.842,1.154,7.961,3.039 l5.657-5.657C34.046,6.053,29.268,4,24,4C16.318,4,9.656,8.337,6.306,14.691z"}),_jsxruntime.jsx.call(void 0, "path",{fill:"#4caf50",d:"M24,44c5.166,0,9.86-1.977,13.409-5.192l-6.19-5.238C29.211,35.091,26.715,36,24,36 c-5.202,0-9.619-3.317-11.283-7.946l-6.522,5.025C9.505,39.556,16.227,44,24,44z"}),_jsxruntime.jsx.call(void 0, "path",{fill:"#1565c0",d:"M43.611,20.083L43.595,20L42,20H24v8h11.303c-0.792,2.237-2.231,4.166-4.087,5.571 c0.001-0.001,0.002-0.001,0.003-0.002l6.19,5.238C36.971,39.205,44,34,44,24C44,22.659,43.862,21.35,43.611,20.083z"})]})}exports.a = p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5OQLZOD4cjs = require('./chunk-5OQLZOD4.cjs');var _react = require('react');function i(){let t=_react.useContext.call(void 0, _chunk5OQLZOD4cjs.f);if(t===void 0)throw new Error("useAuth must be used within an AuthProvider");return t}exports.a = i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var h=({style:H})=>_jsxruntime.jsxs.call(void 0, "svg",{width:"24",height:"24",viewBox:"0 0 1000 1000",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:H,children:[_jsxruntime.jsx.call(void 0, "rect",{width:"1000",height:"1000",fill:"#855DCD"}),_jsxruntime.jsx.call(void 0, "path",{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",fill:"white"}),_jsxruntime.jsx.call(void 0, "path",{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",fill:"white"}),_jsxruntime.jsx.call(void 0, "path",{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",fill:"white"})]});exports.a = h;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk7U6Q4ELBcjs = require('./chunk-7U6Q4ELB.cjs');var _chunkKT4LGFPNcjs = require('./chunk-KT4LGFPN.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _sdkreactcore = require('@dynamic-labs/sdk-react-core');var _jsxruntime = require('react/jsx-runtime');var s=_styled2.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
`,C=_styled2.default.div`
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 10px;
|
|
9
|
+
width: 100%;
|
|
10
|
+
`,f=_styled2.default.div`
|
|
11
|
+
/* Widget container styles */
|
|
12
|
+
min-height: 325px;
|
|
13
|
+
`;function W(){var i,e;let{appearance:t,step:c,setStep:d}=_chunkKT4LGFPNcjs.a.call(void 0, );return c==="web3"?_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, _chunk7U6Q4ELBcjs.a,{onClick:()=>d("initial"),iconColor:(i=t==null?void 0:t.colors)==null?void 0:i.textPrimary,ringColor:(e=t==null?void 0:t.colors)==null?void 0:e.accent}),_jsxruntime.jsx.call(void 0, s,{children:_jsxruntime.jsx.call(void 0, C,{children:_jsxruntime.jsx.call(void 0, f,{children:_jsxruntime.jsx.call(void 0, _sdkreactcore.DynamicEmbeddedWidget,{background:"none"})})})})]}):null}exports.a = W;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-RVASNIDI.js";import{a as e}from"./chunk-PXDN3KFO.js";import{jsx as t}from"react/jsx-runtime";function i(d){return t(o,e({},d))}export{i as a};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkEAWYV5ZOcjs = require('./chunk-EAWYV5ZO.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _react = require('react'); var c = _interopRequireWildcard(_react);var _inputotp = require('input-otp');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _react2 = require('@emotion/react');var _jsxruntime = require('react/jsx-runtime');var C=_react.createContext.call(void 0, void 0),O=_styled2.default.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
|
|
6
|
+
&:has(:disabled) {
|
|
7
|
+
opacity: 0.5;
|
|
8
|
+
}
|
|
9
|
+
`,T=_styled2.default.call(void 0, _inputotp.OTPInput)`
|
|
10
|
+
&:disabled {
|
|
11
|
+
cursor: not-allowed;
|
|
12
|
+
}
|
|
13
|
+
`,v= exports.a =c.forwardRef((n,o)=>{var a=n,{appearance:e}=a,t=_chunk2WSEHVNPcjs.c.call(void 0, a,["appearance"]);return _jsxruntime.jsx.call(void 0, C.Provider,{value:e,children:_jsxruntime.jsx.call(void 0, O,{children:_jsxruntime.jsx.call(void 0, T,_chunk2WSEHVNPcjs.a.call(void 0, {autoFocus:!0,ref:o},t))})})});v.displayName="InputOTP";var k=_styled2.default.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
gap: 8px;
|
|
16
|
+
align-items: center;
|
|
17
|
+
`,$= exports.b =c.forwardRef((o,t)=>{var e=_chunk2WSEHVNPcjs.c.call(void 0, o,[]);return _jsxruntime.jsx.call(void 0, k,_chunk2WSEHVNPcjs.a.call(void 0, {ref:t},e))});$.displayName="InputOTPGroup";var w=_react2.keyframes`
|
|
18
|
+
0%, 50% { opacity: 1; }
|
|
19
|
+
51%, 100% { opacity: 0; }
|
|
20
|
+
`,E=_styled2.default.div`
|
|
21
|
+
position: relative;
|
|
22
|
+
display: flex;
|
|
23
|
+
height: 56px;
|
|
24
|
+
width: 48px;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
border: 1px solid;
|
|
28
|
+
font-size: 18px;
|
|
29
|
+
transition: all 200ms ease;
|
|
30
|
+
border-radius: ${e=>{var t;return((t=e.appearance)==null?void 0:t.borderRadius)||"6px"}};
|
|
31
|
+
border-color: ${e=>{var t,o,n,a;return e.hasError?((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.danger)||_chunkEAWYV5ZOcjs.a["cm-danger"]:((a=(n=e.appearance)==null?void 0:n.colors)==null?void 0:a.border)||_chunkEAWYV5ZOcjs.a["cm-border"]}};
|
|
32
|
+
background-color: ${e=>{var t,o,n,a;return e.hasChar?((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.buttonBackground)||_chunkEAWYV5ZOcjs.a["cm-muted-primary"]:((a=(n=e.appearance)==null?void 0:n.colors)==null?void 0:a.inputBackground)||_chunkEAWYV5ZOcjs.a["cm-background-primary"]}};
|
|
33
|
+
color: ${e=>{var t,o;return((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.textPrimary)||_chunkEAWYV5ZOcjs.a["cm-text-primary"]}};
|
|
34
|
+
box-shadow: ${e=>{var t,o;return e.isActive?`0 0 0 2px ${((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.accent)||_chunkEAWYV5ZOcjs.a["cm-accent"]}`:"none"}};
|
|
35
|
+
z-index: ${e=>e.isActive?10:1};
|
|
36
|
+
`,S=_styled2.default.div`
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
`,A=_styled2.default.div`
|
|
44
|
+
height: 18px;
|
|
45
|
+
width: 1px;
|
|
46
|
+
background-color: ${e=>{var t,o;return((o=(t=e.appearance)==null?void 0:t.colors)==null?void 0:o.textPrimary)||_chunkEAWYV5ZOcjs.a["cm-text-primary"]}};
|
|
47
|
+
animation: ${w} 1000ms infinite;
|
|
48
|
+
`,U= exports.c =c.forwardRef((a,n)=>{var l=a,{index:e,hasError:t}=l,o=_chunk2WSEHVNPcjs.c.call(void 0, l,["index","hasError"]);let P=c.useContext(_inputotp.OTPInputContext),{char:m,hasFakeCaret:x,isActive:y}=P.slots[e],u=_react.useContext.call(void 0, C);return _jsxruntime.jsxs.call(void 0, E,_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {ref:n,appearance:u,hasError:t,isActive:y,hasChar:!!m},o),{children:[m,x&&_jsxruntime.jsx.call(void 0, S,{children:_jsxruntime.jsx.call(void 0, A,{appearance:u})})]}))});U.displayName="InputOTPSlot";exports.a = v; exports.b = $; exports.c = U;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as r}from"./chunk-PXDN3KFO.js";import{jsx as t,jsxs as n}from"react/jsx-runtime";function s(e){return n("svg",r(o({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:[t("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),t("path",{d:"M12 18h.01"})]}))}export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQLPV72AEcjs = require('./chunk-QLPV72AE.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkQLPV72AEcjs = require('./chunk-QLPV72AE.cjs');var _chunkJYZ5GRCHcjs = require('./chunk-JYZ5GRCH.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _react = require('react');var _clientsdkbase = require('@crossmint/client-sdk-base');var _jsxruntime = require('react/jsx-runtime');var V=_react.lazy.call(void 0, ()=>Promise.resolve().then(() => _interopRequireWildcard(require("./components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs"))).then(r=>({default:r.CryptoWalletConnectionHandler})));function J(r){var m;let[e,C]=_react.useState.call(void 0, null),[P,b]=_react.useState.call(void 0, 0),g=_react.useRef.call(void 0, (m=r.payment.crypto.payer)==null?void 0:m.initialChain),n=_react.useRef.call(void 0, r);if(I(r,n.current)){let t=_chunk2WSEHVNPcjs.a.call(void 0, {},r),u=w(r,g.current);u.shouldPreserve&&(t.payment.crypto.payer=u.updatedPayer),n.current=t}let{crossmint:k}=_clientsdkreactbase.useCrossmint.call(void 0, ),c=_chunkJYZ5GRCHcjs.a.call(void 0, k,{usageOrigin:"client"}),d=_clientsdkbase.crossmintEmbeddedCheckoutV3Service.call(void 0, {apiClient:c}),i=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{let t=i.current;!t||e||C(d.iframe.createClient(t))},[i.current,e]),_react.useEffect.call(void 0, ()=>{if(e!=null)return e.on("ui:height.changed",t=>b(t.height)),()=>{e.off("ui:height.changed")}},[e]),_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, "iframe",{ref:i,src:d.iframe.getUrl(n.current),id:"crossmint-embedded-checkout.iframe",role:"crossmint-embedded-checkout.iframe",allow:"payment *; microphone; camera",style:{boxShadow:"none",border:"none",padding:"0px",width:"100%",minWidth:"100%",overflow:"hidden",display:"block",userSelect:"none",transform:"translate(0px)",opacity:"1",transition:"ease 0s, opacity 0.4s ease 0.1s",height:`${P}px`,backgroundColor:"transparent"}}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?_jsxruntime.jsx.call(void 0, _chunkQLPV72AEcjs.a,{payer:n.current.payment.crypto.payer,iframeClient:e}):_jsxruntime.jsx.call(void 0, V,{iframeClient:e,apiKeyEnvironment:c.parsedAPIKey.environment}):null,_jsxruntime.jsx.call(void 0, "span",{id:"crossmint-focus-target",tabIndex:-1})]})}function I(r,e){return JSON.stringify(r)!==JSON.stringify(e)}function w(r,e){return r.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {},r.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}exports.a = J;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-5VJQFSG6.js";import{assertValidNFTCollectionViewProps as r,getNFTCollectionViewSrc as t}from"@crossmint/client-sdk-base";import{jsx as n}from"react/jsx-runtime";function w(o){r(o);let i=t(o,e);return n("iframe",{src:i,width:"100%",height:"100%",style:{flexGrow:"1",border:"none",margin:"0",padding:"0"},role:"nft-collection-view"})}export{w as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');function n({style:o}){var t;return _jsxruntime.jsx.call(void 0, "svg",{style:o,width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:_jsxruntime.jsx.call(void 0, "path",{d:"M15.0566 12.5H15.067M1.10156 3.5V17.5C1.10156 18.6046 2.02718 19.5 3.16898 19.5H17.6409C18.7827 19.5 19.7083 18.6046 19.7083 17.5V7.5C19.7083 6.39543 18.7827 5.5 17.6409 5.5L3.16898 5.5C2.02718 5.5 1.10156 4.60457 1.10156 3.5ZM1.10156 3.5C1.10156 2.39543 2.02718 1.5 3.16898 1.5H15.5735M15.5735 12.5C15.5735 12.7761 15.3421 13 15.0566 13C14.7712 13 14.5398 12.7761 14.5398 12.5C14.5398 12.2239 14.7712 12 15.0566 12C15.3421 12 15.5735 12.2239 15.5735 12.5Z",stroke:(t=o==null?void 0:o.color)!=null?t:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}exports.a = n;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkEAWYV5ZOcjs = require('./chunk-EAWYV5ZO.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _jsxruntime = require('react/jsx-runtime');var h=_styled2.default.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
`;function x({customAccentColor:i,customBackgroundColor:l}){let r=i||_chunkEAWYV5ZOcjs.a["cm-accent"],o=l||_chunkEAWYV5ZOcjs.a["cm-background-primary"],n=`${r}20`;return _jsxruntime.jsx.call(void 0, h,{children:_jsxruntime.jsxs.call(void 0, "svg",{width:"74",height:"74",viewBox:"0 0 74 74",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[_jsxruntime.jsx.call(void 0, "circle",{cx:"37",cy:"37",r:"37",fill:n}),_jsxruntime.jsx.call(void 0, "rect",{x:"28",y:"18",width:"18",height:"32",rx:"3",fill:r}),_jsxruntime.jsx.call(void 0, "rect",{x:"30",y:"22",width:"14",height:"20",rx:"1",fill:o}),_jsxruntime.jsx.call(void 0, "circle",{cx:"37",cy:"46",r:"1.5",fill:o}),_jsxruntime.jsx.call(void 0, "circle",{cx:"50",cy:"28",r:"8",fill:r}),_jsxruntime.jsx.call(void 0, "path",{d:"M46 26h8c1.1 0 2 .9 2 2v4c0 1.1-.9 2-2 2h-8l-2 2v-10z",fill:o}),_jsxruntime.jsx.call(void 0, "circle",{cx:"48",cy:"30",r:"0.8",fill:r}),_jsxruntime.jsx.call(void 0, "circle",{cx:"50.5",cy:"30",r:"0.8",fill:r}),_jsxruntime.jsx.call(void 0, "circle",{cx:"53",cy:"30",r:"0.8",fill:r})]})})}exports.a = x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5OQLZOD4cjs = require('./chunk-5OQLZOD4.cjs');var _jsxruntime = require('react/jsx-runtime');function m(){return _jsxruntime.jsx.call(void 0, _chunk5OQLZOD4cjs.p,{style:{width:"100%"}})}exports.a = m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-3NEYD7GW.js";import{createContext as p,useContext as h,useEffect as l,useState as i}from"react";import{useCrossmint as g}from"@crossmint/client-sdk-react-base";import{jsx as k}from"react/jsx-runtime";var s=p(void 0);function b({children:e}){let[r,d]=i(void 0),[c,u]=i(void 0),{crossmint:C}=g(),m=o(C,{usageOrigin:"client"});return l(()=>{let n=t=>{if(t.origin!==new URL(m.baseUrl).origin||t.data.event!=="order:updated")return;let{order:a,orderClientSecret:f}=t.data.data;d(a),u(f)};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}},[r]),k(s.Provider,{value:{order:r,orderClientSecret:c},children:e})}function S(){let e=h(s);if(!e)throw new Error("useCrossmintCheckout must be used within a CrossmintCheckoutProvider");return e}export{b as a,S as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkALORBDLNcjs = require('../chunk-ALORBDLN.cjs');require('../chunk-4RD5CZ3D.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintNFTCollectionView = _chunkALORBDLNcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-YAFI3AUR.js";import"../chunk-5VJQFSG6.js";import"../chunk-PXDN3KFO.js";export{a as CrossmintNFTCollectionView};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOSSEBYGBcjs = require('../chunk-OSSEBYGB.cjs');require('../chunk-4RD5CZ3D.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintNFTDetail = _chunkOSSEBYGBcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3TUDRFXX.js";import"../chunk-5VJQFSG6.js";import"../chunk-PXDN3KFO.js";export{a as CrossmintNFTDetail};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5OQLZOD4cjs = require('../../chunk-5OQLZOD4.cjs');require('../../chunk-ANSLIVQ7.cjs');require('../../chunk-JVXYIBS3.cjs');require('../../chunk-WK3BTTQG.cjs');require('../../chunk-BR77Q3PK.cjs');require('../../chunk-PZ3KXKJD.cjs');require('../../chunk-AHD64NAJ.cjs');require('../../chunk-2SBA4RZZ.cjs');require('../../chunk-VRFL53NP.cjs');require('../../chunk-S4BKL6MR.cjs');require('../../chunk-7U6Q4ELB.cjs');require('../../chunk-KT4LGFPN.cjs');require('../../chunk-DJZOP4MT.cjs');require('../../chunk-XBXL7GMY.cjs');require('../../chunk-AHMPKIEY.cjs');require('../../chunk-AO2V2B62.cjs');require('../../chunk-SCHRLC2I.cjs');require('../../chunk-QHI4DOG7.cjs');require('../../chunk-3X24JZVG.cjs');require('../../chunk-EAWYV5ZO.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-UMWTEGO6.cjs');require('../../chunk-YCYSZLQ2.cjs');require('../../chunk-I4GMMHQR.cjs');require('../../chunk-W5RDCN5G.cjs');require('../../chunk-VXAHFAP4.cjs');require('../../chunk-EO53B7LL.cjs');require('../../chunk-NRN4WNQL.cjs');require('../../chunk-CDQFTAM2.cjs');require('../../chunk-2WSEHVNP.cjs');exports.AuthForm = _chunk5OQLZOD4cjs.p;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
declare function AuthForm({
|
|
4
|
-
|
|
4
|
+
declare function AuthForm({ style }: {
|
|
5
|
+
style?: React__default.CSSProperties;
|
|
5
6
|
}): react_jsx_runtime.JSX.Element;
|
|
6
7
|
|
|
7
8
|
export { AuthForm };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
2
3
|
|
|
3
|
-
declare function AuthForm({
|
|
4
|
-
|
|
4
|
+
declare function AuthForm({ style }: {
|
|
5
|
+
style?: React__default.CSSProperties;
|
|
5
6
|
}): react_jsx_runtime.JSX.Element;
|
|
6
7
|
|
|
7
8
|
export { AuthForm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p as a}from"../../chunk-KXQ5HCBO.js";import"../../chunk-44MREOU3.js";import"../../chunk-5MRPY46P.js";import"../../chunk-HJGCM4XH.js";import"../../chunk-JSNUJJQJ.js";import"../../chunk-4KDASQO6.js";import"../../chunk-LD3MRJ3F.js";import"../../chunk-TBD7RAFW.js";import"../../chunk-GKVX7FEM.js";import"../../chunk-23YVHBPI.js";import"../../chunk-QQP4GR7V.js";import"../../chunk-WK7PY5WL.js";import"../../chunk-JL7YHC7D.js";import"../../chunk-O5IPDCMT.js";import"../../chunk-AOBO3CEQ.js";import"../../chunk-MN6UTXVP.js";import"../../chunk-UG5R7IPH.js";import"../../chunk-HGHYGPCN.js";import"../../chunk-NZUCXN2O.js";import"../../chunk-DFSB3TWF.js";import"../../chunk-H34D6PAN.js";import"../../chunk-KFFPM6JM.js";import"../../chunk-HHI2XRKR.js";import"../../chunk-C3JRTLQP.js";import"../../chunk-UHFCB2EY.js";import"../../chunk-OAHZHKRR.js";import"../../chunk-QFUZG5YR.js";import"../../chunk-UAFW3OWA.js";import"../../chunk-H3CPTTQQ.js";import"../../chunk-PXDN3KFO.js";export{a as AuthForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7U6Q4ELBcjs = require('../../chunk-7U6Q4ELB.cjs');require('../../chunk-KT4LGFPN.cjs');require('../../chunk-QHI4DOG7.cjs');require('../../chunk-3X24JZVG.cjs');require('../../chunk-EAWYV5ZO.cjs');require('../../chunk-EO53B7LL.cjs');require('../../chunk-2WSEHVNP.cjs');exports.AuthFormBackButton = _chunk7U6Q4ELBcjs.a;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
+
import { UIConfig } from '@crossmint/common-sdk-base';
|
|
3
4
|
|
|
4
|
-
declare const AuthFormBackButton: ({
|
|
5
|
+
declare const AuthFormBackButton: ({ iconColor, ringColor, onClick, ...props }: React__default.HTMLAttributes<HTMLButtonElement> & {
|
|
5
6
|
iconColor?: string;
|
|
6
7
|
ringColor?: string;
|
|
8
|
+
appearance?: UIConfig;
|
|
7
9
|
}) => react_jsx_runtime.JSX.Element;
|
|
8
10
|
|
|
9
11
|
export { AuthFormBackButton };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
+
import { UIConfig } from '@crossmint/common-sdk-base';
|
|
3
4
|
|
|
4
|
-
declare const AuthFormBackButton: ({
|
|
5
|
+
declare const AuthFormBackButton: ({ iconColor, ringColor, onClick, ...props }: React__default.HTMLAttributes<HTMLButtonElement> & {
|
|
5
6
|
iconColor?: string;
|
|
6
7
|
ringColor?: string;
|
|
8
|
+
appearance?: UIConfig;
|
|
7
9
|
}) => react_jsx_runtime.JSX.Element;
|
|
8
10
|
|
|
9
11
|
export { AuthFormBackButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-QQP4GR7V.js";import"../../chunk-WK7PY5WL.js";import"../../chunk-HGHYGPCN.js";import"../../chunk-NZUCXN2O.js";import"../../chunk-DFSB3TWF.js";import"../../chunk-QFUZG5YR.js";import"../../chunk-PXDN3KFO.js";export{a as AuthFormBackButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5OQLZOD4cjs = require('../../chunk-5OQLZOD4.cjs');require('../../chunk-ANSLIVQ7.cjs');require('../../chunk-JVXYIBS3.cjs');require('../../chunk-WK3BTTQG.cjs');require('../../chunk-BR77Q3PK.cjs');require('../../chunk-PZ3KXKJD.cjs');require('../../chunk-AHD64NAJ.cjs');require('../../chunk-2SBA4RZZ.cjs');require('../../chunk-VRFL53NP.cjs');require('../../chunk-S4BKL6MR.cjs');require('../../chunk-7U6Q4ELB.cjs');require('../../chunk-KT4LGFPN.cjs');require('../../chunk-DJZOP4MT.cjs');require('../../chunk-XBXL7GMY.cjs');require('../../chunk-AHMPKIEY.cjs');require('../../chunk-AO2V2B62.cjs');require('../../chunk-SCHRLC2I.cjs');require('../../chunk-QHI4DOG7.cjs');require('../../chunk-3X24JZVG.cjs');require('../../chunk-EAWYV5ZO.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-UMWTEGO6.cjs');require('../../chunk-YCYSZLQ2.cjs');require('../../chunk-I4GMMHQR.cjs');require('../../chunk-W5RDCN5G.cjs');require('../../chunk-VXAHFAP4.cjs');require('../../chunk-EO53B7LL.cjs');require('../../chunk-NRN4WNQL.cjs');require('../../chunk-CDQFTAM2.cjs');require('../../chunk-2WSEHVNP.cjs');exports.default = _chunk5OQLZOD4cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-KXQ5HCBO.js";import"../../chunk-44MREOU3.js";import"../../chunk-5MRPY46P.js";import"../../chunk-HJGCM4XH.js";import"../../chunk-JSNUJJQJ.js";import"../../chunk-4KDASQO6.js";import"../../chunk-LD3MRJ3F.js";import"../../chunk-TBD7RAFW.js";import"../../chunk-GKVX7FEM.js";import"../../chunk-23YVHBPI.js";import"../../chunk-QQP4GR7V.js";import"../../chunk-WK7PY5WL.js";import"../../chunk-JL7YHC7D.js";import"../../chunk-O5IPDCMT.js";import"../../chunk-AOBO3CEQ.js";import"../../chunk-MN6UTXVP.js";import"../../chunk-UG5R7IPH.js";import"../../chunk-HGHYGPCN.js";import"../../chunk-NZUCXN2O.js";import"../../chunk-DFSB3TWF.js";import"../../chunk-H34D6PAN.js";import"../../chunk-KFFPM6JM.js";import"../../chunk-HHI2XRKR.js";import"../../chunk-C3JRTLQP.js";import"../../chunk-UHFCB2EY.js";import"../../chunk-OAHZHKRR.js";import"../../chunk-QFUZG5YR.js";import"../../chunk-UAFW3OWA.js";import"../../chunk-H3CPTTQQ.js";import"../../chunk-PXDN3KFO.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYNISB2ICcjs = require('../../chunk-YNISB2IC.cjs');require('../../chunk-5OQLZOD4.cjs');require('../../chunk-ANSLIVQ7.cjs');require('../../chunk-JVXYIBS3.cjs');require('../../chunk-WK3BTTQG.cjs');require('../../chunk-BR77Q3PK.cjs');require('../../chunk-PZ3KXKJD.cjs');require('../../chunk-AHD64NAJ.cjs');require('../../chunk-2SBA4RZZ.cjs');require('../../chunk-VRFL53NP.cjs');require('../../chunk-S4BKL6MR.cjs');require('../../chunk-7U6Q4ELB.cjs');require('../../chunk-KT4LGFPN.cjs');require('../../chunk-DJZOP4MT.cjs');require('../../chunk-XBXL7GMY.cjs');require('../../chunk-AHMPKIEY.cjs');require('../../chunk-AO2V2B62.cjs');require('../../chunk-SCHRLC2I.cjs');require('../../chunk-QHI4DOG7.cjs');require('../../chunk-3X24JZVG.cjs');require('../../chunk-EAWYV5ZO.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-UMWTEGO6.cjs');require('../../chunk-YCYSZLQ2.cjs');require('../../chunk-I4GMMHQR.cjs');require('../../chunk-W5RDCN5G.cjs');require('../../chunk-VXAHFAP4.cjs');require('../../chunk-EO53B7LL.cjs');require('../../chunk-NRN4WNQL.cjs');require('../../chunk-CDQFTAM2.cjs');require('../../chunk-2WSEHVNP.cjs');exports.EmbeddedAuthForm = _chunkYNISB2ICcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-IBDJ3NF2.js";import"../../chunk-KXQ5HCBO.js";import"../../chunk-44MREOU3.js";import"../../chunk-5MRPY46P.js";import"../../chunk-HJGCM4XH.js";import"../../chunk-JSNUJJQJ.js";import"../../chunk-4KDASQO6.js";import"../../chunk-LD3MRJ3F.js";import"../../chunk-TBD7RAFW.js";import"../../chunk-GKVX7FEM.js";import"../../chunk-23YVHBPI.js";import"../../chunk-QQP4GR7V.js";import"../../chunk-WK7PY5WL.js";import"../../chunk-JL7YHC7D.js";import"../../chunk-O5IPDCMT.js";import"../../chunk-AOBO3CEQ.js";import"../../chunk-MN6UTXVP.js";import"../../chunk-UG5R7IPH.js";import"../../chunk-HGHYGPCN.js";import"../../chunk-NZUCXN2O.js";import"../../chunk-DFSB3TWF.js";import"../../chunk-H34D6PAN.js";import"../../chunk-KFFPM6JM.js";import"../../chunk-HHI2XRKR.js";import"../../chunk-C3JRTLQP.js";import"../../chunk-UHFCB2EY.js";import"../../chunk-OAHZHKRR.js";import"../../chunk-QFUZG5YR.js";import"../../chunk-UAFW3OWA.js";import"../../chunk-H3CPTTQQ.js";import"../../chunk-PXDN3KFO.js";export{a as EmbeddedAuthForm};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkH4XBJVSEcjs = require('../../chunk-H4XBJVSE.cjs');require('../../chunk-QYQERFYL.cjs');require('../../chunk-VI6TW7JT.cjs');require('../../chunk-TWX7ZBKZ.cjs');require('../../chunk-AO2V2B62.cjs');require('../../chunk-SCHRLC2I.cjs');require('../../chunk-QHI4DOG7.cjs');require('../../chunk-3X24JZVG.cjs');require('../../chunk-EAWYV5ZO.cjs');require('../../chunk-FQ246XXN.cjs');require('../../chunk-2WSEHVNP.cjs');exports.PasskeyPrompt = _chunkH4XBJVSEcjs.a;
|
|
@@ -4,8 +4,9 @@ import { UIConfig } from '@crossmint/common-sdk-base';
|
|
|
4
4
|
type PromptType = "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error";
|
|
5
5
|
type PasskeyPromptProps = {
|
|
6
6
|
state: {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
open: boolean;
|
|
8
|
+
type?: PromptType;
|
|
9
|
+
primaryActionOnClick?: () => void;
|
|
9
10
|
secondaryActionOnClick?: () => void;
|
|
10
11
|
};
|
|
11
12
|
appearance?: UIConfig;
|