@thi.ng/timestep 1.0.59 → 1.0.60

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
  3. package/state.js +4 -0
package/README.md CHANGED
@@ -169,7 +169,7 @@ For Node.js REPL:
169
169
  const ts = await import("@thi.ng/timestep");
170
170
  ```
171
171
 
172
- Package sizes (brotli'd, pre-treeshake): ESM: 1.02 KB
172
+ Package sizes (brotli'd, pre-treeshake): ESM: 1.03 KB
173
173
 
174
174
  ## Dependencies
175
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/timestep",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "Deterministic fixed timestep simulation updates with state interpolation",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,13 +40,13 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.12.18",
44
- "@thi.ng/math": "^5.15.7",
45
- "@thi.ng/vectors": "^8.6.27"
43
+ "@thi.ng/api": "^8.12.19",
44
+ "@thi.ng/math": "^5.15.8",
45
+ "@thi.ng/vectors": "^8.6.28"
46
46
  },
47
47
  "devDependencies": {
48
- "esbuild": "^0.27.2",
49
- "typedoc": "^0.28.16",
48
+ "esbuild": "^0.28.0",
49
+ "typedoc": "^0.28.18",
50
50
  "typescript": "^5.9.3"
51
51
  },
52
52
  "keywords": [
@@ -95,5 +95,5 @@
95
95
  "status": "alpha",
96
96
  "year": 2023
97
97
  },
98
- "gitHead": "929fb6590178a41cbb77cbb87e07c59c61381607\n"
98
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
99
99
  }
package/state.js CHANGED
@@ -7,6 +7,8 @@ class NumericState {
7
7
  this.update = update;
8
8
  this.reset(value);
9
9
  }
10
+ value;
11
+ update;
10
12
  curr;
11
13
  prev;
12
14
  deref() {
@@ -38,6 +40,8 @@ class VectorState {
38
40
  this.prev = this.setFn([], value);
39
41
  this.curr = this.setFn([], value);
40
42
  }
43
+ value;
44
+ update;
41
45
  prev;
42
46
  curr;
43
47
  setFn;