@crossmint/client-sdk-react-native-ui 0.9.9 → 0.10.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/app.plugin.cjs +1 -0
- package/dist/chunk-A4J7DPJL.cjs +1 -0
- package/dist/chunk-AJIYDMZN.js +1 -0
- package/dist/{chunk-3MXRZUWB.js → chunk-C5E3RREZ.js} +1 -1
- package/dist/{chunk-TJRVKZKB.cjs → chunk-DODIITSS.cjs} +1 -1
- package/dist/chunk-F7CKGWIS.js +1 -0
- package/dist/{chunk-5D2ODNMI.js → chunk-JTFZK3F4.js} +1 -1
- package/dist/chunk-KDXZKBIY.cjs +1 -0
- package/dist/chunk-NHMMB6LH.cjs +1 -0
- package/dist/{chunk-PELFTZSI.cjs → chunk-U2AH3HW6.cjs} +1 -1
- package/dist/chunk-YTICD5E3.js +0 -0
- package/dist/components/embed/index.cjs +1 -1
- 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/EmbeddedCheckoutV3WebView.cjs +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3WebView.js +1 -1
- package/dist/components/embed/v3/index.cjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/plugins/index.cjs +1 -0
- package/dist/plugins/index.d.cts +2 -0
- package/dist/plugins/index.d.ts +2 -0
- package/dist/plugins/index.js +1 -0
- package/dist/plugins/withGooglePay.cjs +1 -0
- package/dist/plugins/withGooglePay.d.cts +8 -0
- package/dist/plugins/withGooglePay.d.ts +8 -0
- package/dist/plugins/withGooglePay.js +1 -0
- 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 -6
- package/dist/chunk-LSN35NPE.cjs +0 -1
- package/dist/chunk-Z3OPDAHS.js +0 -1
package/app.plugin.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./dist/plugins/withGooglePay.cjs");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _configplugins = require('@expo/config-plugins');var b=(t,u={})=>u.enableGooglePay?_configplugins.withAndroidManifest.call(void 0, t,o=>{var r,m;let n=o.modResults,a=(m=(r=n==null?void 0:n.manifest)==null?void 0:r.application)==null?void 0:m[0];if(!a)throw new Error("Unable to find main application in AndroidManifest.xml");a["meta-data"]||(a["meta-data"]=[]);let P={$:{"android:name":"com.google.android.gms.wallet.api.enabled","android:value":"true"}};return a["meta-data"].find(e=>{var i;return((i=e.$)==null?void 0:i["android:name"])==="com.google.android.gms.wallet.api.enabled"})||a["meta-data"].push(P),n.manifest.queries||(n.manifest.queries=[]),[{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.PAY"}}]}]},{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.IS_READY_TO_PAY"}}]}]},{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.UPDATE_PAYMENT_DETAILS"}}]}]}].forEach(e=>{let i=e.intent[0].action[0].$["android:name"];n.manifest.queries.find(f=>{var s,d,l,g,c;return((c=(g=(l=(d=(s=f.intent)==null?void 0:s[0])==null?void 0:d.action)==null?void 0:l[0])==null?void 0:g.$)==null?void 0:c["android:name"])===i})||n.manifest.queries.push(e)}),o}):t;exports.a = b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CrossmintApiClient as n}from"@crossmint/common-sdk-base";var e={name:"@crossmint/client-sdk-react-native-ui",version:"0.10.0",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","app.plugin.cjs","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",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.13.5 <13.15.0"}};function d(s,i){return new n(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:i}})}export{d as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as h}from"./chunk-ACAYDFCT.js";import{a as y}from"./chunk-Z2IVCF7R.js";import{a as f}from"./chunk-AJIYDMZN.js";import{a as p}from"./chunk-3MAEL2N6.js";import{a as d,b as m}from"./chunk-PXDN3KFO.js";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 O,embeddedCheckoutV3OutgoingEvents as R}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:O,outgoingEvents:R});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}),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
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEML72AUFcjs = require('./chunk-EML72AUF.cjs');var _chunkWUK4Q4HGcjs = require('./chunk-WUK4Q4HG.cjs');var _chunkKDXZKBIYcjs = require('./chunk-KDXZKBIY.cjs');var _chunkATELCOA4cjs = require('./chunk-ATELCOA4.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');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=_chunk2WSEHVNPcjs.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=_chunkKDXZKBIYcjs.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=>{_chunkATELCOA4cjs.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:_chunkEML72AUFcjs.c}),n.current.payment.crypto.enabled?n.current.payment.crypto.payer!=null?_jsxruntime.jsx.call(void 0, _chunkWUK4Q4HGcjs.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:_chunk2WSEHVNPcjs.b.call(void 0, _chunk2WSEHVNPcjs.a.call(void 0, {},t.payment.crypto.payer),{initialChain:e})}:{shouldPreserve:!1}}function H({message:t}){throw new Error(t)}exports.a = Q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{withAndroidManifest as p}from"@expo/config-plugins";var w=(t,u={})=>u.enableGooglePay?p(t,o=>{var r,m;let n=o.modResults,a=(m=(r=n==null?void 0:n.manifest)==null?void 0:r.application)==null?void 0:m[0];if(!a)throw new Error("Unable to find main application in AndroidManifest.xml");a["meta-data"]||(a["meta-data"]=[]);let P={$:{"android:name":"com.google.android.gms.wallet.api.enabled","android:value":"true"}};return a["meta-data"].find(e=>{var i;return((i=e.$)==null?void 0:i["android:name"])==="com.google.android.gms.wallet.api.enabled"})||a["meta-data"].push(P),n.manifest.queries||(n.manifest.queries=[]),[{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.PAY"}}]}]},{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.IS_READY_TO_PAY"}}]}]},{intent:[{action:[{$:{"android:name":"org.chromium.intent.action.UPDATE_PAYMENT_DETAILS"}}]}]}].forEach(e=>{let i=e.intent[0].action[0].$["android:name"];n.manifest.queries.find(f=>{var s,d,l,g,c;return((c=(g=(l=(d=(s=f.intent)==null?void 0:s[0])==null?void 0:d.action)==null?void 0:l[0])==null?void 0:g.$)==null?void 0:c["android:name"])===i})||n.manifest.queries.push(e)}),o}):t;export{w as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-C5E3RREZ.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
|
+
"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.10.0",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","app.plugin.cjs","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",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.13.5 <13.15.0"}};function p(s,i){return new (0, _commonsdkbase.CrossmintApiClient)(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:i}})}exports.a = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDODIITSScjs = require('./chunk-DODIITSS.cjs');var _chunk2WSEHVNPcjs = require('./chunk-2WSEHVNP.cjs');var _jsxruntime = require('react/jsx-runtime');function s(d){return _jsxruntime.jsx.call(void 0, _chunkDODIITSScjs.a,_chunk2WSEHVNPcjs.a.call(void 0, {},d))}exports.a = s;
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-GMML4EMB.cjs');require('../../chunk-2VQLMU5A.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-GMML4EMB.cjs');require('../../chunk-2VQLMU5A.cjs');var _chunkU2AH3HW6cjs = require('../../chunk-U2AH3HW6.cjs');require('../../chunk-DODIITSS.cjs');require('../../chunk-EML72AUF.cjs');require('../../chunk-WUK4Q4HG.cjs');require('../../chunk-KDXZKBIY.cjs');require('../../chunk-ATELCOA4.cjs');require('../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkU2AH3HW6cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-DKQZSNOO.js";import"../../chunk-72MMCJ2E.js";import{a}from"../../chunk-
|
|
1
|
+
import"../../chunk-DKQZSNOO.js";import"../../chunk-72MMCJ2E.js";import{a}from"../../chunk-JTFZK3F4.js";import"../../chunk-C5E3RREZ.js";import"../../chunk-ACAYDFCT.js";import"../../chunk-Z2IVCF7R.js";import"../../chunk-AJIYDMZN.js";import"../../chunk-3MAEL2N6.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 _chunkU2AH3HW6cjs = require('../../../chunk-U2AH3HW6.cjs');require('../../../chunk-DODIITSS.cjs');require('../../../chunk-EML72AUF.cjs');require('../../../chunk-WUK4Q4HG.cjs');require('../../../chunk-KDXZKBIY.cjs');require('../../../chunk-ATELCOA4.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkU2AH3HW6cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-JTFZK3F4.js";import"../../../chunk-C5E3RREZ.js";import"../../../chunk-ACAYDFCT.js";import"../../../chunk-Z2IVCF7R.js";import"../../../chunk-AJIYDMZN.js";import"../../../chunk-3MAEL2N6.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 _chunkDODIITSScjs = require('../../../chunk-DODIITSS.cjs');require('../../../chunk-EML72AUF.cjs');require('../../../chunk-WUK4Q4HG.cjs');require('../../../chunk-KDXZKBIY.cjs');require('../../../chunk-ATELCOA4.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.EmbeddedCheckoutV3WebView = _chunkDODIITSScjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-C5E3RREZ.js";import"../../../chunk-ACAYDFCT.js";import"../../../chunk-Z2IVCF7R.js";import"../../../chunk-AJIYDMZN.js";import"../../../chunk-3MAEL2N6.js";import"../../../chunk-PXDN3KFO.js";export{a as EmbeddedCheckoutV3WebView};
|
|
@@ -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 _chunkU2AH3HW6cjs = require('../../../chunk-U2AH3HW6.cjs');require('../../../chunk-DODIITSS.cjs');require('../../../chunk-EML72AUF.cjs');require('../../../chunk-WUK4Q4HG.cjs');require('../../../chunk-KDXZKBIY.cjs');require('../../../chunk-ATELCOA4.cjs');require('../../../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkU2AH3HW6cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../chunk-72MMCJ2E.js";import{a}from"../../../chunk-
|
|
1
|
+
import"../../../chunk-72MMCJ2E.js";import{a}from"../../../chunk-JTFZK3F4.js";import"../../../chunk-C5E3RREZ.js";import"../../../chunk-ACAYDFCT.js";import"../../../chunk-Z2IVCF7R.js";import"../../../chunk-AJIYDMZN.js";import"../../../chunk-3MAEL2N6.js";import"../../../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XHW5MUJ6.cjs');require('../chunk-GMML4EMB.cjs');require('../chunk-2VQLMU5A.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-XHW5MUJ6.cjs');require('../chunk-GMML4EMB.cjs');require('../chunk-2VQLMU5A.cjs');var _chunkU2AH3HW6cjs = require('../chunk-U2AH3HW6.cjs');require('../chunk-DODIITSS.cjs');require('../chunk-EML72AUF.cjs');require('../chunk-WUK4Q4HG.cjs');require('../chunk-KDXZKBIY.cjs');require('../chunk-ATELCOA4.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintEmbeddedCheckout = _chunkU2AH3HW6cjs.a;
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-4E5HWFBN.js";import"../chunk-DKQZSNOO.js";import"../chunk-72MMCJ2E.js";import{a}from"../chunk-
|
|
1
|
+
import"../chunk-4E5HWFBN.js";import"../chunk-DKQZSNOO.js";import"../chunk-72MMCJ2E.js";import{a}from"../chunk-JTFZK3F4.js";import"../chunk-C5E3RREZ.js";import"../chunk-ACAYDFCT.js";import"../chunk-Z2IVCF7R.js";import"../chunk-AJIYDMZN.js";import"../chunk-3MAEL2N6.js";import"../chunk-PXDN3KFO.js";export{a as CrossmintEmbeddedCheckout};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZR6BLDCD.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZR6BLDCD.cjs');var _chunkTZTLU3KKcjs = require('./chunk-TZTLU3KK.cjs');var _chunkYBYUZ7SKcjs = require('./chunk-YBYUZ7SK.cjs');var _chunkEFKMIJMEcjs = require('./chunk-EFKMIJME.cjs');require('./chunk-K754GXKD.cjs');var _chunkSUVFA3WHcjs = require('./chunk-SUVFA3WH.cjs');require('./chunk-XHW5MUJ6.cjs');require('./chunk-GMML4EMB.cjs');require('./chunk-2VQLMU5A.cjs');var _chunkU2AH3HW6cjs = require('./chunk-U2AH3HW6.cjs');require('./chunk-DODIITSS.cjs');require('./chunk-EML72AUF.cjs');require('./chunk-WUK4Q4HG.cjs');require('./chunk-KDXZKBIY.cjs');require('./chunk-ATELCOA4.cjs');require('./chunk-NHMMB6LH.cjs');var _chunkA4J7DPJLcjs = require('./chunk-A4J7DPJL.cjs');require('./chunk-2WSEHVNP.cjs');var _walletssdk = require('@crossmint/wallets-sdk');exports.CrossmintAuthProvider = _chunkTZTLU3KKcjs.a; exports.CrossmintCheckoutProvider = _chunkSUVFA3WHcjs.a; exports.CrossmintEmbeddedCheckout = _chunkU2AH3HW6cjs.a; exports.CrossmintProvider = _chunkYBYUZ7SKcjs.a; exports.CrossmintWalletProvider = _chunkEFKMIJMEcjs.f; exports.EVMWallet = _walletssdk.EVMWallet; exports.SolanaWallet = _walletssdk.SolanaWallet; exports.Wallet = _walletssdk.Wallet; exports.useAuth = _chunkEFKMIJMEcjs.d; exports.useCrossmint = _chunkEFKMIJMEcjs.h; exports.useCrossmintAuth = _chunkEFKMIJMEcjs.c; exports.useCrossmintCheckout = _chunkSUVFA3WHcjs.b; exports.useWallet = _chunkEFKMIJMEcjs.i; exports.useWalletEmailSigner = _chunkEFKMIJMEcjs.g; exports.withGooglePay = _chunkA4J7DPJLcjs.a;
|
package/dist/index.d.cts
CHANGED
|
@@ -9,8 +9,10 @@ export { CrossmintEmbeddedCheckout } from './components/embed/v3/CrossmintEmbedd
|
|
|
9
9
|
export { CrossmintEvent, CrossmintEventMap } from '@crossmint/client-sdk-base';
|
|
10
10
|
export { OAuthProvider, SDKExternalUser } from '@crossmint/common-sdk-auth';
|
|
11
11
|
export { Activity, Balances, Chain, DelegatedSigner, EVMWallet, Signature, SolanaWallet, Transaction, Wallet } from '@crossmint/wallets-sdk';
|
|
12
|
+
export { GooglePayPluginProps, withGooglePay } from './plugins/withGooglePay.cjs';
|
|
12
13
|
import './providers/CrossmintAuthProviderInternal.cjs';
|
|
13
14
|
import 'react/jsx-runtime';
|
|
14
15
|
import 'react';
|
|
15
16
|
import '@crossmint/client-sdk-auth';
|
|
16
17
|
import '@crossmint/common-sdk-base';
|
|
18
|
+
import '@expo/config-plugins';
|
package/dist/index.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ export { CrossmintEmbeddedCheckout } from './components/embed/v3/CrossmintEmbedd
|
|
|
9
9
|
export { CrossmintEvent, CrossmintEventMap } from '@crossmint/client-sdk-base';
|
|
10
10
|
export { OAuthProvider, SDKExternalUser } from '@crossmint/common-sdk-auth';
|
|
11
11
|
export { Activity, Balances, Chain, DelegatedSigner, EVMWallet, Signature, SolanaWallet, Transaction, Wallet } from '@crossmint/wallets-sdk';
|
|
12
|
+
export { GooglePayPluginProps, withGooglePay } from './plugins/withGooglePay.js';
|
|
12
13
|
import './providers/CrossmintAuthProviderInternal.js';
|
|
13
14
|
import 'react/jsx-runtime';
|
|
14
15
|
import 'react';
|
|
15
16
|
import '@crossmint/client-sdk-auth';
|
|
16
17
|
import '@crossmint/common-sdk-base';
|
|
18
|
+
import '@expo/config-plugins';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-C62HRWJA.js";import{a as i}from"./chunk-
|
|
1
|
+
import"./chunk-C62HRWJA.js";import{a as i}from"./chunk-Z5BMENLL.js";import{a as m}from"./chunk-ZENPJSBN.js";import{c as t,d as e,f as r,g as o,h as p,i as s}from"./chunk-WJHEKLGY.js";import"./chunk-GDMV4TA2.js";import{a,b as n}from"./chunk-KUBIDYHN.js";import"./chunk-4E5HWFBN.js";import"./chunk-DKQZSNOO.js";import"./chunk-72MMCJ2E.js";import{a as l}from"./chunk-JTFZK3F4.js";import"./chunk-C5E3RREZ.js";import"./chunk-ACAYDFCT.js";import"./chunk-Z2IVCF7R.js";import"./chunk-AJIYDMZN.js";import"./chunk-3MAEL2N6.js";import"./chunk-YTICD5E3.js";import{a as y}from"./chunk-F7CKGWIS.js";import"./chunk-PXDN3KFO.js";import{EVMWallet as h,SolanaWallet as u,Wallet as C}from"@crossmint/wallets-sdk";export{i as CrossmintAuthProvider,a as CrossmintCheckoutProvider,l as CrossmintEmbeddedCheckout,m as CrossmintProvider,r as CrossmintWalletProvider,h as EVMWallet,u as SolanaWallet,C as Wallet,e as useAuth,p as useCrossmint,t as useCrossmintAuth,n as useCrossmintCheckout,s as useWallet,o as useWalletEmailSigner,y as withGooglePay};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-NHMMB6LH.cjs');var _chunkA4J7DPJLcjs = require('../chunk-A4J7DPJL.cjs');require('../chunk-2WSEHVNP.cjs');exports.withGooglePay = _chunkA4J7DPJLcjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-YTICD5E3.js";import{a}from"../chunk-F7CKGWIS.js";import"../chunk-PXDN3KFO.js";export{a as withGooglePay};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkA4J7DPJLcjs = require('../chunk-A4J7DPJL.cjs');require('../chunk-2WSEHVNP.cjs');exports.withGooglePay = _chunkA4J7DPJLcjs.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-F7CKGWIS.js";import"../chunk-PXDN3KFO.js";export{a as withGooglePay};
|
package/dist/providers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-ZR6BLDCD.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-ZR6BLDCD.cjs');var _chunkTZTLU3KKcjs = require('../chunk-TZTLU3KK.cjs');var _chunkYBYUZ7SKcjs = require('../chunk-YBYUZ7SK.cjs');var _chunkEFKMIJMEcjs = require('../chunk-EFKMIJME.cjs');require('../chunk-K754GXKD.cjs');require('../chunk-SUVFA3WH.cjs');require('../chunk-ATELCOA4.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintAuthProvider = _chunkTZTLU3KKcjs.a; exports.CrossmintProvider = _chunkYBYUZ7SKcjs.a; exports.CrossmintWalletProvider = _chunkEFKMIJMEcjs.f;
|
package/dist/providers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-C62HRWJA.js";import{a as
|
|
1
|
+
import"../chunk-C62HRWJA.js";import{a as c}from"../chunk-Z5BMENLL.js";import{a as b}from"../chunk-ZENPJSBN.js";import{f as a}from"../chunk-WJHEKLGY.js";import"../chunk-GDMV4TA2.js";import"../chunk-KUBIDYHN.js";import"../chunk-3MAEL2N6.js";import"../chunk-PXDN3KFO.js";export{c as CrossmintAuthProvider,b as CrossmintProvider,a as CrossmintWalletProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKDXZKBIYcjs = require('../chunk-KDXZKBIY.cjs');require('../chunk-2WSEHVNP.cjs');exports.createCrossmintApiClient = _chunkKDXZKBIYcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-AJIYDMZN.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-native-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"repository": "https://github.com/Crossmint/crossmint-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Paella Labs Inc",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"types": "./dist/index.d.ts",
|
|
16
16
|
"files": [
|
|
17
17
|
"dist",
|
|
18
|
+
"app.plugin.cjs",
|
|
18
19
|
"LICENSE"
|
|
19
20
|
],
|
|
20
21
|
"dependencies": {
|
|
@@ -25,23 +26,25 @@
|
|
|
25
26
|
"expo-secure-store": "~14.0.0",
|
|
26
27
|
"expo-web-browser": "~14.0.2",
|
|
27
28
|
"mitt": "3.0.1",
|
|
28
|
-
"react-native-webview": "13.12.5",
|
|
29
29
|
"zod": "3.22.4",
|
|
30
30
|
"@crossmint/client-sdk-auth": "1.2.27",
|
|
31
31
|
"@crossmint/client-sdk-base": "1.5.18",
|
|
32
|
-
"@crossmint/client-sdk-react-base": "0.5.24",
|
|
33
32
|
"@crossmint/client-sdk-rn-window": "0.3.4",
|
|
34
|
-
"@crossmint/client-signers": "0.0.18",
|
|
35
33
|
"@crossmint/common-sdk-auth": "1.0.49",
|
|
34
|
+
"@crossmint/client-signers": "0.0.18",
|
|
35
|
+
"@crossmint/wallets-sdk": "0.11.6",
|
|
36
36
|
"@crossmint/common-sdk-base": "0.9.3",
|
|
37
|
-
"@crossmint/
|
|
37
|
+
"@crossmint/client-sdk-react-base": "0.5.24"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
+
"@expo/config-plugins": "^9.0.17",
|
|
40
41
|
"@types/react": "19.0.12"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
44
|
+
"@expo/config-plugins": ">=9.0.0",
|
|
43
45
|
"react": ">=17.0.2",
|
|
44
|
-
"react-native": ">=0.74.3"
|
|
46
|
+
"react-native": ">=0.74.3",
|
|
47
|
+
"react-native-webview": ">=13.13.5 <13.15.0"
|
|
45
48
|
},
|
|
46
49
|
"scripts": {
|
|
47
50
|
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
package/dist/chunk-LSN35NPE.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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.9.9",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=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","react-native-webview":"13.12.5",zod:"3.22.4"},devDependencies:{"@types/react":"19.0.12"},peerDependencies:{react:">=17.0.2","react-native":">=0.74.3"}};function p(s,t){return new (0, _commonsdkbase.CrossmintApiClient)(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:t}})}exports.a = p;
|
package/dist/chunk-Z3OPDAHS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{CrossmintApiClient as n}from"@crossmint/common-sdk-base";var e={name:"@crossmint/client-sdk-react-native-ui",version:"0.9.9",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=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","react-native-webview":"13.12.5",zod:"3.22.4"},devDependencies:{"@types/react":"19.0.12"},peerDependencies:{react:">=17.0.2","react-native":">=0.74.3"}};function d(s,t){return new n(s,{internalConfig:{sdkMetadata:{name:"@crossmint/client-sdk-react-native-ui",version:e.version},apiKeyExpectations:t}})}export{d as a};
|