platform-types 1.10.789 → 1.10.790

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.
package/dist/basket.d.ts CHANGED
@@ -118,8 +118,8 @@ export declare const GUEST_CART_TOKEN_HEADER = "X-Guest-Cart-Token";
118
118
  * cart that is gone, belongs to an account, is held by a till, was checked
119
119
  * out or was swept as abandoned — with one identical body, so the token is
120
120
  * never an oracle. Drop the token and start a new guest cart.
121
- * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it has not
122
- * switched guest checkout on, admits buyers only after approval, or hides
121
+ * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it
122
+ * switched guest checkout off, admits buyers only after approval, or hides
123
123
  * prices from anonymous visitors. Public `GET /store` reports the same verdict
124
124
  * as `ecommerce.config.guestCheckoutAvailable`.
125
125
  * - GUEST_CHECKOUT_SIGNED_IN (409): the request carried an `Authorization`
package/dist/basket.js CHANGED
@@ -87,8 +87,8 @@ export const GUEST_CART_TOKEN_HEADER = 'X-Guest-Cart-Token';
87
87
  * cart that is gone, belongs to an account, is held by a till, was checked
88
88
  * out or was swept as abandoned — with one identical body, so the token is
89
89
  * never an oracle. Drop the token and start a new guest cart.
90
- * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it has not
91
- * switched guest checkout on, admits buyers only after approval, or hides
90
+ * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it
91
+ * switched guest checkout off, admits buyers only after approval, or hides
92
92
  * prices from anonymous visitors. Public `GET /store` reports the same verdict
93
93
  * as `ecommerce.config.guestCheckoutAvailable`.
94
94
  * - GUEST_CHECKOUT_SIGNED_IN (409): the request carried an `Authorization`
@@ -90,8 +90,8 @@ exports.GUEST_CART_TOKEN_HEADER = 'X-Guest-Cart-Token';
90
90
  * cart that is gone, belongs to an account, is held by a till, was checked
91
91
  * out or was swept as abandoned — with one identical body, so the token is
92
92
  * never an oracle. Drop the token and start a new guest cart.
93
- * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it has not
94
- * switched guest checkout on, admits buyers only after approval, or hides
93
+ * - GUEST_CHECKOUT_DISABLED (403): the shop does not sell to guests — it
94
+ * switched guest checkout off, admits buyers only after approval, or hides
95
95
  * prices from anonymous visitors. Public `GET /store` reports the same verdict
96
96
  * as `ecommerce.config.guestCheckoutAvailable`.
97
97
  * - GUEST_CHECKOUT_SIGNED_IN (409): the request carried an `Authorization`
package/dist/store.d.ts CHANGED
@@ -160,7 +160,8 @@ declare global {
160
160
  wholesaleRequests?: boolean;
161
161
  /**
162
162
  * Whether the shop sells to shoppers without an account (server guest
163
- * cart, guest checkout). Absent means OFF: a shop opts in. Honoured only
163
+ * cart, guest checkout). Absent means ON: a shop opts out by storing
164
+ * `false`, and only the boolean `false` closes it. Honoured only
164
165
  * while `registrationMode` is not `'approval'` and `showDefaultPriceList`
165
166
  * is not `0` — a shop that vets every buyer, or hides prices from
166
167
  * anonymous visitors, never sells to a guest whatever this says.
@@ -172,7 +173,7 @@ declare global {
172
173
  /**
173
174
  * SHOPPER-ONLY, never stored: present on web `GET /store` and the
174
175
  * customer `stores` frame, `true` when the shop accepts guest carts and
175
- * guest checkout right now — `guestCheckout` on AND registration open AND
176
+ * guest checkout right now — `guestCheckout` not `false` AND registration open AND
176
177
  * prices shown to anonymous visitors. The guest routes refuse
177
178
  * `403 GUEST_CHECKOUT_DISABLED` whenever this is `false`.
178
179
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platform-types",
3
- "version": "1.10.789",
3
+ "version": "1.10.790",
4
4
  "description": "Shared wire and entity contracts for the platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",