@nuskin/cs-product-lib 1.4.2 → 1.5.0-gms-11290.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/cs-product-lib",
3
- "version": "1.4.2",
3
+ "version": "1.5.0-gms-11290.2",
4
4
  "description": "Library for pulling and parsing product content (and applying business logic) retrieved from Contentstack",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -152,6 +152,7 @@ const formatTranslations = (parent) => ({
152
152
  whyYoullLoveIt: parent?.why_youll_love_it,
153
153
  countryOfOrigin: parent?.country_of_origin,
154
154
  importer: parent?.importer,
155
+ responsiblePerson: parent?.responsible_person,
155
156
  warnings: parent?.warnings,
156
157
  disclaimers: parent?.disclaimers,
157
158
  subscriptions: parent?.subscriptions,
package/src/helpers.js CHANGED
@@ -611,6 +611,7 @@ function mapProductDetails(productOrVariant) {
611
611
  }))
612
612
  const originCountry = productDetails.origin_country
613
613
  const importer = productDetails.importer
614
+ const responsiblePerson = productDetails.responsible_person
614
615
  const warnings = productDetails.warnings
615
616
  return {
616
617
  description: decodeHTML(description),
@@ -618,6 +619,7 @@ function mapProductDetails(productOrVariant) {
618
619
  highlights,
619
620
  originCountry,
620
621
  importer,
622
+ responsiblePerson,
621
623
  warnings
622
624
  }
623
625
  }