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