@reactionary/hcl 0.10.56 → 0.10.57

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.
@@ -47,6 +47,7 @@ class HclProductSearchFactory {
47
47
  identifier: { key: p.partNumber },
48
48
  name: p.name ?? "",
49
49
  slug,
50
+ canAddToCartDirectly: variants.length === 1,
50
51
  variants,
51
52
  complianceData: this.parseComplianceData(p)
52
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactionary/hcl",
3
- "version": "0.10.56",
3
+ "version": "0.10.57",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "git+https://github.com/Solteq/reactionary.git"
10
10
  },
11
11
  "dependencies": {
12
- "@reactionary/core": "0.10.56",
12
+ "@reactionary/core": "0.10.57",
13
13
  "debug": "^4.4.3",
14
14
  "zod": "4.1.9"
15
15
  },
@@ -177,6 +177,7 @@ export declare function createHclClient(contextOverrides?: Partial<RequestContex
177
177
  is_organic: import("zod").ZodOptional<import("zod").ZodBoolean>;
178
178
  organic_certification_type: import("zod").ZodOptional<import("zod").ZodString>;
179
179
  }, import("zod/v4/core").$loose>>;
180
+ canAddToCartDirectly: import("zod").ZodDefault<import("zod").ZodBoolean>;
180
181
  variants: import("zod").ZodArray<import("zod").ZodObject<{
181
182
  variant: import("zod").ZodObject<{
182
183
  sku: import("zod").ZodString;