@nuskin/ns-product-lib 2.5.0-cx24-2179.2.5 → 2.5.0-cx24-2179.2.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.5.0-cx24-2179.2.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.5...v2.5.0-cx24-2179.2.6) (2022-12-05)
2
+
3
+
4
+ ### New
5
+
6
+ * added eq promoion bypass for setPriceAndPvFromType v4 (#CX24-2179) ([abcdd30](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/abcdd30223107786c0c2f9d1a8946053ef6dcef5)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
7
+
1
8
  # [2.5.0-cx24-2179.2.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.4...v2.5.0-cx24-2179.2.5) (2022-12-05)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-2179.2.5",
3
+ "version": "2.5.0-cx24-2179.2.6",
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": {
package/src/product.js CHANGED
@@ -335,7 +335,7 @@ const Product = function(productData) {
335
335
  let variant = this.getVariant(productStatusSku);
336
336
 
337
337
  if (variant) {
338
- if (variant.addPricingFromStatus(productStatus, priceType)) {
338
+ if (variant.addPricingFromStatus(productStatus, priceType, option)) {
339
339
  variant.setMarketAttributes(productStatus);
340
340
  updateBaseRanges(this, variant);
341
341
  modified = true;