@incodetech/core 2.0.0-alpha.10 → 2.0.0-alpha.11
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/OpenViduLogger-20ZYS-mT.esm.js +3 -0
- package/dist/{addEvent-W0ORK0jT.esm.js → addEvent-s2Za-pK3.esm.js} +1 -1
- package/dist/deepsightLoader-Bn2D0REl.esm.js +25 -0
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{endpoints-BSTFaHYo.esm.js → endpoints-B0ltwtb5.esm.js} +633 -4
- package/dist/flow.d.ts +3 -3
- package/dist/flow.esm.js +2 -2
- package/dist/getBrowser-CLEzz0Hi.esm.js +8 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +3 -2
- package/dist/{lib-Bu9XGMBW.esm.js → lib-CykGFCEr.esm.js} +1 -1
- package/dist/{permissionServices-I6vX6DBy.esm.js → permissionServices-BhD0KxsO.esm.js} +2 -8
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/recordingsRepository-CTjaf-ER.esm.js +256 -0
- package/dist/selfie.d.ts +67 -5
- package/dist/selfie.esm.js +138 -46
- package/package.json +2 -2
- package/dist/OpenViduLogger-BdPfiZO6.esm.js +0 -3
- /package/dist/{Manager-BGfxEmyv.d.ts → Manager-Cy9-TMC9.d.ts} +0 -0
- /package/dist/{OpenViduLogger-CQyDxBvM.esm.js → OpenViduLogger-5b7KqNTo.esm.js} +0 -0
- /package/dist/{StateMachine-DRE1oH2B.d.ts → StateMachine-BqPpBhOz.d.ts} +0 -0
- /package/dist/{types-iZi2rawo.d.ts → types-Dif6MQmX.d.ts} +0 -0
- /package/dist/{warmup-CEJTfxQr.d.ts → warmup-Cijuyvoc.d.ts} +0 -0
- /package/dist/{xstate.esm-B_rda9yU.esm.js → xstate.esm-2T5fOCTq.esm.js} +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { c as WasmUtilProvider, d as VisibilityProvider, m as DeepsightRecordingProvider, p as MotionSensorProvider } from "./endpoints-B0ltwtb5.esm.js";
|
|
2
|
+
import "./getBrowser-CLEzz0Hi.esm.js";
|
|
3
|
+
import { a as createDeepsightService, i as uploadDeepsightVideo } from "./recordingsRepository-CTjaf-ER.esm.js";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/selfie/deepsightLoader.ts
|
|
6
|
+
const SDK_VERSION = "2.0.0";
|
|
7
|
+
async function loadDeepsightSession() {
|
|
8
|
+
const service = createDeepsightService({
|
|
9
|
+
sdkVersion: SDK_VERSION,
|
|
10
|
+
wasmUtil: await WasmUtilProvider.getInstance(),
|
|
11
|
+
visibility: new VisibilityProvider(),
|
|
12
|
+
motionSensor: new MotionSensorProvider(),
|
|
13
|
+
recorder: new DeepsightRecordingProvider(),
|
|
14
|
+
uploadVideo: async (encryptedVideo, token) => {
|
|
15
|
+
return await uploadDeepsightVideo(encryptedVideo, token);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
await service.initialize();
|
|
19
|
+
await service.requestMotionPermission();
|
|
20
|
+
await service.startMotionSensors();
|
|
21
|
+
return service;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { loadDeepsightSession };
|
package/dist/email.d.ts
CHANGED
package/dist/email.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
3
|
-
import { t as addEvent } from "./addEvent-
|
|
1
|
+
import { b as createManager, n as api, t as endpoints } from "./endpoints-B0ltwtb5.esm.js";
|
|
2
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-2T5fOCTq.esm.js";
|
|
3
|
+
import { t as addEvent } from "./addEvent-s2Za-pK3.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/email/emailServices.ts
|
|
6
6
|
async function fetchEmail(signal) {
|