@nuskin/cs-product-lib 1.4.6-mm-123.3 → 1.4.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/formatKit.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/cs-product-lib",
3
- "version": "1.4.6-mm-123.3",
3
+ "version": "1.4.6",
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": {
package/src/formatKit.js CHANGED
@@ -276,6 +276,7 @@ const formatKit = (product, market, status) => {
276
276
  let kit = null
277
277
  if (['kit', 'bundle'].includes(product?.type)) {
278
278
  kit = parseKit(product?.bundle, market, status)
279
+ kit.parentId = product?.id
279
280
  }
280
281
 
281
282
  return {