@nuskin/ns-product-lib 2.9.2-cx24-4771.1 → 2.9.2-cx24-4771.2

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [2.9.2-cx24-4771.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.9.2-cx24-4771.1...v2.9.2-cx24-4771.2) (2023-08-03)
2
+
3
+
4
+ ### Fix
5
+
6
+ * bundle kit backordered add to cart (#CX24-4771) ([d068f30](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/d068f30c3cd4b3025e8646db4d81358a70981261)), closes [#CX24-4771](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-4771)
7
+ * linter inventory props (#CX24-4771) ([8189e64](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/8189e64d1e080c9480fae1fb318eaf55ed7cc374)), closes [#CX24-4771](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-4771)
8
+
1
9
  ## [2.9.2-cx24-4771.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.9.1...v2.9.2-cx24-4771.1) (2023-07-31)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.9.2-cx24-4771.1",
3
+ "version": "2.9.2-cx24-4771.2",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  * @typedef Inventory
23
23
  * @type {object}
24
24
  * @property {number} atpQty
25
- * @property {number} backOrdered
26
- * @property {boolean} backOrderedQty
25
+ * @property {boolean} backOrdered
26
+ * @property {number} backOrderedQty
27
27
  */
28
28
 
29
29
  /**
@@ -518,7 +518,7 @@ const ProductData = {
518
518
  },
519
519
  "restrictedMarkets": [],
520
520
  "addOns": [],
521
- "inventory": product.inventory || "", //inventory label
521
+ "inventory": product.inventory || product.properties.inventoryStatus || "", //inventory label,
522
522
  "equinoxProductId": productData.identifier,
523
523
  "properties": product.properties,
524
524
  equinox: {