@spaceteams/weft-layer-provenance 0.2.0 → 0.6.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.d.mts +5 -3
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -1,12 +1,14 @@
1
1
  import { KeyId, LayerEvaluator } from "@spaceteams/weft";
2
-
3
2
  //#region src/provenance.d.ts
4
3
  /**
5
4
  * Provenance tracks the source and confidence of a value in the computation model.
6
5
  */
7
6
  type Provenance = {
8
- /** The source of this value — e.g., "user-input", "GPS", "estimate", "derived" */readonly source: string; /** Confidence score 0..1 (1 = fully trusted, 0 = no confidence). Default: 1. */
9
- readonly confidence: number; /** Optional tags for additional classification (e.g., "audited", "provisional") */
7
+ /** The source of this value — e.g., "user-input", "GPS", "estimate", "derived" */
8
+ readonly source: string;
9
+ /** Confidence score 0..1 (1 = fully trusted, 0 = no confidence). Default: 1. */
10
+ readonly confidence: number;
11
+ /** Optional tags for additional classification (e.g., "audited", "provisional") */
10
12
  readonly tags?: readonly string[];
11
13
  };
12
14
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaceteams/weft-layer-provenance",
3
- "version": "0.2.0",
3
+ "version": "0.6.0",
4
4
  "description": "Source tracking and confidence scoring layer for @spaceteams/weft",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@spaceteams/weft": "0.5.0"
30
+ "@spaceteams/weft": "0.6.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsdown",