Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuskin/ns-product-lib

Package Overview
Dependencies
Maintainers
5
Versions
494
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/ns-product-lib - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

11

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc