@unissey-web/web-components 3.8.3-rc.1 → 3.8.3-rc.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.
@@ -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-c76e178d.js';
6
+ import './video-recorder-a71acf17.js';
7
7
  import './variables-09a3e162.js';
8
8
  import './video-record-directions.js';
9
9
  import './direction-card-f55e1936.js';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Button } from './button.js';
2
- import { R as Recorder } from './video-recorder-c76e178d.js';
3
- export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-c76e178d.js';
2
+ import { R as Recorder } from './video-recorder-a71acf17.js';
3
+ export { C as CameraVideoOutlinedIcon, O as OverlayHints } from './video-recorder-a71acf17.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-c76e178d.js';
3
+ import { R as Recorder, b as buildPacked } from './video-recorder-a71acf17.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-c76e178d.js';
6
+ import { b as buildPacked } from './video-recorder-a71acf17.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-c76e178d.js';
3
+ import { b as buildPacked } from './video-recorder-a71acf17.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.1";
7
+ var version = "3.8.3-rc.3";
8
8
  var description = "";
9
9
  var module = "./dist/index.js";
10
10
  var typings = "./dist/index.d.ts";
@@ -649,6 +649,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
649
649
  var _this$shadowRoot4;
650
650
  var video = (_this$shadowRoot4 = this.shadowRoot) === null || _this$shadowRoot4 === void 0 ? void 0 : _this$shadowRoot4.getElementById("vid");
651
651
  video.addEventListener("resize", this.adjustContainerSize.bind(this));
652
+ console.log("First Updated:", this.disableDebugMode);
652
653
  }
653
654
  }, {
654
655
  key: "updated",
@@ -658,7 +659,12 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
658
659
  var faceCheckerChanged = _changedProperties.has("faceChecker");
659
660
  var instructionsChanged = _changedProperties.has("instructionMessages");
660
661
  var debuggerChanged = _changedProperties.has("debugger");
661
- if (debuggerChanged) buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
662
+ if (debuggerChanged) {
663
+ buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
664
+ console.log("Updated:", this.disableDebugMode);
665
+ this.releaseSdkJs();
666
+ this.initSdkJs();
667
+ }
662
668
 
663
669
  // The sdk is initialized only if it is the first rendering or if one of the following attributes changes: preset or config
664
670
  var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged;
@@ -703,7 +709,7 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
703
709
  value: function initSdkJs() {
704
710
  buildPacked.exports.UnisseySdk.setLogLevel(this.logLevel);
705
711
  // This property is used to disable the debugger
706
- console.log(this.disableDebugMode);
712
+ console.log("Init SDKJS:", this.disableDebugMode);
707
713
  buildPacked.exports.UnisseySdk.hkdb = !this.disableDebugMode;
708
714
  var sdkEmitter = buildPacked.exports.UnisseySdk.getReferenceToEventEmitter();
709
715
  sdkEmitter.on(buildPacked.exports.AcquisitionEvent.ISSUE, this.sdkJsListener_issue);
@@ -1,5 +1,5 @@
1
1
  import './lit-element-ac3d3a27.js';
2
- export { R as Recorder, V as VideoRecorder } from './video-recorder-c76e178d.js';
2
+ export { R as Recorder, V as VideoRecorder } from './video-recorder-a71acf17.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.1",
3
+ "version": "3.8.3-rc.3",
4
4
  "description": "",
5
5
  "module": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",