@crossmint/client-sdk-react-ui 2.3.4 → 2.4.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-5J6E3OQM.js → chunk-5QTAUWDM.js} +1 -1
- package/dist/{chunk-GQ5LQ4KK.cjs → chunk-7WGCMUOL.cjs} +1 -1
- package/dist/{chunk-PW4LNAAA.js → chunk-7ZAT35XW.js} +1 -1
- package/dist/{chunk-TK65BHHC.cjs → chunk-AIFQV6NS.cjs} +1 -1
- package/dist/{chunk-KJ5PQBN5.js → chunk-EA6B22QM.js} +1 -1
- package/dist/{chunk-M2XAZ5VP.cjs → chunk-FU24U7LA.cjs} +1 -1
- package/dist/{chunk-4HVF6WME.cjs → chunk-KK3OSTDG.cjs} +1 -1
- package/dist/{chunk-S4MNLI7Z.js → chunk-MS75EYBH.js} +1 -1
- package/dist/{chunk-EAFMWZEB.js → chunk-MTQHKZJV.js} +1 -1
- package/dist/{chunk-UGAPP5DG.cjs → chunk-NB4ENN4K.cjs} +1 -1
- package/dist/{chunk-TIJQGQVG.js → chunk-OESLJGC4.js} +1 -1
- package/dist/{chunk-CQCUOJGZ.cjs → chunk-PN3FSQOW.cjs} +1 -1
- package/dist/{chunk-OSJ3GF57.cjs → chunk-QODQZJHJ.cjs} +1 -1
- package/dist/{chunk-QYDJ4V2A.js → chunk-RSVRIJAY.js} +1 -1
- package/dist/chunk-S73E6EBO.cjs +1 -0
- package/dist/{chunk-W6QOMZ54.cjs → chunk-SBMCEFI3.cjs} +1 -1
- package/dist/{chunk-EQNLBKIH.cjs → chunk-SZNDLEBZ.cjs} +1 -1
- package/dist/{chunk-XL5F5KYH.js → chunk-VKLZD4KR.js} +1 -1
- package/dist/{chunk-MVMD22UV.js → chunk-WBOXKWTO.js} +1 -1
- package/dist/chunk-WUVHN3ZD.js +1 -0
- package/dist/{chunk-TQAFJGZO.cjs → chunk-XNNGBVFG.cjs} +1 -1
- package/dist/chunk-YLAJFXWZ.js +0 -0
- package/dist/{chunk-2LDS5IEH.cjs → chunk-Z6GAMFFP.cjs} +1 -1
- package/dist/{chunk-P73VSCD2.js → chunk-ZRJR5R4F.js} +1 -1
- 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/PasskeyPrompt.cjs +1 -1
- package/dist/components/auth/PasskeyPrompt.js +1 -1
- package/dist/components/common/CrossmintLogoV2/schemas.d.cts +16 -16
- package/dist/components/common/CrossmintLogoV2/schemas.d.ts +16 -16
- package/dist/components/embed/index.cjs +1 -1
- package/dist/components/embed/index.d.cts +3 -6
- package/dist/components/embed/index.d.ts +3 -6
- 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/index.cjs +1 -1
- package/dist/components/hosted/index.d.cts +0 -1
- package/dist/components/hosted/index.d.ts +0 -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 +1 -3
- package/dist/components/index.d.ts +1 -3
- package/dist/components/index.js +1 -1
- package/dist/components/signers/EmailSignersDialog.cjs +1 -1
- package/dist/components/signers/EmailSignersDialog.js +1 -1
- package/dist/components/signers/index.cjs +1 -1
- 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/useCrossmintCheckout.cjs +1 -1
- package/dist/hooks/useCrossmintCheckout.js +1 -1
- package/dist/hooks/useDeepEffect.cjs +1 -1
- package/dist/hooks/useDeepEffect.js +1 -1
- package/dist/hooks/useEnvironment.cjs +1 -1
- package/dist/hooks/useEnvironment.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -1
- package/dist/providers/CrossmintAuthProvider.cjs +1 -1
- package/dist/providers/CrossmintAuthProvider.js +1 -1
- package/dist/providers/CrossmintWalletProvider.cjs +1 -1
- package/dist/providers/CrossmintWalletProvider.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/utils/createCrossmintApiClient.cjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-2POV64LQ.js +0 -1
- package/dist/chunk-2ZIM34DD.js +0 -1
- package/dist/chunk-4IHRWQWT.js +0 -1
- package/dist/chunk-5IFQJPBE.cjs +0 -1
- package/dist/chunk-72P3JMXX.js +0 -1
- package/dist/chunk-BKAAMIFU.js +0 -1
- package/dist/chunk-DGZQUCSD.js +0 -1
- package/dist/chunk-DQD3L5EO.cjs +0 -1
- package/dist/chunk-EUXGP4IN.cjs +0 -1
- package/dist/chunk-FJODAXUP.cjs +0 -1
- package/dist/chunk-IAJBYU5C.js +0 -1
- package/dist/chunk-IMV35JZB.cjs +0 -1
- package/dist/chunk-JGM3G5E2.js +0 -1
- package/dist/chunk-NFLGT52C.cjs +0 -1
- package/dist/chunk-NZQIZ4ZY.cjs +0 -1
- package/dist/chunk-O5J2ZIJ6.cjs +0 -1
- package/dist/chunk-QASKWI5Y.js +0 -1
- package/dist/chunk-RYQRCUKB.js +0 -1
- package/dist/chunk-W4UPIFFS.cjs +0 -1
- package/dist/chunk-X5BBXO27.cjs +0 -1
- package/dist/chunk-ZIY2NER7.js +0 -1
- package/dist/components/embed/EmbeddedCheckoutIFrame.cjs +0 -1
- package/dist/components/embed/EmbeddedCheckoutIFrame.d.cts +0 -9
- package/dist/components/embed/EmbeddedCheckoutIFrame.d.ts +0 -9
- package/dist/components/embed/EmbeddedCheckoutIFrame.js +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.cjs +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.d.cts +0 -6
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.d.ts +0 -6
- package/dist/components/embed/crypto/CryptoEmbeddedCheckout.js +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.cjs +0 -1
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.d.cts +0 -6
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.d.ts +0 -6
- package/dist/components/embed/crypto/CryptoEmbeddedCheckoutIFrame.js +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.cjs +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.d.cts +0 -6
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.d.ts +0 -6
- package/dist/components/embed/fiat/FiatEmbeddedCheckout.js +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.cjs +0 -1
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.d.cts +0 -6
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.d.ts +0 -6
- package/dist/components/embed/fiat/FiatEmbeddedCheckoutIFrame.js +0 -1
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.cjs +0 -1
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.d.cts +0 -6
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.d.ts +0 -6
- package/dist/components/embed/fiat/FiatPaymentElement_OLD.js +0 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +0 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.d.cts +0 -11
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.d.ts +0 -11
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +0 -1
- package/dist/components/hosted/styles.cjs +0 -1
- package/dist/components/hosted/styles.d.cts +0 -11
- package/dist/components/hosted/styles.d.ts +0 -11
- package/dist/components/hosted/styles.js +0 -1
- /package/dist/{chunk-MAFITAUM.js → chunk-3BUVHV54.js} +0 -0
- /package/dist/{chunk-LWL72VT5.cjs → chunk-3OHRJSAM.cjs} +0 -0
- /package/dist/{chunk-XUT4N66R.cjs → chunk-LZ5XEFKY.cjs} +0 -0
- /package/dist/{chunk-WHFUW3W3.js → chunk-O3FFREWE.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
1
|
+
import{a as t}from"./chunk-WUVHN3ZD.js";import{assertValidValidateNFTDetailProps as e,getNFTDetailSrc as i}from"@crossmint/client-sdk-base";import{jsx as s}from"react/jsx-runtime";function d(r){e(r);let o=i(r,t);return s("iframe",{src:o,width:"100%",height:"100%",style:{flexGrow:"1",border:"none",margin:"0",padding:"0"},role:"nft-details"})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXNNGBVFGcjs = require('./chunk-XNNGBVFG.cjs');var _chunkNB4ENN4Kcjs = require('./chunk-NB4ENN4K.cjs');var _chunkCBP7TWQDcjs = require('./chunk-CBP7TWQD.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');var p=P=>()=>{throw new Error(`${P} is not available. Make sure you're using an email or phone signer wallet.`)};function x({children:P,showPasskeyHelpers:d=!0,appearance:m,createOnLogin:o,callbacks:i}){let{experimental_customAuth:t}=_clientsdkreactbase.useCrossmint.call(void 0, ),[W,c]=_react.useState.call(void 0, {open:!1}),[D,y]=_react.useState.call(void 0, !1),[F,N]=_react.useState.call(void 0, "initial"),[j,f]=_react.useState.call(void 0, !1),[q,V]=_react.useState.call(void 0, "initial"),A=_react.useRef.call(void 0, !1),S=_react.useRef.call(void 0, p("sendEmailWithOtp")),u=_react.useRef.call(void 0, p("verifyOtp")),v=_react.useRef.call(void 0, p("sendPhoneWithOtp")),g=_react.useRef.call(void 0, p("verifyPhoneOtp")),n=_react.useRef.call(void 0, p("reject")),C=(o==null?void 0:o.signer.type)==="phone"&&(o==null?void 0:o.signer.phone)!=null?o.signer.phone:t==null?void 0:t.phone,T=_react.useCallback.call(void 0, e=>()=>new Promise(r=>{if(!d){r();return}c({type:e,open:!0,primaryActionOnClick:()=>{c({open:!1}),r()},secondaryActionOnClick:()=>{c({open:!1}),r()}})}),[d]),R=()=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){try{yield S.current(),N("otp")}catch(e){console.error("Failed to send email OTP",e),n.current(new Error("Failed to send email OTP"))}}),B=e=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){try{yield u.current(e),y(!1)}catch(r){console.error("Failed to verify OTP",r),n.current(new Error("Failed to verify OTP"))}}),w=()=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){try{yield v.current(),V("otp")}catch(e){console.error("Failed to send phone OTP",e),n.current(new Error("Failed to send phone OTP"))}}),I=e=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){try{yield g.current(e),f(!1)}catch(r){console.error("Failed to verify phone OTP",r),n.current(new Error("Failed to verify phone OTP"))}});return _jsxruntime.jsxs.call(void 0, _clientsdkreactbase.CrossmintWalletBaseProvider,{createOnLogin:o,onAuthRequired:(e,r,O,U)=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){(o==null?void 0:o.signer.type)==="phone"&&o.signer.phone?(f(e),v.current=r,g.current=O):(y(e),S.current=r,u.current=O),A.current=e,n.current=U}),callbacks:(()=>{let e=i==null?void 0:i.onWalletCreationStart,r=i==null?void 0:i.onTransactionStart;return(o==null?void 0:o.signer.type)==="passkey"&&d&&(e=T("create-wallet"),r=T("transaction")),{onWalletCreationStart:e,onTransactionStart:r}})(),children:[P,_jsxruntime.jsx.call(void 0, _chunkNB4ENN4Kcjs.a,{rejectRef:n,email:t==null?void 0:t.email,open:D&&(t==null?void 0:t.email)!=null,setOpen:y,step:F,onSubmitOTP:B,onResendOTPCode:R,onSubmitEmail:R,appearance:m}),_jsxruntime.jsx.call(void 0, _chunkCBP7TWQDcjs.a,{rejectRef:n,phone:C,open:j&&C!=null,setOpen:f,step:q,onSubmitOTP:I,onResendOTPCode:w,onSubmitPhone:w,appearance:m}),_jsxruntime.jsx.call(void 0, _chunkXNNGBVFGcjs.a,{state:W,appearance:m})]})}exports.a = x;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk-QZHJH22E.js";import{a as D}from"./chunk-LUSXGZYB.js";import{a as g,b as u,c as C}from"./chunk-RV2X7AFS.js";import{a as v}from"./chunk-C3JRTLQP.js";import{
|
|
1
|
+
import{a as b}from"./chunk-QZHJH22E.js";import{a as D}from"./chunk-LUSXGZYB.js";import{a as h}from"./chunk-BAXCSO7J.js";import{a as g,b as u,c as C}from"./chunk-RV2X7AFS.js";import{a as v}from"./chunk-C3JRTLQP.js";import{Fragment as k,jsx as i,jsxs as r}from"react/jsx-runtime";function x({email:t,open:e,setOpen:y,step:l,onSubmitOTP:O,onResendOTPCode:a,onSubmitEmail:P,rejectRef:n,appearance:o}){var m,d,c;function s(S){var f;(e||S)&&((f=n.current)==null||f.call(n,new Error),y(!1))}return r(g,{open:e,setDialogOpen:s,appearance:o,style:{overflow:"hidden"},children:[l==="initial"?r(k,{children:[i(u,{appearance:o,children:"Confirm it's you"}),i(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,l==="otp"?i(b,{contactInfo:t!=null?t:"",contactType:"email",icon:i("div",{style:{position:"relative",left:"12px"},children:i(v,{customAccentColor:(m=o==null?void 0:o.colors)==null?void 0:m.accent,customButtonBackgroundColor:(d=o==null?void 0:o.colors)==null?void 0:d.buttonBackground,customBackgroundColor:(c=o==null?void 0:o.colors)==null?void 0:c.background})}),title:"Check your email",description:r(k,{children:["A temporary login code has been sent to ",i("strong",{children:t})]}),helpText:`Can't find the email? Check spam folder.
|
|
2
2
|
Some emails may take several minutes to arrive.`,onSubmitOTP:O,onResendCode:a,appearance:o}):i(D,{contactInfo:t!=null?t:"",icon:i(h,{}),onConfirm:P,onCancel:s,appearance:o})]})}export{x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var s="2.
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var s="2.4.0";var o=s;exports.a = o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-WUVHN3ZD.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKK3OSTDGcjs = require('./chunk-KK3OSTDG.cjs');var _react = require('react');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _jsxruntime = require('react/jsx-runtime');var s=_react.createContext.call(void 0, void 0);function O({children:e}){let[r,d]=_react.useState.call(void 0, void 0),[c,u]=_react.useState.call(void 0, void 0),{crossmint:C}=_clientsdkreactbase.useCrossmint.call(void 0, ),m=_chunkKK3OSTDGcjs.a.call(void 0, C,{usageOrigin:"client"});return _react.useEffect.call(void 0, ()=>{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]),_jsxruntime.jsx.call(void 0, s.Provider,{value:{order:r,orderClientSecret:c},children:e})}function b(){let e=_react.useContext.call(void 0, s);if(!e)throw new Error("useCrossmintCheckout must be used within a CrossmintCheckoutProvider");return e}exports.a = O; exports.b = b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIFQV6NScjs = require('./chunk-AIFQV6NS.cjs');var _commonsdkbase = require('@crossmint/common-sdk-base');function C(t,i){return new (0, _commonsdkbase.CrossmintApiClient)(t,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-ui",version:_chunkAIFQV6NScjs.a},apiKeyExpectations:i}})}exports.a = C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
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-RV2X7AFS.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
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"./chunk-EA7H4AXL.js";import{a as C}from"./chunk-RSVRIJAY.js";import{a as m,b as u,c as s}from"./chunk-PXDN3KFO.js";import{useEffect as M,useState as N}from"react";import{useCrossmint as R}from"@crossmint/client-sdk-react-base";import{crossmintHostedCheckoutV3Service as T,crossmintHostedCheckoutV3StylesService as j}from"@crossmint/client-sdk-base";import w from"clsx";import{jsx as l,jsxs as D}from"react/jsx-runtime";function F(d){let[f,h]=N(!1),{crossmint:k}=R(),y=C(k),c=d,{recipient:P,locale:g,lineItems:H,payment:S,appearance:V,metadata:v}=c,b=s(c,["recipient","locale","lineItems","payment","appearance","metadata"]),n={recipient:P,locale:g,lineItems:H,payment:S,appearance:V,metadata:v},x=T({apiClient:y,hostedCheckoutProps:n}),t=j(n),p=b,{onClick:r,className:E,children:o}=p,I=s(p,["onClick","className","children"]);function B(e){e.preventDefault(),e.stopPropagation(),x.createWindow(),r&&r(e)}let i=t.generateCss();return M(()=>{let{cleanup:e}=t.injectCss(i);return h(!0),e},[i]),f?D("button",u(m({onClick:B,className:w(t.identifiers.buttonClassNames,E)},I),{children:[l(a,{style:{marginRight:"12px",flex:"none"},displayType:"icon-only",id:t.identifiers.logoId,height:16,width:16}),o!=null?o:l("p",{style:{margin:0},children:t.getButtonText()})]})):null}export{F as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYEXRA5WEcjs = require('./chunk-YEXRA5WE.cjs');var _chunkOVJIGWD7cjs = require('./chunk-OVJIGWD7.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYEXRA5WEcjs = require('./chunk-YEXRA5WE.cjs');var _chunkOVJIGWD7cjs = require('./chunk-OVJIGWD7.cjs');var _chunkBPEDL7VVcjs = require('./chunk-BPEDL7VV.cjs');var _chunkO3H2EYFAcjs = require('./chunk-O3H2EYFA.cjs');var _chunkI4GMMHQRcjs = require('./chunk-I4GMMHQR.cjs');var _jsxruntime = require('react/jsx-runtime');function M({email:t,open:e,setOpen:y,step:l,onSubmitOTP:O,onResendOTPCode:a,onSubmitEmail:P,rejectRef:n,appearance:o}){var m,d,c;function s(S){var f;(e||S)&&((f=n.current)==null||f.call(n,new Error),y(!1))}return _jsxruntime.jsxs.call(void 0, _chunkO3H2EYFAcjs.a,{open:e,setDialogOpen:s,appearance:o,style:{overflow:"hidden"},children:[l==="initial"?_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, _chunkO3H2EYFAcjs.b,{appearance:o,children:"Confirm it's you"}),_jsxruntime.jsx.call(void 0, _chunkO3H2EYFAcjs.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,l==="otp"?_jsxruntime.jsx.call(void 0, _chunkYEXRA5WEcjs.a,{contactInfo:t!=null?t:"",contactType:"email",icon:_jsxruntime.jsx.call(void 0, "div",{style:{position:"relative",left:"12px"},children:_jsxruntime.jsx.call(void 0, _chunkI4GMMHQRcjs.a,{customAccentColor:(m=o==null?void 0:o.colors)==null?void 0:m.accent,customButtonBackgroundColor:(d=o==null?void 0:o.colors)==null?void 0:d.buttonBackground,customBackgroundColor:(c=o==null?void 0:o.colors)==null?void 0:c.background})}),title:"Check your email",description:_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:["A temporary login code has been sent to ",_jsxruntime.jsx.call(void 0, "strong",{children:t})]}),helpText:`Can't find the email? Check spam folder.
|
|
2
2
|
Some emails may take several minutes to arrive.`,onSubmitOTP:O,onResendCode:a,appearance:o}):_jsxruntime.jsx.call(void 0, _chunkOVJIGWD7cjs.a,{contactInfo:t!=null?t:"",icon:_jsxruntime.jsx.call(void 0, _chunkBPEDL7VVcjs.a,{}),onConfirm:P,onCancel:s,appearance:o})]})}exports.a = M;
|
|
@@ -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-RSVRIJAY.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIFQV6NScjs = require('./chunk-AIFQV6NS.cjs');var _clientsdkbase = require('@crossmint/client-sdk-base');var _jsxruntime = require('react/jsx-runtime');function m(o){_clientsdkbase.assertValidNFTCollectionViewProps.call(void 0, o);let i=_clientsdkbase.getNFTCollectionViewSrc.call(void 0, o,_chunkAIFQV6NScjs.a);return _jsxruntime.jsx.call(void 0, "iframe",{src:i,width:"100%",height:"100%",style:{flexGrow:"1",border:"none",margin:"0",padding:"0"},role:"nft-collection-view"})}exports.a = m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIFQV6NScjs = require('./chunk-AIFQV6NS.cjs');var _clientsdkbase = require('@crossmint/client-sdk-base');var _jsxruntime = require('react/jsx-runtime');function n(r){_clientsdkbase.assertValidValidateNFTDetailProps.call(void 0, r);let o=_clientsdkbase.getNFTDetailSrc.call(void 0, r,_chunkAIFQV6NScjs.a);return _jsxruntime.jsx.call(void 0, "iframe",{src:o,width:"100%",height:"100%",style:{flexGrow:"1",border:"none",margin:"0",padding:"0"},role:"nft-details"})}exports.a = n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-WUVHN3ZD.js";import{CrossmintApiClient as e}from"@crossmint/common-sdk-base";function m(t,i){return new e(t,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-ui",version:n},apiKeyExpectations:i}})}export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk56YL3XJWcjs = require('./chunk-56YL3XJW.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk56YL3XJWcjs = require('./chunk-56YL3XJW.cjs');var _chunkKK3OSTDGcjs = require('./chunk-KK3OSTDG.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _react = require('react');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _clientsdkbase = require('@crossmint/client-sdk-base');var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var _jsxruntime = require('react/jsx-runtime');function z(d){let[f,h]=_react.useState.call(void 0, !1),{crossmint:k}=_clientsdkreactbase.useCrossmint.call(void 0, ),y=_chunkKK3OSTDGcjs.a.call(void 0, k),c=d,{recipient:P,locale:g,lineItems:H,payment:S,appearance:V,metadata:v}=c,b=_chunk2WSEHVNPcjs.c.call(void 0, c,["recipient","locale","lineItems","payment","appearance","metadata"]),n={recipient:P,locale:g,lineItems:H,payment:S,appearance:V,metadata:v},x=_clientsdkbase.crossmintHostedCheckoutV3Service.call(void 0, {apiClient:y,hostedCheckoutProps:n}),t=_clientsdkbase.crossmintHostedCheckoutV3StylesService.call(void 0, n),p=b,{onClick:r,className:E,children:o}=p,I=_chunk2WSEHVNPcjs.c.call(void 0, p,["onClick","className","children"]);function B(e){e.preventDefault(),e.stopPropagation(),x.createWindow(),r&&r(e)}let i=t.generateCss();return _react.useEffect.call(void 0, ()=>{let{cleanup:e}=t.injectCss(i);return h(!0),e},[i]),f?_jsxruntime.jsxs.call(void 0, "button",_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {onClick:B,className:_clsx2.default.call(void 0, t.identifiers.buttonClassNames,E)},I),{children:[_jsxruntime.jsx.call(void 0, _chunk56YL3XJWcjs.a,{style:{marginRight:"12px",flex:"none"},displayType:"icon-only",id:t.identifiers.logoId,height:16,width:16}),o!=null?o:_jsxruntime.jsx.call(void 0, "p",{style:{margin:0},children:t.getButtonText()})]})):null}exports.a = z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ6GAMFFPcjs = require('./chunk-Z6GAMFFP.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _jsxruntime = require('react/jsx-runtime');function s(d){return _jsxruntime.jsx.call(void 0, _chunkZ6GAMFFPcjs.a,_chunk2WSEHVNPcjs.a.call(void 0, {},d))}exports.a = s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-MS75EYBH.js";import{a as E}from"./chunk-7ZAT35XW.js";import{a as b}from"./chunk-TD7Y5ILY.js";import{d as s}from"./chunk-PXDN3KFO.js";import{useState as l,useCallback as $,useRef as a}from"react";import{CrossmintWalletBaseProvider as z,useCrossmint as G}from"@crossmint/client-sdk-react-base";import{jsx as h,jsxs as J}from"react/jsx-runtime";var p=P=>()=>{throw new Error(`${P} is not available. Make sure you're using an email or phone signer wallet.`)};function L({children:P,showPasskeyHelpers:d=!0,appearance:m,createOnLogin:o,callbacks:i}){let{experimental_customAuth:t}=G(),[W,c]=l({open:!1}),[D,y]=l(!1),[F,N]=l("initial"),[j,f]=l(!1),[q,V]=l("initial"),A=a(!1),S=a(p("sendEmailWithOtp")),u=a(p("verifyOtp")),v=a(p("sendPhoneWithOtp")),g=a(p("verifyPhoneOtp")),n=a(p("reject")),C=(o==null?void 0:o.signer.type)==="phone"&&(o==null?void 0:o.signer.phone)!=null?o.signer.phone:t==null?void 0:t.phone,T=$(e=>()=>new Promise(r=>{if(!d){r();return}c({type:e,open:!0,primaryActionOnClick:()=>{c({open:!1}),r()},secondaryActionOnClick:()=>{c({open:!1}),r()}})}),[d]),R=()=>s(this,null,function*(){try{yield S.current(),N("otp")}catch(e){console.error("Failed to send email OTP",e),n.current(new Error("Failed to send email OTP"))}}),B=e=>s(this,null,function*(){try{yield u.current(e),y(!1)}catch(r){console.error("Failed to verify OTP",r),n.current(new Error("Failed to verify OTP"))}}),w=()=>s(this,null,function*(){try{yield v.current(),V("otp")}catch(e){console.error("Failed to send phone OTP",e),n.current(new Error("Failed to send phone OTP"))}}),I=e=>s(this,null,function*(){try{yield g.current(e),f(!1)}catch(r){console.error("Failed to verify phone OTP",r),n.current(new Error("Failed to verify phone OTP"))}});return J(z,{createOnLogin:o,onAuthRequired:(e,r,O,U)=>s(this,null,function*(){(o==null?void 0:o.signer.type)==="phone"&&o.signer.phone?(f(e),v.current=r,g.current=O):(y(e),S.current=r,u.current=O),A.current=e,n.current=U}),callbacks:(()=>{let e=i==null?void 0:i.onWalletCreationStart,r=i==null?void 0:i.onTransactionStart;return(o==null?void 0:o.signer.type)==="passkey"&&d&&(e=T("create-wallet"),r=T("transaction")),{onWalletCreationStart:e,onTransactionStart:r}})(),children:[P,h(E,{rejectRef:n,email:t==null?void 0:t.email,open:D&&(t==null?void 0:t.email)!=null,setOpen:y,step:F,onSubmitOTP:B,onResendOTPCode:R,onSubmitEmail:R,appearance:m}),h(b,{rejectRef:n,phone:C,open:j&&C!=null,setOpen:f,step:q,onSubmitOTP:I,onResendOTPCode:w,onSubmitPhone:w,appearance:m}),h(k,{state:W,appearance:m})]})}export{L as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-OESLJGC4.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 @@
|
|
|
1
|
+
var s="2.4.0";var r=s;export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkQYQERFYLcjs = require('./chunk-QYQERFYL.cjs');var _chunkVI6TW7JTcjs = require('./chunk-VI6TW7JT.cjs');var _chunkTWX7ZBKZcjs = require('./chunk-TWX7ZBKZ.cjs');var _chunkO3H2EYFAcjs = require('./chunk-O3H2EYFA.cjs');var _chunkSCHRLC2Icjs = require('./chunk-SCHRLC2I.cjs');var _chunkEAWYV5ZOcjs = require('./chunk-EAWYV5ZO.cjs');var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);var _jsxruntime = require('react/jsx-runtime');var v=_styled2.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
File without changes
|
|
@@ -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 _chunkKK3OSTDGcjs = require('./chunk-KK3OSTDG.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=_chunkKK3OSTDGcjs.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 o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-RSVRIJAY.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkPN3FSQOWcjs = require('../chunk-PN3FSQOW.cjs');require('../chunk-AIFQV6NS.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintNFTCollectionView = _chunkPN3FSQOWcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-EA6B22QM.js";import"../chunk-WUVHN3ZD.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 _chunkQODQZJHJcjs = require('../chunk-QODQZJHJ.cjs');require('../chunk-AIFQV6NS.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintNFTDetail = _chunkQODQZJHJcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5QTAUWDM.js";import"../chunk-WUVHN3ZD.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 _chunkXNNGBVFGcjs = require('../../chunk-XNNGBVFG.cjs');require('../../chunk-QYQERFYL.cjs');require('../../chunk-VI6TW7JT.cjs');require('../../chunk-TWX7ZBKZ.cjs');require('../../chunk-O3H2EYFA.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 = _chunkXNNGBVFGcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-MS75EYBH.js";import"../../chunk-OOLXYAO7.js";import"../../chunk-77PBG2JJ.js";import"../../chunk-HVZ5M3FY.js";import"../../chunk-RV2X7AFS.js";import"../../chunk-UG5R7IPH.js";import"../../chunk-HGHYGPCN.js";import"../../chunk-NZUCXN2O.js";import"../../chunk-DFSB3TWF.js";import"../../chunk-H34D6PAN.js";import"../../chunk-PXDN3KFO.js";export{a as PasskeyPrompt};
|
|
@@ -6,13 +6,13 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
6
6
|
from: z.ZodString;
|
|
7
7
|
to: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
to: string;
|
|
9
10
|
type: "gradient";
|
|
10
11
|
from: string;
|
|
11
|
-
to: string;
|
|
12
12
|
}, {
|
|
13
|
+
to: string;
|
|
13
14
|
type: "gradient";
|
|
14
15
|
from: string;
|
|
15
|
-
to: string;
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"solid">;
|
|
18
18
|
color: z.ZodString;
|
|
@@ -27,18 +27,18 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
text: string;
|
|
29
29
|
icon: {
|
|
30
|
+
to: string;
|
|
30
31
|
type: "gradient";
|
|
31
32
|
from: string;
|
|
32
|
-
to: string;
|
|
33
33
|
} | {
|
|
34
34
|
type: "solid";
|
|
35
35
|
color: string;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
38
38
|
icon?: {
|
|
39
|
+
to: string;
|
|
39
40
|
type: "gradient";
|
|
40
41
|
from: string;
|
|
41
|
-
to: string;
|
|
42
42
|
} | {
|
|
43
43
|
type: "solid";
|
|
44
44
|
color: string;
|
|
@@ -53,13 +53,13 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
53
53
|
from: z.ZodString;
|
|
54
54
|
to: z.ZodString;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
to: string;
|
|
56
57
|
type: "gradient";
|
|
57
58
|
from: string;
|
|
58
|
-
to: string;
|
|
59
59
|
}, {
|
|
60
|
+
to: string;
|
|
60
61
|
type: "gradient";
|
|
61
62
|
from: string;
|
|
62
|
-
to: string;
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
type: z.ZodLiteral<"solid">;
|
|
65
65
|
color: z.ZodString;
|
|
@@ -74,18 +74,18 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
text: string;
|
|
76
76
|
icon: {
|
|
77
|
+
to: string;
|
|
77
78
|
type: "gradient";
|
|
78
79
|
from: string;
|
|
79
|
-
to: string;
|
|
80
80
|
} | {
|
|
81
81
|
type: "solid";
|
|
82
82
|
color: string;
|
|
83
83
|
};
|
|
84
84
|
}, {
|
|
85
85
|
icon?: {
|
|
86
|
+
to: string;
|
|
86
87
|
type: "gradient";
|
|
87
88
|
from: string;
|
|
88
|
-
to: string;
|
|
89
89
|
} | {
|
|
90
90
|
type: "solid";
|
|
91
91
|
color: string;
|
|
@@ -97,9 +97,9 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
97
97
|
colors: {
|
|
98
98
|
text: string;
|
|
99
99
|
icon: {
|
|
100
|
+
to: string;
|
|
100
101
|
type: "gradient";
|
|
101
102
|
from: string;
|
|
102
|
-
to: string;
|
|
103
103
|
} | {
|
|
104
104
|
type: "solid";
|
|
105
105
|
color: string;
|
|
@@ -109,9 +109,9 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
109
109
|
}, {
|
|
110
110
|
colors?: {
|
|
111
111
|
icon?: {
|
|
112
|
+
to: string;
|
|
112
113
|
type: "gradient";
|
|
113
114
|
from: string;
|
|
114
|
-
to: string;
|
|
115
115
|
} | {
|
|
116
116
|
type: "solid";
|
|
117
117
|
color: string;
|
|
@@ -127,13 +127,13 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
127
127
|
from: z.ZodString;
|
|
128
128
|
to: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
to: string;
|
|
130
131
|
type: "gradient";
|
|
131
132
|
from: string;
|
|
132
|
-
to: string;
|
|
133
133
|
}, {
|
|
134
|
+
to: string;
|
|
134
135
|
type: "gradient";
|
|
135
136
|
from: string;
|
|
136
|
-
to: string;
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
type: z.ZodLiteral<"solid">;
|
|
139
139
|
color: z.ZodString;
|
|
@@ -148,18 +148,18 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
text: string;
|
|
150
150
|
icon: {
|
|
151
|
+
to: string;
|
|
151
152
|
type: "gradient";
|
|
152
153
|
from: string;
|
|
153
|
-
to: string;
|
|
154
154
|
} | {
|
|
155
155
|
type: "solid";
|
|
156
156
|
color: string;
|
|
157
157
|
};
|
|
158
158
|
}, {
|
|
159
159
|
icon?: {
|
|
160
|
+
to: string;
|
|
160
161
|
type: "gradient";
|
|
161
162
|
from: string;
|
|
162
|
-
to: string;
|
|
163
163
|
} | {
|
|
164
164
|
type: "solid";
|
|
165
165
|
color: string;
|
|
@@ -171,9 +171,9 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
171
171
|
colors: {
|
|
172
172
|
text: string;
|
|
173
173
|
icon: {
|
|
174
|
+
to: string;
|
|
174
175
|
type: "gradient";
|
|
175
176
|
from: string;
|
|
176
|
-
to: string;
|
|
177
177
|
} | {
|
|
178
178
|
type: "solid";
|
|
179
179
|
color: string;
|
|
@@ -183,9 +183,9 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
183
183
|
}, {
|
|
184
184
|
colors?: {
|
|
185
185
|
icon?: {
|
|
186
|
+
to: string;
|
|
186
187
|
type: "gradient";
|
|
187
188
|
from: string;
|
|
188
|
-
to: string;
|
|
189
189
|
} | {
|
|
190
190
|
type: "solid";
|
|
191
191
|
color: string;
|
|
@@ -6,13 +6,13 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
6
6
|
from: z.ZodString;
|
|
7
7
|
to: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
to: string;
|
|
9
10
|
type: "gradient";
|
|
10
11
|
from: string;
|
|
11
|
-
to: string;
|
|
12
12
|
}, {
|
|
13
|
+
to: string;
|
|
13
14
|
type: "gradient";
|
|
14
15
|
from: string;
|
|
15
|
-
to: string;
|
|
16
16
|
}>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"solid">;
|
|
18
18
|
color: z.ZodString;
|
|
@@ -27,18 +27,18 @@ declare const crossmintLogoColorsSchema: z.ZodObject<{
|
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
text: string;
|
|
29
29
|
icon: {
|
|
30
|
+
to: string;
|
|
30
31
|
type: "gradient";
|
|
31
32
|
from: string;
|
|
32
|
-
to: string;
|
|
33
33
|
} | {
|
|
34
34
|
type: "solid";
|
|
35
35
|
color: string;
|
|
36
36
|
};
|
|
37
37
|
}, {
|
|
38
38
|
icon?: {
|
|
39
|
+
to: string;
|
|
39
40
|
type: "gradient";
|
|
40
41
|
from: string;
|
|
41
|
-
to: string;
|
|
42
42
|
} | {
|
|
43
43
|
type: "solid";
|
|
44
44
|
color: string;
|
|
@@ -53,13 +53,13 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
53
53
|
from: z.ZodString;
|
|
54
54
|
to: z.ZodString;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
to: string;
|
|
56
57
|
type: "gradient";
|
|
57
58
|
from: string;
|
|
58
|
-
to: string;
|
|
59
59
|
}, {
|
|
60
|
+
to: string;
|
|
60
61
|
type: "gradient";
|
|
61
62
|
from: string;
|
|
62
|
-
to: string;
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
type: z.ZodLiteral<"solid">;
|
|
65
65
|
color: z.ZodString;
|
|
@@ -74,18 +74,18 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
text: string;
|
|
76
76
|
icon: {
|
|
77
|
+
to: string;
|
|
77
78
|
type: "gradient";
|
|
78
79
|
from: string;
|
|
79
|
-
to: string;
|
|
80
80
|
} | {
|
|
81
81
|
type: "solid";
|
|
82
82
|
color: string;
|
|
83
83
|
};
|
|
84
84
|
}, {
|
|
85
85
|
icon?: {
|
|
86
|
+
to: string;
|
|
86
87
|
type: "gradient";
|
|
87
88
|
from: string;
|
|
88
|
-
to: string;
|
|
89
89
|
} | {
|
|
90
90
|
type: "solid";
|
|
91
91
|
color: string;
|
|
@@ -97,9 +97,9 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
97
97
|
colors: {
|
|
98
98
|
text: string;
|
|
99
99
|
icon: {
|
|
100
|
+
to: string;
|
|
100
101
|
type: "gradient";
|
|
101
102
|
from: string;
|
|
102
|
-
to: string;
|
|
103
103
|
} | {
|
|
104
104
|
type: "solid";
|
|
105
105
|
color: string;
|
|
@@ -109,9 +109,9 @@ declare const crossmintLogoColorsAndDisplayTypeRawSchema: z.ZodObject<{
|
|
|
109
109
|
}, {
|
|
110
110
|
colors?: {
|
|
111
111
|
icon?: {
|
|
112
|
+
to: string;
|
|
112
113
|
type: "gradient";
|
|
113
114
|
from: string;
|
|
114
|
-
to: string;
|
|
115
115
|
} | {
|
|
116
116
|
type: "solid";
|
|
117
117
|
color: string;
|
|
@@ -127,13 +127,13 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
127
127
|
from: z.ZodString;
|
|
128
128
|
to: z.ZodString;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
to: string;
|
|
130
131
|
type: "gradient";
|
|
131
132
|
from: string;
|
|
132
|
-
to: string;
|
|
133
133
|
}, {
|
|
134
|
+
to: string;
|
|
134
135
|
type: "gradient";
|
|
135
136
|
from: string;
|
|
136
|
-
to: string;
|
|
137
137
|
}>, z.ZodObject<{
|
|
138
138
|
type: z.ZodLiteral<"solid">;
|
|
139
139
|
color: z.ZodString;
|
|
@@ -148,18 +148,18 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
149
|
text: string;
|
|
150
150
|
icon: {
|
|
151
|
+
to: string;
|
|
151
152
|
type: "gradient";
|
|
152
153
|
from: string;
|
|
153
|
-
to: string;
|
|
154
154
|
} | {
|
|
155
155
|
type: "solid";
|
|
156
156
|
color: string;
|
|
157
157
|
};
|
|
158
158
|
}, {
|
|
159
159
|
icon?: {
|
|
160
|
+
to: string;
|
|
160
161
|
type: "gradient";
|
|
161
162
|
from: string;
|
|
162
|
-
to: string;
|
|
163
163
|
} | {
|
|
164
164
|
type: "solid";
|
|
165
165
|
color: string;
|
|
@@ -171,9 +171,9 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
171
171
|
colors: {
|
|
172
172
|
text: string;
|
|
173
173
|
icon: {
|
|
174
|
+
to: string;
|
|
174
175
|
type: "gradient";
|
|
175
176
|
from: string;
|
|
176
|
-
to: string;
|
|
177
177
|
} | {
|
|
178
178
|
type: "solid";
|
|
179
179
|
color: string;
|
|
@@ -183,9 +183,9 @@ declare const crossmintLogoColorsAndDisplayTypeSchema: z.ZodDefault<z.ZodOptiona
|
|
|
183
183
|
}, {
|
|
184
184
|
colors?: {
|
|
185
185
|
icon?: {
|
|
186
|
+
to: string;
|
|
186
187
|
type: "gradient";
|
|
187
188
|
from: string;
|
|
188
|
-
to: string;
|
|
189
189
|
} | {
|
|
190
190
|
type: "solid";
|
|
191
191
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-3OHRJSAM.cjs');require('../../chunk-2VQLMU5A.cjs');var _chunkSZNDLEBZcjs = require('../../chunk-SZNDLEBZ.cjs');require('../../chunk-Z6GAMFFP.cjs');require('../../chunk-QLPV72AE.cjs');require('../../chunk-KK3OSTDG.cjs');require('../../chunk-AIFQV6NS.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkSZNDLEBZcjs.a;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare function CrossmintPaymentElement_DEPRECATED(props: CrossmintEmbeddedCheckoutProps): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { CrossmintPaymentElement_DEPRECATED };
|
|
1
|
+
export { CrossmintEmbeddedCheckout } from './v3/CrossmintEmbeddedCheckoutV3.cjs';
|
|
2
|
+
import 'react/jsx-runtime';
|
|
3
|
+
import '@crossmint/client-sdk-base';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare function CrossmintPaymentElement_DEPRECATED(props: CrossmintEmbeddedCheckoutProps): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { CrossmintPaymentElement_DEPRECATED };
|
|
1
|
+
export { CrossmintEmbeddedCheckout } from './v3/CrossmintEmbeddedCheckoutV3.js';
|
|
2
|
+
import 'react/jsx-runtime';
|
|
3
|
+
import '@crossmint/client-sdk-base';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../../chunk-O3FFREWE.js";import"../../chunk-72MMCJ2E.js";import{a}from"../../chunk-WBOXKWTO.js";import"../../chunk-OESLJGC4.js";import"../../chunk-5X3MPD2V.js";import"../../chunk-RSVRIJAY.js";import"../../chunk-WUVHN3ZD.js";import"../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSZNDLEBZcjs = require('../../../chunk-SZNDLEBZ.cjs');require('../../../chunk-Z6GAMFFP.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-KK3OSTDG.cjs');require('../../../chunk-AIFQV6NS.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkSZNDLEBZcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-WBOXKWTO.js";import"../../../chunk-OESLJGC4.js";import"../../../chunk-5X3MPD2V.js";import"../../../chunk-RSVRIJAY.js";import"../../../chunk-WUVHN3ZD.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ6GAMFFPcjs = require('../../../chunk-Z6GAMFFP.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-KK3OSTDG.cjs');require('../../../chunk-AIFQV6NS.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.EmbeddedCheckoutV3IFrame = _chunkZ6GAMFFPcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-OESLJGC4.js";import"../../../chunk-5X3MPD2V.js";import"../../../chunk-RSVRIJAY.js";import"../../../chunk-WUVHN3ZD.js";import"../../../chunk-PXDN3KFO.js";export{a as EmbeddedCheckoutV3IFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-2VQLMU5A.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-2VQLMU5A.cjs');var _chunkSZNDLEBZcjs = require('../../../chunk-SZNDLEBZ.cjs');require('../../../chunk-Z6GAMFFP.cjs');require('../../../chunk-QLPV72AE.cjs');require('../../../chunk-KK3OSTDG.cjs');require('../../../chunk-AIFQV6NS.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkSZNDLEBZcjs.a;
|