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

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.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
+
3
+
4
+ ### New
5
+
6
+ * MySite product cards show blank data when users have setup AEM Base SKU's(55) in Admin #CX24-3682 ([9d1d1dc](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/9d1d1dcb2562468a4fcc0419fab0055db1ee5ffd)), 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.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
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.17",
3
+ "version": "2.7.0-cx24-3682.18",
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('00000000');
12
+ model.identifier = mapIdentifier(product.identifier.slice(1));
13
13
  model.properties = mapProperties();
14
14
  model.sku = [mapVariant({
15
- identifier: '00000000',
15
+ identifier: product.identifier.slice(1),
16
16
  properties: {
17
17
  availableChannels: 'subscription,arsPhone,kiosk,mobile,web',
18
18
  customerTypes: 'BrandAffiliate,Preferred,Retail',