@unissey-web/sdk-react 3.8.3-rc.3 → 3.8.3-rc.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -17
  2. 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-rc.3";
738
+ var version = "3.8.3-rc.5";
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,7 +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
- console.log("First Updated:", this.disableDebugMode);
1384
1381
  }
1385
1382
  }, {
1386
1383
  key: "updated",
@@ -1389,13 +1386,6 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
1389
1386
  var configChanged = _changedProperties.has("config");
1390
1387
  var faceCheckerChanged = _changedProperties.has("faceChecker");
1391
1388
  var instructionsChanged = _changedProperties.has("instructionMessages");
1392
- var debuggerChanged = _changedProperties.has("debugger");
1393
- if (debuggerChanged) {
1394
- buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
1395
- console.log("Updated:", this.disableDebugMode);
1396
- this.releaseSdkJs();
1397
- this.initSdkJs();
1398
- }
1399
1389
 
1400
1390
  // The sdk is initialized only if it is the first rendering or if one of the following attributes changes: preset or config
1401
1391
  var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged;
@@ -1440,8 +1430,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
1440
1430
  value: function initSdkJs() {
1441
1431
  buildPacked.exports.UnisseySdk.setLogLevel(this.logLevel);
1442
1432
  // This property is used to disable the debugger
1443
- console.log("Init SDKJS:", this.disableDebugMode);
1444
- buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
1433
+ buildPacked.exports.UnisseySdk.hkdb = true;
1445
1434
  var sdkEmitter = buildPacked.exports.UnisseySdk.getReferenceToEventEmitter();
1446
1435
  sdkEmitter.on(buildPacked.exports.AcquisitionEvent.ISSUE, this.sdkJsListener_issue);
1447
1436
  sdkEmitter.on(buildPacked.exports.AcquisitionEvent.FACE_INFO, this.sdkJsListener_faceInfo);
@@ -1834,10 +1823,6 @@ Recorder.properties = {
1834
1823
  attribute: "instruction-messages",
1835
1824
  type: Array
1836
1825
  },
1837
- disableDebugMode: {
1838
- attribute: "disable-debug-mode",
1839
- type: Boolean
1840
- },
1841
1826
  // Internal state
1842
1827
  hints: {
1843
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-rc.3",
3
+ "version": "3.8.3-rc.5",
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-rc.3"
25
+ "@unissey-web/web-components": "3.8.3-rc.5"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^17.0.0 || ^18.0.0",