@crossmint/client-sdk-react-native-ui 0.11.8 → 0.11.9

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.
@@ -1 +1 @@
1
- import{c as h}from"./chunk-PCJMDUSI.mjs";import{a as y}from"./chunk-FX23A4BR.mjs";import{a as f}from"./chunk-ELELGKY4.mjs";import{a as p}from"./chunk-KJ6T7UDI.mjs";import{a as d,b as m}from"./chunk-PSSAAY7D.mjs";import{useCrossmint as S}from"@crossmint/client-sdk-react-base";import{useEffect as b,useRef as l,useState as g}from"react";import{View as W}from"react-native";import{crossmintEmbeddedCheckoutV3Service as I}from"@crossmint/client-sdk-base";import{RNWebView as A,WebViewParent as M}from"@crossmint/client-sdk-rn-window";import{embeddedCheckoutV3IncomingEvents as R,embeddedCheckoutV3OutgoingEvents as O}from"@crossmint/client-sdk-base";import{jsx as c,jsxs as L}from"react/jsx-runtime";function Y(t){var u;let[e,w]=g(null),[C,v]=g(0),E=l((u=t.payment.crypto.payer)==null?void 0:u.initialChain),n=l(t);if(U(t,n.current)){let r=d({},t),o=F(t,E.current);o.shouldPreserve&&(r.payment.crypto.payer=o.updatedPayer),n.current=r}let{crossmint:i}=S(),V=f(i,{usageOrigin:"client"}),P=I({apiClient:V}),s=l(null);b(()=>{let r=s.current;if(!r||e)return;let o=new M({current:r},{incomingEvents:R,outgoingEvents:O});w(o)},[s.current,e]),b(()=>{if(e==null)return;let r=a=>v(a.height);e.on("ui:height.changed",r);let o=a=>{p.emit("order:updated",a)};return e.on("order:updated",o),()=>{e.off("ui:height.changed"),e.off("order:updated")}},[e]);let k=r=>{e&&e.handleMessage(r)};return L(W,{style:{flex:1},children:[c(A,{ref:s,globals:i.appId?{crossmintAppId:i.appId}:void 0,source:{uri:P.iframe.getUrl(n.current)},onMessage:k,style:{width:"100%",minWidth:"100%",height:C,backgroundColor:"transparent",overflow:"hidden",opacity:1,padding:0,boxShadow:"none",borderWidth:0,transform:[{translateX:0}]},allowsInlineMediaPlayback:!0,mediaPlaybackRequiresUserAction:!1,allowsBackForwardNavigationGestures:!1,allowsLinkPreview:!1,scrollEnabled:!1,bounces:!1,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,domStorageEnabled:!0,mixedContentMode:"always",allowFileAccess:!0,allowUniversalAccessFromFileURLs:!0,geolocationEnabled:!0,userAgent:h,paymentRequestEnabled:!0}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?c(y,{payer:n.current.payment.crypto.payer,webViewClient:e}):c(H,{message:"If 'payment.crypto.enabled' is true, 'payment.crypto.payer' must be provided. Support for not providing a payer is not yet implemented."}):null]})}function U(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function F(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:m(d({},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}function H({message:t}){throw new Error(t)}export{Y as a};
1
+ import{c as h}from"./chunk-PCJMDUSI.mjs";import{a as y}from"./chunk-FX23A4BR.mjs";import{a as f}from"./chunk-TOXXQNPM.mjs";import{a as p}from"./chunk-KJ6T7UDI.mjs";import{a as d,b as m}from"./chunk-PSSAAY7D.mjs";import{useCrossmint as S}from"@crossmint/client-sdk-react-base";import{useEffect as b,useRef as l,useState as g}from"react";import{View as W}from"react-native";import{crossmintEmbeddedCheckoutV3Service as I}from"@crossmint/client-sdk-base";import{RNWebView as A,WebViewParent as M}from"@crossmint/client-sdk-rn-window";import{embeddedCheckoutV3IncomingEvents as R,embeddedCheckoutV3OutgoingEvents as O}from"@crossmint/client-sdk-base";import{jsx as c,jsxs as L}from"react/jsx-runtime";function Y(t){var u;let[e,w]=g(null),[C,v]=g(0),E=l((u=t.payment.crypto.payer)==null?void 0:u.initialChain),n=l(t);if(U(t,n.current)){let r=d({},t),o=F(t,E.current);o.shouldPreserve&&(r.payment.crypto.payer=o.updatedPayer),n.current=r}let{crossmint:i}=S(),V=f(i,{usageOrigin:"client"}),P=I({apiClient:V}),s=l(null);b(()=>{let r=s.current;if(!r||e)return;let o=new M({current:r},{incomingEvents:R,outgoingEvents:O});w(o)},[s.current,e]),b(()=>{if(e==null)return;let r=a=>v(a.height);e.on("ui:height.changed",r);let o=a=>{p.emit("order:updated",a)};return e.on("order:updated",o),()=>{e.off("ui:height.changed"),e.off("order:updated")}},[e]);let k=r=>{e&&e.handleMessage(r)};return L(W,{style:{flex:1},children:[c(A,{ref:s,globals:i.appId?{crossmintAppId:i.appId}:void 0,source:{uri:P.iframe.getUrl(n.current)},onMessage:k,style:{width:"100%",minWidth:"100%",height:C,backgroundColor:"transparent",overflow:"hidden",opacity:1,padding:0,boxShadow:"none",borderWidth:0,transform:[{translateX:0}]},allowsInlineMediaPlayback:!0,mediaPlaybackRequiresUserAction:!1,allowsBackForwardNavigationGestures:!1,allowsLinkPreview:!1,scrollEnabled:!1,bounces:!1,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,domStorageEnabled:!0,mixedContentMode:"always",allowFileAccess:!0,allowUniversalAccessFromFileURLs:!0,geolocationEnabled:!0,userAgent:h,paymentRequestEnabled:!0}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?c(y,{payer:n.current.payment.crypto.payer,webViewClient:e}):c(H,{message:"If 'payment.crypto.enabled' is true, 'payment.crypto.payer' must be provided. Support for not providing a payer is not yet implemented."}):null]})}function U(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function F(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:m(d({},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}function H({message:t}){throw new Error(t)}export{Y as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-AH5SNDMG.mjs";import{a as e}from"./chunk-PSSAAY7D.mjs";import{jsx as t}from"react/jsx-runtime";function i(d){return t(o,e({},d))}export{i as a};
1
+ import{a as o}from"./chunk-2C6UHDC2.mjs";import{a as e}from"./chunk-PSSAAY7D.mjs";import{jsx as t}from"react/jsx-runtime";function i(d){return t(o,e({},d))}export{i as a};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _commonsdkbase = require('@crossmint/common-sdk-base');var e={name:"@crossmint/client-sdk-react-native-ui",version:"0.11.9",repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,main:"./dist/index.js",module:"./dist/index.mjs",types:"./dist/index.d.ts",files:["dist","app.plugin.js","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch"},dependencies:{"@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-rn-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@solana/web3.js":"1.98.1",bs58:"^5.0.0",mitt:"3.0.1",zod:"3.22.4"},devDependencies:{"@expo/config-plugins":"^9.0.17","@types/react":"19.0.12","expo-constants":"~17.0.8","expo-device":"~7.1.4","expo-secure-store":"~14.0.0","expo-web-browser":"~14.0.2"},peerDependencies:{"@expo/config-plugins":">=9.0.0","expo-constants":">=17 <19","expo-device":">=7 <9","expo-secure-store":">=14 <16","expo-web-browser":">=14 <16","@solana/web3.js":"^1.98.1",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.15.0 <14"}};function p(s,n){return new (0, _commonsdkbase.CrossmintApiClient)(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:n}})}exports.a = p;
@@ -0,0 +1 @@
1
+ import{CrossmintApiClient as i}from"@crossmint/common-sdk-base";var e={name:"@crossmint/client-sdk-react-native-ui",version:"0.11.9",repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,main:"./dist/index.js",module:"./dist/index.mjs",types:"./dist/index.d.ts",files:["dist","app.plugin.js","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch"},dependencies:{"@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-rn-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@solana/web3.js":"1.98.1",bs58:"^5.0.0",mitt:"3.0.1",zod:"3.22.4"},devDependencies:{"@expo/config-plugins":"^9.0.17","@types/react":"19.0.12","expo-constants":"~17.0.8","expo-device":"~7.1.4","expo-secure-store":"~14.0.0","expo-web-browser":"~14.0.2"},peerDependencies:{"@expo/config-plugins":">=9.0.0","expo-constants":">=17 <19","expo-device":">=7 <9","expo-secure-store":">=14 <16","expo-web-browser":">=14 <16","@solana/web3.js":"^1.98.1",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.15.0 <14"}};function d(s,n){return new i(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:n}})}export{d as a};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYQEWHOQ7js = require('./chunk-YQEWHOQ7.js');var _chunkVACQTZRTjs = require('./chunk-VACQTZRT.js');var _chunkKGXTFP5Jjs = require('./chunk-KGXTFP5J.js');var _chunkYDOB26VFjs = require('./chunk-YDOB26VF.js');var _chunkJ42HASCIjs = require('./chunk-J42HASCI.js');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _react = require('react');var _reactnative = require('react-native');var _clientsdkbase = require('@crossmint/client-sdk-base');var _clientsdkrnwindow = require('@crossmint/client-sdk-rn-window');var _jsxruntime = require('react/jsx-runtime');function Q(t){var u;let[e,w]=_react.useState.call(void 0, null),[C,v]=_react.useState.call(void 0, 0),E=_react.useRef.call(void 0, (u=t.payment.crypto.payer)==null?void 0:u.initialChain),n=_react.useRef.call(void 0, t);if(U(t,n.current)){let r=_chunkJ42HASCIjs.a.call(void 0, {},t),o=F(t,E.current);o.shouldPreserve&&(r.payment.crypto.payer=o.updatedPayer),n.current=r}let{crossmint:i}=_clientsdkreactbase.useCrossmint.call(void 0, ),V=_chunkKGXTFP5Jjs.a.call(void 0, i,{usageOrigin:"client"}),P=_clientsdkbase.crossmintEmbeddedCheckoutV3Service.call(void 0, {apiClient:V}),s=_react.useRef.call(void 0, null);_react.useEffect.call(void 0, ()=>{let r=s.current;if(!r||e)return;let o=new (0, _clientsdkrnwindow.WebViewParent)({current:r},{incomingEvents:_clientsdkbase.embeddedCheckoutV3IncomingEvents,outgoingEvents:_clientsdkbase.embeddedCheckoutV3OutgoingEvents});w(o)},[s.current,e]),_react.useEffect.call(void 0, ()=>{if(e==null)return;let r=a=>v(a.height);e.on("ui:height.changed",r);let o=a=>{_chunkYDOB26VFjs.a.emit("order:updated",a)};return e.on("order:updated",o),()=>{e.off("ui:height.changed"),e.off("order:updated")}},[e]);let k=r=>{e&&e.handleMessage(r)};return _jsxruntime.jsxs.call(void 0, _reactnative.View,{style:{flex:1},children:[_jsxruntime.jsx.call(void 0, _clientsdkrnwindow.RNWebView,{ref:s,globals:i.appId?{crossmintAppId:i.appId}:void 0,source:{uri:P.iframe.getUrl(n.current)},onMessage:k,style:{width:"100%",minWidth:"100%",height:C,backgroundColor:"transparent",overflow:"hidden",opacity:1,padding:0,boxShadow:"none",borderWidth:0,transform:[{translateX:0}]},allowsInlineMediaPlayback:!0,mediaPlaybackRequiresUserAction:!1,allowsBackForwardNavigationGestures:!1,allowsLinkPreview:!1,scrollEnabled:!1,bounces:!1,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,domStorageEnabled:!0,mixedContentMode:"always",allowFileAccess:!0,allowUniversalAccessFromFileURLs:!0,geolocationEnabled:!0,userAgent:_chunkYQEWHOQ7js.c,paymentRequestEnabled:!0}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?_jsxruntime.jsx.call(void 0, _chunkVACQTZRTjs.a,{payer:n.current.payment.crypto.payer,webViewClient:e}):_jsxruntime.jsx.call(void 0, H,{message:"If 'payment.crypto.enabled' is true, 'payment.crypto.payer' must be provided. Support for not providing a payer is not yet implemented."}):null]})}function U(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function F(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:_chunkJ42HASCIjs.b.call(void 0, _chunkJ42HASCIjs.a.call(void 0, {},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}function H({message:t}){throw new Error(t)}exports.a = Q;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYQEWHOQ7js = require('./chunk-YQEWHOQ7.js');var _chunkVACQTZRTjs = require('./chunk-VACQTZRT.js');var _chunkQSBTAUGLjs = require('./chunk-QSBTAUGL.js');var _chunkYDOB26VFjs = require('./chunk-YDOB26VF.js');var _chunkJ42HASCIjs = require('./chunk-J42HASCI.js');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _react = require('react');var _reactnative = require('react-native');var _clientsdkbase = require('@crossmint/client-sdk-base');var _clientsdkrnwindow = require('@crossmint/client-sdk-rn-window');var _jsxruntime = require('react/jsx-runtime');function Q(t){var u;let[e,w]=_react.useState.call(void 0, null),[C,v]=_react.useState.call(void 0, 0),E=_react.useRef.call(void 0, (u=t.payment.crypto.payer)==null?void 0:u.initialChain),n=_react.useRef.call(void 0, t);if(U(t,n.current)){let r=_chunkJ42HASCIjs.a.call(void 0, {},t),o=F(t,E.current);o.shouldPreserve&&(r.payment.crypto.payer=o.updatedPayer),n.current=r}let{crossmint:i}=_clientsdkreactbase.useCrossmint.call(void 0, ),V=_chunkQSBTAUGLjs.a.call(void 0, i,{usageOrigin:"client"}),P=_clientsdkbase.crossmintEmbeddedCheckoutV3Service.call(void 0, {apiClient:V}),s=_react.useRef.call(void 0, null);_react.useEffect.call(void 0, ()=>{let r=s.current;if(!r||e)return;let o=new (0, _clientsdkrnwindow.WebViewParent)({current:r},{incomingEvents:_clientsdkbase.embeddedCheckoutV3IncomingEvents,outgoingEvents:_clientsdkbase.embeddedCheckoutV3OutgoingEvents});w(o)},[s.current,e]),_react.useEffect.call(void 0, ()=>{if(e==null)return;let r=a=>v(a.height);e.on("ui:height.changed",r);let o=a=>{_chunkYDOB26VFjs.a.emit("order:updated",a)};return e.on("order:updated",o),()=>{e.off("ui:height.changed"),e.off("order:updated")}},[e]);let k=r=>{e&&e.handleMessage(r)};return _jsxruntime.jsxs.call(void 0, _reactnative.View,{style:{flex:1},children:[_jsxruntime.jsx.call(void 0, _clientsdkrnwindow.RNWebView,{ref:s,globals:i.appId?{crossmintAppId:i.appId}:void 0,source:{uri:P.iframe.getUrl(n.current)},onMessage:k,style:{width:"100%",minWidth:"100%",height:C,backgroundColor:"transparent",overflow:"hidden",opacity:1,padding:0,boxShadow:"none",borderWidth:0,transform:[{translateX:0}]},allowsInlineMediaPlayback:!0,mediaPlaybackRequiresUserAction:!1,allowsBackForwardNavigationGestures:!1,allowsLinkPreview:!1,scrollEnabled:!1,bounces:!1,showsHorizontalScrollIndicator:!1,showsVerticalScrollIndicator:!1,domStorageEnabled:!0,mixedContentMode:"always",allowFileAccess:!0,allowUniversalAccessFromFileURLs:!0,geolocationEnabled:!0,userAgent:_chunkYQEWHOQ7js.c,paymentRequestEnabled:!0}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?_jsxruntime.jsx.call(void 0, _chunkVACQTZRTjs.a,{payer:n.current.payment.crypto.payer,webViewClient:e}):_jsxruntime.jsx.call(void 0, H,{message:"If 'payment.crypto.enabled' is true, 'payment.crypto.payer' must be provided. Support for not providing a payer is not yet implemented."}):null]})}function U(t,e){return JSON.stringify(t)!==JSON.stringify(e)}function F(t,e){return t.payment.crypto.payer&&e!=null?{shouldPreserve:!0,updatedPayer:_chunkJ42HASCIjs.b.call(void 0, _chunkJ42HASCIjs.a.call(void 0, {},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}function H({message:t}){throw new Error(t)}exports.a = Q;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUPVCKPF3js = require('./chunk-UPVCKPF3.js');var _chunkJ42HASCIjs = require('./chunk-J42HASCI.js');var _jsxruntime = require('react/jsx-runtime');function s(d){return _jsxruntime.jsx.call(void 0, _chunkUPVCKPF3js.a,_chunkJ42HASCIjs.a.call(void 0, {},d))}exports.a = s;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkV4C7CBPMjs = require('./chunk-V4C7CBPM.js');var _chunkJ42HASCIjs = require('./chunk-J42HASCI.js');var _jsxruntime = require('react/jsx-runtime');function s(d){return _jsxruntime.jsx.call(void 0, _chunkV4C7CBPMjs.a,_chunkJ42HASCIjs.a.call(void 0, {},d))}exports.a = s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-DKQZSNOO.js');require('../../chunk-72MMCJ2E.js');var _chunkUIR4CALRjs = require('../../chunk-UIR4CALR.js');require('../../chunk-UPVCKPF3.js');require('../../chunk-YQEWHOQ7.js');require('../../chunk-VACQTZRT.js');require('../../chunk-KGXTFP5J.js');require('../../chunk-YDOB26VF.js');require('../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkUIR4CALRjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-DKQZSNOO.js');require('../../chunk-72MMCJ2E.js');var _chunkZEC5ILJMjs = require('../../chunk-ZEC5ILJM.js');require('../../chunk-V4C7CBPM.js');require('../../chunk-YQEWHOQ7.js');require('../../chunk-VACQTZRT.js');require('../../chunk-QSBTAUGL.js');require('../../chunk-YDOB26VF.js');require('../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkZEC5ILJMjs.a;
@@ -1 +1 @@
1
- import"../../chunk-TIQGKXQA.mjs";import"../../chunk-MB7H3PBJ.mjs";import{a}from"../../chunk-7HXGXQYP.mjs";import"../../chunk-AH5SNDMG.mjs";import"../../chunk-PCJMDUSI.mjs";import"../../chunk-FX23A4BR.mjs";import"../../chunk-ELELGKY4.mjs";import"../../chunk-KJ6T7UDI.mjs";import"../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
1
+ import"../../chunk-TIQGKXQA.mjs";import"../../chunk-MB7H3PBJ.mjs";import{a}from"../../chunk-3YLTXHR7.mjs";import"../../chunk-2C6UHDC2.mjs";import"../../chunk-PCJMDUSI.mjs";import"../../chunk-FX23A4BR.mjs";import"../../chunk-TOXXQNPM.mjs";import"../../chunk-KJ6T7UDI.mjs";import"../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUIR4CALRjs = require('../../../chunk-UIR4CALR.js');require('../../../chunk-UPVCKPF3.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-KGXTFP5J.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkUIR4CALRjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZEC5ILJMjs = require('../../../chunk-ZEC5ILJM.js');require('../../../chunk-V4C7CBPM.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-QSBTAUGL.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkZEC5ILJMjs.a;
@@ -1 +1 @@
1
- import{a}from"../../../chunk-7HXGXQYP.mjs";import"../../../chunk-AH5SNDMG.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-ELELGKY4.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
1
+ import{a}from"../../../chunk-3YLTXHR7.mjs";import"../../../chunk-2C6UHDC2.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-TOXXQNPM.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUPVCKPF3js = require('../../../chunk-UPVCKPF3.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-KGXTFP5J.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.EmbeddedCheckoutV3WebView = _chunkUPVCKPF3js.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkV4C7CBPMjs = require('../../../chunk-V4C7CBPM.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-QSBTAUGL.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.EmbeddedCheckoutV3WebView = _chunkV4C7CBPMjs.a;
@@ -1 +1 @@
1
- import{a}from"../../../chunk-AH5SNDMG.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-ELELGKY4.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as EmbeddedCheckoutV3WebView};
1
+ import{a}from"../../../chunk-2C6UHDC2.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-TOXXQNPM.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as EmbeddedCheckoutV3WebView};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-72MMCJ2E.js');var _chunkUIR4CALRjs = require('../../../chunk-UIR4CALR.js');require('../../../chunk-UPVCKPF3.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-KGXTFP5J.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkUIR4CALRjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-72MMCJ2E.js');var _chunkZEC5ILJMjs = require('../../../chunk-ZEC5ILJM.js');require('../../../chunk-V4C7CBPM.js');require('../../../chunk-YQEWHOQ7.js');require('../../../chunk-VACQTZRT.js');require('../../../chunk-QSBTAUGL.js');require('../../../chunk-YDOB26VF.js');require('../../../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkZEC5ILJMjs.a;
@@ -1 +1 @@
1
- import"../../../chunk-MB7H3PBJ.mjs";import{a}from"../../../chunk-7HXGXQYP.mjs";import"../../../chunk-AH5SNDMG.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-ELELGKY4.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
1
+ import"../../../chunk-MB7H3PBJ.mjs";import{a}from"../../../chunk-3YLTXHR7.mjs";import"../../../chunk-2C6UHDC2.mjs";import"../../../chunk-PCJMDUSI.mjs";import"../../../chunk-FX23A4BR.mjs";import"../../../chunk-TOXXQNPM.mjs";import"../../../chunk-KJ6T7UDI.mjs";import"../../../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-4E5HWFBN.js');require('../chunk-DKQZSNOO.js');require('../chunk-72MMCJ2E.js');var _chunkUIR4CALRjs = require('../chunk-UIR4CALR.js');require('../chunk-UPVCKPF3.js');require('../chunk-YQEWHOQ7.js');require('../chunk-VACQTZRT.js');require('../chunk-KGXTFP5J.js');require('../chunk-YDOB26VF.js');require('../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkUIR4CALRjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-4E5HWFBN.js');require('../chunk-DKQZSNOO.js');require('../chunk-72MMCJ2E.js');var _chunkZEC5ILJMjs = require('../chunk-ZEC5ILJM.js');require('../chunk-V4C7CBPM.js');require('../chunk-YQEWHOQ7.js');require('../chunk-VACQTZRT.js');require('../chunk-QSBTAUGL.js');require('../chunk-YDOB26VF.js');require('../chunk-J42HASCI.js');exports.CrossmintEmbeddedCheckout = _chunkZEC5ILJMjs.a;
@@ -1 +1 @@
1
- import"../chunk-LOAQAUJB.mjs";import"../chunk-TIQGKXQA.mjs";import"../chunk-MB7H3PBJ.mjs";import{a}from"../chunk-7HXGXQYP.mjs";import"../chunk-AH5SNDMG.mjs";import"../chunk-PCJMDUSI.mjs";import"../chunk-FX23A4BR.mjs";import"../chunk-ELELGKY4.mjs";import"../chunk-KJ6T7UDI.mjs";import"../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
1
+ import"../chunk-LOAQAUJB.mjs";import"../chunk-TIQGKXQA.mjs";import"../chunk-MB7H3PBJ.mjs";import{a}from"../chunk-3YLTXHR7.mjs";import"../chunk-2C6UHDC2.mjs";import"../chunk-PCJMDUSI.mjs";import"../chunk-FX23A4BR.mjs";import"../chunk-TOXXQNPM.mjs";import"../chunk-KJ6T7UDI.mjs";import"../chunk-PSSAAY7D.mjs";export{a as CrossmintEmbeddedCheckout};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C62HRWJA.js');var _chunkO5JUQOMAjs = require('./chunk-O5JUQOMA.js');require('./chunk-4E5HWFBN.js');require('./chunk-DKQZSNOO.js');require('./chunk-72MMCJ2E.js');var _chunkUIR4CALRjs = require('./chunk-UIR4CALR.js');require('./chunk-UPVCKPF3.js');require('./chunk-YQEWHOQ7.js');require('./chunk-VACQTZRT.js');require('./chunk-KGXTFP5J.js');var _chunk6P37H6S3js = require('./chunk-6P37H6S3.js');require('./chunk-SHTETN4C.js');var _chunk6VBCF5JXjs = require('./chunk-6VBCF5JX.js');require('./chunk-YDOB26VF.js');require('./chunk-J42HASCI.js');var _walletssdk = require('@crossmint/wallets-sdk');exports.CrossmintAuthProvider = _chunk6P37H6S3js.e; exports.CrossmintCheckoutProvider = _chunk6VBCF5JXjs.a; exports.CrossmintEmbeddedCheckout = _chunkUIR4CALRjs.a; exports.CrossmintProvider = _chunkO5JUQOMAjs.a; exports.CrossmintWalletProvider = _chunk6P37H6S3js.b; exports.EVMWallet = _walletssdk.EVMWallet; exports.SolanaWallet = _walletssdk.SolanaWallet; exports.Wallet = _walletssdk.Wallet; exports.useAuth = _chunk6P37H6S3js.g; exports.useCrossmint = _chunk6P37H6S3js.h; exports.useCrossmintAuth = _chunk6P37H6S3js.f; exports.useCrossmintCheckout = _chunk6VBCF5JXjs.b; exports.useWallet = _chunk6P37H6S3js.i; exports.useWalletEmailSigner = _chunk6P37H6S3js.c;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C62HRWJA.js');var _chunkO5JUQOMAjs = require('./chunk-O5JUQOMA.js');require('./chunk-4E5HWFBN.js');require('./chunk-DKQZSNOO.js');require('./chunk-72MMCJ2E.js');var _chunkZEC5ILJMjs = require('./chunk-ZEC5ILJM.js');require('./chunk-V4C7CBPM.js');require('./chunk-YQEWHOQ7.js');require('./chunk-VACQTZRT.js');require('./chunk-QSBTAUGL.js');var _chunk6P37H6S3js = require('./chunk-6P37H6S3.js');require('./chunk-SHTETN4C.js');var _chunk6VBCF5JXjs = require('./chunk-6VBCF5JX.js');require('./chunk-YDOB26VF.js');require('./chunk-J42HASCI.js');var _walletssdk = require('@crossmint/wallets-sdk');exports.CrossmintAuthProvider = _chunk6P37H6S3js.e; exports.CrossmintCheckoutProvider = _chunk6VBCF5JXjs.a; exports.CrossmintEmbeddedCheckout = _chunkZEC5ILJMjs.a; exports.CrossmintProvider = _chunkO5JUQOMAjs.a; exports.CrossmintWalletProvider = _chunk6P37H6S3js.b; exports.EVMWallet = _walletssdk.EVMWallet; exports.SolanaWallet = _walletssdk.SolanaWallet; exports.Wallet = _walletssdk.Wallet; exports.useAuth = _chunk6P37H6S3js.g; exports.useCrossmint = _chunk6P37H6S3js.h; exports.useCrossmintAuth = _chunk6P37H6S3js.f; exports.useCrossmintCheckout = _chunk6VBCF5JXjs.b; exports.useWallet = _chunk6P37H6S3js.i; exports.useWalletEmailSigner = _chunk6P37H6S3js.c;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import"./chunk-I3QSTPTV.mjs";import{a as m}from"./chunk-RQOORLYR.mjs";import"./chunk-LOAQAUJB.mjs";import"./chunk-TIQGKXQA.mjs";import"./chunk-MB7H3PBJ.mjs";import{a as l}from"./chunk-7HXGXQYP.mjs";import"./chunk-AH5SNDMG.mjs";import"./chunk-PCJMDUSI.mjs";import"./chunk-FX23A4BR.mjs";import"./chunk-ELELGKY4.mjs";import{b as t,c as e,e as a,f as n,g as p,h as s,i}from"./chunk-2VHW3TQ4.mjs";import"./chunk-ZCKUSOGC.mjs";import{a as r,b as o}from"./chunk-5CF7XVIO.mjs";import"./chunk-KJ6T7UDI.mjs";import"./chunk-PSSAAY7D.mjs";import{EVMWallet as g,SolanaWallet as h,Wallet as u}from"@crossmint/wallets-sdk";export{a as CrossmintAuthProvider,r as CrossmintCheckoutProvider,l as CrossmintEmbeddedCheckout,m as CrossmintProvider,t as CrossmintWalletProvider,g as EVMWallet,h as SolanaWallet,u as Wallet,p as useAuth,s as useCrossmint,n as useCrossmintAuth,o as useCrossmintCheckout,i as useWallet,e as useWalletEmailSigner};
1
+ import"./chunk-I3QSTPTV.mjs";import{a as m}from"./chunk-RQOORLYR.mjs";import"./chunk-LOAQAUJB.mjs";import"./chunk-TIQGKXQA.mjs";import"./chunk-MB7H3PBJ.mjs";import{a as l}from"./chunk-3YLTXHR7.mjs";import"./chunk-2C6UHDC2.mjs";import"./chunk-PCJMDUSI.mjs";import"./chunk-FX23A4BR.mjs";import"./chunk-TOXXQNPM.mjs";import{b as t,c as e,e as a,f as n,g as p,h as s,i}from"./chunk-2VHW3TQ4.mjs";import"./chunk-ZCKUSOGC.mjs";import{a as r,b as o}from"./chunk-5CF7XVIO.mjs";import"./chunk-KJ6T7UDI.mjs";import"./chunk-PSSAAY7D.mjs";import{EVMWallet as g,SolanaWallet as h,Wallet as u}from"@crossmint/wallets-sdk";export{a as CrossmintAuthProvider,r as CrossmintCheckoutProvider,l as CrossmintEmbeddedCheckout,m as CrossmintProvider,t as CrossmintWalletProvider,g as EVMWallet,h as SolanaWallet,u as Wallet,p as useAuth,s as useCrossmint,n as useCrossmintAuth,o as useCrossmintCheckout,i as useWallet,e as useWalletEmailSigner};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKGXTFP5Jjs = require('../chunk-KGXTFP5J.js');require('../chunk-J42HASCI.js');exports.createCrossmintApiClient = _chunkKGXTFP5Jjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQSBTAUGLjs = require('../chunk-QSBTAUGL.js');require('../chunk-J42HASCI.js');exports.createCrossmintApiClient = _chunkQSBTAUGLjs.a;
@@ -1 +1 @@
1
- import{a}from"../chunk-ELELGKY4.mjs";import"../chunk-PSSAAY7D.mjs";export{a as createCrossmintApiClient};
1
+ import{a}from"../chunk-TOXXQNPM.mjs";import"../chunk-PSSAAY7D.mjs";export{a as createCrossmintApiClient};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossmint/client-sdk-react-native-ui",
3
- "version": "0.11.8",
3
+ "version": "0.11.9",
4
4
  "repository": "https://github.com/Crossmint/crossmint-sdk",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Paella Labs Inc",
@@ -16,27 +16,31 @@
16
16
  "dependencies": {
17
17
  "@solana/web3.js": "1.98.1",
18
18
  "bs58": "^5.0.0",
19
- "expo-constants": "~17.0.8",
20
- "expo-device": "~7.1.4",
21
- "expo-secure-store": "~14.0.0",
22
- "expo-web-browser": "~14.0.2",
23
19
  "mitt": "3.0.1",
24
20
  "zod": "3.22.4",
25
21
  "@crossmint/client-sdk-auth": "1.2.34",
26
22
  "@crossmint/client-sdk-base": "1.7.1",
27
- "@crossmint/client-sdk-react-base": "0.6.5",
28
- "@crossmint/client-sdk-rn-window": "0.3.8",
23
+ "@crossmint/client-sdk-react-base": "0.6.6",
29
24
  "@crossmint/common-sdk-auth": "1.0.56",
30
- "@crossmint/client-signers": "0.0.20",
31
25
  "@crossmint/common-sdk-base": "0.9.6",
32
- "@crossmint/wallets-sdk": "0.15.1"
26
+ "@crossmint/client-sdk-rn-window": "0.3.9",
27
+ "@crossmint/client-signers": "0.0.20",
28
+ "@crossmint/wallets-sdk": "0.16.0"
33
29
  },
34
30
  "devDependencies": {
35
31
  "@expo/config-plugins": "^9.0.17",
36
- "@types/react": "19.0.12"
32
+ "@types/react": "19.0.12",
33
+ "expo-constants": "~17.0.8",
34
+ "expo-device": "~7.1.4",
35
+ "expo-secure-store": "~14.0.0",
36
+ "expo-web-browser": "~14.0.2"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@expo/config-plugins": ">=9.0.0",
40
+ "expo-constants": ">=17 <19",
41
+ "expo-device": ">=7 <9",
42
+ "expo-secure-store": ">=14 <16",
43
+ "expo-web-browser": ">=14 <16",
40
44
  "@solana/web3.js": "^1.98.1",
41
45
  "react": ">=17.0.2",
42
46
  "react-native": ">=0.74.3",
@@ -1 +0,0 @@
1
- import{CrossmintApiClient as t}from"@crossmint/common-sdk-base";var s={name:"@crossmint/client-sdk-react-native-ui",version:"0.11.8",repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,main:"./dist/index.js",module:"./dist/index.mjs",types:"./dist/index.d.ts",files:["dist","app.plugin.js","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch"},dependencies:{"@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-rn-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@solana/web3.js":"1.98.1",bs58:"^5.0.0","expo-constants":"~17.0.8","expo-device":"~7.1.4","expo-secure-store":"~14.0.0","expo-web-browser":"~14.0.2",mitt:"3.0.1",zod:"3.22.4"},devDependencies:{"@expo/config-plugins":"^9.0.17","@types/react":"19.0.12"},peerDependencies:{"@expo/config-plugins":">=9.0.0","@solana/web3.js":"^1.98.1",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.15.0 <14"}};function m(e,i){return new t(e,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:s.version},apiKeyExpectations:i}})}export{m as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _commonsdkbase = require('@crossmint/common-sdk-base');var s={name:"@crossmint/client-sdk-react-native-ui",version:"0.11.8",repository:"https://github.com/Crossmint/crossmint-sdk",license:"Apache-2.0",author:"Paella Labs Inc",sideEffects:!1,main:"./dist/index.js",module:"./dist/index.mjs",types:"./dist/index.d.ts",files:["dist","app.plugin.js","LICENSE"],scripts:{build:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup",dev:"cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup --watch"},dependencies:{"@crossmint/client-sdk-auth":"workspace:*","@crossmint/client-sdk-base":"workspace:*","@crossmint/client-sdk-react-base":"workspace:*","@crossmint/client-sdk-rn-window":"workspace:*","@crossmint/client-signers":"workspace:*","@crossmint/common-sdk-auth":"workspace:*","@crossmint/common-sdk-base":"workspace:*","@crossmint/wallets-sdk":"workspace:*","@solana/web3.js":"1.98.1",bs58:"^5.0.0","expo-constants":"~17.0.8","expo-device":"~7.1.4","expo-secure-store":"~14.0.0","expo-web-browser":"~14.0.2",mitt:"3.0.1",zod:"3.22.4"},devDependencies:{"@expo/config-plugins":"^9.0.17","@types/react":"19.0.12"},peerDependencies:{"@expo/config-plugins":">=9.0.0","@solana/web3.js":"^1.98.1",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.15.0 <14"}};function p(e,i){return new (0, _commonsdkbase.CrossmintApiClient)(e,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:s.version},apiKeyExpectations:i}})}exports.a = p;