@nuskin/ns-product-lib 2.5.0-cx24-2179.2.8 → 2.5.0-cx24-2685.1

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,62 +1,18 @@
1
- # [2.5.0-cx24-2179.2.8](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.7...v2.5.0-cx24-2179.2.8) (2022-12-06)
2
-
3
-
4
- ### Fix
5
-
6
- * event pricing and name (#CX24-2179) ([04a9ce6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/04a9ce6389988676a0634308ad964bee5c0aa4ab)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
7
-
8
- # [2.5.0-cx24-2179.2.7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.6...v2.5.0-cx24-2179.2.7) (2022-12-05)
1
+ # [2.5.0-cx24-2685.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-CX24.3.1...v2.5.0-cx24-2685.1) (2022-12-09)
9
2
 
10
3
 
11
4
  ### New
12
5
 
13
- * added eq promoion bypass for setPriceAndPvFromType v5 (#CX24-2179) ([f5b62e5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/f5b62e5e82f1830d4105ffc965b64e9a7fc88d9b)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
14
-
15
- # [2.5.0-cx24-2179.2.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.5...v2.5.0-cx24-2179.2.6) (2022-12-05)
16
-
17
-
18
- ### New
6
+ * Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([30a4905](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/30a4905d3a64cba3fe54a8f0759ceb0860560914))
7
+ * Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([7bc7f8b](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/7bc7f8be0ff48127bb3f7db3d38a161877fb2e6f))
19
8
 
20
- * added eq promoion bypass for setPriceAndPvFromType v4 (#CX24-2179) ([abcdd30](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/abcdd30223107786c0c2f9d1a8946053ef6dcef5)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
21
-
22
- # [2.5.0-cx24-2179.2.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.4...v2.5.0-cx24-2179.2.5) (2022-12-05)
23
-
24
-
25
- ### New
26
-
27
- * added eq promoion bypass for setPriceAndPvFromType v3 (#CX24-2179) ([79fe156](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/79fe1562d0cafc44f8945e57c316c8ba0b55a88b)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
28
-
29
- # [2.5.0-cx24-2179.2.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.3...v2.5.0-cx24-2179.2.4) (2022-12-05)
30
-
31
-
32
- ### New
33
-
34
- * added eq promoion bypass for setPriceAndPvFromType v2 (#CX24-2179) ([25bde9a](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/25bde9a8e19b1e4e44e37457dfb087e0a6212ee1)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
35
-
36
- # [2.5.0-cx24-2179.2.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.2...v2.5.0-cx24-2179.2.3) (2022-12-05)
37
-
38
-
39
- ### New
40
-
41
- * added eq promoion bypass for setPriceAndPvFromType (#CX24-2179) ([716cefc](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/716cefc2a2522287e017709a8b2cfef5a7ce5e07)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
42
-
43
- # [2.5.0-cx24-2179.2.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.1...v2.5.0-cx24-2179.2.2) (2022-12-05)
44
-
45
-
46
- ### New
47
-
48
- * added eq promotion support- debug sales event (#CX24-2179) ([992a2cf](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/992a2cfb178b3e12a6b8a0229ae5f6f607fb41d3)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
49
-
50
- # [2.5.0-cx24-2179.2.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.4.2-CX24.2.1...v2.5.0-cx24-2179.2.1) (2022-12-02)
9
+ # [2.5.0-CX24.3.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.4.2-CX24.2.1...v2.5.0-CX24.3.1) (2022-12-06)
51
10
 
52
11
 
53
12
  ### Fix
54
13
 
55
14
  * [Equinox market] Admin > Move up/down/top/bottom of featured products and edit bundle is not working ([a89af4a](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/a89af4a5d00c6a68fcaeff22f128554270add21e))
56
-
57
- ### New
58
-
59
- * added eq promotion support (#CX24-2179) ([bc7782d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/bc7782dcc2b6db84bd4203ea64e60d80b55e4bcd)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
15
+ * eq market event pricing and name (#CX24-2179) ([213b59a](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/213b59a33a208ffad0a6726521ce7f365d34d36e)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
60
16
 
61
17
  ### Release
62
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.5.0-cx24-2179.2.8",
3
+ "version": "2.5.0-cx24-2685.1",
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": {
@@ -198,7 +198,8 @@ const ProductData = {
198
198
  "earn": true
199
199
  },
200
200
  "restrictedMarkets": [],
201
- "addOns": []
201
+ "addOns": [],
202
+ "equinoxProductId": eqVariant.identifier
202
203
  };
203
204
  },
204
205
 
@@ -356,8 +357,8 @@ const ProductData = {
356
357
  },
357
358
  "restrictedMarkets": [],
358
359
  "addOns": [],
359
- "inventory": data.sku[count].inventory || "" //inventory label
360
-
360
+ "inventory": data.sku[count].inventory || "", //inventory label
361
+ "equinoxProductId": data.identifier
361
362
  };
362
363
  let newProduct = new Product(prod);
363
364
  return newProduct