@momo2555/koppeliajs 0.0.113 → 0.0.114

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.
@@ -68,7 +68,6 @@ export class State {
68
68
  update[entry] = newState[entry];
69
69
  }
70
70
  else if (Array.isArray(newState[entry])) {
71
- console.log(entry, " array?yess=", JSON.stringify(this._previousStateValue[entry]), JSON.stringify(newState[entry]));
72
71
  if (JSON.stringify(this._previousStateValue[entry]) != JSON.stringify(newState[entry])) {
73
72
  update[entry] = newState[entry];
74
73
  }
@@ -104,6 +103,7 @@ export class State {
104
103
  else {
105
104
  this._globalState.set(receivedState);
106
105
  }
106
+ this._previousStateValue = get(this._globalState);
107
107
  this._access = true;
108
108
  }
109
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo2555/koppeliajs",
3
- "version": "0.0.113",
3
+ "version": "0.0.114",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",