@unissey-web/web-components 3.8.3-rc.4 → 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.
@@ -3,7 +3,7 @@ import { selfieCaptureStrings } from './selfie-capture.js';
3
3
  import { referenceCaptureStrings } from './reference-capture.js';
4
4
  import './button.js';
5
5
  import './en-e76ed5a0.js';
6
- import './video-recorder-b705e365.js';
6
+ import './video-recorder-68bc6fc6.js';
7
7
  import './variables-09a3e162.js';
8
8
  import './video-record-directions.js';
9
9
  import './direction-card-f55e1936.js';
package/dist/index.d.ts CHANGED
@@ -329,7 +329,6 @@ declare class Recorder extends LitElement {
329
329
  retryCount: number;
330
330
  isCameraFlipped: boolean;
331
331
  faceDetectionFails: boolean;
332
- disableDebugMode: boolean;
333
332
  static properties: {
334
333
  preset: {
335
334
  attribute: string;
@@ -363,10 +362,6 @@ declare class Recorder extends LitElement {
363
362
  attribute: string;
364
363
  type: ArrayConstructor;
365
364
  };
366
- disableDebugMode: {
367
- attribute: string;
368
- type: BooleanConstructor;
369
- };
370
365
  hints: {
371
366
  state: boolean;
372
367
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Button } from './button.js';
2
- import { R as Recorder } from './video-recorder-b705e365.js';
3
- export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-b705e365.js';
2
+ import { R as Recorder } from './video-recorder-68bc6fc6.js';
3
+ export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-68bc6fc6.js';
4
4
  export { VideoRecordDirections } from './video-record-directions.js';
5
5
  export { PictureRecorder } from './picture-recorder.js';
6
6
  export { PictureEditor } from './picture-editor.js';
@@ -1,6 +1,6 @@
1
1
  import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, e as _objectSpread2 } from './lit-element-ac3d3a27.js';
2
2
  import { E as EN } from './en-e76ed5a0.js';
3
- import { R as Recorder, b as buildPacked } from './video-recorder-b705e365.js';
3
+ import { R as Recorder, b as buildPacked } from './video-recorder-68bc6fc6.js';
4
4
  import './variables-09a3e162.js';
5
5
  import './button.js';
6
6
 
@@ -3,7 +3,7 @@ import './button.js';
3
3
  import './image-capture-directions.js';
4
4
  import './file-upload.js';
5
5
  import './picture-recorder.js';
6
- import { b as buildPacked } from './video-recorder-b705e365.js';
6
+ import { b as buildPacked } from './video-recorder-68bc6fc6.js';
7
7
  import { E as EN } from './en-e76ed5a0.js';
8
8
  import { c as referenceCaptureVars } from './variables-09a3e162.js';
9
9
  import './direction-card-f55e1936.js';
@@ -1,6 +1,6 @@
1
1
  import { _ as _inherits, a as _createClass, x, d as _taggedTemplateLiteral, s, b as _classCallCheck, c as _callSuper, i } from './lit-element-ac3d3a27.js';
2
2
  import { E as EN } from './en-e76ed5a0.js';
3
- import { b as buildPacked } from './video-recorder-b705e365.js';
3
+ import { b as buildPacked } from './video-recorder-68bc6fc6.js';
4
4
  import './video-record-directions.js';
5
5
  import './button.js';
6
6
  import { s as selfieCaptureVars } from './variables-09a3e162.js';
@@ -4,7 +4,7 @@ import { E as EN } from './en-e76ed5a0.js';
4
4
  import './button.js';
5
5
 
6
6
  var name = "@unissey-web/web-components";
7
- var version = "3.8.3-rc.4";
7
+ var version = "3.8.3-rc.5";
8
8
  var description = "";
9
9
  var module = "./dist/index.js";
10
10
  var typings = "./dist/index.d.ts";
@@ -374,8 +374,6 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
374
374
  _this.isCameraFlipped = false;
375
375
  // Does the latest session fails to find a face ? Used to disable the face detection on retry (depending on 'faceChecker' property value')
376
376
  _this.faceDetectionFails = false;
377
- // Enable or disable the debugger hook of the sdk js
378
- _this.disableDebugMode = false;
379
377
  _this.sdkJsListener_status = function (status) {
380
378
  var _this$shadowRoot, _this$shadowRoot2;
381
379
  _this.sdkJsStatus = status;
@@ -649,8 +647,6 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
649
647
  var _this$shadowRoot4;
650
648
  var video = (_this$shadowRoot4 = this.shadowRoot) === null || _this$shadowRoot4 === void 0 ? void 0 : _this$shadowRoot4.getElementById("vid");
651
649
  video.addEventListener("resize", this.adjustContainerSize.bind(this));
652
- console.log("First Updated:", this.disableDebugMode);
653
- buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
654
650
  }
655
651
  }, {
656
652
  key: "updated",
@@ -659,13 +655,6 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
659
655
  var configChanged = _changedProperties.has("config");
660
656
  var faceCheckerChanged = _changedProperties.has("faceChecker");
661
657
  var instructionsChanged = _changedProperties.has("instructionMessages");
662
- var debuggerChanged = _changedProperties.has("disableDebugMode");
663
- if (debuggerChanged) {
664
- buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
665
- console.log("Updated:", this.disableDebugMode);
666
- this.releaseSdkJs();
667
- this.initSdkJs();
668
- }
669
658
 
670
659
  // The sdk is initialized only if it is the first rendering or if one of the following attributes changes: preset or config
671
660
  var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged;
@@ -710,8 +699,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
710
699
  value: function initSdkJs() {
711
700
  buildPacked.exports.UnisseySdk.setLogLevel(this.logLevel);
712
701
  // This property is used to disable the debugger
713
- console.log("Init SDKJS:", this.disableDebugMode);
714
- buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
702
+ buildPacked.exports.UnisseySdk.hkdb = true;
715
703
  var sdkEmitter = buildPacked.exports.UnisseySdk.getReferenceToEventEmitter();
716
704
  sdkEmitter.on(buildPacked.exports.AcquisitionEvent.ISSUE, this.sdkJsListener_issue);
717
705
  sdkEmitter.on(buildPacked.exports.AcquisitionEvent.FACE_INFO, this.sdkJsListener_faceInfo);
@@ -1104,10 +1092,6 @@ Recorder.properties = {
1104
1092
  attribute: "instruction-messages",
1105
1093
  type: Array
1106
1094
  },
1107
- disableDebugMode: {
1108
- attribute: "disable-debug-mode",
1109
- type: Boolean
1110
- },
1111
1095
  // Internal state
1112
1096
  hints: {
1113
1097
  state: true
@@ -1,5 +1,5 @@
1
1
  import './lit-element-ac3d3a27.js';
2
- export { R as Recorder, V as VideoRecorder } from './video-recorder-b705e365.js';
2
+ export { R as Recorder, V as VideoRecorder } from './video-recorder-68bc6fc6.js';
3
3
  import './button.js';
4
4
  import './en-e76ed5a0.js';
5
5
  import './variables-09a3e162.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unissey-web/web-components",
3
- "version": "3.8.3-rc.4",
3
+ "version": "3.8.3-rc.5",
4
4
  "description": "",
5
5
  "module": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",