@farthershore/product 0.5.0 → 0.6.1

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.
@@ -12,10 +12,8 @@ export type ValidationResult = {
12
12
  * Validate a candidate envelope against the platform schemas. On success
13
13
  * the returned `ir` is the JSON-normalized ORIGINAL candidate — NOT the
14
14
  * zod-parsed value. The platform treats the product spec as a raw document
15
- * (the YAML path never zod-transformed it before storing/compiling, and
16
- * the compiler reads some fields e.g. `plan.capabilities` off the raw
17
- * spec via casts that a default-stripping parse would erase). Validation
18
- * proves the document is acceptable; the bytes stay the author's.
15
+ * because the YAML path never zod-transformed it before storing/compiling.
16
+ * Validation proves the document is acceptable; the bytes stay the author's.
19
17
  */
20
18
  export declare function validateManifestIr(candidate: unknown): ValidationResult;
21
19
  export declare function hashIr(ir: unknown): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farthershore/product",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "Farther Shore product-as-code SDK — declare your software product in TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",