chayns-api 2.4.2 → 2.4.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.
@@ -315,7 +315,10 @@ class FrameWrapper {
315
315
  value
316
316
  }) => {
317
317
  if (this.initialized) {
318
- this.values[type] = value;
318
+ this.values = {
319
+ ...this.values,
320
+ [type]: value
321
+ };
319
322
  }
320
323
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
321
324
  detail: {
@@ -324,7 +324,10 @@ export class FrameWrapper {
324
324
  value
325
325
  } = _ref;
326
326
  if (this.initialized) {
327
- this.values[type] = value;
327
+ this.values = {
328
+ ...this.values,
329
+ [type]: value
330
+ };
328
331
  }
329
332
  document.dispatchEvent(new CustomEvent('chayns_api_data', {
330
333
  detail: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",