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.4 to 1.3.5

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.3.4...v1.3.5) (2021-05-10)
### Fix
* added a method which was omitted in the migration of product.js from ns-shop (#CX15-3097) ([db002a0](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/db002a074a3eaf5a1a87bd223a18d3fa3dec9e91)), closes [#CX15-3097](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX15-3097)
## [1.3.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.3.3...v1.3.4) (2021-05-10)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "@nuskin/ns-product-lib",
"version": "1.3.4",
"version": "1.3.5",
"description": "This project contains shared Product models and code between the backend and frontend.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -352,3 +352,17 @@ "use strict";

};
this.getEventPriceTypes = () => {
const eventPriceTypes = [];
Object.keys(this.priceMap).forEach(priceTypeKey => {
const eventPriceType = priceTypeKey.substring(0, priceTypeKey.indexOf(`-${this.priceType}`));
if (eventPriceType) {
eventPriceTypes.push(eventPriceType);
}
});
return eventPriceTypes;
};
this.getPvWithType = function(type) {

@@ -355,0 +369,0 @@ let rv = this.pvMap[type];

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