@rulvar/store-conformance 1.3.2 → 1.5.0

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/dist/index.js +7 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -362,6 +362,13 @@ function journalStoreConformance(mk) {
362
362
  ensure(byName.length === 1 && byName[0]?.runId === "other-run", "meta-separation", "listRuns must honor the name filter");
363
363
  const byTag = await store.listRuns({ tags: ["team:core"] });
364
364
  ensure(byTag.length === 1 && byTag[0]?.runId === RUN$1, "meta-separation", "listRuns must honor the tags filter");
365
+ await store.putMeta(meta(RUN$1, {
366
+ status: "suspended",
367
+ name: "wf-a",
368
+ tags: ["team:core"],
369
+ budgetUsd: 12.5
370
+ }));
371
+ ensure((await store.listRuns()).find((candidate) => candidate.runId === RUN$1)?.budgetUsd === 12.5, "meta-separation", "putMeta/listRuns must round-trip optional RunMeta fields (budgetUsd)");
365
372
  await store.delete(RUN$1);
366
373
  ensure((await store.load(RUN$1)).length === 0 && !(await store.listRuns()).some((candidate) => candidate.runId === RUN$1), "meta-separation", "delete must remove the journal and the meta record");
367
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/store-conformance",
3
- "version": "1.3.2",
3
+ "version": "1.5.0",
4
4
  "description": "rulvar executable store conformance kit (DEF-4).",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -22,7 +22,7 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@rulvar/core": "1.3.2"
25
+ "@rulvar/core": "1.5.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.20.0",