@nuskin/ns-product-lib 2.5.0-cx24-2179.2.8 → 2.5.0-cx24-2685.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -44
- package/package.json +1 -1
- package/src/product.js +1 -0
- package/src/productData.js +4 -3
package/CHANGELOG.md
CHANGED
@@ -1,62 +1,25 @@
|
|
1
|
-
# [2.5.0-cx24-
|
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)
|
9
|
-
|
10
|
-
|
11
|
-
### New
|
12
|
-
|
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
|
19
|
-
|
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)
|
1
|
+
# [2.5.0-cx24-2685.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2685.1...v2.5.0-cx24-2685.2) (2022-12-09)
|
37
2
|
|
38
3
|
|
39
4
|
### New
|
40
5
|
|
41
|
-
*
|
6
|
+
* Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([37d77c6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/37d77c68379403db7ca1289b800f593f981b2710))
|
42
7
|
|
43
|
-
# [2.5.0-cx24-
|
8
|
+
# [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)
|
44
9
|
|
45
10
|
|
46
11
|
### New
|
47
12
|
|
48
|
-
*
|
13
|
+
* Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([30a4905](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/30a4905d3a64cba3fe54a8f0759ceb0860560914))
|
14
|
+
* Added equinoxProductId for eqproductMapper and eqProductVariantMapper ([7bc7f8b](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/7bc7f8be0ff48127bb3f7db3d38a161877fb2e6f))
|
49
15
|
|
50
|
-
# [2.5.0-
|
16
|
+
# [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
17
|
|
52
18
|
|
53
19
|
### Fix
|
54
20
|
|
55
21
|
* [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)
|
22
|
+
* 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
23
|
|
61
24
|
### Release
|
62
25
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -532,6 +532,7 @@ const Product = function(productData) {
|
|
532
532
|
retData.restrictedMarkets = this.restrictedMarkets;
|
533
533
|
retData.addOns = this.addOns;
|
534
534
|
retData.inventory = this.inventory;
|
535
|
+
retData.equinoxProductId = this.equinoxProductId;
|
535
536
|
|
536
537
|
return retData;
|
537
538
|
};
|
package/src/productData.js
CHANGED
@@ -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
|