@crossmint/client-sdk-react-ui 2.6.18 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/{chunk-RJNCSDME.cjs → chunk-2VXUFLRU.cjs} +1 -1
  2. package/dist/{chunk-CFPNBOQX.js → chunk-5JFHKBA3.js} +1 -1
  3. package/dist/{chunk-2BUVZNEU.js → chunk-5LBKLYQX.js} +1 -1
  4. package/dist/chunk-65L2RYBO.js +1 -0
  5. package/dist/chunk-6YV5GQCH.js +1 -0
  6. package/dist/chunk-7O34YRD5.js +1 -0
  7. package/dist/{chunk-DPFGL6UA.cjs → chunk-ACB3W3GE.cjs} +1 -1
  8. package/dist/chunk-AU3VQ3FZ.cjs +1 -0
  9. package/dist/chunk-BGY7IJTX.cjs +1 -0
  10. package/dist/{chunk-5D23DEC6.js → chunk-BPOQDFLM.js} +1 -1
  11. package/dist/{chunk-GTOPYCJZ.cjs → chunk-CD6E2BGD.cjs} +1 -1
  12. package/dist/{chunk-C3MBKVLB.cjs → chunk-CDQCMWEC.cjs} +1 -1
  13. package/dist/{chunk-FSTCOTJF.cjs → chunk-CQQQ46DP.cjs} +2 -2
  14. package/dist/{chunk-VEPDAUWY.js → chunk-CUMLQUZW.js} +1 -1
  15. package/dist/{chunk-ANYQCOAS.js → chunk-CWOXZNPJ.js} +1 -1
  16. package/dist/chunk-DBEB6VII.js +1 -0
  17. package/dist/{chunk-SLCEQGQU.js → chunk-DLY3NSAP.js} +1 -1
  18. package/dist/{chunk-M2ROWHEX.cjs → chunk-DY6AJDUU.cjs} +1 -1
  19. package/dist/{chunk-6N6HD2MO.cjs → chunk-EW354S4P.cjs} +1 -1
  20. package/dist/chunk-F6X2ZGRY.js +1 -0
  21. package/dist/{chunk-FRTWYDAB.cjs → chunk-FOPH5LRT.cjs} +1 -1
  22. package/dist/{chunk-3NZGH5PU.cjs → chunk-FXNGKQPP.cjs} +1 -1
  23. package/dist/{chunk-6GKIZSMJ.cjs → chunk-I5P2RLFG.cjs} +1 -1
  24. package/dist/{chunk-C2F4RZ5Z.js → chunk-IHB5QKUC.js} +1 -1
  25. package/dist/{chunk-KIUL7JQP.cjs → chunk-JAB5XSI5.cjs} +1 -1
  26. package/dist/{chunk-VCZJFMSJ.cjs → chunk-JGVHRYTQ.cjs} +1 -1
  27. package/dist/{chunk-V2YAWVVH.js → chunk-JNLYP2UR.js} +1 -1
  28. package/dist/{chunk-UJJMXC33.js → chunk-K6WF4EVZ.js} +1 -1
  29. package/dist/{chunk-XJTP3B66.cjs → chunk-K7ZQNUKN.cjs} +1 -1
  30. package/dist/chunk-LHI636RZ.cjs +1 -0
  31. package/dist/chunk-NC5TRF2Y.cjs +1 -0
  32. package/dist/{chunk-CX4X55Z2.cjs → chunk-NIFRJ7V6.cjs} +2 -2
  33. package/dist/{chunk-XOEM3BYQ.js → chunk-O4GLIVUW.js} +1 -1
  34. package/dist/{chunk-4KWOGABX.js → chunk-QSOJBOZ6.js} +1 -1
  35. package/dist/{chunk-MT7NKXYB.cjs → chunk-R4N553EI.cjs} +1 -1
  36. package/dist/{chunk-CFPR523K.js → chunk-SERYPZEV.js} +1 -1
  37. package/dist/{chunk-3ALHZ3RG.cjs → chunk-UMVA5RS5.cjs} +1 -1
  38. package/dist/chunk-VHFWR2IK.cjs +1 -0
  39. package/dist/{chunk-4HSZ5QA3.js → chunk-WHUNYZQD.js} +1 -1
  40. package/dist/{chunk-PYA6CIUK.cjs → chunk-WO7F6IU6.cjs} +1 -1
  41. package/dist/{chunk-HYTOHFKB.js → chunk-XWRJCAYJ.js} +1 -1
  42. package/dist/{chunk-OZP5VGAA.js → chunk-XZAP3UTC.js} +1 -1
  43. package/dist/{chunk-RVWWMS4A.js → chunk-YBU2NAFB.js} +1 -1
  44. package/dist/chunk-YYZYQ3CJ.js +0 -0
  45. package/dist/chunk-Z3FZP6AZ.cjs +1 -0
  46. package/dist/{chunk-YCT4ZC7R.js → chunk-ZSON7FCL.js} +1 -1
  47. package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
  48. package/dist/components/CrossmintNFTCollectionView.js +1 -1
  49. package/dist/components/CrossmintNFTDetail.cjs +1 -1
  50. package/dist/components/CrossmintNFTDetail.js +1 -1
  51. package/dist/components/auth/AuthForm.cjs +1 -1
  52. package/dist/components/auth/AuthForm.js +1 -1
  53. package/dist/components/auth/AuthFormDialog.cjs +1 -1
  54. package/dist/components/auth/AuthFormDialog.js +1 -1
  55. package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
  56. package/dist/components/auth/EmbeddedAuthForm.js +1 -1
  57. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
  58. package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
  59. package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
  60. package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
  61. package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
  62. package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
  63. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +2 -2
  64. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
  65. package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -1
  66. package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -1
  67. package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
  68. package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
  69. package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
  70. package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
  71. package/dist/components/card-management/CrossmintPaymentMethodManagement.cjs +1 -1
  72. package/dist/components/card-management/CrossmintPaymentMethodManagement.js +1 -1
  73. package/dist/components/card-management/CrossmintPaymentMethodManagementIFrame.cjs +1 -1
  74. package/dist/components/card-management/CrossmintPaymentMethodManagementIFrame.js +1 -1
  75. package/dist/components/card-management/index.cjs +1 -1
  76. package/dist/components/card-management/index.js +1 -1
  77. package/dist/components/common/OAuthButton.cjs +1 -1
  78. package/dist/components/common/OAuthButton.js +1 -1
  79. package/dist/components/embed/index.cjs +1 -1
  80. package/dist/components/embed/index.js +1 -1
  81. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
  82. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
  83. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
  84. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
  85. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -1
  86. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -1
  87. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -1
  88. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -1
  89. package/dist/components/embed/v3/index.cjs +1 -1
  90. package/dist/components/embed/v3/index.js +1 -1
  91. package/dist/components/hosted/index.cjs +1 -1
  92. package/dist/components/hosted/index.js +1 -1
  93. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
  94. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
  95. package/dist/components/hosted/v3/index.cjs +1 -1
  96. package/dist/components/hosted/v3/index.js +1 -1
  97. package/dist/components/index.cjs +1 -1
  98. package/dist/components/index.d.cts +1 -0
  99. package/dist/components/index.d.ts +1 -0
  100. package/dist/components/index.js +1 -1
  101. package/dist/components/order-intent/OrderIntentVerification.cjs +1 -1
  102. package/dist/components/order-intent/OrderIntentVerification.d.cts +1 -1
  103. package/dist/components/order-intent/OrderIntentVerification.d.ts +1 -1
  104. package/dist/components/order-intent/OrderIntentVerification.js +1 -1
  105. package/dist/components/order-intent/index.cjs +1 -1
  106. package/dist/components/order-intent/index.js +1 -1
  107. package/dist/components/payment-method-agentic-enrollment/PaymentMethodAgenticEnrollmentVerification.cjs +1 -0
  108. package/dist/components/payment-method-agentic-enrollment/PaymentMethodAgenticEnrollmentVerification.d.cts +12 -0
  109. package/dist/components/payment-method-agentic-enrollment/PaymentMethodAgenticEnrollmentVerification.d.ts +12 -0
  110. package/dist/components/payment-method-agentic-enrollment/PaymentMethodAgenticEnrollmentVerification.js +1 -0
  111. package/dist/components/payment-method-agentic-enrollment/index.cjs +1 -0
  112. package/dist/components/payment-method-agentic-enrollment/index.d.cts +3 -0
  113. package/dist/components/payment-method-agentic-enrollment/index.d.ts +3 -0
  114. package/dist/components/payment-method-agentic-enrollment/index.js +1 -0
  115. package/dist/components/signers/BaseCodeInput.cjs +1 -1
  116. package/dist/components/signers/BaseCodeInput.js +1 -1
  117. package/dist/components/signers/EmailSignersDialog.cjs +1 -1
  118. package/dist/components/signers/EmailSignersDialog.js +1 -1
  119. package/dist/components/signers/PhoneSignersDialog.cjs +1 -1
  120. package/dist/components/signers/PhoneSignersDialog.js +1 -1
  121. package/dist/components/signers/index.cjs +1 -1
  122. package/dist/components/signers/index.js +1 -1
  123. package/dist/components/wallets/ExportPrivateKeyButton.cjs +1 -1
  124. package/dist/components/wallets/ExportPrivateKeyButton.js +1 -1
  125. package/dist/components/wallets/index.cjs +1 -1
  126. package/dist/components/wallets/index.js +1 -1
  127. package/dist/consts/version.cjs +1 -1
  128. package/dist/consts/version.js +1 -1
  129. package/dist/hooks/index.cjs +1 -1
  130. package/dist/hooks/index.js +1 -1
  131. package/dist/hooks/useAuth.cjs +1 -1
  132. package/dist/hooks/useAuth.js +1 -1
  133. package/dist/hooks/useCrossmintCheckout.cjs +1 -1
  134. package/dist/hooks/useCrossmintCheckout.js +1 -1
  135. package/dist/hooks/useOAuthWindowListener.cjs +1 -1
  136. package/dist/hooks/useOAuthWindowListener.js +1 -1
  137. package/dist/index.cjs +1 -1
  138. package/dist/index.d.cts +1 -0
  139. package/dist/index.d.ts +1 -0
  140. package/dist/index.js +1 -1
  141. package/dist/providers/CrossmintAuthProvider.cjs +1 -1
  142. package/dist/providers/CrossmintAuthProvider.js +1 -1
  143. package/dist/providers/CrossmintProvider.cjs +1 -1
  144. package/dist/providers/CrossmintProvider.js +1 -1
  145. package/dist/providers/CrossmintWalletProvider.cjs +1 -1
  146. package/dist/providers/CrossmintWalletProvider.js +1 -1
  147. package/dist/providers/auth/OAuthFlowProvider.cjs +1 -1
  148. package/dist/providers/auth/OAuthFlowProvider.js +1 -1
  149. package/dist/providers/dynamic/DynamicWalletProvider.cjs +1 -1
  150. package/dist/providers/dynamic/DynamicWalletProvider.js +1 -1
  151. package/dist/providers/index.cjs +1 -1
  152. package/dist/providers/index.js +1 -1
  153. package/dist/utils/createCrossmintApiClient.cjs +1 -1
  154. package/dist/utils/createCrossmintApiClient.js +1 -1
  155. package/package.json +8 -8
  156. package/dist/chunk-6CRFVLJC.cjs +0 -1
  157. package/dist/chunk-74WTJ7XP.cjs +0 -1
  158. package/dist/chunk-7LDW7T26.js +0 -1
  159. package/dist/chunk-G6CY6IEP.cjs +0 -1
  160. package/dist/chunk-J2VOPG6G.js +0 -1
  161. package/dist/chunk-M5BYIKPF.cjs +0 -1
  162. package/dist/chunk-N6K4YW2H.js +0 -1
  163. package/dist/chunk-XZJJ2NDY.js +0 -1
  164. /package/dist/{chunk-QI37PBS5.cjs → chunk-2PVYNZP7.cjs} +0 -0
  165. /package/dist/{chunk-J2CHI2A2.cjs → chunk-4M5LNKYM.cjs} +0 -0
  166. /package/dist/{chunk-C2TAQBAD.js → chunk-NTFFCZWX.js} +0 -0
  167. /package/dist/{chunk-5MZTUSMQ.js → chunk-QVXTNSBH.js} +0 -0
