@nuskin/cs-product-lib 1.4.2 → 1.5.0-gms-11290.1
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 +1 -1
- package/src/formatTranslations.js +1 -0
- package/src/helpers.js +2 -0
package/package.json
CHANGED
|
@@ -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
|
}
|