wicked-core-ts 0.15.37 → 0.15.39

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 +7 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -366,6 +366,13 @@ export declare class Core {
366
366
  * smoke does) rather than assuming it precedes the method's resolution.
367
367
  */
368
368
  subscribe(callback: (err: Error | null, eventJson: string) => void): Subscription
369
+ /**
370
+ * (core#1390) The engine actor's timing as JSON: `{ backlog, max_backlog, slow_threshold_ms,
371
+ * commands: [{ command, count, p50_ms, p99_ms, max_ms }], slow: [{ command, ms, backlog,
372
+ * at_ms }] }`. Synchronous and never queued behind the actor, so it answers while the actor is
373
+ * busy — which is when it is worth reading.
374
+ */
375
+ actorStats(): string
369
376
  /** Liveness probe — emits a `Heartbeat` to subscribers and resolves once the actor acks (`"ok"`). */
370
377
  ping(): Promise<string>
371
378
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.15.37",
3
+ "version": "0.15.39",
4
4
  "description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "typecheck": "tsc --noEmit -p types-test/tsconfig.json"
44
44
  },
45
45
  "optionalDependencies": {
46
- "wicked-core-ts-darwin-arm64": "0.15.37",
47
- "wicked-core-ts-darwin-x64": "0.15.37",
48
- "wicked-core-ts-linux-arm64-gnu": "0.15.37",
49
- "wicked-core-ts-linux-x64-gnu": "0.15.37",
50
- "wicked-core-ts-win32-x64-msvc": "0.15.37"
46
+ "wicked-core-ts-darwin-arm64": "0.15.39",
47
+ "wicked-core-ts-darwin-x64": "0.15.39",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.15.39",
49
+ "wicked-core-ts-linux-x64-gnu": "0.15.39",
50
+ "wicked-core-ts-win32-x64-msvc": "0.15.39"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",