@nuskin/ns-product-lib 2.5.0-cx24-2179.2.7 → 2.5.0-cx24-2179.2.8

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.8](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.7...v2.5.0-cx24-2179.2.8) (2022-12-06)
2
+
3
+
4
+ ### Fix
5
+
6
+ * event pricing and name (#CX24-2179) ([04a9ce6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/04a9ce6389988676a0634308ad964bee5c0aa4ab)), 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.7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.6...v2.5.0-cx24-2179.2.7) (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.7",
3
+ "version": "2.5.0-cx24-2179.2.8",
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
@@ -232,7 +232,6 @@ const Product = function(productData) {
232
232
  // : (_priceType ? _priceType : this.priceType),
233
233
  const priceType = _priceType ? _priceType : this.priceType;
234
234
  const eventPricing = getEventPricing(this, priceType, _activeEvents);
235
- console.log({context: 'NsProductLib.setPriceAndPvFromType', eventPricing: eventPricing});
236
235
 
237
236
  let changed = false;
238
237
  if ((
@@ -363,7 +363,6 @@ const ProductData = {
363
363
  return newProduct
364
364
  });
365
365
 
366
- console.log({context: "NsProductLib.eqProductMapper", product: prodArr});
367
366
  let data = {
368
367
  products: this._sortProductsBySku(skus, prodArr),
369
368
  count: productDataResponse.length