@momo2555/koppeliajs 0.0.114 → 0.0.115

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.
@@ -97,13 +97,13 @@ export class State {
97
97
  let state = get(this._globalState);
98
98
  for (let entry in receivedState) {
99
99
  state[entry] = receivedState[entry];
100
+ this._previousStateValue[entry] = structuredClone(receivedState[entry]);
100
101
  }
101
102
  this._globalState.set(state);
102
103
  }
103
104
  else {
104
105
  this._globalState.set(receivedState);
105
106
  }
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.114",
3
+ "version": "0.0.115",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",