@usequeek/theme-kit 0.1.36 → 0.1.37

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/package.json +1 -1
  2. package/utils/market.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usequeek/theme-kit",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "The runtime a Queek storefront theme is built on: hooks, stores, page renderer, navigation, shared blocks and locale strings.",
package/utils/market.ts CHANGED
@@ -150,6 +150,8 @@ export const MARKET_ERROR_CODES = [
150
150
  'market_rate_expired',
151
151
  // 422 at the quote and the order (and cart `market.unavailable`): the market total is zero or below the provider minimum.
152
152
  'market_total_unusable',
153
+ // 422 at the cart code, the quote and the order: a discount code is refused in a fixed-price market (codes are shop-currency money). Remove the code.
154
+ 'market_coupon_unavailable',
153
155
  ] as const;
154
156
 
155
157
  export type MarketErrorCode = (typeof MARKET_ERROR_CODES)[number];