@@ -1 +1 @@
1
- import{a}from"../chunk-YCT4ZC7R.js";import"../chunk-J2VOPG6G.js";import"../chunk-N6K4YW2H.js";import"../chunk-PXDN3KFO.js";export{a as createCrossmintApiClient};
1
+ import{a}from"../chunk-ZSON7FCL.js";import"../chunk-6YV5GQCH.js";import"../chunk-DBEB6VII.js";import"../chunk-PXDN3KFO.js";export{a as createCrossmintApiClient};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossmint/client-sdk-react-ui",
3
- "version": "2.6.18",
3
+ "version": "3.0.1",
4
4
  "repository": "https://github.com/Crossmint/crossmint-sdk",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Paella Labs Inc",
@@ -18,7 +18,7 @@
18
18
  "LICENSE"
19
19
  ],
20
20
  "dependencies": {
21
- "@basis-theory-ai/react": "^1.0.1-beta.9",
21
+ "@basis-theory-ai/react": "2.0.0-beta.4",
22
22
  "@dynamic-labs/ethereum": "4.28.0",
23
23
  "@dynamic-labs/sdk-react-core": "4.28.0",
24
24
  "@dynamic-labs/solana": "4.28.0",
@@ -39,14 +39,14 @@
39
39
  "react-transition-group": "4.4.5",
40
40
  "viem": "2.33.1",
41
41
  "zod": "3.22.4",
42
- "@crossmint/client-sdk-auth": "1.2.47",
43
- "@crossmint/client-sdk-react-base": "1.0.2",
44
- "@crossmint/client-sdk-base": "1.7.14",
42
+ "@crossmint/client-sdk-auth": "1.2.49",
43
+ "@crossmint/client-sdk-base": "2.0.1",
44
+ "@crossmint/client-sdk-react-base": "1.0.4",
45
45
  "@crossmint/client-sdk-window": "1.0.9",
46
46
  "@crossmint/client-signers": "0.1.2",
47
- "@crossmint/common-sdk-auth": "1.0.69",
48
- "@crossmint/common-sdk-base": "0.9.17",
49
- "@crossmint/wallets-sdk": "0.19.0"
47
+ "@crossmint/common-sdk-auth": "1.0.71",
48
+ "@crossmint/common-sdk-base": "0.9.19",
49
+ "@crossmint/wallets-sdk": "0.20.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@testing-library/react": "^16.0.1",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var t="2.6.18";var a={name:"@crossmint/client-sdk-react-ui",version:t,repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,type:"module",exports:{import:"./dist/index.js",require:"./dist/index.cjs"},main:"./dist/index.cjs",module:"./dist/index.js",types:"./dist/index.d.ts",files:["dist","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=16384' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=16384' tsup --watch","test:vitest":"vitest run","generate:docs":"typedoc && node scripts/generate-reference.mjs"},dependencies:{"@basis-theory-ai/react":"^1.0.1-beta.9","@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@dynamic-labs/ethereum":"4.28.0","@dynamic-labs/sdk-react-core":"4.28.0","@dynamic-labs/solana":"4.28.0","@dynamic-labs/sui":"4.28.0","@emotion/react":"^11.11.0","@emotion/styled":"11.14.1","@ethersproject/transactions":"5.7.0","@farcaster/auth-kit":"0.6.0","@mysten/sui":"1.24.0","@solana/web3.js":"1.98.1",bs58:"5.0.0",clsx:"2.1.1",color:"4.2.3","input-otp":"1.4.2","lodash.isequal":"4.5.0",ox:"0.6.9","react-jss":"10.10.0","react-transition-group":"4.4.5",viem:"2.33.1",zod:"3.22.4"},devDependencies:{"@testing-library/react":"^16.0.1","@types/color":"4.2.0","@types/lodash.isequal":"4.5.6","@types/react":"^19.1.10","@types/react-dom":"^19.1.0","@types/react-transition-group":"4.4.12","pino-pretty":"^7.6.0",react:"^19.1.0","react-dom":"^19.1.0",typedoc:"0.28.16"},peerDependencies:{"@solana/web3.js":"^1.98.1",react:">=17.0.2","react-dom":">=17.0.2"}};exports.a = t; exports.b = a;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _react = require('@basis-theory-ai/react');var _react3 = require('react');var _jsxruntime = require('react/jsx-runtime');function h(t){return _jsxruntime.jsx.call(void 0, _react.BtAiProvider,{jwt:t.config.btJwt,environment:t.config.environment,children:_jsxruntime.jsx.call(void 0, P,_chunk2WSEHVNPcjs.a.call(void 0, {},t))})}function P({config:t,orderIntent:i,onVerificationComplete:n,onVerificationError:e}){let{verifyPurchaseIntent:o}=_react.useBtAi.call(void 0, ),s=_react3.useCallback.call(void 0, ()=>_chunk2WSEHVNPcjs.d.call(void 0, this,null,function*(){try{let r=yield o(t.btProjectId,i.payment.externalOrderIntentId);n==null||n(r)}catch(r){e==null||e(r)}}),[o,t.btProjectId,i.orderIntentId,n,e]);return _react3.useEffect.call(void 0, ()=>{s()},[s]),null}exports.a = h;
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-YCT4ZC7R.js";import{createPaymentMethodManagementService as g}from"@crossmint/client-sdk-base";import{useCrossmint as u}from"@crossmint/client-sdk-react-base";import{useEffect as i,useRef as y,useState as s}from"react";import{jsx as M}from"react/jsx-runtime";function v(n){let[e,c]=s(null),[d,f]=s(0),a=y(null),{crossmint:h}=u(),l=o(h,{usageOrigin:"client"}),m=g({apiClient:l});return i(()=>{let t=a.current;!t||e||c(m.iframe.createClient(t))},[a.current,e]),i(()=>{if(e!=null)return e.on("ui:height.changed",t=>f(t.height)),e.on("payment-method:selected",t=>{var r;return(r=n.onPaymentMethodSelected)==null?void 0:r.call(n,t)}),e.on("order-intent:created",t=>{var r;(r=n.onOrderIntentCreated)==null||r.call(n,t.orderIntent,t.verificationConfig)}),()=>{e.off("ui:height.changed"),e.off("payment-method:selected"),e.off("order-intent:created")}},[e]),M("iframe",{ref:a,src:m.iframe.getUrl(n),id:"crossmint-payment-method-management.iframe",role:"crossmint-payment-method-management.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:`${d}px`,backgroundColor:"transparent"}})}export{v as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk6CRFVLJCcjs = require('./chunk-6CRFVLJC.cjs');var e=_chunk6CRFVLJCcjs.a;exports.a = e;
@@ -1 +0,0 @@
1
- import{a as o}from"./chunk-N6K4YW2H.js";var i=o;export{i as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkMT7NKXYBcjs = require('./chunk-MT7NKXYB.cjs');var _clientsdkbase = require('@crossmint/client-sdk-base');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _react = require('react');var _jsxruntime = require('react/jsx-runtime');function b(n){let[e,c]=_react.useState.call(void 0, null),[d,f]=_react.useState.call(void 0, 0),a=_react.useRef.call(void 0, null),{crossmint:h}=_clientsdkreactbase.useCrossmint.call(void 0, ),l=_chunkMT7NKXYBcjs.a.call(void 0, h,{usageOrigin:"client"}),m=_clientsdkbase.createPaymentMethodManagementService.call(void 0, {apiClient:l});return _react.useEffect.call(void 0, ()=>{let t=a.current;!t||e||c(m.iframe.createClient(t))},[a.current,e]),_react.useEffect.call(void 0, ()=>{if(e!=null)return e.on("ui:height.changed",t=>f(t.height)),e.on("payment-method:selected",t=>{var r;return(r=n.onPaymentMethodSelected)==null?void 0:r.call(n,t)}),e.on("order-intent:created",t=>{var r;(r=n.onOrderIntentCreated)==null||r.call(n,t.orderIntent,t.verificationConfig)}),()=>{e.off("ui:height.changed"),e.off("payment-method:selected"),e.off("order-intent:created")}},[e]),_jsxruntime.jsx.call(void 0, "iframe",{ref:a,src:m.iframe.getUrl(n),id:"crossmint-payment-method-management.iframe",role:"crossmint-payment-method-management.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:`${d}px`,backgroundColor:"transparent"}})}exports.a = b;
@@ -1 +0,0 @@
1
- var t="2.6.18";var a={name:"@crossmint/client-sdk-react-ui",version:t,repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,type:"module",exports:{import:"./dist/index.js",require:"./dist/index.cjs"},main:"./dist/index.cjs",module:"./dist/index.js",types:"./dist/index.d.ts",files:["dist","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=16384' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=16384' tsup --watch","test:vitest":"vitest run","generate:docs":"typedoc && node scripts/generate-reference.mjs"},dependencies:{"@basis-theory-ai/react":"^1.0.1-beta.9","@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@dynamic-labs/ethereum":"4.28.0","@dynamic-labs/sdk-react-core":"4.28.0","@dynamic-labs/solana":"4.28.0","@dynamic-labs/sui":"4.28.0","@emotion/react":"^11.11.0","@emotion/styled":"11.14.1","@ethersproject/transactions":"5.7.0","@farcaster/auth-kit":"0.6.0","@mysten/sui":"1.24.0","@solana/web3.js":"1.98.1",bs58:"5.0.0",clsx:"2.1.1",color:"4.2.3","input-otp":"1.4.2","lodash.isequal":"4.5.0",ox:"0.6.9","react-jss":"10.10.0","react-transition-group":"4.4.5",viem:"2.33.1",zod:"3.22.4"},devDependencies:{"@testing-library/react":"^16.0.1","@types/color":"4.2.0","@types/lodash.isequal":"4.5.6","@types/react":"^19.1.10","@types/react-dom":"^19.1.0","@types/react-transition-group":"4.4.12","pino-pretty":"^7.6.0",react:"^19.1.0","react-dom":"^19.1.0",typedoc:"0.28.16"},peerDependencies:{"@solana/web3.js":"^1.98.1",react:">=17.0.2","react-dom":">=17.0.2"}};export{t as a,a as b};
@@ -1 +0,0 @@
1
- import{a as d,d as a}from"./chunk-PXDN3KFO.js";import{useBtAi as c,BtAiProvider as f}from"@basis-theory-ai/react";import{useEffect as u,useCallback as y}from"react";import{jsx as I}from"react/jsx-runtime";function b(t){return I(f,{jwt:t.config.btJwt,environment:t.config.environment,children:I(P,d({},t))})}function P({config:t,orderIntent:i,onVerificationComplete:n,onVerificationError:e}){let{verifyPurchaseIntent:o}=c(),s=y(()=>a(this,null,function*(){try{let r=yield o(t.btProjectId,i.payment.externalOrderIntentId);n==null||n(r)}catch(r){e==null||e(r)}}),[o,t.btProjectId,i.orderIntentId,n,e]);return u(()=>{s()},[s]),null}export{b as a};
File without changes
File without changes
File without changes
File without changes