@marianmeres/collection-types 1.40.0 → 1.41.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.
@@ -55,8 +55,16 @@ export interface AddressData {
55
55
  city: string;
56
56
  /** Postal/ZIP code */
57
57
  postal_code: string;
58
- /** Country code or name (legacy/fallback) */
58
+ /** Country code (ISO alpha-2 from the stuic ≥ 3.85 picker; legacy rows
59
+ * may still hold free-text values like "United States"). */
59
60
  country: string;
61
+ /**
62
+ * State / region / province. Optional at the schema level; the checkout
63
+ * flow enforces it for US addresses (substantive for tax + shipping
64
+ * carrier). Free text — no enum today; see plan for future US-state
65
+ * dropdown follow-up.
66
+ */
67
+ state_or_region?: string;
60
68
  /** Contact phone */
61
69
  phone?: string;
62
70
  /** Whether this is the default address for its type */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",