@crossmint/client-sdk-react-native-ui 1.0.0-beta.5 → 1.0.0-beta.7
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/README.md +104 -163
- package/app.plugin.js +1 -1
- package/dist/chunk-2RDEJU3T.js +2 -0
- package/dist/chunk-2U67EBAU.js +1 -0
- package/dist/{chunk-VACQTZRT.js → chunk-2UY6GCV3.js} +1 -1
- package/dist/{chunk-LLHUAEZP.mjs → chunk-335OOXYN.mjs} +1 -1
- package/dist/chunk-3G67LZY4.js +2 -0
- package/dist/{chunk-X64DPUQJ.js → chunk-4MOBXEX6.js} +1 -1
- package/dist/chunk-4P5ABAFD.mjs +1 -0
- package/dist/{chunk-YVITECJT.js → chunk-6YOO7OTV.js} +1 -1
- package/dist/chunk-7JGGPJBX.mjs +1 -0
- package/dist/chunk-7JOOUJJ2.js +38 -0
- package/dist/{chunk-ZCKUSOGC.mjs → chunk-AHAHB7QD.mjs} +1 -1
- package/dist/chunk-AX72ILV2.js +1 -0
- package/dist/chunk-BOG3QIA2.js +1 -0
- package/dist/chunk-C7S2X5RD.mjs +1 -0
- package/dist/{chunk-QVLCNPNG.mjs → chunk-DYBYU4QW.mjs} +1 -1
- package/dist/chunk-IJN37RF2.js +1 -0
- package/dist/chunk-J62V5BQX.mjs +1 -0
- package/dist/{chunk-F5O5W34O.mjs → chunk-K6ZOIECD.mjs} +1 -1
- package/dist/chunk-LHEOII54.js +1 -0
- package/dist/{chunk-D5QADN6Z.mjs → chunk-NG4FYS2Z.mjs} +1 -1
- package/dist/{chunk-3MXWZO3W.mjs → chunk-NNGGH73Y.mjs} +1 -1
- package/dist/{chunk-F7VXWATP.js → chunk-NVBPI6JQ.js} +1 -1
- package/dist/chunk-QE2FX5MA.mjs +1 -0
- package/dist/{chunk-4HT7GY6N.js → chunk-QHJA7VYD.js} +1 -1
- package/dist/chunk-QHTHMZZV.mjs +1 -0
- package/dist/{chunk-HQFWYQ4L.js → chunk-QODMJ5UY.js} +1 -1
- package/dist/chunk-R4AKS6SV.js +1 -0
- package/dist/chunk-R4DCEEUP.mjs +38 -0
- package/dist/chunk-RIKAIN6N.js +1 -0
- package/dist/chunk-RWTMQGU7.js +1 -0
- package/dist/chunk-SAPISWWH.mjs +1 -0
- package/dist/{chunk-RFFLL7AO.js → chunk-SQMKAGYM.js} +1 -1
- package/dist/chunk-ST55IDAQ.mjs +1 -0
- package/dist/{chunk-6BGT7YJW.js → chunk-STDFVESG.js} +1 -1
- package/dist/chunk-TQIJ7OZD.js +1 -0
- package/dist/chunk-TSRZEXRU.mjs +1 -0
- package/dist/chunk-TVASK7FQ.js +1 -0
- package/dist/{chunk-SHTETN4C.js → chunk-U3CLRKGH.js} +1 -1
- package/dist/{chunk-RO3XNRC3.mjs → chunk-VNL4MD2H.mjs} +1 -1
- package/dist/chunk-W4PUVHWF.mjs +2 -0
- package/dist/{chunk-YLJDAK2S.mjs → chunk-WDMEQNBX.mjs} +1 -1
- package/dist/{chunk-4PMKF2DM.mjs → chunk-WGBLUFWU.mjs} +1 -1
- package/dist/{chunk-DC5HCBPK.js → chunk-WH3PVAVN.js} +1 -1
- package/dist/chunk-X7EQP7ZO.mjs +1 -0
- package/dist/chunk-XZ5LQIRB.mjs +1 -0
- package/dist/chunk-YJIX6E2P.mjs +0 -0
- package/dist/chunk-YMCYXFCG.mjs +2 -0
- package/dist/{chunk-OGYBEE5A.js → chunk-Z36IMAC2.js} +1 -1
- package/dist/{chunk-FX23A4BR.mjs → chunk-ZP2QWJOD.mjs} +1 -1
- package/dist/chunk-ZQ2BJNI7.js +1 -0
- package/dist/components/embed/index.js +1 -1
- package/dist/components/embed/index.mjs +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.mjs +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3WebView.js +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3WebView.mjs +1 -1
- package/dist/components/embed/v3/crypto/PayerConnectionHandler.js +1 -1
- package/dist/components/embed/v3/crypto/PayerConnectionHandler.mjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/embed/v3/index.mjs +1 -1
- package/dist/components/icons/MailCheckIcon.d.mts +6 -0
- package/dist/components/icons/MailCheckIcon.d.ts +6 -0
- package/dist/components/icons/MailCheckIcon.js +1 -0
- package/dist/components/icons/MailCheckIcon.mjs +1 -0
- package/dist/components/icons/MailIcon.d.mts +6 -0
- package/dist/components/icons/MailIcon.d.ts +6 -0
- package/dist/components/icons/MailIcon.js +1 -0
- package/dist/components/icons/MailIcon.mjs +1 -0
- package/dist/components/icons/PhoneIcon.d.mts +6 -0
- package/dist/components/icons/PhoneIcon.d.ts +6 -0
- package/dist/components/icons/PhoneIcon.js +1 -0
- package/dist/components/icons/PhoneIcon.mjs +1 -0
- package/dist/components/icons/PngIcon.d.mts +10 -0
- package/dist/components/icons/PngIcon.d.ts +10 -0
- package/dist/components/icons/PngIcon.js +1 -0
- package/dist/components/icons/PngIcon.mjs +1 -0
- package/dist/components/icons/SmartphoneIcon.d.mts +6 -0
- package/dist/components/icons/SmartphoneIcon.d.ts +6 -0
- package/dist/components/icons/SmartphoneIcon.js +1 -0
- package/dist/components/icons/SmartphoneIcon.mjs +1 -0
- package/dist/components/icons/XIcon.d.mts +6 -0
- package/dist/components/icons/XIcon.d.ts +6 -0
- package/dist/components/icons/XIcon.js +1 -0
- package/dist/components/icons/XIcon.mjs +1 -0
- package/dist/components/icons/index.d.mts +7 -0
- package/dist/components/icons/index.d.ts +7 -0
- package/dist/components/icons/index.js +1 -0
- package/dist/components/icons/index.mjs +1 -0
- package/dist/components/icons/types.d.mts +7 -0
- package/dist/components/icons/types.d.ts +7 -0
- package/dist/components/icons/types.js +1 -0
- package/dist/components/icons/types.mjs +0 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/signers/BaseCodeInput.js +1 -1
- package/dist/components/signers/BaseCodeInput.mjs +1 -1
- package/dist/components/signers/BaseConfirmation.js +1 -1
- package/dist/components/signers/BaseConfirmation.mjs +1 -1
- package/dist/components/signers/EmailSignersDialog.js +1 -1
- package/dist/components/signers/EmailSignersDialog.mjs +1 -1
- package/dist/components/signers/PhoneSignersDialog.js +1 -1
- package/dist/components/signers/PhoneSignersDialog.mjs +1 -1
- package/dist/components/signers/index.js +1 -1
- package/dist/components/signers/index.mjs +1 -1
- package/dist/components/wallets/ExportPrivateKeyButton.js +1 -1
- package/dist/components/wallets/ExportPrivateKeyButton.mjs +1 -1
- package/dist/components/wallets/index.js +1 -1
- package/dist/components/wallets/index.mjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/useAuth.js +1 -1
- package/dist/hooks/useAuth.mjs +1 -1
- package/dist/hooks/useCrossmintCheckout.js +1 -1
- package/dist/hooks/useCrossmintCheckout.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/logger/init.js +1 -1
- package/dist/logger/init.mjs +1 -1
- package/dist/plugin/mods/addQueryToAndroidManifest.js +1 -1
- package/dist/plugin/mods/addQueryToAndroidManifest.mjs +1 -1
- package/dist/plugin/withCrossmintUI.d.mts +6 -0
- package/dist/plugin/withCrossmintUI.d.ts +6 -0
- package/dist/plugin/withCrossmintUI.js +1 -0
- package/dist/plugin/withCrossmintUI.mjs +1 -0
- package/dist/plugin/withDeviceSigner.d.mts +5 -0
- package/dist/plugin/withDeviceSigner.d.ts +5 -0
- package/dist/plugin/withDeviceSigner.js +1 -0
- package/dist/plugin/withDeviceSigner.mjs +1 -0
- package/dist/plugin/withGooglePay.d.mts +2 -2
- package/dist/plugin/withGooglePay.d.ts +2 -2
- package/dist/plugin/withGooglePay.js +1 -1
- package/dist/plugin/withGooglePay.mjs +1 -1
- package/dist/providers/CrossmintAuthProvider.js +1 -1
- package/dist/providers/CrossmintAuthProvider.mjs +1 -1
- package/dist/providers/CrossmintProvider.js +1 -1
- package/dist/providers/CrossmintProvider.mjs +1 -1
- package/dist/providers/CrossmintWalletProvider.d.mts +2 -2
- package/dist/providers/CrossmintWalletProvider.d.ts +2 -2
- package/dist/providers/CrossmintWalletProvider.js +1 -1
- package/dist/providers/CrossmintWalletProvider.mjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/index.mjs +1 -1
- package/dist/styles/index.js +1 -1
- package/dist/styles/index.mjs +1 -1
- package/dist/styles/theme.js +1 -1
- package/dist/styles/theme.mjs +1 -1
- package/dist/utils/SecureStorage.js +1 -1
- package/dist/utils/SecureStorage.mjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/dist/utils/createCrossmintApiClient.mjs +1 -1
- package/dist/utils/embed/userAgent.js +1 -1
- package/dist/utils/embed/userAgent.mjs +1 -1
- package/dist/utils/eventEmitter.js +1 -1
- package/dist/utils/eventEmitter.mjs +1 -1
- package/package.json +5 -7
- package/dist/chunk-3QSVHCEH.mjs +0 -2
- package/dist/chunk-4XMG3KIU.mjs +0 -1
- package/dist/chunk-F4GXM2ZD.js +0 -1
- package/dist/chunk-J42HASCI.js +0 -1
- package/dist/chunk-MVVSGLQL.js +0 -2
- package/dist/chunk-PSSAAY7D.mjs +0 -1
- package/dist/chunk-VGA23PJK.mjs +0 -1
- package/dist/chunk-XNDIT72O.mjs +0 -2
- package/dist/chunk-XSBVXPEK.mjs +0 -1
- package/dist/chunk-YJORUMPB.js +0 -2
- package/dist/chunk-ZM4HMYQX.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
File without changes
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-2PX34LDU.js');require('../chunk-AJMHVVST.js');require('../chunk-DKQZSNOO.js');require('../chunk-72MMCJ2E.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-2PX34LDU.js');require('../chunk-I4D3YJW2.js');require('../chunk-AJMHVVST.js');var _chunkQHJA7VYDjs = require('../chunk-QHJA7VYD.js');require('../chunk-DKQZSNOO.js');require('../chunk-72MMCJ2E.js');var _chunkZQ2BJNI7js = require('../chunk-ZQ2BJNI7.js');require('../chunk-4MOBXEX6.js');require('../chunk-2UY6GCV3.js');require('../chunk-YQEWHOQ7.js');require('../chunk-SQMKAGYM.js');var _chunk3G67LZY4js = require('../chunk-3G67LZY4.js');var _chunk2RDEJU3Tjs = require('../chunk-2RDEJU3T.js');require('../chunk-RWTMQGU7.js');require('../chunk-LHEOII54.js');require('../chunk-R4AKS6SV.js');require('../chunk-NVBPI6JQ.js');require('../chunk-WH3PVAVN.js');require('../chunk-TQIJ7OZD.js');require('../chunk-RIKAIN6N.js');require('../chunk-2U67EBAU.js');require('../chunk-TVASK7FQ.js');require('../chunk-EI5LOD4Y.js');require('../chunk-2D2RJCVX.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.CrossmintEmbeddedCheckout = _chunkZQ2BJNI7js.a; exports.EmailSignersDialog = _chunk3G67LZY4js.a; exports.ExportPrivateKeyButton = _chunkQHJA7VYDjs.a; exports.PhoneSignersDialog = _chunk2RDEJU3Tjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-UBHIBMTA.mjs";import"../chunk-5CLFJLE4.mjs";import"../chunk-TIQGKXQA.mjs";import"../chunk-MB7H3PBJ.mjs";import{a as c}from"../chunk-
|
|
1
|
+
import"../chunk-UBHIBMTA.mjs";import"../chunk-J7Q2R6UH.mjs";import"../chunk-5CLFJLE4.mjs";import{a as d}from"../chunk-NNGGH73Y.mjs";import"../chunk-TIQGKXQA.mjs";import"../chunk-MB7H3PBJ.mjs";import{a as c}from"../chunk-SAPISWWH.mjs";import"../chunk-WGBLUFWU.mjs";import"../chunk-ZP2QWJOD.mjs";import"../chunk-PCJMDUSI.mjs";import"../chunk-DYBYU4QW.mjs";import{a}from"../chunk-YMCYXFCG.mjs";import{a as b}from"../chunk-W4PUVHWF.mjs";import"../chunk-YJIX6E2P.mjs";import"../chunk-XZ5LQIRB.mjs";import"../chunk-TSRZEXRU.mjs";import"../chunk-NG4FYS2Z.mjs";import"../chunk-WDMEQNBX.mjs";import"../chunk-C7S2X5RD.mjs";import"../chunk-J62V5BQX.mjs";import"../chunk-QHTHMZZV.mjs";import"../chunk-7JGGPJBX.mjs";import"../chunk-7USVT6EZ.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{c as CrossmintEmbeddedCheckout,a as EmailSignersDialog,d as ExportPrivateKeyButton,b as PhoneSignersDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNVBPI6JQjs = require('../../chunk-NVBPI6JQ.js');require('../../chunk-EI5LOD4Y.js');require('../../chunk-IJN37RF2.js');exports.BaseCodeInput = _chunkNVBPI6JQjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-NG4FYS2Z.mjs";import"../../chunk-7USVT6EZ.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as BaseCodeInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWH3PVAVNjs = require('../../chunk-WH3PVAVN.js');require('../../chunk-EI5LOD4Y.js');require('../../chunk-IJN37RF2.js');exports.BaseConfirmation = _chunkWH3PVAVNjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-WDMEQNBX.mjs";import"../../chunk-7USVT6EZ.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as BaseConfirmation};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3G67LZY4js = require('../../chunk-3G67LZY4.js');require('../../chunk-RWTMQGU7.js');require('../../chunk-LHEOII54.js');require('../../chunk-R4AKS6SV.js');require('../../chunk-NVBPI6JQ.js');require('../../chunk-WH3PVAVN.js');require('../../chunk-TQIJ7OZD.js');require('../../chunk-RIKAIN6N.js');require('../../chunk-2U67EBAU.js');require('../../chunk-TVASK7FQ.js');require('../../chunk-EI5LOD4Y.js');require('../../chunk-IJN37RF2.js');exports.EmailSignersDialog = _chunk3G67LZY4js.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-YMCYXFCG.mjs";import"../../chunk-YJIX6E2P.mjs";import"../../chunk-XZ5LQIRB.mjs";import"../../chunk-TSRZEXRU.mjs";import"../../chunk-NG4FYS2Z.mjs";import"../../chunk-WDMEQNBX.mjs";import"../../chunk-C7S2X5RD.mjs";import"../../chunk-J62V5BQX.mjs";import"../../chunk-QHTHMZZV.mjs";import"../../chunk-7JGGPJBX.mjs";import"../../chunk-7USVT6EZ.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as EmailSignersDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2RDEJU3Tjs = require('../../chunk-2RDEJU3T.js');require('../../chunk-RWTMQGU7.js');require('../../chunk-LHEOII54.js');require('../../chunk-R4AKS6SV.js');require('../../chunk-NVBPI6JQ.js');require('../../chunk-WH3PVAVN.js');require('../../chunk-TQIJ7OZD.js');require('../../chunk-RIKAIN6N.js');require('../../chunk-2U67EBAU.js');require('../../chunk-TVASK7FQ.js');require('../../chunk-EI5LOD4Y.js');require('../../chunk-IJN37RF2.js');exports.PhoneSignersDialog = _chunk2RDEJU3Tjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-W4PUVHWF.mjs";import"../../chunk-YJIX6E2P.mjs";import"../../chunk-XZ5LQIRB.mjs";import"../../chunk-TSRZEXRU.mjs";import"../../chunk-NG4FYS2Z.mjs";import"../../chunk-WDMEQNBX.mjs";import"../../chunk-C7S2X5RD.mjs";import"../../chunk-J62V5BQX.mjs";import"../../chunk-QHTHMZZV.mjs";import"../../chunk-7JGGPJBX.mjs";import"../../chunk-7USVT6EZ.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as PhoneSignersDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-I4D3YJW2.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-I4D3YJW2.js');var _chunk3G67LZY4js = require('../../chunk-3G67LZY4.js');var _chunk2RDEJU3Tjs = require('../../chunk-2RDEJU3T.js');require('../../chunk-RWTMQGU7.js');require('../../chunk-LHEOII54.js');require('../../chunk-R4AKS6SV.js');require('../../chunk-NVBPI6JQ.js');require('../../chunk-WH3PVAVN.js');require('../../chunk-TQIJ7OZD.js');require('../../chunk-RIKAIN6N.js');require('../../chunk-2U67EBAU.js');require('../../chunk-TVASK7FQ.js');require('../../chunk-EI5LOD4Y.js');require('../../chunk-IJN37RF2.js');exports.EmailSignersDialog = _chunk3G67LZY4js.a; exports.PhoneSignersDialog = _chunk2RDEJU3Tjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-J7Q2R6UH.mjs";import{a}from"../../chunk-
|
|
1
|
+
import"../../chunk-J7Q2R6UH.mjs";import{a}from"../../chunk-YMCYXFCG.mjs";import{a as b}from"../../chunk-W4PUVHWF.mjs";import"../../chunk-YJIX6E2P.mjs";import"../../chunk-XZ5LQIRB.mjs";import"../../chunk-TSRZEXRU.mjs";import"../../chunk-NG4FYS2Z.mjs";import"../../chunk-WDMEQNBX.mjs";import"../../chunk-C7S2X5RD.mjs";import"../../chunk-J62V5BQX.mjs";import"../../chunk-QHTHMZZV.mjs";import"../../chunk-7JGGPJBX.mjs";import"../../chunk-7USVT6EZ.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as EmailSignersDialog,b as PhoneSignersDialog};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQHJA7VYDjs = require('../../chunk-QHJA7VYD.js');require('../../chunk-IJN37RF2.js');exports.ExportPrivateKeyButton = _chunkQHJA7VYDjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-NNGGH73Y.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as ExportPrivateKeyButton};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-AJMHVVST.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-AJMHVVST.js');var _chunkQHJA7VYDjs = require('../../chunk-QHJA7VYD.js');require('../../chunk-IJN37RF2.js');exports.ExportPrivateKeyButton = _chunkQHJA7VYDjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-5CLFJLE4.mjs";import{a}from"../../chunk-
|
|
1
|
+
import"../../chunk-5CLFJLE4.mjs";import{a}from"../../chunk-NNGGH73Y.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as ExportPrivateKeyButton};
|
package/dist/hooks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ36IMAC2js = require('../chunk-Z36IMAC2.js');require('../chunk-U3CLRKGH.js');var _chunk77GXCNDPjs = require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-IJN37RF2.js');exports.CrossmintCheckoutProvider = _chunk77GXCNDPjs.a; exports.useCrossmint = _chunkZ36IMAC2js.d; exports.useCrossmintAuth = _chunkZ36IMAC2js.c; exports.useCrossmintCheckout = _chunk77GXCNDPjs.b; exports.useWallet = _chunkZ36IMAC2js.e; exports.useWalletOtpSigner = _chunkZ36IMAC2js.f;
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,d,e,f}from"../chunk-
|
|
1
|
+
import{c,d,e,f}from"../chunk-K6ZOIECD.mjs";import"../chunk-AHAHB7QD.mjs";import{a,b}from"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-4P5ABAFD.mjs";export{a as CrossmintCheckoutProvider,d as useCrossmint,c as useCrossmintAuth,b as useCrossmintCheckout,e as useWallet,f as useWalletOtpSigner};
|
package/dist/hooks/useAuth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ36IMAC2js = require('../chunk-Z36IMAC2.js');require('../chunk-U3CLRKGH.js');require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-IJN37RF2.js');exports.useCrossmintAuth = _chunkZ36IMAC2js.c;
|
package/dist/hooks/useAuth.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a}from"../chunk-
|
|
1
|
+
import{c as a}from"../chunk-K6ZOIECD.mjs";import"../chunk-AHAHB7QD.mjs";import"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-4P5ABAFD.mjs";export{a as useCrossmintAuth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk77GXCNDPjs = require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk77GXCNDPjs = require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-IJN37RF2.js');exports.CrossmintCheckoutProvider = _chunk77GXCNDPjs.a; exports.useCrossmintCheckout = _chunk77GXCNDPjs.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-4P5ABAFD.mjs";export{a as CrossmintCheckoutProvider,b as useCrossmintCheckout};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C62HRWJA.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C62HRWJA.js');var _chunkAX72ILV2js = require('./chunk-AX72ILV2.js');var _chunkSTDFVESGjs = require('./chunk-STDFVESG.js');require('./chunk-2PX34LDU.js');require('./chunk-I4D3YJW2.js');require('./chunk-AJMHVVST.js');var _chunkQHJA7VYDjs = require('./chunk-QHJA7VYD.js');require('./chunk-DKQZSNOO.js');require('./chunk-72MMCJ2E.js');var _chunkZQ2BJNI7js = require('./chunk-ZQ2BJNI7.js');require('./chunk-4MOBXEX6.js');require('./chunk-2UY6GCV3.js');require('./chunk-YQEWHOQ7.js');require('./chunk-SQMKAGYM.js');var _chunk3G67LZY4js = require('./chunk-3G67LZY4.js');var _chunk2RDEJU3Tjs = require('./chunk-2RDEJU3T.js');require('./chunk-RWTMQGU7.js');require('./chunk-LHEOII54.js');require('./chunk-R4AKS6SV.js');require('./chunk-NVBPI6JQ.js');require('./chunk-WH3PVAVN.js');require('./chunk-TQIJ7OZD.js');require('./chunk-RIKAIN6N.js');require('./chunk-2U67EBAU.js');require('./chunk-TVASK7FQ.js');require('./chunk-EI5LOD4Y.js');var _chunkZ36IMAC2js = require('./chunk-Z36IMAC2.js');require('./chunk-U3CLRKGH.js');var _chunk77GXCNDPjs = require('./chunk-77GXCNDP.js');require('./chunk-2D2RJCVX.js');require('./chunk-QODMJ5UY.js');require('./chunk-6YOO7OTV.js');require('./chunk-IJN37RF2.js');var _walletssdk = require('@crossmint/wallets-sdk');exports.CrossmintAuthProvider = _chunkZ36IMAC2js.b; exports.CrossmintCheckoutProvider = _chunk77GXCNDPjs.a; exports.CrossmintEmbeddedCheckout = _chunkZQ2BJNI7js.a; exports.CrossmintProvider = _chunkSTDFVESGjs.b; exports.CrossmintWalletProvider = _chunkAX72ILV2js.a; exports.EVMWallet = _walletssdk.EVMWallet; exports.EmailSignersDialog = _chunk3G67LZY4js.a; exports.ExportPrivateKeyButton = _chunkQHJA7VYDjs.a; exports.PhoneSignersDialog = _chunk2RDEJU3Tjs.a; exports.SolanaWallet = _walletssdk.SolanaWallet; exports.StellarWallet = _walletssdk.StellarWallet; exports.Wallet = _walletssdk.Wallet; exports.useCrossmint = _chunkZ36IMAC2js.d; exports.useCrossmintAuth = _chunkZ36IMAC2js.c; exports.useCrossmintCheckout = _chunk77GXCNDPjs.b; exports.useWallet = _chunkZ36IMAC2js.e; exports.useWalletOtpSigner = _chunkZ36IMAC2js.f;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-I3QSTPTV.mjs";import{a as i}from"./chunk-
|
|
1
|
+
import"./chunk-I3QSTPTV.mjs";import{a as i}from"./chunk-X7EQP7ZO.mjs";import{b as p}from"./chunk-VNL4MD2H.mjs";import"./chunk-UBHIBMTA.mjs";import"./chunk-J7Q2R6UH.mjs";import"./chunk-5CLFJLE4.mjs";import{a as f}from"./chunk-NNGGH73Y.mjs";import"./chunk-TIQGKXQA.mjs";import"./chunk-MB7H3PBJ.mjs";import{a as y}from"./chunk-SAPISWWH.mjs";import"./chunk-WGBLUFWU.mjs";import"./chunk-ZP2QWJOD.mjs";import"./chunk-PCJMDUSI.mjs";import"./chunk-DYBYU4QW.mjs";import{a as l}from"./chunk-YMCYXFCG.mjs";import{a as m}from"./chunk-W4PUVHWF.mjs";import"./chunk-YJIX6E2P.mjs";import"./chunk-XZ5LQIRB.mjs";import"./chunk-TSRZEXRU.mjs";import"./chunk-NG4FYS2Z.mjs";import"./chunk-WDMEQNBX.mjs";import"./chunk-C7S2X5RD.mjs";import"./chunk-J62V5BQX.mjs";import"./chunk-QHTHMZZV.mjs";import"./chunk-7JGGPJBX.mjs";import"./chunk-7USVT6EZ.mjs";import{b as r,c as o,d as a,e as n,f as s}from"./chunk-K6ZOIECD.mjs";import"./chunk-AHAHB7QD.mjs";import{a as t,b as e}from"./chunk-IUDQDPIN.mjs";import"./chunk-FFQ6EQCL.mjs";import"./chunk-335OOXYN.mjs";import"./chunk-ST55IDAQ.mjs";import"./chunk-4P5ABAFD.mjs";import{EVMWallet as v,SolanaWallet as C,StellarWallet as g,Wallet as k}from"@crossmint/wallets-sdk";export{r as CrossmintAuthProvider,t as CrossmintCheckoutProvider,y as CrossmintEmbeddedCheckout,p as CrossmintProvider,i as CrossmintWalletProvider,v as EVMWallet,l as EmailSignersDialog,f as ExportPrivateKeyButton,m as PhoneSignersDialog,C as SolanaWallet,g as StellarWallet,k as Wallet,a as useCrossmint,o as useCrossmintAuth,e as useCrossmintCheckout,n as useWallet,s as useWalletOtpSigner};
|
package/dist/logger/init.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQODMJ5UYjs = require('../chunk-QODMJ5UY.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.initReactNativeLogger = _chunkQODMJ5UYjs.a;
|
package/dist/logger/init.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-335OOXYN.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{a as initReactNativeLogger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLOFHVHXQjs = require('../../chunk-LOFHVHXQ.js');require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLOFHVHXQjs = require('../../chunk-LOFHVHXQ.js');require('../../chunk-IJN37RF2.js');exports.addQueryToAndroidManifest = _chunkLOFHVHXQjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-D4347S2W.mjs";import"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-D4347S2W.mjs";import"../../chunk-4P5ABAFD.mjs";export{a as addQueryToAndroidManifest};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBOG3QIA2js = require('../chunk-BOG3QIA2.js');require('../chunk-LOFHVHXQ.js');var _chunk7JOOUJJ2js = require('../chunk-7JOOUJJ2.js');var _chunkIJN37RF2js = require('../chunk-IJN37RF2.js');var _configplugins = require('@expo/config-plugins');var t=_chunkIJN37RF2js.c.call(void 0, "@crossmint/client-sdk-react-native-ui/package.json"),l=(e,i)=>(e=_chunk7JOOUJJ2js.a.call(void 0, e),e=_chunkBOG3QIA2js.a.call(void 0, e,i),e),s= exports.default =_configplugins.createRunOncePlugin.call(void 0, l,t.name,t.version);exports.default = s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"../chunk-QE2FX5MA.mjs";import"../chunk-D4347S2W.mjs";import{a as r}from"../chunk-R4DCEEUP.mjs";import{c as n}from"../chunk-4P5ABAFD.mjs";import{createRunOncePlugin as P}from"@expo/config-plugins";var t=n("@crossmint/client-sdk-react-native-ui/package.json"),l=(e,i)=>(e=r(e),e=o(e,i),e),a=P(l,t.name,t.version);export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7JOOUJJ2js = require('../chunk-7JOOUJJ2.js');require('../chunk-IJN37RF2.js');exports.withDeviceSigner = _chunk7JOOUJJ2js.a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-R4DCEEUP.mjs";import"../chunk-4P5ABAFD.mjs";export{a as withDeviceSigner};
|
|
@@ -3,6 +3,6 @@ import { ConfigPlugin } from '@expo/config-plugins';
|
|
|
3
3
|
interface GooglePayPluginProps {
|
|
4
4
|
enableGooglePay?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const
|
|
6
|
+
declare const withGooglePay: ConfigPlugin<GooglePayPluginProps>;
|
|
7
7
|
|
|
8
|
-
export { type GooglePayPluginProps,
|
|
8
|
+
export { type GooglePayPluginProps, withGooglePay };
|
|
@@ -3,6 +3,6 @@ import { ConfigPlugin } from '@expo/config-plugins';
|
|
|
3
3
|
interface GooglePayPluginProps {
|
|
4
4
|
enableGooglePay?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const
|
|
6
|
+
declare const withGooglePay: ConfigPlugin<GooglePayPluginProps>;
|
|
7
7
|
|
|
8
|
-
export { type GooglePayPluginProps,
|
|
8
|
+
export { type GooglePayPluginProps, withGooglePay };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBOG3QIA2js = require('../chunk-BOG3QIA2.js');require('../chunk-LOFHVHXQ.js');require('../chunk-IJN37RF2.js');exports.withGooglePay = _chunkBOG3QIA2js.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"../chunk-QE2FX5MA.mjs";import"../chunk-D4347S2W.mjs";import"../chunk-4P5ABAFD.mjs";export{a as withGooglePay};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ36IMAC2js = require('../chunk-Z36IMAC2.js');require('../chunk-U3CLRKGH.js');require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-IJN37RF2.js');exports.AuthContext = _chunkZ36IMAC2js.a; exports.CrossmintAuthProvider = _chunkZ36IMAC2js.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-K6ZOIECD.mjs";import"../chunk-AHAHB7QD.mjs";import"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-4P5ABAFD.mjs";export{a as AuthContext,b as CrossmintAuthProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSTDFVESGjs = require('../chunk-STDFVESG.js');require('../chunk-QODMJ5UY.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.CrossmintProvider = _chunkSTDFVESGjs.b; exports.LoggerContext = _chunkSTDFVESGjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-VNL4MD2H.mjs";import"../chunk-335OOXYN.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{b as CrossmintProvider,a as LoggerContext};
|
|
@@ -9,8 +9,8 @@ interface CrossmintWalletProviderProps {
|
|
|
9
9
|
createOnLogin?: CreateOnLogin;
|
|
10
10
|
/** Optional appearance configuration for styling built-in UI components. */
|
|
11
11
|
appearance?: UIConfig;
|
|
12
|
-
/** When true (default),
|
|
13
|
-
|
|
12
|
+
/** When true (default), built-in OTP signer UI prompts are shown during signing flows. When false, signing flows must be handled manually via the useWalletOtpSigner hook. */
|
|
13
|
+
showOtpSignerPrompt?: boolean;
|
|
14
14
|
/** Optional lifecycle callbacks invoked during wallet creation and transaction signing. */
|
|
15
15
|
callbacks?: {
|
|
16
16
|
/** Called when a wallet creation flow begins. */
|
|
@@ -9,8 +9,8 @@ interface CrossmintWalletProviderProps {
|
|
|
9
9
|
createOnLogin?: CreateOnLogin;
|
|
10
10
|
/** Optional appearance configuration for styling built-in UI components. */
|
|
11
11
|
appearance?: UIConfig;
|
|
12
|
-
/** When true (default),
|
|
13
|
-
|
|
12
|
+
/** When true (default), built-in OTP signer UI prompts are shown during signing flows. When false, signing flows must be handled manually via the useWalletOtpSigner hook. */
|
|
13
|
+
showOtpSignerPrompt?: boolean;
|
|
14
14
|
/** Optional lifecycle callbacks invoked during wallet creation and transaction signing. */
|
|
15
15
|
callbacks?: {
|
|
16
16
|
/** Called when a wallet creation flow begins. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAX72ILV2js = require('../chunk-AX72ILV2.js');require('../chunk-STDFVESG.js');require('../chunk-3G67LZY4.js');require('../chunk-2RDEJU3T.js');require('../chunk-RWTMQGU7.js');require('../chunk-LHEOII54.js');require('../chunk-R4AKS6SV.js');require('../chunk-NVBPI6JQ.js');require('../chunk-WH3PVAVN.js');require('../chunk-TQIJ7OZD.js');require('../chunk-RIKAIN6N.js');require('../chunk-2U67EBAU.js');require('../chunk-TVASK7FQ.js');require('../chunk-EI5LOD4Y.js');require('../chunk-QODMJ5UY.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.CrossmintWalletProvider = _chunkAX72ILV2js.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-X7EQP7ZO.mjs";import"../chunk-VNL4MD2H.mjs";import"../chunk-YMCYXFCG.mjs";import"../chunk-W4PUVHWF.mjs";import"../chunk-YJIX6E2P.mjs";import"../chunk-XZ5LQIRB.mjs";import"../chunk-TSRZEXRU.mjs";import"../chunk-NG4FYS2Z.mjs";import"../chunk-WDMEQNBX.mjs";import"../chunk-C7S2X5RD.mjs";import"../chunk-J62V5BQX.mjs";import"../chunk-QHTHMZZV.mjs";import"../chunk-7JGGPJBX.mjs";import"../chunk-7USVT6EZ.mjs";import"../chunk-335OOXYN.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{a as CrossmintWalletProvider};
|
package/dist/providers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-C62HRWJA.js');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-C62HRWJA.js');var _chunkAX72ILV2js = require('../chunk-AX72ILV2.js');var _chunkSTDFVESGjs = require('../chunk-STDFVESG.js');require('../chunk-3G67LZY4.js');require('../chunk-2RDEJU3T.js');require('../chunk-RWTMQGU7.js');require('../chunk-LHEOII54.js');require('../chunk-R4AKS6SV.js');require('../chunk-NVBPI6JQ.js');require('../chunk-WH3PVAVN.js');require('../chunk-TQIJ7OZD.js');require('../chunk-RIKAIN6N.js');require('../chunk-2U67EBAU.js');require('../chunk-TVASK7FQ.js');require('../chunk-EI5LOD4Y.js');var _chunkZ36IMAC2js = require('../chunk-Z36IMAC2.js');require('../chunk-U3CLRKGH.js');require('../chunk-77GXCNDP.js');require('../chunk-2D2RJCVX.js');require('../chunk-QODMJ5UY.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.CrossmintAuthProvider = _chunkZ36IMAC2js.b; exports.CrossmintProvider = _chunkSTDFVESGjs.b; exports.CrossmintWalletProvider = _chunkAX72ILV2js.a;
|
package/dist/providers/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-I3QSTPTV.mjs";import{a as c}from"../chunk-
|
|
1
|
+
import"../chunk-I3QSTPTV.mjs";import{a as c}from"../chunk-X7EQP7ZO.mjs";import{b}from"../chunk-VNL4MD2H.mjs";import"../chunk-YMCYXFCG.mjs";import"../chunk-W4PUVHWF.mjs";import"../chunk-YJIX6E2P.mjs";import"../chunk-XZ5LQIRB.mjs";import"../chunk-TSRZEXRU.mjs";import"../chunk-NG4FYS2Z.mjs";import"../chunk-WDMEQNBX.mjs";import"../chunk-C7S2X5RD.mjs";import"../chunk-J62V5BQX.mjs";import"../chunk-QHTHMZZV.mjs";import"../chunk-7JGGPJBX.mjs";import"../chunk-7USVT6EZ.mjs";import{b as a}from"../chunk-K6ZOIECD.mjs";import"../chunk-AHAHB7QD.mjs";import"../chunk-IUDQDPIN.mjs";import"../chunk-FFQ6EQCL.mjs";import"../chunk-335OOXYN.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{a as CrossmintAuthProvider,b as CrossmintProvider,c as CrossmintWalletProvider};
|
package/dist/styles/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEI5LOD4Yjs = require('../chunk-EI5LOD4Y.js');require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEI5LOD4Yjs = require('../chunk-EI5LOD4Y.js');require('../chunk-IJN37RF2.js');exports.theme = _chunkEI5LOD4Yjs.a;
|
package/dist/styles/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"../chunk-7USVT6EZ.mjs";import"../chunk-
|
|
1
|
+
import{a as o}from"../chunk-7USVT6EZ.mjs";import"../chunk-4P5ABAFD.mjs";export{o as theme};
|
package/dist/styles/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEI5LOD4Yjs = require('../chunk-EI5LOD4Y.js');require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEI5LOD4Yjs = require('../chunk-EI5LOD4Y.js');require('../chunk-IJN37RF2.js');exports.theme = _chunkEI5LOD4Yjs.a;
|
package/dist/styles/theme.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-7USVT6EZ.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-7USVT6EZ.mjs";import"../chunk-4P5ABAFD.mjs";export{a as theme};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkU3CLRKGHjs = require('../chunk-U3CLRKGH.js');require('../chunk-IJN37RF2.js');exports.SecureStorage = _chunkU3CLRKGHjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-AHAHB7QD.mjs";import"../chunk-4P5ABAFD.mjs";export{a as SecureStorage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSQMKAGYMjs = require('../chunk-SQMKAGYM.js');require('../chunk-6YOO7OTV.js');require('../chunk-IJN37RF2.js');exports.createCrossmintApiClient = _chunkSQMKAGYMjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-DYBYU4QW.mjs";import"../chunk-ST55IDAQ.mjs";import"../chunk-4P5ABAFD.mjs";export{a as createCrossmintApiClient};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYQEWHOQ7js = require('../../chunk-YQEWHOQ7.js');require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYQEWHOQ7js = require('../../chunk-YQEWHOQ7.js');require('../../chunk-IJN37RF2.js');exports.modelName = _chunkYQEWHOQ7js.b; exports.osVersion = _chunkYQEWHOQ7js.a; exports.userAgent = _chunkYQEWHOQ7js.c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-PCJMDUSI.mjs";import"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-PCJMDUSI.mjs";import"../../chunk-4P5ABAFD.mjs";export{b as modelName,a as osVersion,c as userAgent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2D2RJCVXjs = require('../chunk-2D2RJCVX.js');require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2D2RJCVXjs = require('../chunk-2D2RJCVX.js');require('../chunk-IJN37RF2.js');exports.localEventEmitter = _chunk2D2RJCVXjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-FFQ6EQCL.mjs";import"../chunk-
|
|
1
|
+
import{a}from"../chunk-FFQ6EQCL.mjs";import"../chunk-4P5ABAFD.mjs";export{a as localEventEmitter};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossmint/client-sdk-react-native-ui",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.7",
|
|
4
4
|
"repository": "https://github.com/Crossmint/crossmint-sdk",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Paella Labs Inc",
|
|
@@ -18,19 +18,17 @@
|
|
|
18
18
|
"bs58": "^5.0.0",
|
|
19
19
|
"lodash.clonedeep": "4.5.0",
|
|
20
20
|
"lodash.isequal": "4.5.0",
|
|
21
|
-
"lucide-react-native": "0.548.0",
|
|
22
21
|
"mitt": "3.0.1",
|
|
23
|
-
"react-native-svg": "15.14.0",
|
|
24
22
|
"zod": "3.22.4",
|
|
25
23
|
"@crossmint/client-sdk-auth": "1.3.0-beta.1",
|
|
26
24
|
"@crossmint/client-sdk-base": "2.0.3-beta.1",
|
|
27
|
-
"@crossmint/client-sdk-react-base": "2.0.0-beta.
|
|
25
|
+
"@crossmint/client-sdk-react-base": "2.0.0-beta.7",
|
|
28
26
|
"@crossmint/client-sdk-rn-window": "0.3.15",
|
|
29
27
|
"@crossmint/client-signers": "0.1.2",
|
|
30
28
|
"@crossmint/common-sdk-auth": "1.1.0-beta.1",
|
|
31
29
|
"@crossmint/common-sdk-base": "0.10.0-beta.1",
|
|
32
|
-
"@crossmint/wallets-sdk": "1.0.0-beta.
|
|
33
|
-
"@crossmint/expo-device-signer": "0.1.0-beta.
|
|
30
|
+
"@crossmint/wallets-sdk": "1.0.0-beta.7",
|
|
31
|
+
"@crossmint/expo-device-signer": "0.1.0-beta.5"
|
|
34
32
|
},
|
|
35
33
|
"devDependencies": {
|
|
36
34
|
"@expo/config-plugins": "^9.0.17",
|
|
@@ -42,7 +40,7 @@
|
|
|
42
40
|
"expo-web-browser": "~15.0.8"
|
|
43
41
|
},
|
|
44
42
|
"peerDependencies": {
|
|
45
|
-
"@crossmint/expo-device-signer": "0.1.0-beta.
|
|
43
|
+
"@crossmint/expo-device-signer": "0.1.0-beta.5",
|
|
46
44
|
"@expo/config-plugins": ">=9.0.0",
|
|
47
45
|
"@solana/web3.js": "^1.98.1",
|
|
48
46
|
"expo-constants": ">=17 <19",
|
package/dist/chunk-3QSVHCEH.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as C}from"./chunk-D5QADN6Z.mjs";import{a as f}from"./chunk-YLJDAK2S.mjs";import{a as e}from"./chunk-7USVT6EZ.mjs";import{View as d,StyleSheet as x,Dimensions as I,Modal as M,TouchableOpacity as R,Text as S}from"react-native";import{PhoneIcon as B,Smartphone as z,X as D}from"lucide-react-native";import{jsx as t,jsxs as T}from"react/jsx-runtime";var{width:V}=I.get("window");function L({phone:i,open:n,setOpen:k,step:w,onSubmitOTP:P,onResendOTPCode:v,onSubmitPhone:O,rejectRef:r,appearance:o}){var m,u,c,g,y,b;function s(){var h;n&&((h=r.current)==null||h.call(r,new Error("User cancelled")),k(!1))}let l=x.create({modalOverlay:{flex:1,backgroundColor:"rgba(0, 0, 0, 0.5)",justifyContent:"center",alignItems:"center",padding:16},modalContainer:{backgroundColor:((m=o==null?void 0:o.colors)==null?void 0:m.background)||e["cm-background-primary"],borderRadius:(o==null?void 0:o.borderRadius)||12,padding:32,width:Math.min(V-32,400),maxHeight:"80%",position:"relative",alignItems:"center",shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:5},closeButton:{position:"absolute",top:16,right:16,width:32,height:32,borderRadius:6,backgroundColor:((u=o==null?void 0:o.colors)==null?void 0:u.inputBackground)||e["cm-muted-primary"],alignItems:"center",justifyContent:"center",zIndex:1}});return n?t(M,{visible:n,transparent:!0,animationType:"fade",onRequestClose:s,statusBarTranslucent:!0,children:t(d,{style:l.modalOverlay,children:T(d,{style:l.modalContainer,children:[t(R,{style:l.closeButton,onPress:s,hitSlop:{top:10,bottom:10,left:10,right:10},children:t(D,{size:16,color:((c=o==null?void 0:o.colors)==null?void 0:c.textSecondary)||e["cm-text-secondary"]})}),w==="initial"?t(f,{contactInfo:i!=null?i:"",contactType:"phone",icon:t(B,{size:22,color:((g=o==null?void 0:o.colors)==null?void 0:g.textPrimary)||e["cm-text-primary"]}),onConfirm:O,onCancel:s,appearance:o}):t(C,{contactInfo:i!=null?i:"",contactType:"phone",icon:t(d,{style:{backgroundColor:((y=o==null?void 0:o.colors)==null?void 0:y.accent)||e["cm-accent"],borderRadius:999,padding:12},children:t(z,{size:22,color:((b=o==null?void 0:o.colors)==null?void 0:b.background)||e["cm-background-primary"]})}),title:"Check your phone",description:T(S,{children:["A temporary login code has been sent via SMS to"," ",t(S,{style:{fontWeight:"bold"},children:i})]}),helpText:`Can't receive the SMS? Check your phone number.
|
|
2
|
-
Some messages may take several minutes to arrive.`,onSubmitOTP:P,onResendCode:v,appearance:o,otpLength:10,keyboardType:"number-pad",autoComplete:"sms-otp",textContentType:"oneTimeCode"})]})})}):null}export{L as a};
|
package/dist/chunk-4XMG3KIU.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk-4PMKF2DM.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};
|
package/dist/chunk-F4GXM2ZD.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk6BGT7YJWjs = require('./chunk-6BGT7YJW.js');var _chunkYJORUMPBjs = require('./chunk-YJORUMPB.js');var _chunkMVVSGLQLjs = require('./chunk-MVVSGLQL.js');var _chunkJ42HASCIjs = require('./chunk-J42HASCI.js');var _react = require('react');var _reactnative = require('react-native');var _clientsdkrnwindow = require('@crossmint/client-sdk-rn-window');var _clientsigners = require('@crossmint/client-signers');var _commonsdkbase = require('@crossmint/common-sdk-base');var _clientsdkreactbase = require('@crossmint/client-sdk-react-base');var _expodevicesigner = require('@crossmint/expo-device-signer');var _jsxruntime = require('react/jsx-runtime');function se({children:y,createOnLogin:A,appearance:G,headlessSigningFlow:S=!0,callbacks:z,deviceSignerKeyStorage:k}){let H=_react.useMemo.call(void 0, ()=>k!=null?k:new _expodevicesigner.NativeDeviceSignerKeyStorage,[]),{crossmint:K}=_clientsdkreactbase.useCrossmint.call(void 0, "CrossmintWalletProvider must be used within CrossmintProvider"),n=_clientsdkreactbase.useLogger.call(void 0, _chunk6BGT7YJWjs.a),{apiKey:R,appId:E}=K,W=_react.useMemo.call(void 0, ()=>{let e=_commonsdkbase.validateAPIKey.call(void 0, R);if(!e.isValid)throw new Error("Invalid API key");return e},[R]),x=_react.useMemo.call(void 0, ()=>_clientsigners.environmentUrlConfig[W.environment],[W.environment]),f=_react.useRef.call(void 0, null),t=_react.useRef.call(void 0, null),[D,_]=_react.useState.call(void 0, !1),v=_react.useRef.call(void 0, !1),s=_react.useRef.call(void 0, !1),i=_react.useRef.call(void 0, 0),P=_react.useRef.call(void 0, 0),F=_react.useMemo.call(void 0, ()=>E!=null?{crossmintAppId:E}:{},[E]),l=_react.useCallback.call(void 0, e=>_chunkJ42HASCIjs.e.call(void 0, this,null,function*(){if(t.current!=null){let r=t.current;if(s.current){n.info("react-native.wallet.webview.handshake.skip.in-progress",{trigger:e,generation:i.current});return}if(v.current&&r.isConnected){n.info("react-native.wallet.webview.handshake.skip.already-connected",{trigger:e,generation:i.current});return}s.current=!0;let a=Date.now();P.current=a;let o=i.current;try{n.info("react-native.wallet.webview.handshake.start",{trigger:e,generation:o,platform:_reactnative.Platform.OS}),v.current=!0,r.isConnected=!1,yield r.handshakeWithChild();let c=Date.now()-a;n.info("react-native.wallet.webview.handshake.success",{trigger:e,generation:o,durationMs:c})}catch(c){let d=Date.now()-a;o===i.current&&(v.current=!1),n.error("react-native.wallet.webview.handshake.error",{trigger:e,generation:o,durationMs:d,error:c instanceof Error?c.message:String(c)}),console.error("[CrossmintWalletProvider] Handshake error:",c)}finally{o===i.current&&(s.current=!1)}}else n.warn("react-native.wallet.webview.handshake.skip",{trigger:e,reason:"parent not initialized"})}),[n]);_react.useEffect.call(void 0, ()=>{f.current!=null&&t.current==null&&(n.info("react-native.wallet.webview.initializing"),t.current=new (0, _clientsdkrnwindow.WebViewParent)(f,{incomingEvents:_clientsigners.signerOutboundEvents,outgoingEvents:_clientsigners.signerInboundEvents,handshakeOptions:{timeoutMs:3e4,intervalMs:100},recovery:{recoverableErrorCodes:[_clientsigners.SignerErrorCode.IndexedDbFatal]}}),n.info("react-native.wallet.webview.initialized"),l("eager"))},[D,n,l]);let j=_react.useCallback.call(void 0, ()=>_chunkJ42HASCIjs.e.call(void 0, this,null,function*(){var e,r;n.info("react-native.wallet.webview.onLoadEnd",{handshakeInProgress:s.current,isConnected:(r=(e=t.current)==null?void 0:e.isConnected)!=null?r:!1,generation:i.current}),yield l("onLoadEnd")}),[n,l]),B=_react.useCallback.call(void 0, e=>{var o,c;let r=t.current;if(r==null)return;let a=e.nativeEvent.data;if(a==="frame-ready"){n.info("react-native.wallet.webview.frame-ready.received",{handshakeInProgress:s.current,isConnected:(c=(o=t.current)==null?void 0:o.isConnected)!=null?c:!1,generation:i.current,msSinceHandshakeStart:P.current>0?Date.now()-P.current:null}),l("frame-ready");return}try{let d=JSON.parse(a);if(d&&typeof d.type=="string"&&d.type.startsWith("console.")){let I=d.type.split(".")[1],O=(d.data||[]).map(u=>{try{return u==="[Function]"||u==="[Circular Reference]"||u==="[Unserializable Object]"?u:JSON.parse(u)}catch(we){return u}}),m=`react-native.wallet.webview.console.${I}`,b={webview_args:O};switch(I){case"log":n.info(m,b);break;case"error":n.error(m,b);break;case"warn":n.warn(m,b);break;case"info":n.info(m,b);break;case"debug":n.debug(m,b);break;default:n.info("react-native.wallet.webview.console.unknown",{webview_method:I,webview_args:O})}return}}catch(d){}r.handleMessage(e)},[n,l]);return _jsxruntime.jsxs.call(void 0, _clientsdkreactbase.CrossmintWalletBaseProvider,{createOnLogin:A,appearance:G,headlessSigningFlow:S,initializeWebView:()=>_chunkJ42HASCIjs.e.call(void 0, this,null,function*(){n.info("react-native.wallet.webview.init.start"),_(!0);let e=0,r=100;for(;t.current==null&&e<r;)yield new Promise(a=>setTimeout(a,50)),e++;if(t.current==null)throw n.error("react-native.wallet.webview.init.timeout",{attempts:e}),new Error("WebView not ready or handshake incomplete");n.info("react-native.wallet.webview.init.success",{attempts:e})}),callbacks:z,renderUI:S?void 0:({emailSignerProps:e,phoneSignerProps:r})=>_jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment,{children:[_jsxruntime.jsx.call(void 0, _chunkYJORUMPBjs.a,_chunkJ42HASCIjs.a.call(void 0, {},e)),_jsxruntime.jsx.call(void 0, _chunkMVVSGLQLjs.a,_chunkJ42HASCIjs.a.call(void 0, {},r))]}),clientTEEConnection:()=>{if(t.current==null)throw new Error("WebView not ready or handshake incomplete");return t.current},deviceSignerKeyStorage:H,children:[y,D&&_jsxruntime.jsx.call(void 0, _reactnative.View,{style:{position:"absolute",width:0,height:0,overflow:"hidden"},children:_jsxruntime.jsx.call(void 0, _clientsdkrnwindow.RNWebView,{ref:f,source:{uri:x},globals:F,onLoadEnd:j,onMessage:B,onError:e=>{console.error("[CrossmintWalletProvider] WebView error:",e.nativeEvent)},onHttpError:e=>{console.error("[CrossmintWalletProvider] WebView HTTP error:",e.nativeEvent)},onContentProcessDidTerminate:()=>{var r,a,o;let e=i.current;i.current++,n.warn("react-native.wallet.webview.process.terminated",{prevGeneration:e,newGeneration:i.current,wasConnected:(a=(r=t.current)==null?void 0:r.isConnected)!=null?a:!1,hadHandshakeInProgress:s.current}),v.current=!1,s.current=!1,t.current!=null&&(t.current.isConnected=!1),(o=f.current)==null||o.reload(),l("eager")},onRenderProcessGone:()=>{var r,a,o;let e=i.current;i.current++,n.warn("react-native.wallet.webview.process.renderGone",{prevGeneration:e,newGeneration:i.current,wasConnected:(a=(r=t.current)==null?void 0:r.isConnected)!=null?a:!1,hadHandshakeInProgress:s.current}),v.current=!1,s.current=!1,t.current!=null&&(t.current.isConnected=!1),(o=f.current)==null||o.reload(),l("eager")},style:{width:1,height:1},javaScriptCanOpenWindowsAutomatically:!1,thirdPartyCookiesEnabled:!1,sharedCookiesEnabled:!1,incognito:!1,setSupportMultipleWindows:!1,originWhitelist:[_clientsigners.environmentUrlConfig[W.environment]],cacheEnabled:!0,cacheMode:"LOAD_DEFAULT"})})]})}function Pe(y){return _jsxruntime.jsx.call(void 0, se,_chunkJ42HASCIjs.a.call(void 0, {},y))}exports.a = Pe;
|
package/dist/chunk-J42HASCI.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var o=Object.defineProperty,p=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var j=(a,c,b)=>c in a?o(a,c,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[c]=b,r= exports.a =(a,c)=>{for(var b in c||(c={}))k.call(c,b)&&j(a,b,c[b]);if(f)for(var b of f(c))l.call(c,b)&&j(a,b,c[b]);return a},s= exports.b =(a,c)=>p(a,q(c));var t=(a=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(a,{get:(c,b)=>(typeof require!="undefined"?require:c)[b]}):a)(function(a){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var u=(a,c)=>{var b={};for(var d in a)k.call(a,d)&&c.indexOf(d)<0&&(b[d]=a[d]);if(a!=null&&f)for(var d of f(a))c.indexOf(d)<0&&l.call(a,d)&&(b[d]=a[d]);return b};var v=(a,c,b)=>new Promise((d,i)=>{var m=e=>{try{g(b.next(e))}catch(h){i(h)}},n=e=>{try{g(b.throw(e))}catch(h){i(h)}},g=e=>e.done?d(e.value):Promise.resolve(e.value).then(m,n);g((b=b.apply(a,c)).next())});exports.a = r; exports.b = s; exports.c = t; exports.d = u; exports.e = v;
|
package/dist/chunk-MVVSGLQL.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkF7VXWATPjs = require('./chunk-F7VXWATP.js');var _chunkDC5HCBPKjs = require('./chunk-DC5HCBPK.js');var _chunkEI5LOD4Yjs = require('./chunk-EI5LOD4Y.js');var _reactnative = require('react-native');var _lucidereactnative = require('lucide-react-native');var _jsxruntime = require('react/jsx-runtime');var{width:V}=_reactnative.Dimensions.get("window");function H({phone:i,open:n,setOpen:k,step:w,onSubmitOTP:P,onResendOTPCode:v,onSubmitPhone:O,rejectRef:r,appearance:o}){var m,u,c,g,y,b;function s(){var h;n&&((h=r.current)==null||h.call(r,new Error("User cancelled")),k(!1))}let l=_reactnative.StyleSheet.create({modalOverlay:{flex:1,backgroundColor:"rgba(0, 0, 0, 0.5)",justifyContent:"center",alignItems:"center",padding:16},modalContainer:{backgroundColor:((m=o==null?void 0:o.colors)==null?void 0:m.background)||_chunkEI5LOD4Yjs.a["cm-background-primary"],borderRadius:(o==null?void 0:o.borderRadius)||12,padding:32,width:Math.min(V-32,400),maxHeight:"80%",position:"relative",alignItems:"center",shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:5},closeButton:{position:"absolute",top:16,right:16,width:32,height:32,borderRadius:6,backgroundColor:((u=o==null?void 0:o.colors)==null?void 0:u.inputBackground)||_chunkEI5LOD4Yjs.a["cm-muted-primary"],alignItems:"center",justifyContent:"center",zIndex:1}});return n?_jsxruntime.jsx.call(void 0, _reactnative.Modal,{visible:n,transparent:!0,animationType:"fade",onRequestClose:s,statusBarTranslucent:!0,children:_jsxruntime.jsx.call(void 0, _reactnative.View,{style:l.modalOverlay,children:_jsxruntime.jsxs.call(void 0, _reactnative.View,{style:l.modalContainer,children:[_jsxruntime.jsx.call(void 0, _reactnative.TouchableOpacity,{style:l.closeButton,onPress:s,hitSlop:{top:10,bottom:10,left:10,right:10},children:_jsxruntime.jsx.call(void 0, _lucidereactnative.X,{size:16,color:((c=o==null?void 0:o.colors)==null?void 0:c.textSecondary)||_chunkEI5LOD4Yjs.a["cm-text-secondary"]})}),w==="initial"?_jsxruntime.jsx.call(void 0, _chunkDC5HCBPKjs.a,{contactInfo:i!=null?i:"",contactType:"phone",icon:_jsxruntime.jsx.call(void 0, _lucidereactnative.PhoneIcon,{size:22,color:((g=o==null?void 0:o.colors)==null?void 0:g.textPrimary)||_chunkEI5LOD4Yjs.a["cm-text-primary"]}),onConfirm:O,onCancel:s,appearance:o}):_jsxruntime.jsx.call(void 0, _chunkF7VXWATPjs.a,{contactInfo:i!=null?i:"",contactType:"phone",icon:_jsxruntime.jsx.call(void 0, _reactnative.View,{style:{backgroundColor:((y=o==null?void 0:o.colors)==null?void 0:y.accent)||_chunkEI5LOD4Yjs.a["cm-accent"],borderRadius:999,padding:12},children:_jsxruntime.jsx.call(void 0, _lucidereactnative.Smartphone,{size:22,color:((b=o==null?void 0:o.colors)==null?void 0:b.background)||_chunkEI5LOD4Yjs.a["cm-background-primary"]})}),title:"Check your phone",description:_jsxruntime.jsxs.call(void 0, _reactnative.Text,{children:["A temporary login code has been sent via SMS to"," ",_jsxruntime.jsx.call(void 0, _reactnative.Text,{style:{fontWeight:"bold"},children:i})]}),helpText:`Can't receive the SMS? Check your phone number.
|
|
2
|
-
Some messages may take several minutes to arrive.`,onSubmitOTP:P,onResendCode:v,appearance:o,otpLength:10,keyboardType:"number-pad",autoComplete:"sms-otp",textContentType:"oneTimeCode"})]})})}):null}exports.a = H;
|
package/dist/chunk-PSSAAY7D.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o=Object.defineProperty,p=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var f=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var j=(a,c,b)=>c in a?o(a,c,{enumerable:!0,configurable:!0,writable:!0,value:b}):a[c]=b,r=(a,c)=>{for(var b in c||(c={}))k.call(c,b)&&j(a,b,c[b]);if(f)for(var b of f(c))l.call(c,b)&&j(a,b,c[b]);return a},s=(a,c)=>p(a,q(c));var t=(a=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(a,{get:(c,b)=>(typeof require!="undefined"?require:c)[b]}):a)(function(a){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var u=(a,c)=>{var b={};for(var d in a)k.call(a,d)&&c.indexOf(d)<0&&(b[d]=a[d]);if(a!=null&&f)for(var d of f(a))c.indexOf(d)<0&&l.call(a,d)&&(b[d]=a[d]);return b};var v=(a,c,b)=>new Promise((d,i)=>{var m=e=>{try{g(b.next(e))}catch(h){i(h)}},n=e=>{try{g(b.throw(e))}catch(h){i(h)}},g=e=>e.done?d(e.value):Promise.resolve(e.value).then(m,n);g((b=b.apply(a,c)).next())});export{r as a,s as b,t as c,u as d,v as e};
|
package/dist/chunk-VGA23PJK.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var c={name:"@crossmint/client-sdk-react-native-ui",version:"1.0.0-beta.5",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","generate:docs":"typedoc && node scripts/generate-reference.mjs"},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","lodash.clonedeep":"4.5.0","lodash.isequal":"4.5.0","lucide-react-native":"0.548.0",mitt:"3.0.1","react-native-svg":"15.14.0",zod:"3.22.4","@crossmint/expo-device-signer":"workspace:*"},devDependencies:{"@expo/config-plugins":"^9.0.17",typedoc:"0.28.16","@types/react":"19.1.10","expo-constants":"~18.0.9","expo-device":"~8.0.9","expo-secure-store":"~15.0.7","expo-web-browser":"~15.0.8"},peerDependencies:{"@crossmint/expo-device-signer":"0.1.0-beta.3","@expo/config-plugins":">=9.0.0","@solana/web3.js":"^1.98.1","expo-constants":">=17 <19","expo-device":">=7 <9","expo-secure-store":">=14 <16","expo-web-browser":">=14 <16",react:">=17.0.2","react-native":">=0.74.3","react-native-webview":">=13.15.0 <14"},peerDependenciesMeta:{"@crossmint/expo-device-signer":{optional:!0}}};export{c as a};
|
package/dist/chunk-XNDIT72O.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as C}from"./chunk-D5QADN6Z.mjs";import{a as f}from"./chunk-YLJDAK2S.mjs";import{a as e}from"./chunk-7USVT6EZ.mjs";import{View as l,Modal as v,StyleSheet as P,Dimensions as V,TouchableOpacity as M,Text as w}from"react-native";import{MailCheckIcon as R,MailIcon as B,X as E}from"lucide-react-native";import{jsx as t,jsxs as k}from"react/jsx-runtime";var{width:z}=V.get("window");function X({email:i,open:n,setOpen:T,step:x,onSubmitOTP:S,onResendOTPCode:I,onSubmitEmail:O,rejectRef:r,appearance:o}){var m,u,c,g,b,h;function s(){var y;n&&((y=r.current)==null||y.call(r,new Error),T(!1))}let d=P.create({centeredView:{flex:1,backgroundColor:"rgba(0, 0, 0, 0.5)",justifyContent:"center",alignItems:"center",padding:16},modalView:{backgroundColor:((m=o==null?void 0:o.colors)==null?void 0:m.background)||e["cm-background-primary"],borderRadius:(o==null?void 0:o.borderRadius)||12,padding:32,alignItems:"center",width:Math.min(z-32,400),maxHeight:"80%",position:"relative",shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:5},closeButton:{position:"absolute",top:16,right:16,width:32,height:32,borderRadius:6,backgroundColor:((u=o==null?void 0:o.colors)==null?void 0:u.inputBackground)||e["cm-muted-primary"],alignItems:"center",justifyContent:"center",zIndex:1}});return n?t(v,{visible:n,transparent:!0,animationType:"fade",onRequestClose:s,statusBarTranslucent:!0,children:t(l,{style:d.centeredView,children:k(l,{style:d.modalView,children:[t(M,{style:d.closeButton,onPress:s,hitSlop:{top:10,bottom:10,left:10,right:10},children:t(E,{size:16,color:((c=o==null?void 0:o.colors)==null?void 0:c.textSecondary)||e["cm-text-secondary"]})}),x==="initial"?t(f,{contactInfo:i!=null?i:"",contactType:"email",icon:t(B,{size:22,color:((g=o==null?void 0:o.colors)==null?void 0:g.textPrimary)||e["cm-text-primary"]}),onConfirm:O,onCancel:s,appearance:o}):t(C,{contactInfo:i!=null?i:"",contactType:"email",icon:t(l,{style:{backgroundColor:((b=o==null?void 0:o.colors)==null?void 0:b.accent)||e["cm-accent"],borderRadius:999,padding:12},children:t(R,{size:22,color:((h=o==null?void 0:o.colors)==null?void 0:h.background)||e["cm-background-primary"]})}),title:"Check your email",description:k(w,{children:["A temporary login code has been sent to"," ",t(w,{style:{fontWeight:"bold"},children:i})]}),helpText:`Can't find the email? Check spam folder.
|
|
2
|
-
Some emails may take several minutes to arrive.`,onSubmitOTP:S,onResendCode:I,appearance:o,otpLength:9,keyboardType:"default",autoComplete:"one-time-code",textContentType:"oneTimeCode"})]})})}):null}export{X as a};
|
package/dist/chunk-XSBVXPEK.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as M}from"./chunk-RO3XNRC3.mjs";import{a as L}from"./chunk-XNDIT72O.mjs";import{a as T}from"./chunk-3QSVHCEH.mjs";import{a as p,e as g}from"./chunk-PSSAAY7D.mjs";import{useCallback as V,useRef as w,useMemo as C,useEffect as J,useState as $}from"react";import{Platform as q,View as Q}from"react-native";import{RNWebView as X,WebViewParent as Y}from"@crossmint/client-sdk-rn-window";import{environmentUrlConfig as U,signerInboundEvents as Z,signerOutboundEvents as ee,SignerErrorCode as ne}from"@crossmint/client-signers";import{validateAPIKey as re}from"@crossmint/common-sdk-base";import{CrossmintWalletBaseProvider as te,useCrossmint as ae}from"@crossmint/client-sdk-react-base";import{NativeDeviceSignerKeyStorage as oe}from"@crossmint/expo-device-signer";import{useLogger as ie}from"@crossmint/client-sdk-react-base";import{Fragment as ce,jsx as h,jsxs as N}from"react/jsx-runtime";function se({children:y,createOnLogin:A,appearance:G,headlessSigningFlow:S=!0,callbacks:z,deviceSignerKeyStorage:k}){let H=C(()=>k!=null?k:new oe,[]),{crossmint:K}=ae("CrossmintWalletProvider must be used within CrossmintProvider"),n=ie(M),{apiKey:R,appId:E}=K,W=C(()=>{let e=re(R);if(!e.isValid)throw new Error("Invalid API key");return e},[R]),x=C(()=>U[W.environment],[W.environment]),f=w(null),t=w(null),[D,_]=$(!1),v=w(!1),s=w(!1),i=w(0),P=w(0),F=C(()=>E!=null?{crossmintAppId:E}:{},[E]),l=V(e=>g(this,null,function*(){if(t.current!=null){let r=t.current;if(s.current){n.info("react-native.wallet.webview.handshake.skip.in-progress",{trigger:e,generation:i.current});return}if(v.current&&r.isConnected){n.info("react-native.wallet.webview.handshake.skip.already-connected",{trigger:e,generation:i.current});return}s.current=!0;let a=Date.now();P.current=a;let o=i.current;try{n.info("react-native.wallet.webview.handshake.start",{trigger:e,generation:o,platform:q.OS}),v.current=!0,r.isConnected=!1,yield r.handshakeWithChild();let c=Date.now()-a;n.info("react-native.wallet.webview.handshake.success",{trigger:e,generation:o,durationMs:c})}catch(c){let d=Date.now()-a;o===i.current&&(v.current=!1),n.error("react-native.wallet.webview.handshake.error",{trigger:e,generation:o,durationMs:d,error:c instanceof Error?c.message:String(c)}),console.error("[CrossmintWalletProvider] Handshake error:",c)}finally{o===i.current&&(s.current=!1)}}else n.warn("react-native.wallet.webview.handshake.skip",{trigger:e,reason:"parent not initialized"})}),[n]);J(()=>{f.current!=null&&t.current==null&&(n.info("react-native.wallet.webview.initializing"),t.current=new Y(f,{incomingEvents:ee,outgoingEvents:Z,handshakeOptions:{timeoutMs:3e4,intervalMs:100},recovery:{recoverableErrorCodes:[ne.IndexedDbFatal]}}),n.info("react-native.wallet.webview.initialized"),l("eager"))},[D,n,l]);let j=V(()=>g(this,null,function*(){var e,r;n.info("react-native.wallet.webview.onLoadEnd",{handshakeInProgress:s.current,isConnected:(r=(e=t.current)==null?void 0:e.isConnected)!=null?r:!1,generation:i.current}),yield l("onLoadEnd")}),[n,l]),B=V(e=>{var o,c;let r=t.current;if(r==null)return;let a=e.nativeEvent.data;if(a==="frame-ready"){n.info("react-native.wallet.webview.frame-ready.received",{handshakeInProgress:s.current,isConnected:(c=(o=t.current)==null?void 0:o.isConnected)!=null?c:!1,generation:i.current,msSinceHandshakeStart:P.current>0?Date.now()-P.current:null}),l("frame-ready");return}try{let d=JSON.parse(a);if(d&&typeof d.type=="string"&&d.type.startsWith("console.")){let I=d.type.split(".")[1],O=(d.data||[]).map(u=>{try{return u==="[Function]"||u==="[Circular Reference]"||u==="[Unserializable Object]"?u:JSON.parse(u)}catch(we){return u}}),m=`react-native.wallet.webview.console.${I}`,b={webview_args:O};switch(I){case"log":n.info(m,b);break;case"error":n.error(m,b);break;case"warn":n.warn(m,b);break;case"info":n.info(m,b);break;case"debug":n.debug(m,b);break;default:n.info("react-native.wallet.webview.console.unknown",{webview_method:I,webview_args:O})}return}}catch(d){}r.handleMessage(e)},[n,l]);return N(te,{createOnLogin:A,appearance:G,headlessSigningFlow:S,initializeWebView:()=>g(this,null,function*(){n.info("react-native.wallet.webview.init.start"),_(!0);let e=0,r=100;for(;t.current==null&&e<r;)yield new Promise(a=>setTimeout(a,50)),e++;if(t.current==null)throw n.error("react-native.wallet.webview.init.timeout",{attempts:e}),new Error("WebView not ready or handshake incomplete");n.info("react-native.wallet.webview.init.success",{attempts:e})}),callbacks:z,renderUI:S?void 0:({emailSignerProps:e,phoneSignerProps:r})=>N(ce,{children:[h(L,p({},e)),h(T,p({},r))]}),clientTEEConnection:()=>{if(t.current==null)throw new Error("WebView not ready or handshake incomplete");return t.current},deviceSignerKeyStorage:H,children:[y,D&&h(Q,{style:{position:"absolute",width:0,height:0,overflow:"hidden"},children:h(X,{ref:f,source:{uri:x},globals:F,onLoadEnd:j,onMessage:B,onError:e=>{console.error("[CrossmintWalletProvider] WebView error:",e.nativeEvent)},onHttpError:e=>{console.error("[CrossmintWalletProvider] WebView HTTP error:",e.nativeEvent)},onContentProcessDidTerminate:()=>{var r,a,o;let e=i.current;i.current++,n.warn("react-native.wallet.webview.process.terminated",{prevGeneration:e,newGeneration:i.current,wasConnected:(a=(r=t.current)==null?void 0:r.isConnected)!=null?a:!1,hadHandshakeInProgress:s.current}),v.current=!1,s.current=!1,t.current!=null&&(t.current.isConnected=!1),(o=f.current)==null||o.reload(),l("eager")},onRenderProcessGone:()=>{var r,a,o;let e=i.current;i.current++,n.warn("react-native.wallet.webview.process.renderGone",{prevGeneration:e,newGeneration:i.current,wasConnected:(a=(r=t.current)==null?void 0:r.isConnected)!=null?a:!1,hadHandshakeInProgress:s.current}),v.current=!1,s.current=!1,t.current!=null&&(t.current.isConnected=!1),(o=f.current)==null||o.reload(),l("eager")},style:{width:1,height:1},javaScriptCanOpenWindowsAutomatically:!1,thirdPartyCookiesEnabled:!1,sharedCookiesEnabled:!1,incognito:!1,setSupportMultipleWindows:!1,originWhitelist:[U[W.environment]],cacheEnabled:!0,cacheMode:"LOAD_DEFAULT"})})]})}function Ie(y){return h(se,p({},y))}export{Ie as a};
|
package/dist/chunk-YJORUMPB.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkF7VXWATPjs = require('./chunk-F7VXWATP.js');var _chunkDC5HCBPKjs = require('./chunk-DC5HCBPK.js');var _chunkEI5LOD4Yjs = require('./chunk-EI5LOD4Y.js');var _reactnative = require('react-native');var _lucidereactnative = require('lucide-react-native');var _jsxruntime = require('react/jsx-runtime');var{width:z}=_reactnative.Dimensions.get("window");function L({email:i,open:n,setOpen:T,step:x,onSubmitOTP:S,onResendOTPCode:I,onSubmitEmail:O,rejectRef:r,appearance:o}){var m,u,c,g,b,h;function s(){var y;n&&((y=r.current)==null||y.call(r,new Error),T(!1))}let d=_reactnative.StyleSheet.create({centeredView:{flex:1,backgroundColor:"rgba(0, 0, 0, 0.5)",justifyContent:"center",alignItems:"center",padding:16},modalView:{backgroundColor:((m=o==null?void 0:o.colors)==null?void 0:m.background)||_chunkEI5LOD4Yjs.a["cm-background-primary"],borderRadius:(o==null?void 0:o.borderRadius)||12,padding:32,alignItems:"center",width:Math.min(z-32,400),maxHeight:"80%",position:"relative",shadowColor:"#000",shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:5},closeButton:{position:"absolute",top:16,right:16,width:32,height:32,borderRadius:6,backgroundColor:((u=o==null?void 0:o.colors)==null?void 0:u.inputBackground)||_chunkEI5LOD4Yjs.a["cm-muted-primary"],alignItems:"center",justifyContent:"center",zIndex:1}});return n?_jsxruntime.jsx.call(void 0, _reactnative.Modal,{visible:n,transparent:!0,animationType:"fade",onRequestClose:s,statusBarTranslucent:!0,children:_jsxruntime.jsx.call(void 0, _reactnative.View,{style:d.centeredView,children:_jsxruntime.jsxs.call(void 0, _reactnative.View,{style:d.modalView,children:[_jsxruntime.jsx.call(void 0, _reactnative.TouchableOpacity,{style:d.closeButton,onPress:s,hitSlop:{top:10,bottom:10,left:10,right:10},children:_jsxruntime.jsx.call(void 0, _lucidereactnative.X,{size:16,color:((c=o==null?void 0:o.colors)==null?void 0:c.textSecondary)||_chunkEI5LOD4Yjs.a["cm-text-secondary"]})}),x==="initial"?_jsxruntime.jsx.call(void 0, _chunkDC5HCBPKjs.a,{contactInfo:i!=null?i:"",contactType:"email",icon:_jsxruntime.jsx.call(void 0, _lucidereactnative.MailIcon,{size:22,color:((g=o==null?void 0:o.colors)==null?void 0:g.textPrimary)||_chunkEI5LOD4Yjs.a["cm-text-primary"]}),onConfirm:O,onCancel:s,appearance:o}):_jsxruntime.jsx.call(void 0, _chunkF7VXWATPjs.a,{contactInfo:i!=null?i:"",contactType:"email",icon:_jsxruntime.jsx.call(void 0, _reactnative.View,{style:{backgroundColor:((b=o==null?void 0:o.colors)==null?void 0:b.accent)||_chunkEI5LOD4Yjs.a["cm-accent"],borderRadius:999,padding:12},children:_jsxruntime.jsx.call(void 0, _lucidereactnative.MailCheckIcon,{size:22,color:((h=o==null?void 0:o.colors)==null?void 0:h.background)||_chunkEI5LOD4Yjs.a["cm-background-primary"]})}),title:"Check your email",description:_jsxruntime.jsxs.call(void 0, _reactnative.Text,{children:["A temporary login code has been sent to"," ",_jsxruntime.jsx.call(void 0, _reactnative.Text,{style:{fontWeight:"bold"},children:i})]}),helpText:`Can't find the email? Check spam folder.
|
|
2
|
-
Some emails may take several minutes to arrive.`,onSubmitOTP:S,onResendCode:I,appearance:o,otpLength:9,keyboardType:"default",autoComplete:"one-time-code",textContentType:"oneTimeCode"})]})})}):null}exports.a = L;
|