@crossmint/client-sdk-react-ui 2.2.11 → 2.2.13
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-2N7JMGPO.js → chunk-2WZ6VGHW.js} +1 -1
- package/dist/{chunk-YQLWPOFD.cjs → chunk-5YVOGU43.cjs} +1 -1
- package/dist/{chunk-SUO6W2KV.js → chunk-7ES6Y5N6.js} +1 -1
- package/dist/{chunk-T6KAOZSP.js → chunk-7IR55EID.js} +1 -1
- package/dist/{chunk-MAXTEK4K.js → chunk-AEFZBV3H.js} +1 -1
- package/dist/{chunk-6IMVAQPA.js → chunk-B4PYKF67.js} +1 -1
- package/dist/{chunk-GZNKYGPH.cjs → chunk-BO4IWVJ7.cjs} +1 -1
- package/dist/{chunk-BI53ZRAQ.cjs → chunk-BWQDQON7.cjs} +1 -1
- package/dist/{chunk-DEG4Y7PJ.js → chunk-BXA6GFT6.js} +1 -1
- package/dist/chunk-BZRC77HP.cjs +1 -0
- package/dist/{chunk-36ETJKTQ.cjs → chunk-CBCIOVDG.cjs} +1 -1
- package/dist/{chunk-XNBVY55U.cjs → chunk-CYVETCRT.cjs} +1 -1
- package/dist/chunk-DGB5A3VI.js +1 -0
- package/dist/{chunk-JU32UT4T.cjs → chunk-DSYAWEY3.cjs} +1 -1
- package/dist/{chunk-MVUTCFZE.js → chunk-F6HNHPU3.js} +1 -1
- package/dist/{chunk-OLVYQILJ.cjs → chunk-FYCKQBCI.cjs} +1 -1
- package/dist/chunk-ICXINIRZ.js +1 -0
- package/dist/{chunk-ZCSU5RBL.cjs → chunk-J43BCIIF.cjs} +1 -1
- package/dist/{chunk-UNYREZHZ.js → chunk-PJSZM627.js} +1 -1
- package/dist/{chunk-5J3DPCEJ.js → chunk-SMCHWCOA.js} +1 -1
- package/dist/{chunk-VFNYS4TD.js → chunk-SOATGKBD.js} +1 -1
- package/dist/{chunk-SNKZ25F7.cjs → chunk-T34D7CJP.cjs} +1 -1
- package/dist/{chunk-V7KFX4MQ.cjs → chunk-UMGVL2Y2.cjs} +1 -1
- package/dist/{chunk-CA7AVCZ7.cjs → chunk-VEAVGSER.cjs} +1 -1
- package/dist/{chunk-VHVHDKUO.js → chunk-WKBTOP6Q.js} +1 -1
- package/dist/{chunk-D2N6PQKX.cjs → chunk-XN4BYGW4.cjs} +1 -1
- package/dist/{chunk-RE735C2R.cjs → chunk-XSHNWLNZ.cjs} +1 -1
- package/dist/{chunk-QU76YMPE.cjs → chunk-YVADYKT7.cjs} +1 -1
- package/dist/{chunk-3VFZBX7W.js → chunk-YWAEP7EZ.js} +1 -1
- package/dist/{chunk-DX5XQGNY.js → chunk-ZWOKGZ4I.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/AuthForm.cjs +1 -1
- package/dist/components/auth/AuthForm.js +1 -1
- package/dist/components/auth/AuthFormBackButton.cjs +1 -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.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.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/Divider.cjs +1 -1
- package/dist/components/common/Divider.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.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.js +1 -1
- package/dist/index.cjs +1 -1
- 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/AuthFormProvider.cjs +1 -1
- package/dist/providers/auth/AuthFormProvider.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/utils/createCrossmintApiClient.cjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/package.json +8 -8
- package/dist/chunk-LCLV7RBM.js +0 -1
- package/dist/chunk-PKQBAFAW.cjs +0 -1
- package/dist/chunk-UEJI244Y.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossmint/client-sdk-react-ui",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"repository": "https://github.com/Crossmint/crossmint-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Paella Labs Inc",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"tailwindcss": "3.4.10",
|
|
42
42
|
"viem": "2.23.6",
|
|
43
43
|
"zod": "3.22.4",
|
|
44
|
-
"@crossmint/client-sdk-auth": "1.2.
|
|
45
|
-
"@crossmint/client-sdk-base": "1.5.
|
|
46
|
-
"@crossmint/client-sdk-react-base": "0.5.
|
|
47
|
-
"@crossmint/client-sdk-window": "1.0.
|
|
44
|
+
"@crossmint/client-sdk-auth": "1.2.20",
|
|
45
|
+
"@crossmint/client-sdk-base": "1.5.11",
|
|
46
|
+
"@crossmint/client-sdk-react-base": "0.5.13",
|
|
47
|
+
"@crossmint/client-sdk-window": "1.0.1",
|
|
48
48
|
"@crossmint/client-signers": "0.0.18",
|
|
49
|
-
"@crossmint/common-sdk-auth": "1.0.
|
|
50
|
-
"@crossmint/common-sdk-base": "0.8.
|
|
51
|
-
"@crossmint/wallets-sdk": "0.10.
|
|
49
|
+
"@crossmint/common-sdk-auth": "1.0.42",
|
|
50
|
+
"@crossmint/common-sdk-base": "0.8.4",
|
|
51
|
+
"@crossmint/wallets-sdk": "0.10.13"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@testing-library/react": "^16.0.1",
|
package/dist/chunk-LCLV7RBM.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s="2.2.11";var r=s;export{r as a};
|
package/dist/chunk-PKQBAFAW.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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 _chunkXNBVY55Ucjs = require('./chunk-XNBVY55U.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(t=>({default:t.CryptoWalletConnectionHandler})));function J(t){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=t.payment.crypto.payer)==null?void 0:m.initialChain),n=_react.useRef.call(void 0, t);if(I(t,n.current)){let r=_chunk2WSEHVNPcjs.a.call(void 0, {},t),u=w(t,g.current);u.shouldPreserve&&(r.payment.crypto.payer=u.updatedPayer),n.current=r}let{crossmint:k}=_clientsdkreactbase.useCrossmint.call(void 0, ),d=_chunkXNBVY55Ucjs.a.call(void 0, k,{usageOrigin:"client"}),c=_clientsdkbase.crossmintEmbeddedCheckoutV3Service.call(void 0, {apiClient:d}),i=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{let r=i.current;!r||e||C(c.iframe.createClient(r))},[i.current,e]),_react.useEffect.call(void 0, ()=>{if(e!=null)return e.on("ui:height.changed",r=>b(r.height)),()=>{e.off("ui:height.changed")}},[e]),_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, "iframe",{ref:i,src:c.iframe.getUrl(n.current),id:"crossmint-embedded-checkout.iframe",role:"crossmint-embedded-checkout.iframe",allow:"payment *",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:d.parsedAPIKey.environment}):null,_jsxruntime.jsx.call(void 0, "span",{id:"crossmint-focus-target",tabIndex:-1})]})}function I(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function w(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}exports.a = J;
|
package/dist/chunk-UEJI244Y.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./chunk-5X3MPD2V.js";import{a as p}from"./chunk-5J3DPCEJ.js";import{a,b as l}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(t=>({default:t.CryptoWalletConnectionHandler})));function K(t){var m;let[e,C]=f(null),[P,b]=f(0),g=s((m=t.payment.crypto.payer)==null?void 0:m.initialChain),n=s(t);if(I(t,n.current)){let r=a({},t),u=w(t,g.current);u.shouldPreserve&&(r.payment.crypto.payer=u.updatedPayer),n.current=r}let{crossmint:k}=E(),d=p(k,{usageOrigin:"client"}),c=S({apiClient:d}),i=s(null);return h(()=>{let r=i.current;!r||e||C(c.iframe.createClient(r))},[i.current,e]),h(()=>{if(e!=null)return e.on("ui:height.changed",r=>b(r.height)),()=>{e.off("ui:height.changed")}},[e]),H(x,{children:[o("iframe",{ref:i,src:c.iframe.getUrl(n.current),id:"crossmint-embedded-checkout.iframe",role:"crossmint-embedded-checkout.iframe",allow:"payment *",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:d.parsedAPIKey.environment}):null,o("span",{id:"crossmint-focus-target",tabIndex:-1})]})}function I(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function w(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:l(a({},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}export{K as a};
|