chayns-api 1.0.78 → 1.0.80

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.
@@ -590,20 +590,21 @@ class AppWrapper {
590
590
  },
591
591
  awaitResult: true
592
592
  });
593
+ window.disablev4DesignSettingsChangeListener = true;
593
594
  this.appCall(254, {
594
595
  enabled: true
595
596
  }, {
596
597
  callback: ({
597
598
  colorMode
598
599
  }) => {
599
- const site = {
600
+ this.values.site = {
600
601
  ...this.values.site,
601
602
  colorMode
602
603
  };
603
604
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
604
605
  detail: {
605
606
  type: 'site',
606
- value: site
607
+ value: this.values.site
607
608
  }
608
609
  }));
609
610
  },
@@ -588,6 +588,7 @@ export class AppWrapper {
588
588
  },
589
589
  awaitResult: true
590
590
  });
591
+ window.disablev4DesignSettingsChangeListener = true;
591
592
  this.appCall(254, {
592
593
  enabled: true
593
594
  }, {
@@ -595,14 +596,14 @@ export class AppWrapper {
595
596
  let {
596
597
  colorMode
597
598
  } = _ref2;
598
- const site = {
599
+ this.values.site = {
599
600
  ...this.values.site,
600
601
  colorMode
601
602
  };
602
603
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
603
604
  detail: {
604
605
  type: 'site',
605
- value: site
606
+ value: this.values.site
606
607
  }
607
608
  }));
608
609
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",