@lahat-group/cli 1.1.2 → 1.1.3

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 +5 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7783,7 +7783,10 @@ var MBomLineItemSchema = external_exports.object({
7783
7783
  sku: external_exports.string(),
7784
7784
  qty: external_exports.number(),
7785
7785
  sellPrice: external_exports.number(),
7786
- costPrice: external_exports.number(),
7786
+ // Optional: `/api/mbom-debug` — the only producer this schema validates —
7787
+ // strips supplier cost before responding, since its consumer is the
7788
+ // customer-facing breakdown modal.
7789
+ costPrice: external_exports.number().optional(),
7787
7790
  comment: external_exports.string(),
7788
7791
  part: external_exports.string(),
7789
7792
  heightMm: external_exports.number(),
@@ -11863,7 +11866,7 @@ async function formatCliError(err, json) {
11863
11866
 
11864
11867
  // src/version.ts
11865
11868
  init_esm_shims();
11866
- var CLI_VERSION = "1.1.2";
11869
+ var CLI_VERSION = "1.1.3";
11867
11870
 
11868
11871
  // src/index.ts
11869
11872
  program.name("wardrobe").description("Wardrobe configurator CLI").version(CLI_VERSION);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lahat-group/cli",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "CLI + Claude Skill to build, validate, price, and save wardrobe designs.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",