@crossmint/client-sdk-react-ui 1.11.4 → 1.12.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-LOVHBG4X.js → chunk-2TMBNP2K.js} +1 -1
- package/dist/chunk-2ZIM34DD.js +1 -0
- package/dist/chunk-3422ASM3.js +1 -0
- package/dist/{chunk-A6H4LL6Z.js → chunk-343NTTUD.js} +1 -1
- package/dist/{chunk-7TX5MOZT.js → chunk-5REV77MX.js} +1 -1
- package/dist/chunk-5X3MPD2V.js +1 -0
- package/dist/{chunk-ECTI7DPI.cjs → chunk-7TDT7XKX.cjs} +1 -1
- package/dist/chunk-ALFUZA2G.cjs +1 -0
- package/dist/chunk-DQD3L5EO.cjs +1 -0
- package/dist/{chunk-7CHLN2PJ.js → chunk-E4H4Z47N.js} +1 -1
- package/dist/{chunk-E5OEBTXL.cjs → chunk-FZDAHOEQ.cjs} +1 -1
- package/dist/{chunk-3BSXBNI2.cjs → chunk-GLVSFRKU.cjs} +1 -1
- package/dist/{chunk-DA2F6XK6.cjs → chunk-GOUD64NE.cjs} +1 -1
- package/dist/{chunk-FYRL2GM6.cjs → chunk-HABGSTTO.cjs} +1 -1
- package/dist/{chunk-HK72LRGI.cjs → chunk-JG3FYWLX.cjs} +1 -1
- package/dist/{chunk-XKIGPJ6I.js → chunk-KIMYMQ3A.js} +1 -1
- package/dist/{chunk-22WKVXEV.cjs → chunk-LY7WQ4LY.cjs} +1 -1
- package/dist/{chunk-KEIMTTMG.js → chunk-NRVLD7ZZ.js} +1 -1
- package/dist/{chunk-3CK4ZMQQ.cjs → chunk-OUSQXRV7.cjs} +1 -1
- package/dist/{chunk-4XJTDFSH.cjs → chunk-P7FGXP7P.cjs} +1 -1
- package/dist/chunk-QLPV72AE.cjs +1 -0
- package/dist/{chunk-QCUQSR62.cjs → chunk-QUCMVJTR.cjs} +1 -1
- package/dist/{chunk-D54BPIUI.cjs → chunk-QVYYSH5R.cjs} +1 -1
- package/dist/{chunk-Z3A5L6TS.js → chunk-RZYY5X4F.js} +1 -1
- package/dist/{chunk-GXSSE2R6.js → chunk-SCLYZGBZ.js} +1 -1
- package/dist/{chunk-Y5Y3M55Z.js → chunk-SHHB7SCC.js} +1 -1
- package/dist/{chunk-AK3GHZ47.js → chunk-TNN23YRI.js} +1 -1
- package/dist/{chunk-PSHRYYYU.js → chunk-UWCQU3K4.js} +1 -1
- package/dist/{chunk-2TBQYP4Q.cjs → chunk-WPBBPVRK.cjs} +1 -1
- package/dist/chunk-YRFNEOGD.js +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.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/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/GoogleSignIn.cjs +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.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/index.cjs +1 -1
- package/dist/components/embed/index.d.cts +2 -2
- package/dist/components/embed/index.d.ts +2 -2
- 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/crypto/PayerConnectionHandler.cjs +1 -0
- package/dist/components/embed/v3/crypto/PayerConnectionHandler.d.cts +8 -0
- package/dist/components/embed/v3/crypto/PayerConnectionHandler.d.ts +8 -0
- package/dist/components/embed/v3/crypto/PayerConnectionHandler.js +1 -0
- package/dist/components/embed/v3/index.cjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/hosted/CrossmintPayButton.cjs +1 -1
- package/dist/components/hosted/CrossmintPayButton.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 +1 -1
- package/dist/components/index.d.ts +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/hooks/useWallet.cjs +1 -1
- package/dist/hooks/useWallet.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +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/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/auth/web3/DynamicWeb3WalletConnect.cjs +1 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.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 +9 -9
- package/dist/chunk-JDYEU555.cjs +0 -1
- package/dist/chunk-KOIABX7Z.js +0 -1
- package/dist/chunk-LF4PAFPO.cjs +0 -1
- package/dist/chunk-ZNCTQFDO.js +0 -1
- package/dist/chunk-ZUZEZZX7.js +0 -1
- /package/dist/{chunk-5PUFSO7R.cjs → chunk-DJB7GTNS.cjs} +0 -0
- /package/dist/{chunk-H2FB7PEG.js → chunk-HL3FBZIU.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossmint/client-sdk-react-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"repository": "https://github.com/Crossmint/crossmint-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Paella Labs Inc",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"@dynamic-labs/ethereum": "2.6.3",
|
|
22
22
|
"@dynamic-labs/sdk-react-core": "2.6.3",
|
|
23
23
|
"@dynamic-labs/solana": "2.6.3",
|
|
24
|
-
"@ethersproject/transactions": "
|
|
24
|
+
"@ethersproject/transactions": "catalog:",
|
|
25
25
|
"@farcaster/auth-kit": "0.6.0",
|
|
26
26
|
"@headlessui/react": "2.1.5",
|
|
27
27
|
"@radix-ui/react-dialog": "1.1.2",
|
|
28
28
|
"@radix-ui/react-visually-hidden": "1.1.0",
|
|
29
|
-
"@solana/web3.js": "
|
|
29
|
+
"@solana/web3.js": "catalog:",
|
|
30
30
|
"@twind/core": "1.1.3",
|
|
31
31
|
"@twind/preset-tailwind": "1.1.4",
|
|
32
32
|
"bs58": "5.0.0",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"react-jss": "10.10.0",
|
|
38
38
|
"tailwind-merge": "2.4.0",
|
|
39
39
|
"tailwindcss": "3.4.10",
|
|
40
|
-
"viem": "
|
|
41
|
-
"zod": "
|
|
42
|
-
"@crossmint/client-sdk-auth": "1.1.
|
|
43
|
-
"@crossmint/client-sdk-base": "1.4.
|
|
44
|
-
"@crossmint/client-sdk-smart-wallet": "0.1.
|
|
45
|
-
"@crossmint/common-sdk-auth": "1.0.
|
|
40
|
+
"viem": "catalog:",
|
|
41
|
+
"zod": "catalog:",
|
|
42
|
+
"@crossmint/client-sdk-auth": "1.1.8",
|
|
43
|
+
"@crossmint/client-sdk-base": "1.4.3",
|
|
44
|
+
"@crossmint/client-sdk-smart-wallet": "0.1.28",
|
|
45
|
+
"@crossmint/common-sdk-auth": "1.0.7",
|
|
46
46
|
"@crossmint/client-sdk-window": "0.2.1",
|
|
47
47
|
"@crossmint/common-sdk-base": "0.3.1"
|
|
48
48
|
},
|
package/dist/chunk-JDYEU555.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5IFQJPBEcjs = require('./chunk-5IFQJPBE.cjs');var _chunkNZQIZ4ZYcjs = require('./chunk-NZQIZ4ZY.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _clientsdkbase = require('@crossmint/client-sdk-base');var _jsxruntime = require('react/jsx-runtime');function u(t){if(_clientsdkbase.isFiatEmbeddedCheckoutProps.call(void 0, t))return _jsxruntime.jsx.call(void 0, _chunkNZQIZ4ZYcjs.a,_chunk2WSEHVNPcjs.a.call(void 0, {},t));if(_clientsdkbase.isCryptoEmbeddedCheckoutProps.call(void 0, t))return _jsxruntime.jsx.call(void 0, _chunk5IFQJPBEcjs.a,_chunk2WSEHVNPcjs.a.call(void 0, {},t));throw new Error("Unsupported: Fiat is the only supported payment method.")}exports.a = u;
|
package/dist/chunk-KOIABX7Z.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var s="1.11.4";var r=s;export{r as a};
|
package/dist/chunk-LF4PAFPO.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 _chunkE5OEBTXLcjs = require('./chunk-E5OEBTXL.cjs');var _chunkGPQZG7HCcjs = require('./chunk-GPQZG7HC.cjs');var _react = require('react');var _clientsdkbase = require('@crossmint/client-sdk-base');var _jsxruntime = require('react/jsx-runtime');var g=_react.lazy.call(void 0, ()=>Promise.resolve().then(() => _interopRequireWildcard(require("./components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs"))).then(t=>({default:t.CryptoWalletConnectionHandler})));function S(t){let[e,l]=_react.useState.call(void 0, null),[u,f]=_react.useState.call(void 0, 0),{crossmint:h}=_chunkGPQZG7HCcjs.b.call(void 0, ),i=_chunkE5OEBTXLcjs.a.call(void 0, h,{usageOrigin:"client"}),s=_clientsdkbase.crossmintEmbeddedCheckoutV3Service.call(void 0, {apiClient:i}),r=_react.useRef.call(void 0, null);return _react.useEffect.call(void 0, ()=>{let n=r.current;!n||e||l(s.iframe.createClient(n))},[r.current,e]),_react.useEffect.call(void 0, ()=>{if(e!=null)return e.on("ui:height.changed",n=>f(n.height)),()=>{e.off("ui:height.changed")}},[e]),_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, "iframe",{ref:r,src:s.iframe.getUrl(t),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:`${u}px`,backgroundColor:"transparent"}}),t.payment.crypto.enabled?_jsxruntime.jsx.call(void 0, g,{iframeClient:e,apiKeyEnvironment:i.parsedAPIKey.environment}):null,_jsxruntime.jsx.call(void 0, "span",{id:"crossmint-focus-target",tabIndex:-1})]})}exports.a = S;
|
package/dist/chunk-ZNCTQFDO.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk-Z3A5L6TS.js";import{b as a}from"./chunk-ROJ6HFVK.js";import{lazy as p,useEffect as d,useRef as C,useState as c}from"react";import{crossmintEmbeddedCheckoutV3Service as b}from"@crossmint/client-sdk-base";import{Fragment as y,jsx as o,jsxs as k}from"react/jsx-runtime";var g=p(()=>import("./components/embed/v3/crypto/CryptoWalletConnectionHandler.js").then(t=>({default:t.CryptoWalletConnectionHandler})));function w(t){let[e,l]=c(null),[u,f]=c(0),{crossmint:h}=a(),i=m(h,{usageOrigin:"client"}),s=b({apiClient:i}),r=C(null);return d(()=>{let n=r.current;!n||e||l(s.iframe.createClient(n))},[r.current,e]),d(()=>{if(e!=null)return e.on("ui:height.changed",n=>f(n.height)),()=>{e.off("ui:height.changed")}},[e]),k(y,{children:[o("iframe",{ref:r,src:s.iframe.getUrl(t),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:`${u}px`,backgroundColor:"transparent"}}),t.payment.crypto.enabled?o(g,{iframeClient:e,apiKeyEnvironment:i.parsedAPIKey.environment}):null,o("span",{id:"crossmint-focus-target",tabIndex:-1})]})}export{w as a};
|
package/dist/chunk-ZUZEZZX7.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-RYQRCUKB.js";import{a as r}from"./chunk-4IHRWQWT.js";import{a as e}from"./chunk-PXDN3KFO.js";import{isCryptoEmbeddedCheckoutProps as m,isFiatEmbeddedCheckoutProps as i}from"@crossmint/client-sdk-base";import{jsx as d}from"react/jsx-runtime";function h(t){if(i(t))return d(r,e({},t));if(m(t))return d(o,e({},t));throw new Error("Unsupported: Fiat is the only supported payment method.")}export{h as a};
|
|
File without changes
|
|
File without changes
|