@marianmeres/collection-types 1.38.0 → 1.38.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.
@@ -31,6 +31,14 @@ export interface CustomerData {
31
31
  vat_number?: string;
32
32
  /** Project-specific customer preferences */
33
33
  custom?: Record<string, unknown>;
34
+ /**
35
+ * Guest-session identifier (X-Session-ID at the time the customer row
36
+ * was created), stamped only when the customer is created without an
37
+ * authenticated subject (i.e. `owner_id IS NULL`, `guest: true`). Acts
38
+ * as a lookup key for the explicit "claim guest customer" flow when
39
+ * the visitor later registers/logs in. Never set for owned customers.
40
+ */
41
+ guest_session_id?: string;
34
42
  addresses?: never;
35
43
  /** Index signature for compatibility with UserData */
36
44
  [key: string]: unknown;
package/dist/order.d.ts CHANGED
@@ -72,6 +72,14 @@ export interface OrderData {
72
72
  customer_email?: string;
73
73
  /** Current checkout stage */
74
74
  checkout_stage?: CheckoutStage;
75
+ /**
76
+ * Guest-session identifier (X-Session-ID at the time of /checkout/start),
77
+ * stamped only when the order is created without an authenticated subject
78
+ * (i.e. `owner_id IS NULL`). Acts as a lookup key for the explicit "claim
79
+ * guest order" flow when the visitor later registers/logs in. Never set
80
+ * for owned (account-linked) orders.
81
+ */
82
+ guest_session_id?: string;
75
83
  /** Index signature for compatibility with UserData */
76
84
  [key: string]: unknown;
77
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "1.38.0",
3
+ "version": "1.38.1",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",
@@ -10,6 +10,14 @@
10
10
  "import": "./dist/mod.js"
11
11
  }
12
12
  },
13
+ "files": [
14
+ "dist",
15
+ "LICENSE",
16
+ "README.md",
17
+ "AGENTS.md",
18
+ "CLAUDE.md",
19
+ "docs"
20
+ ],
13
21
  "author": "Marian Meres",
14
22
  "license": "MIT",
15
23
  "dependencies": {},