@nuskin/ns-product-lib 2.7.0-cx24-3682.18 → 2.7.0-cx24-3682.19

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.7.0-cx24-3682.19](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.18...v2.7.0-cx24-3682.19) (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 ([3adb17f](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/3adb17f779126224b3d1264738b128bbbd1428aa)), closes [#CX24-3682](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3682)
7
+
1
8
  # [2.7.0-cx24-3682.18](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0-cx24-3682.17...v2.7.0-cx24-3682.18) (2023-03-28)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.7.0-cx24-3682.18",
3
+ "version": "2.7.0-cx24-3682.19",
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,10 +9,10 @@ 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.slice(1));
12
+ model.identifier = mapIdentifier(` ${product.identifier}`);
13
13
  model.properties = mapProperties();
14
14
  model.sku = [mapVariant({
15
- identifier: product.identifier.slice(1),
15
+ identifier: ` ${product.identifier}`,
16
16
  properties: {
17
17
  availableChannels: 'subscription,arsPhone,kiosk,mobile,web',
18
18
  customerTypes: 'BrandAffiliate,Preferred,Retail',
@@ -23,7 +23,7 @@ function productNotFound(product, market) {
23
23
  productStatus: 'Sellable',
24
24
  scanQualifiedCount: '0',
25
25
  status: 'active',
26
- title: product.identifier
26
+ title: ` ${product.identifier}`
27
27
  }
28
28
  })];
29
29