@incodetech/core 0.0.0-dev-20260527-d2899d7c → 0.0.0-dev-20260527-b7418cbd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BrowserStorageProvider-SzhC3_bZ.esm.js → BrowserStorageProvider-D_nkDYje.esm.js} +8 -1
- package/dist/{MotionSensorProvider-D8M9kEPC.esm.js → MotionSensorProvider-DSvZr8IV.esm.js} +53 -12
- package/dist/{OpenViduRecordingProvider-Cu6iha-l.esm.js → OpenViduRecordingProvider-BW0alKwg.esm.js} +1 -1
- package/dist/{BaseWasmProvider-Bu-KpwmU.esm.js → WasmUtilProvider-C3xYpVKR.esm.js} +125 -2
- package/dist/{addressSearch-XScWWdG2.esm.js → addressSearch-C1KbBt1T.esm.js} +4 -4
- package/dist/{ae-signature-CMZEibMI.esm.js → ae-signature-D7lRwRzD.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +6 -6
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +5 -5
- package/dist/{antifraudStateMachine-CiJH01Ew.esm.js → antifraudStateMachine-BO4aULYl.esm.js} +3 -3
- package/dist/authentication.d.ts +12 -12
- package/dist/authentication.esm.js +23 -24
- package/dist/{authenticationManager-Bm789ZF6.esm.js → authenticationManager-BXYtdLzK.esm.js} +6 -6
- package/dist/{authenticationManager-DpUkttoA.d.ts → authenticationManager-CZz9Oc3h.d.ts} +4 -4
- package/dist/{authenticationStateMachine-C3zbMjU_.esm.js → authenticationStateMachine-CYB8jFSq.esm.js} +7 -7
- package/dist/{backCameraStream-DOjKMmDh.esm.js → backCameraStream-DWPmJ84R.esm.js} +3 -3
- package/dist/{browserSimulation-B4v6Uc0u.esm.js → browserSimulation-DoIsN6qC.esm.js} +2 -2
- package/dist/camera.d.ts +4 -3
- package/dist/camera.esm.js +4 -3
- package/dist/consent.d.ts +52 -52
- package/dist/consent.esm.js +5 -5
- package/dist/{consentStateMachine-BTV0sgyX.esm.js → consentStateMachine-BdABUcPQ.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +18 -18
- package/dist/cpf-ocr.esm.js +5 -5
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +6 -6
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{curpValidationStateMachine-C8TEQWn_.esm.js → curpValidationStateMachine-BQWCI1m5.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-DEOH5mIh.esm.js → customWatchlistStateMachine-qeE4R8cp.esm.js} +3 -3
- package/dist/{deepsightLoader-DYK1s4yN.esm.js → deepsightLoader-DBoIcGmB.esm.js} +19 -14
- package/dist/{deepsightService-Be6Zzytt.esm.js → deepsightService-CpuKvsN7.esm.js} +8 -6
- package/dist/{deepsightService-D4bEQp3e.d.ts → deepsightService-DsDyoggy.d.ts} +3 -2
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +80 -80
- package/dist/document-capture.esm.js +9 -9
- package/dist/document-upload.d.ts +50 -50
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-LpJnuj6V.esm.js → documentCaptureStateMachine-DZjFLB0M.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +15 -15
- package/dist/{ekybStateMachine-CWN-sT4k.esm.js → ekybStateMachine-B2ZeI55j.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-ByFjerHH.esm.js → ekycStateMachine-DTkjnDHv.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -5
- package/dist/{electronicSignatureManager-m1XuxLEc.esm.js → electronicSignatureManager-Bzx7cMGR.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +7 -7
- package/dist/{emailManager-D3M9UNcy.esm.js → emailManager-Du60Gnqg.esm.js} +3 -3
- package/dist/{emailManager-DWX4Mm5F.d.ts → emailManager-VSV3VG9_.d.ts} +2 -2
- package/dist/{emailStateMachine-dsbIVuDa.esm.js → emailStateMachine-EDTq3JP9.esm.js} +4 -4
- package/dist/{events-D6-e4vok.esm.js → events-Dnh2PVAZ.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +16 -16
- package/dist/extensibility.esm.js +35 -36
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-D5uJFoFF.esm.js → faceCaptureManagerFactory-B8nSvH2S.esm.js} +17 -3
- package/dist/{faceCaptureManagerFactory-ngkLqllM.d.ts → faceCaptureManagerFactory-D-RCJEQy.d.ts} +9 -9
- package/dist/{faceCaptureSetup-DtVQG-eq.esm.js → faceCaptureSetup-CsXtJXEY.esm.js} +65 -27
- package/dist/{faceMatchStateMachine-By-jTA_A.esm.js → faceMatchStateMachine-y_vo2fqO.esm.js} +3 -3
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +14 -14
- package/dist/{flowCompletionService-C3-_iaMC.esm.js → flowCompletionService-B3AdSk69.esm.js} +3 -3
- package/dist/{flowServices-ET8yQpVN.esm.js → flowServices-IF8xohdN.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-un0p4JOS.esm.js → geolocationStateMachine-CA8HXfNN.esm.js} +4 -4
- package/dist/{getDeviceClass--6s4J1GM.esm.js → getDeviceClass-Cth-3Wjt.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +6 -6
- package/dist/{governmentValidationStateMachine-BtVCm61p.esm.js → governmentValidationStateMachine-DoJ2opyH.esm.js} +4 -4
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +57 -57
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +11 -11
- package/dist/id.esm.js +26 -26
- package/dist/{idCaptureManager-BnT64lct.d.ts → idCaptureManager-DnkNEBOQ.d.ts} +9 -9
- package/dist/{idCaptureManager-DTiqcfDL.esm.js → idCaptureManager-G4x8a9jr.esm.js} +19 -5
- package/dist/{idCaptureStateMachine-CJj7bKLe.esm.js → idCaptureStateMachine-B1SDR_su.esm.js} +57 -32
- package/dist/{idOcrStateMachine-CJvGtJjH.esm.js → idOcrStateMachine-BOqQUm99.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-DDVIg_Hz.esm.js → idVerificationStateMachine-BCKDmUlS.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +33 -33
- package/dist/identity-reuse.esm.js +5 -5
- package/dist/{identityReuseStateMachine-BO6qmq5o.esm.js → identityReuseStateMachine-2jXys2zb.esm.js} +3 -3
- package/dist/{index-DZlhNAOR.d.ts → index-W2B4aSBn.d.ts} +2 -2
- package/dist/{index-CT-_eVJx.d.ts → index-ab9woRUg.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12 -13
- package/dist/{invokeOnCaptureCallback-DtUcr9QF.esm.js → invokeOnCaptureCallback-DZBjD4Oa.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +56 -56
- package/dist/mandatory-consent.esm.js +5 -5
- package/dist/{mandatoryConsentStateMachine-P83lO1Kv.esm.js → mandatoryConsentStateMachine-BKxh2kVL.esm.js} +3 -3
- package/dist/{openviduLazy-CO59qUvG.esm.js → openviduLazy-BTRIs-RB.esm.js} +1 -1
- package/dist/openviduLazy-bBtOlBQQ.esm.js +3 -0
- package/dist/permissionServices-D6OV8ebE.esm.js +130 -0
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +7 -7
- package/dist/{phoneManager-Rmpzst5o.esm.js → phoneManager-BGrHrvUi.esm.js} +3 -3
- package/dist/{phoneManager-BYkD5xRV.d.ts → phoneManager-CAxxveoW.d.ts} +2 -2
- package/dist/{phoneStateMachine-BovyXAH7.esm.js → phoneStateMachine-B_TIPRDd.esm.js} +4 -4
- package/dist/{qe-signature-CUXumNOT.esm.js → qe-signature-DN2lfUZG.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -6
- package/dist/{recordingService--7zrnJ0L.esm.js → recordingService-C9siiy5u.esm.js} +36 -15
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +6 -6
- package/dist/{redirectToMobileStateMachine-DmPreZ4N.esm.js → redirectToMobileStateMachine-CHi0mV4L.esm.js} +4 -4
- package/dist/{runChildModule-DfoDhWUj.esm.js → runChildModule-CnI5vQ5k.esm.js} +2 -2
- package/dist/selfie.d.ts +12 -12
- package/dist/selfie.esm.js +24 -25
- package/dist/{selfieManager-2Dp_5M47.d.ts → selfieManager-DqCKljQZ.d.ts} +4 -4
- package/dist/{selfieManager-2hJ_F_7l.esm.js → selfieManager-Zp0Ij7yg.esm.js} +6 -6
- package/dist/{selfieStateMachine-CYkMakwQ.esm.js → selfieStateMachine-CImppJ-8.esm.js} +3 -3
- package/dist/{session-CavoWvhW.esm.js → session-CE2VlCwg.esm.js} +2 -2
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +11 -11
- package/dist/{sessionInitializer-BXaE5-LU.esm.js → sessionInitializer-CK49Qp7F.esm.js} +7 -7
- package/dist/{setup-CptWOAuf.esm.js → setup-D7vAtBRF.esm.js} +8 -9
- package/dist/{setup-BIc5kpKm.d.ts → setup-GFry_Cwc.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-BOYxYLTJ.esm.js → signatureStateMachine-DKh5CVX5.esm.js} +4 -4
- package/dist/{stats-Cp8V6jOL.esm.js → stats-Dc1nW_Oc.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/trust-graph.d.ts +1 -1
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-cQjCrKJE.d.ts → types-BNddPgzi.d.ts} +2 -2
- package/dist/types-Bdh04xu9.d.ts +5 -0
- package/dist/{types-EXVJmBuY.d.ts → types-ClLIGfX1.d.ts} +1 -1
- package/dist/{types-Bcj4sNA0.d.ts → types-DIsQ9JUj.d.ts} +1 -1
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +12 -13
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-_7mwU1wi.esm.js → watchlistForBusinessStateMachine-DgyqzdxG.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Bbblb1rR.esm.js → watchlistStateMachine-DIHYm-er.esm.js} +3 -3
- package/dist/workflow.d.ts +96 -96
- package/dist/workflow.esm.js +54 -54
- package/package.json +1 -1
- package/dist/WasmUtilProvider-aU2dI9LT.esm.js +0 -126
- package/dist/openviduLazy-DbNAreZz.esm.js +0 -3
- package/dist/permissionServices-BM6kC-Bb.esm.js +0 -50
- package/dist/types-DIpSjydy.d.ts +0 -5
- /package/dist/{Actor-CARlguSq.d.ts → Actor-DhAnkIwf.d.ts} +0 -0
- /package/dist/{BrowserTimerProvider-DhNc_x02.esm.js → BrowserTimerProvider-BZGH3sYJ.esm.js} +0 -0
- /package/dist/{ITimerCapability-DUyV4pr-.esm.js → ITimerCapability-BVO_DTWo.esm.js} +0 -0
- /package/dist/{IpifyProvider-D4LWD15E.esm.js → IpifyProvider-Dt8MgLjg.esm.js} +0 -0
- /package/dist/{Manager-BeGOXZ8j.d.ts → Manager-DCgvJ8qz.d.ts} +0 -0
- /package/dist/{StateMachine-CDm3JH51.d.ts → StateMachine-DOolktTn.d.ts} +0 -0
- /package/dist/{api-CESGtpbH.esm.js → api-eqRXuVG-.esm.js} +0 -0
- /package/dist/{camera-BDnuTUHR.esm.js → camera-Dwo-NOc2.esm.js} +0 -0
- /package/dist/{camera-BMF1a_t8.d.ts → camera-MPUbZOp5.d.ts} +0 -0
- /package/dist/{cpf-C_GpPcp9.esm.js → cpf-PPz2Njto.esm.js} +0 -0
- /package/dist/{dateUtils-BGs-FxcI.esm.js → dateUtils-UoN5xswP.esm.js} +0 -0
- /package/dist/{endpoints-C791eZQ7.esm.js → endpoints-D4cNQqhS.esm.js} +0 -0
- /package/dist/{flowCompletionService-C4A-qYuH.d.ts → flowCompletionService-B8sayu_Y.d.ts} +0 -0
- /package/dist/{getBrowser-C8DP7oTB.esm.js → getBrowser-DHeJ7PSV.esm.js} +0 -0
- /package/dist/{getDeviceClass-DLbfq_Ux.esm.js → getDeviceClass-D_cBaNTv.esm.js} +0 -0
- /package/dist/{lib-CU2Xhl44.esm.js → lib-DUMWi-8w.esm.js} +0 -0
- /package/dist/{platform-SKvEfCBh.esm.js → platform-Ca6QEq2_.esm.js} +0 -0
- /package/dist/{types-CdzhDWOw.d.ts → types-BYqs4TiJ.d.ts} +0 -0
- /package/dist/{warmup-5M9V24RH.d.ts → warmup-D7Ox_nhs.d.ts} +0 -0
- /package/dist/{xstate.esm-C9wncMQa.esm.js → xstate.esm-C_4CL5-u.esm.js} +0 -0
package/dist/{BrowserStorageProvider-SzhC3_bZ.esm.js → BrowserStorageProvider-D_nkDYje.esm.js}
RENAMED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
2
|
+
function setWasmDsFlagSync(enabled) {
|
|
3
|
+
if (typeof localStorage === "undefined") return;
|
|
4
|
+
localStorage.setItem("ds", enabled ? "1" : "0");
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
1
8
|
//#region ../infra/src/providers/browser/BrowserStorageProvider.ts
|
|
2
9
|
/**
|
|
3
10
|
* Browser-based storage provider wrapping localStorage.
|
|
@@ -52,4 +59,4 @@ var BrowserStorageProvider = class {
|
|
|
52
59
|
};
|
|
53
60
|
|
|
54
61
|
//#endregion
|
|
55
|
-
export { BrowserStorageProvider as t };
|
|
62
|
+
export { setWasmDsFlagSync as n, BrowserStorageProvider as t };
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
//#region ../infra/src/providers/browser/MotionSensorProvider.ts
|
|
2
|
-
|
|
2
|
+
const MOTION_PERMISSION_GRANTED_KEY = "motionSensorsPermissionsGranted";
|
|
3
|
+
const MOTION_PERMISSION_DENIED_KEY = "motionSensorsPermissionsDenied";
|
|
4
|
+
var MotionSensorProvider = class MotionSensorProvider {
|
|
5
|
+
static isIosMotionPermissionRequired() {
|
|
6
|
+
return typeof DeviceMotionEvent !== "undefined" && typeof DeviceMotionEvent.requestPermission === "function";
|
|
7
|
+
}
|
|
8
|
+
static readSessionFlag(key) {
|
|
9
|
+
if (typeof sessionStorage === "undefined") return false;
|
|
10
|
+
return sessionStorage.getItem(key) === "true";
|
|
11
|
+
}
|
|
12
|
+
static hasMotionPermissionGrantedInSession() {
|
|
13
|
+
return MotionSensorProvider.readSessionFlag(MOTION_PERMISSION_GRANTED_KEY);
|
|
14
|
+
}
|
|
15
|
+
static hasMotionPermissionDeniedInSession() {
|
|
16
|
+
return MotionSensorProvider.readSessionFlag(MOTION_PERMISSION_DENIED_KEY);
|
|
17
|
+
}
|
|
3
18
|
constructor(thresholds) {
|
|
4
19
|
this._isRunning = false;
|
|
5
|
-
this._hasPermission = true;
|
|
6
20
|
this.acl = null;
|
|
7
21
|
this.gyro = null;
|
|
8
22
|
this.minNumberOfFrames = 10;
|
|
@@ -71,6 +85,7 @@ var MotionSensorProvider = class {
|
|
|
71
85
|
this.updateParams(this.paramsOrientationOld, orientationVal);
|
|
72
86
|
}
|
|
73
87
|
};
|
|
88
|
+
this._hasPermission = MotionSensorProvider.isIosMotionPermissionRequired() ? MotionSensorProvider.hasMotionPermissionGrantedInSession() : true;
|
|
74
89
|
this.thresholds = {
|
|
75
90
|
accThreshold: thresholds?.accThreshold ?? .3,
|
|
76
91
|
gyroThreshold: thresholds?.gyroThreshold ?? .3,
|
|
@@ -92,21 +107,47 @@ var MotionSensorProvider = class {
|
|
|
92
107
|
get hasPermission() {
|
|
93
108
|
return this._hasPermission;
|
|
94
109
|
}
|
|
110
|
+
hasBeenRequestedThisSession() {
|
|
111
|
+
return MotionSensorProvider.hasMotionPermissionGrantedInSession();
|
|
112
|
+
}
|
|
113
|
+
hasMotionPermissionDeniedThisSession() {
|
|
114
|
+
return MotionSensorProvider.hasMotionPermissionDeniedInSession();
|
|
115
|
+
}
|
|
116
|
+
markMotionPermissionGrantedInSession() {
|
|
117
|
+
if (typeof sessionStorage === "undefined") return;
|
|
118
|
+
sessionStorage.setItem(MOTION_PERMISSION_GRANTED_KEY, String(true));
|
|
119
|
+
sessionStorage.removeItem(MOTION_PERMISSION_DENIED_KEY);
|
|
120
|
+
sessionStorage.setItem("motionSensorsPermissionsRequested", String(true));
|
|
121
|
+
}
|
|
122
|
+
markMotionPermissionDeniedInSession() {
|
|
123
|
+
if (typeof sessionStorage === "undefined") return;
|
|
124
|
+
sessionStorage.setItem(MOTION_PERMISSION_DENIED_KEY, String(true));
|
|
125
|
+
sessionStorage.removeItem(MOTION_PERMISSION_GRANTED_KEY);
|
|
126
|
+
}
|
|
95
127
|
async requestPermission() {
|
|
96
|
-
if (
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
128
|
+
if (!MotionSensorProvider.isIosMotionPermissionRequired()) return "not-required";
|
|
129
|
+
if (MotionSensorProvider.hasMotionPermissionGrantedInSession()) {
|
|
130
|
+
this._hasPermission = true;
|
|
131
|
+
return "granted";
|
|
132
|
+
}
|
|
133
|
+
if (MotionSensorProvider.hasMotionPermissionDeniedInSession()) {
|
|
134
|
+
this._hasPermission = false;
|
|
135
|
+
return "denied";
|
|
136
|
+
}
|
|
137
|
+
try {
|
|
138
|
+
if (await DeviceMotionEvent.requestPermission() !== "granted") {
|
|
105
139
|
this._hasPermission = false;
|
|
140
|
+
this.markMotionPermissionDeniedInSession();
|
|
106
141
|
return "denied";
|
|
107
142
|
}
|
|
143
|
+
this._hasPermission = true;
|
|
144
|
+
this.markMotionPermissionGrantedInSession();
|
|
145
|
+
return "granted";
|
|
146
|
+
} catch {
|
|
147
|
+
this._hasPermission = false;
|
|
148
|
+
this.markMotionPermissionDeniedInSession();
|
|
149
|
+
return "denied";
|
|
108
150
|
}
|
|
109
|
-
return "not-required";
|
|
110
151
|
}
|
|
111
152
|
initializeAccelerometer() {
|
|
112
153
|
if (!("Accelerometer" in window)) return;
|
|
@@ -773,7 +773,7 @@ var MlWasmJSApi = class MlWasmJSApi {
|
|
|
773
773
|
}
|
|
774
774
|
async prc() {
|
|
775
775
|
this.checkWasmInitialization("Unable to prc, cpp API hasn't been initialized");
|
|
776
|
-
await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.prc(), true);
|
|
776
|
+
await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.prc(false), true);
|
|
777
777
|
}
|
|
778
778
|
async poc(output) {
|
|
779
779
|
this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized");
|
|
@@ -1148,4 +1148,127 @@ var BaseWasmProvider = class {
|
|
|
1148
1148
|
};
|
|
1149
1149
|
|
|
1150
1150
|
//#endregion
|
|
1151
|
-
|
|
1151
|
+
//#region ../infra/src/providers/wasm/WasmUtilProvider.ts
|
|
1152
|
+
var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
|
|
1153
|
+
static async getInstance() {
|
|
1154
|
+
if (WasmUtilProvider.instance) return WasmUtilProvider.instance;
|
|
1155
|
+
if (WasmUtilProvider.initPromise) return WasmUtilProvider.initPromise;
|
|
1156
|
+
WasmUtilProvider.initPromise = (async () => {
|
|
1157
|
+
const instance = new WasmUtilProvider();
|
|
1158
|
+
await instance.initializeBase({}, "selfie");
|
|
1159
|
+
WasmUtilProvider.instance = instance;
|
|
1160
|
+
return instance;
|
|
1161
|
+
})();
|
|
1162
|
+
return WasmUtilProvider.initPromise;
|
|
1163
|
+
}
|
|
1164
|
+
static resetInstance() {
|
|
1165
|
+
WasmUtilProvider.instance = void 0;
|
|
1166
|
+
WasmUtilProvider.initPromise = void 0;
|
|
1167
|
+
}
|
|
1168
|
+
constructor() {
|
|
1169
|
+
super(void 0);
|
|
1170
|
+
}
|
|
1171
|
+
async initialize(config) {
|
|
1172
|
+
if (this.initialized) return;
|
|
1173
|
+
const pipeline = config.pipelines?.[0] ?? "selfie";
|
|
1174
|
+
await this.initializeBase(config, pipeline);
|
|
1175
|
+
}
|
|
1176
|
+
async processFrame(_image) {
|
|
1177
|
+
throw new Error("WasmUtilProvider does not support frame processing. Use encryptImage() instead.");
|
|
1178
|
+
}
|
|
1179
|
+
encryptImage(image) {
|
|
1180
|
+
this.ensureInitialized();
|
|
1181
|
+
return mlWasmJSApi_default.ens(image);
|
|
1182
|
+
}
|
|
1183
|
+
setSdkVersion(version) {
|
|
1184
|
+
this.ensureInitialized();
|
|
1185
|
+
mlWasmJSApi_default.setSdkVersion(version);
|
|
1186
|
+
}
|
|
1187
|
+
setSdkPlatform(platform) {
|
|
1188
|
+
this.ensureInitialized();
|
|
1189
|
+
mlWasmJSApi_default.setSdkPlatform(platform);
|
|
1190
|
+
}
|
|
1191
|
+
setDeviceInfo(deviceInfo, overrideExisting = true) {
|
|
1192
|
+
this.ensureInitialized();
|
|
1193
|
+
mlWasmJSApi_default.setDeviceInfo(deviceInfo, overrideExisting);
|
|
1194
|
+
}
|
|
1195
|
+
setBrowserInfo(browserInfo, overrideExisting = true) {
|
|
1196
|
+
this.ensureInitialized();
|
|
1197
|
+
mlWasmJSApi_default.setBrowserInfo(browserInfo, overrideExisting);
|
|
1198
|
+
}
|
|
1199
|
+
setCameraInfo(cameraInfo, overrideExisting = true) {
|
|
1200
|
+
this.ensureInitialized();
|
|
1201
|
+
mlWasmJSApi_default.setCameraInfo(cameraInfo, overrideExisting);
|
|
1202
|
+
}
|
|
1203
|
+
setMotionStatus(status) {
|
|
1204
|
+
this.ensureInitialized();
|
|
1205
|
+
mlWasmJSApi_default.setMotionStatus(status);
|
|
1206
|
+
}
|
|
1207
|
+
setBackgroundMode(backgroundMode) {
|
|
1208
|
+
this.ensureInitialized();
|
|
1209
|
+
mlWasmJSApi_default.setBackgroundMode(backgroundMode);
|
|
1210
|
+
}
|
|
1211
|
+
setZc(zc) {
|
|
1212
|
+
this.ensureInitialized();
|
|
1213
|
+
mlWasmJSApi_default.setZc(zc);
|
|
1214
|
+
}
|
|
1215
|
+
setInspectorOpened(opened) {
|
|
1216
|
+
this.ensureInitialized();
|
|
1217
|
+
mlWasmJSApi_default.setInspectorOpened(opened);
|
|
1218
|
+
}
|
|
1219
|
+
getMetadata() {
|
|
1220
|
+
this.ensureInitialized();
|
|
1221
|
+
return mlWasmJSApi_default.getMetadata();
|
|
1222
|
+
}
|
|
1223
|
+
async analyzeFrame(image) {
|
|
1224
|
+
this.ensureInitialized();
|
|
1225
|
+
await mlWasmJSApi_default.analyzeFrame(image);
|
|
1226
|
+
}
|
|
1227
|
+
getCheck() {
|
|
1228
|
+
this.ensureInitialized();
|
|
1229
|
+
return mlWasmJSApi_default.getCheck();
|
|
1230
|
+
}
|
|
1231
|
+
getPipelineState() {
|
|
1232
|
+
this.ensureInitialized();
|
|
1233
|
+
return mlWasmJSApi_default.getPipelineState();
|
|
1234
|
+
}
|
|
1235
|
+
estimatePerformance() {
|
|
1236
|
+
this.ensureInitialized();
|
|
1237
|
+
return mlWasmJSApi_default.estimatePerformance();
|
|
1238
|
+
}
|
|
1239
|
+
isVirtualCamera(label) {
|
|
1240
|
+
this.ensureInitialized();
|
|
1241
|
+
return mlWasmJSApi_default.isVirtualCamera(label);
|
|
1242
|
+
}
|
|
1243
|
+
async prc() {
|
|
1244
|
+
this.ensureInitialized();
|
|
1245
|
+
await mlWasmJSApi_default.prc();
|
|
1246
|
+
}
|
|
1247
|
+
async poc(output) {
|
|
1248
|
+
this.ensureInitialized();
|
|
1249
|
+
await mlWasmJSApi_default.poc(output);
|
|
1250
|
+
}
|
|
1251
|
+
async rsp() {
|
|
1252
|
+
this.ensureInitialized();
|
|
1253
|
+
await mlWasmJSApi_default.rsp();
|
|
1254
|
+
}
|
|
1255
|
+
ssl() {
|
|
1256
|
+
this.ensureInitialized();
|
|
1257
|
+
mlWasmJSApi_default.ssl();
|
|
1258
|
+
}
|
|
1259
|
+
stl() {
|
|
1260
|
+
this.ensureInitialized();
|
|
1261
|
+
mlWasmJSApi_default.stl();
|
|
1262
|
+
}
|
|
1263
|
+
ckvcks(data) {
|
|
1264
|
+
this.ensureInitialized();
|
|
1265
|
+
mlWasmJSApi_default.ckvcks(data);
|
|
1266
|
+
}
|
|
1267
|
+
async getVersions() {
|
|
1268
|
+
this.ensureInitialized();
|
|
1269
|
+
return mlWasmJSApi_default.getVersions();
|
|
1270
|
+
}
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
//#endregion
|
|
1274
|
+
export { WasmWebClientError as a, setWebApiHttpTransport as c, IdCaptureModelType as d, deriveSiblingJsPath as f, mlWasmJSApi_default as i, setupWasmConnection as l, BaseWasmProvider as n, executeWasmRequest as o, warmupWasm as r, initializeWasmWebClient as s, WasmUtilProvider as t, WasmPipelineType as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { i as fromCallback } from "./xstate.esm-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BZGH3sYJ.esm.js";
|
|
2
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
4
|
+
import { i as fromCallback } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/shared/usStates.ts
|
|
7
7
|
const usStates = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-Bzx7cMGR.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/ae-signature/index.ts
|
|
4
4
|
function createAeSignatureManager(options) {
|
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
|
+
import "./Actor-DhAnkIwf.js";
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-ab9woRUg.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
6
|
-
import { t as createAeSignatureManager } from "./ae-signature-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import "./events-Dnh2PVAZ.esm.js";
|
|
3
|
+
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
|
+
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
+
import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks } from "./electronicSignatureManager-Bzx7cMGR.esm.js";
|
|
6
|
+
import { t as createAeSignatureManager } from "./ae-signature-D7lRwRzD.esm.js";
|
|
7
7
|
|
|
8
8
|
export { AE_CONSENT_KEYS, electronicSignatureMachine as aeSignatureMachine, areAllConsented, createAeSignatureManager, getDefaultConsentChecks };
|
package/dist/antifraud.d.ts
CHANGED
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dnh2PVAZ.esm.js";
|
|
3
|
+
import "./endpoints-D4cNQqhS.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-BO4aULYl.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
8
8
|
function createAntifraudActor() {
|
package/dist/{antifraudStateMachine-CiJH01Ew.esm.js → antifraudStateMachine-BO4aULYl.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
3
|
+
import { a as fromPromise, t as setup } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./types-
|
|
12
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import "./warmup-D7Ox_nhs.js";
|
|
2
|
+
import "./Manager-DCgvJ8qz.js";
|
|
3
|
+
import "./Actor-DhAnkIwf.js";
|
|
4
|
+
import "./StateMachine-DOolktTn.js";
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-D-RCJEQy.js";
|
|
6
|
+
import "./camera-MPUbZOp5.js";
|
|
7
|
+
import "./types-ClLIGfX1.js";
|
|
8
|
+
import "./types-BYqs4TiJ.js";
|
|
9
|
+
import "./types-BNddPgzi.js";
|
|
10
|
+
import "./deepsightService-DsDyoggy.js";
|
|
11
|
+
import "./types-Bdh04xu9.js";
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CZz9Oc3h.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./getDeviceClass
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import { t as
|
|
24
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Bm789ZF6.esm.js";
|
|
1
|
+
import "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
+
import "./api-eqRXuVG-.esm.js";
|
|
3
|
+
import "./events-Dnh2PVAZ.esm.js";
|
|
4
|
+
import "./endpoints-D4cNQqhS.esm.js";
|
|
5
|
+
import "./stats-Dc1nW_Oc.esm.js";
|
|
6
|
+
import "./browserSimulation-DoIsN6qC.esm.js";
|
|
7
|
+
import "./platform-Ca6QEq2_.esm.js";
|
|
8
|
+
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
9
|
+
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
10
|
+
import "./BrowserStorageProvider-D_nkDYje.esm.js";
|
|
11
|
+
import "./MotionSensorProvider-DSvZr8IV.esm.js";
|
|
12
|
+
import "./permissionServices-D6OV8ebE.esm.js";
|
|
13
|
+
import "./camera-Dwo-NOc2.esm.js";
|
|
14
|
+
import "./faceCaptureManagerFactory-B8nSvH2S.esm.js";
|
|
15
|
+
import "./recordingService-C9siiy5u.esm.js";
|
|
16
|
+
import "./ITimerCapability-BVO_DTWo.esm.js";
|
|
17
|
+
import "./deepsightService-CpuKvsN7.esm.js";
|
|
18
|
+
import "./backCameraStream-DWPmJ84R.esm.js";
|
|
19
|
+
import "./getDeviceClass-D_cBaNTv.esm.js";
|
|
20
|
+
import "./getDeviceClass-Cth-3Wjt.esm.js";
|
|
21
|
+
import "./faceCaptureSetup-CsXtJXEY.esm.js";
|
|
22
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CYB8jFSq.esm.js";
|
|
23
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BXYtdLzK.esm.js";
|
|
25
24
|
|
|
26
25
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-Bm789ZF6.esm.js → authenticationManager-BXYtdLzK.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-Dnh2PVAZ.esm.js";
|
|
3
|
+
import { s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-D_nkDYje.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-B8nSvH2S.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-CYB8jFSq.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-D-RCJEQy.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
declare function createAuthenticationManagerFromActor(actor: AuthenticationActor): Manager<FaceCaptureManagerState> & {
|
|
7
7
|
load(): void;
|
|
8
|
-
nextStep(): void
|
|
8
|
+
nextStep(): Promise<void>;
|
|
9
9
|
requestPermission(): void;
|
|
10
10
|
goToLearnMore(): void;
|
|
11
11
|
back(): void;
|
|
@@ -52,7 +52,7 @@ declare function createAuthenticationManagerFromActor(actor: AuthenticationActor
|
|
|
52
52
|
*/
|
|
53
53
|
declare function createAuthenticationManager(options: CreateAuthenticationActorOptions): Manager<FaceCaptureManagerState> & {
|
|
54
54
|
load(): void;
|
|
55
|
-
nextStep(): void
|
|
55
|
+
nextStep(): Promise<void>;
|
|
56
56
|
requestPermission(): void;
|
|
57
57
|
goToLearnMore(): void;
|
|
58
58
|
back(): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as addDeviceStats } from "./stats-
|
|
4
|
-
import { a as fromPromise, r as assign } from "./xstate.esm-
|
|
5
|
-
import {
|
|
6
|
-
import { t as getDeviceClass } from "./getDeviceClass
|
|
7
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-D4cNQqhS.esm.js";
|
|
3
|
+
import { t as addDeviceStats } from "./stats-Dc1nW_Oc.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
5
|
+
import { b as FACE_ERROR_CODES, d as postOnDeviceFaceResults, f as prepareOnDeviceFaceUpload, l as defaultPrepareFaceUpload, u as isOnDeviceMode } from "./recordingService-C9siiy5u.esm.js";
|
|
6
|
+
import { t as getDeviceClass } from "./getDeviceClass-Cth-3Wjt.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CsXtJXEY.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
10
10
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
1
|
+
import { a as isIPhone14OrHigher, o as isSafari, r as isIOS, t as isAndroid } from "./platform-Ca6QEq2_.esm.js";
|
|
2
|
+
import { i as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-Dwo-NOc2.esm.js";
|
|
3
|
+
import { t as sleep } from "./ITimerCapability-BVO_DTWo.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as isIOS } from "./platform-
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
1
|
+
import { r as isIOS } from "./platform-Ca6QEq2_.esm.js";
|
|
2
|
+
import { t as getUserAgent } from "./getBrowser-DHeJ7PSV.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../../node_modules/.pnpm/ua-parser-js@2.0.9/node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
5
5
|
var LIBVERSION = "2.0.9", UA_MAX_LENGTH = 500, USER_AGENT = "user-agent", EMPTY = "", UNKNOWN = "?", TYPEOF = {
|
package/dist/camera.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bdh04xu9.js";
|
|
2
2
|
|
|
3
3
|
//#region src/internal/permissions/permissionServices.d.ts
|
|
4
4
|
type RequestPermissionOptions = {
|
|
@@ -7,8 +7,9 @@ type RequestPermissionOptions = {
|
|
|
7
7
|
declare function checkPermission(): Promise<PermissionResult>;
|
|
8
8
|
/**
|
|
9
9
|
* Requests camera permission by attempting to access the camera, then immediately
|
|
10
|
-
* stops the obtained stream.
|
|
11
|
-
*
|
|
10
|
+
* stops the obtained stream. When `requestMotion` is true (deepsight), requests
|
|
11
|
+
* motion OS permission, primes WASM sensors, then camera — all in one user gesture
|
|
12
|
+
* chain, matching SDK v1.
|
|
12
13
|
*/
|
|
13
14
|
declare function requestPermission(options?: RequestPermissionOptions): Promise<PermissionResult>;
|
|
14
15
|
//#endregion
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import {
|
|
1
|
+
import "./WasmUtilProvider-C3xYpVKR.esm.js";
|
|
2
|
+
import "./MotionSensorProvider-DSvZr8IV.esm.js";
|
|
3
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-D6OV8ebE.esm.js";
|
|
4
|
+
import "./camera-Dwo-NOc2.esm.js";
|
|
4
5
|
|
|
5
6
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|