@celox-sim/celox-napi 0.1.11 → 0.1.13

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 (2) hide show
  1. package/index.d.ts +5 -0
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -16,6 +16,11 @@ export declare class NativeSimulationHandle {
16
16
  get stableSize(): number
17
17
  /** Returns the total memory size in bytes. */
18
18
  get totalSize(): number
19
+ /**
20
+ * Returns the default `maxSteps` from `[simulation] max_steps` in `celox.toml`,
21
+ * or `null` if not configured.
22
+ */
23
+ get defaultMaxSteps(): number | null
19
24
  /** Register a clock by event ID. */
20
25
  addClock(eventId: number, period: number, initialDelay: number): void
21
26
  /** Schedule a one-shot event by event ID. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celox-sim/celox-napi",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Celox simulator NAPI bindings",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -44,12 +44,12 @@
44
44
  },
45
45
  "license": "MIT OR Apache-2.0",
46
46
  "optionalDependencies": {
47
- "@celox-sim/celox-napi-linux-x64-gnu": "0.1.11",
48
- "@celox-sim/celox-napi-linux-arm64-gnu": "0.1.11",
49
- "@celox-sim/celox-napi-linux-x64-musl": "0.1.11",
50
- "@celox-sim/celox-napi-linux-arm64-musl": "0.1.11",
51
- "@celox-sim/celox-napi-darwin-x64": "0.1.11",
52
- "@celox-sim/celox-napi-darwin-arm64": "0.1.11",
53
- "@celox-sim/celox-napi-win32-x64-msvc": "0.1.11"
47
+ "@celox-sim/celox-napi-linux-x64-gnu": "0.1.13",
48
+ "@celox-sim/celox-napi-linux-arm64-gnu": "0.1.13",
49
+ "@celox-sim/celox-napi-linux-x64-musl": "0.1.13",
50
+ "@celox-sim/celox-napi-linux-arm64-musl": "0.1.13",
51
+ "@celox-sim/celox-napi-darwin-x64": "0.1.13",
52
+ "@celox-sim/celox-napi-darwin-arm64": "0.1.13",
53
+ "@celox-sim/celox-napi-win32-x64-msvc": "0.1.13"
54
54
  }
55
55
  }