@unissey-web/sdk-react 3.8.2 → 3.8.3-alpha.2
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/index.js +10 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -735,7 +735,7 @@ var EN = {
|
|
|
735
735
|
};
|
|
736
736
|
|
|
737
737
|
var name = "@unissey-web/web-components";
|
|
738
|
-
var version = "3.8.2";
|
|
738
|
+
var version = "3.8.3-alpha.2";
|
|
739
739
|
var description = "";
|
|
740
740
|
var module = "./dist/index.js";
|
|
741
741
|
var typings = "./dist/index.d.ts";
|
|
@@ -1105,6 +1105,8 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1105
1105
|
_this.isCameraFlipped = false;
|
|
1106
1106
|
// Does the latest session fails to find a face ? Used to disable the face detection on retry (depending on 'faceChecker' property value')
|
|
1107
1107
|
_this.faceDetectionFails = false;
|
|
1108
|
+
// Enable or disable the debugger hook of the sdk js
|
|
1109
|
+
_this.disableDebugMode = false;
|
|
1108
1110
|
_this.sdkJsListener_status = function (status) {
|
|
1109
1111
|
var _this$shadowRoot, _this$shadowRoot2;
|
|
1110
1112
|
_this.sdkJsStatus = status;
|
|
@@ -1378,6 +1380,9 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1378
1380
|
var _this$shadowRoot4;
|
|
1379
1381
|
var video = (_this$shadowRoot4 = this.shadowRoot) === null || _this$shadowRoot4 === void 0 ? void 0 : _this$shadowRoot4.getElementById("vid");
|
|
1380
1382
|
video.addEventListener("resize", this.adjustContainerSize.bind(this));
|
|
1383
|
+
|
|
1384
|
+
// This property is used to disable the debugger
|
|
1385
|
+
buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
|
|
1381
1386
|
}
|
|
1382
1387
|
}, {
|
|
1383
1388
|
key: "updated",
|
|
@@ -1429,8 +1434,6 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1429
1434
|
key: "initSdkJs",
|
|
1430
1435
|
value: function initSdkJs() {
|
|
1431
1436
|
buildPacked.exports.UnisseySdk.setLogLevel(this.logLevel);
|
|
1432
|
-
// This property is used to disable the debugger
|
|
1433
|
-
buildPacked.exports.UnisseySdk.hkdb = true;
|
|
1434
1437
|
var sdkEmitter = buildPacked.exports.UnisseySdk.getReferenceToEventEmitter();
|
|
1435
1438
|
sdkEmitter.on(buildPacked.exports.AcquisitionEvent.ISSUE, this.sdkJsListener_issue);
|
|
1436
1439
|
sdkEmitter.on(buildPacked.exports.AcquisitionEvent.FACE_INFO, this.sdkJsListener_faceInfo);
|
|
@@ -1823,6 +1826,10 @@ Recorder.properties = {
|
|
|
1823
1826
|
attribute: "instruction-messages",
|
|
1824
1827
|
type: Array
|
|
1825
1828
|
},
|
|
1829
|
+
disableDebugMode: {
|
|
1830
|
+
attribute: "disable-debug-mode",
|
|
1831
|
+
type: Boolean
|
|
1832
|
+
},
|
|
1826
1833
|
// Internal state
|
|
1827
1834
|
hints: {
|
|
1828
1835
|
state: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unissey-web/sdk-react",
|
|
3
|
-
"version": "3.8.2",
|
|
3
|
+
"version": "3.8.3-alpha.2",
|
|
4
4
|
"description": "Unissey React Sdk",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@lit-labs/react": "^1.0.2",
|
|
25
|
-
"@unissey-web/web-components": "3.8.2"
|
|
25
|
+
"@unissey-web/web-components": "3.8.3-alpha.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^17.0.0 || ^18.0.0",
|