@nuskin/ns-product-lib 2.7.0-cx24-3682.15 → 2.7.0-cx24-3682.17

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [2.7.0-cx24-3682.17](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.16...v2.7.0-cx24-3682.17) (2023-03-28)
2
+
3
+
4
+ ### New
5
+
6
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([10a5c8b](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/10a5c8b908558131cee494d67f12ff5125aa444a)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
7
+
8
+ # [2.7.0-cx24-3682.16](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.15...v2.7.0-cx24-3682.16) (2023-03-28)
9
+
10
+
11
+ ### New
12
+
13
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([5115f90](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/5115f9098e73373bc13088a91f0c3fd37f5b3498)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
14
+
1
15
  # [2.7.0-cx24-3682.15](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.14...v2.7.0-cx24-3682.15) (2023-03-28)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.7.0-cx24-3682.15",
3
+ "version": "2.7.0-cx24-3682.17",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -9,16 +9,17 @@ const { mapIdentifier, mapProperties, mapVariant } = require('../mappers');
9
9
  function productNotFound(product, market) {
10
10
  /** @type {import('../').EquinoxNormalProduct} */
11
11
  const model = {};
12
- model.identifier = mapIdentifier(product.identifier);
12
+ model.identifier = mapIdentifier('00000000');
13
13
  model.properties = mapProperties();
14
14
  model.sku = [mapVariant({
15
- identifier: product.identifier,
15
+ identifier: '00000000',
16
16
  properties: {
17
17
  availableChannels: 'subscription,arsPhone,kiosk,mobile,web',
18
18
  customerTypes: 'BrandAffiliate,Preferred,Retail',
19
19
  imageURL: 'https://nuskin.com/content/dam/global/images/products/01102730-nu-skin-tri-phasic-white-essence.png',
20
20
  isExclusive: 'false',
21
21
  market,
22
+ name: product.identifier,
22
23
  productStatus: 'Sellable',
23
24
  scanQualifiedCount: '0',
24
25
  status: 'active',