spec-controller 0.1.254 → 0.1.256

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/cli.js +5 -5
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -12341,18 +12341,18 @@ var init_evidenceOrder = __esm({
12341
12341
  // ../core/dist/domain/evidenceReconciliation.js
12342
12342
  function citationIndex() {
12343
12343
  const byClaimCode = /* @__PURE__ */ new Map();
12344
- const phantomClaimIds = [];
12344
+ const phantomClaimCodes = [];
12345
12345
  return {
12346
12346
  file(posting, observation) {
12347
12347
  const list = byClaimCode.get(posting.claimCode) ?? [];
12348
12348
  list.push(observation);
12349
12349
  byClaimCode.set(posting.claimCode, list);
12350
- if (posting.kind === "phantom-claim" && !phantomClaimIds.includes(posting.claimCode)) {
12351
- phantomClaimIds.push(posting.claimCode);
12350
+ if (posting.kind === "phantom-claim" && !phantomClaimCodes.includes(posting.claimCode)) {
12351
+ phantomClaimCodes.push(posting.claimCode);
12352
12352
  }
12353
12353
  },
12354
12354
  observationsFor: (claimCode) => byClaimCode.get(claimCode) ?? [],
12355
- phantomClaimIds
12355
+ phantomClaimCodes
12356
12356
  };
12357
12357
  }
12358
12358
  function namingSharedCode(observation, code) {
@@ -12409,7 +12409,7 @@ function duplicateClaimCodeRow(sharer) {
12409
12409
  }
12410
12410
  function phantomClaimRows(citations) {
12411
12411
  const rows = [];
12412
- for (const claimCode of citations.phantomClaimIds) {
12412
+ for (const claimCode of citations.phantomClaimCodes) {
12413
12413
  const observations = citations.observationsFor(claimCode);
12414
12414
  const items = citesUnknownScenarioReconciliationsOf(observations);
12415
12415
  rows.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spec-controller",
3
- "version": "0.1.254",
3
+ "version": "0.1.256",
4
4
  "description": "Reconcile the behaviour your scenarios name against the evidence that actually ran — the deterministic `balance` CLI.",
5
5
  "keywords": [
6
6
  "reconciliation",
@@ -26,7 +26,7 @@
26
26
  "fast-xml-parser": "^5.11.2",
27
27
  "ts-json-schema-generator": "^2.9.0",
28
28
  "yaml": "^2.9.0",
29
- "@3f-consulting/spec-controller-core": "0.1.254"
29
+ "@3f-consulting/spec-controller-core": "0.1.256"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"