@nuskin/cs-product-lib 1.4.0 → 1.5.0-mdigi-3864.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.0",
3
+ "version": "1.5.0-mdigi-3864.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": {
@@ -104,7 +104,7 @@ const formatVariant = (parent) => {
104
104
  locale: parent.locale || ''
105
105
  },
106
106
  searchKeywords: parent?.search_keywords,
107
- excludeFromSearch: parent?.exclude_from_search || helpers?.mapCsStatus(parent).status === 'discontinued' || _.get(parent, 'defaults.status.status.retail', null) === 'DISCONTINUED',
107
+ excludeFromSearch: parent?.exclude_from_search,
108
108
  customerTypes: helpers?.getBestSkuData(parent)?.status_selections
109
109
  ?.customer_types,
110
110
  availableChannels: helpers?.getBestSkuData(parent)?.status_selections