chayns-api 1.0.79 → 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.
@@ -597,14 +597,14 @@ class AppWrapper {
597
597
  callback: ({
598
598
  colorMode
599
599
  }) => {
600
- const site = {
600
+ this.values.site = {
601
601
  ...this.values.site,
602
602
  colorMode
603
603
  };
604
604
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
605
605
  detail: {
606
606
  type: 'site',
607
- value: site
607
+ value: this.values.site
608
608
  }
609
609
  }));
610
610
  },
@@ -596,14 +596,14 @@ export class AppWrapper {
596
596
  let {
597
597
  colorMode
598
598
  } = _ref2;
599
- const site = {
599
+ this.values.site = {
600
600
  ...this.values.site,
601
601
  colorMode
602
602
  };
603
603
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
604
604
  detail: {
605
605
  type: 'site',
606
- value: site
606
+ value: this.values.site
607
607
  }
608
608
  }));
609
609
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.79",
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",