@tsplc/debug 0.2.16 → 0.2.17

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/package.json +4 -4
  2. package/src/api.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsplc/debug",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Debugger for tsPLC programs: live TypeScript variables, hardware, async jobs, backend requests and the program's recent telemetry.",
@@ -40,9 +40,9 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@tsplc/config": "0.2.16",
44
- "@tsplc/opcua": "0.2.16",
45
- "@tsplc/server": "0.2.16",
43
+ "@tsplc/config": "0.2.17",
44
+ "@tsplc/opcua": "0.2.17",
45
+ "@tsplc/server": "0.2.17",
46
46
  "zod": "4.3.6"
47
47
  }
48
48
  }
package/src/api.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { TelemetryRecord } from "@tsplc/server/telemetry";
1
+ import type { AppRecord } from "@tsplc/server/telemetry";
2
2
  import type { DebugManifest, SourceRange } from "./manifest.ts";
3
3
 
4
4
  /**
@@ -48,8 +48,7 @@ export interface TraceEvent {
48
48
  operands: { text: string; path?: string; stable: boolean; value: unknown }[];
49
49
  }
50
50
 
51
- /** What the program reported itself: an event, a log line or an exception. */
52
- export type AppRecord = Exclude<TelemetryRecord, { kind: "trace" }>;
51
+ export type { AppRecord };
53
52
 
54
53
  export interface RequestTrace {
55
54
  /** The server's own sequence number. */