@zintrust/trace 0.5.1 → 0.5.2

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.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@zintrust/trace",
3
- "version": "0.5.0",
4
- "buildDate": "2026-04-12T15:38:51.982Z",
3
+ "version": "0.5.2",
4
+ "buildDate": "2026-04-12T20:09:35.228Z",
5
5
  "buildEnvironment": {
6
6
  "node": "v22.22.1",
7
7
  "platform": "darwin",
8
8
  "arch": "arm64"
9
9
  },
10
10
  "git": {
11
- "commit": "d9f9cf02",
11
+ "commit": "87ea4893",
12
12
  "branch": "release"
13
13
  },
14
14
  "package": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "files": {
24
24
  "build-manifest.json": {
25
- "size": 14739,
26
- "sha256": "ccb926d22667a613e35b97c316d5924b223b5522c5f7deab259d99343fe4c8d8"
25
+ "size": 14738,
26
+ "sha256": "918a0394474d1cc1e3f961b7668f185289398fae336bf853d2e8cf6cb3fca28f"
27
27
  },
28
28
  "cli-register.d.ts": {
29
29
  "size": 255,
@@ -54,8 +54,8 @@
54
54
  "sha256": "430f5b294d960e13e2ec39ed5c22f6655f85c46c2de9455c222505c67298ec6a"
55
55
  },
56
56
  "dashboard/handlers.js": {
57
- "size": 9192,
58
- "sha256": "ebc592e84772b93c820c76f1834e1131a05c19df3bada7b75cf46bcd5f6732fc"
57
+ "size": 10011,
58
+ "sha256": "a5f7f3d624a844df27ddc9d4908e73d91a4aac9b2aac1aefff1f391913353897"
59
59
  },
60
60
  "dashboard/routes.d.ts": {
61
61
  "size": 997,
@@ -70,8 +70,8 @@
70
70
  "sha256": "4862b41e0477f01afa0dbb446d4553b65c22ed774cd1e2db3489059ced392f94"
71
71
  },
72
72
  "dashboard/ui.js": {
73
- "size": 75051,
74
- "sha256": "941c8647e778f67b8ab3f37b9272b914e5da4f35e07511ff1112287a0620b6da"
73
+ "size": 80163,
74
+ "sha256": "bd02523880078843499d751e9ffbbe8e386759456c71c5101a46248a4598f1a6"
75
75
  },
76
76
  "index.d.ts": {
77
77
  "size": 2537,
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "index.js": {
81
81
  "size": 3324,
82
- "sha256": "8a10c92829328ecb61fadb66c54768b52d72956fb196ad9a0087ba1ad9b17cbd"
82
+ "sha256": "37c92f5d7e70dcf214608aed08bfb386b2b6b04bdfb04b8cb4309f4e97136ab7"
83
83
  },
84
84
  "migrations/20260331000001_create_zin_trace_entries_table.d.ts": {
85
85
  "size": 304,
@@ -174,8 +174,8 @@
174
174
  "sha256": "c9c215aaa414f7b0c1fec6c82b054fc52bdf97af58f96f35c7f96672fb859c31"
175
175
  },
176
176
  "storage/TraceStorage.js": {
177
- "size": 9089,
178
- "sha256": "e4e05dc45411f0b7f0deacd9567d2b83325566cb69b885ebec848bcfcc43b338"
177
+ "size": 15322,
178
+ "sha256": "95179a66f0774fb6c1622e7477d6e1420e374116800a6a0c60e14de9bd4c4c5c"
179
179
  },
180
180
  "storage/TraceWriteDiagnostics.d.ts": {
181
181
  "size": 581,
@@ -194,8 +194,8 @@
194
194
  "sha256": "d916e8e3abb1b1087f6b184851b0e6265e53380d7857b008e745d566aad15d44"
195
195
  },
196
196
  "types.d.ts": {
197
- "size": 8919,
198
- "sha256": "4ff6c7c067fa9d16535e4356181a73325977c6813a13983ae9edb17c5fa3c466"
197
+ "size": 9433,
198
+ "sha256": "5b615fa1f89ebd84292e6322193643757bc91c5524068891050b28a9840bd34c"
199
199
  },
200
200
  "types.js": {
201
201
  "size": 696,
@@ -326,8 +326,8 @@
326
326
  "sha256": "dfb13bba526d5338e4dcd7a5aa0f72a61a03d9e2f6a250250c0bb8f0054c9712"
327
327
  },
328
328
  "watchers/HttpClientWatcher.js": {
329
- "size": 5829,
330
- "sha256": "3921cfb79cd5ff0da8af90ee66a5ad3b76a397e60df808885d6ecc84b5269810"
329
+ "size": 5787,
330
+ "sha256": "56ee5d97d1ff13be6f80c0a8517a969d46693ac6b4969a692c4a9261c0a17bc1"
331
331
  },
332
332
  "watchers/HttpWatcher.d.ts": {
333
333
  "size": 96,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/trace",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Trace assistant for ZinTrust: logs requests, queries, exceptions, jobs, and more.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -40,7 +40,7 @@
40
40
  "node": ">=20.0.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@zintrust/core": "^0.5.0"
43
+ "@zintrust/core": "^0.5.1"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
@@ -56,4 +56,4 @@
56
56
  "build": "tsc -p tsconfig.json && tsc -p tsconfig.migrations.json && node ../../scripts/fix-dist-esm-imports.mjs dist",
57
57
  "prepublishOnly": "npm run build"
58
58
  }
59
- }
59
+ }
package/src/types.ts CHANGED
@@ -292,7 +292,10 @@ export interface ITraceStorage {
292
292
  queryEntries(opts: QueryEntriesOptions): Promise<{ data: ITraceEntry[]; total: number }>;
293
293
  getEntry(uuid: string): Promise<ITraceEntry | null>;
294
294
  getBatch(batchId: string): Promise<ITraceEntry[]>;
295
- queryBatchEntries(batchId: string, opts?: QueryBatchEntriesOptions): Promise<QueryBatchEntriesResult>;
295
+ queryBatchEntries(
296
+ batchId: string,
297
+ opts?: QueryBatchEntriesOptions
298
+ ): Promise<QueryBatchEntriesResult>;
296
299
  prune(olderThanMs: number, keepExceptions?: boolean): Promise<number>;
297
300
  clear(): Promise<void>;
298
301
  getMonitoring(): Promise<string[]>;