tamperward 2.29.20 → 2.29.21

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.
package/dist/cli/index.js CHANGED
@@ -12261,7 +12261,9 @@ function parseSince(value, nowMs = Date.now()) {
12261
12261
  return parsed;
12262
12262
  }
12263
12263
  function summarizeAudit(events) {
12264
- const ordered = [...events].sort((a, b) => a.timestamp.localeCompare(b.timestamp) || a.id.localeCompare(b.id));
12264
+ const ordered = [...events].sort(
12265
+ (a, b) => Date.parse(a.timestamp) - Date.parse(b.timestamp) || a.id.localeCompare(b.id)
12266
+ );
12265
12267
  const rules = /* @__PURE__ */ new Map();
12266
12268
  const surfaces = /* @__PURE__ */ new Map();
12267
12269
  const sessions = /* @__PURE__ */ new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamperward",
3
- "version": "2.29.20",
3
+ "version": "2.29.21",
4
4
  "description": "The deterministic agent-integrity gate. One ruleset, evaluated on the actual diff/commands as a verdict, enforced everywhere a change can be made.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "hexrift",