@nuskin/ns-product-lib
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -0,1 +1,12 @@ | ||
## [1.3.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.3.1...v1.3.2) (2021-04-15) | ||
### Chore | ||
* minor change to comment in product.js, based on changes in ns-shop (#CX12-3323) ([ff1fc30](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/ff1fc3013585ffde40c126ff808a18caa8e286fb)), closes [#CX12-3323](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX12-3323) | ||
### Fix | ||
* updated version of ns-common-lib (#CX12-3046) ([307e35f](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/307e35fbd2d6777628f6047173e2e78c4735728a)), closes [#CX12-3046](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX12-3046) | ||
## [1.3.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.3.0...v1.3.1) (2021-03-18) | ||
@@ -2,0 +13,0 @@ |
{ | ||
"name": "@nuskin/ns-product-lib", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "This project contains shared Product models and code between the backend and frontend.", | ||
@@ -32,4 +32,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@nuskin/ns-common-lib": "1.1.0" | ||
"@nuskin/ns-common-lib": "1.2.0" | ||
} | ||
} |
@@ -221,5 +221,4 @@ "use strict"; | ||
this.setPriceAndPvFromType = function(_priceType, _activeEvents = null) { | ||
// WARNING: priceType will need to be handled in ns-product | ||
// const loggedInCustomer = AccountManager.isLoggedIn() && AccountManager.isCustomer(), | ||
// const priceType = ConfigService.getMarketConfig().showWholeSalePricing && !loggedInCustomer | ||
// WARNING: priceType needs to be handled client-side | ||
// const priceType = ConfigService.getMarketConfig().showWholeSalePricing && !AccountManager.isLoggedIn() | ||
// ? PriceType.WWHL | ||
@@ -226,0 +225,0 @@ // : (_priceType ? _priceType : this.priceType), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91870
2263
+ Added@nuskin/ns-common-lib@1.2.0(transitive)
- Removed@nuskin/ns-common-lib@1.1.0(transitive)
Updated@nuskin/ns-common-lib@1.2.0