@nuskin/ns-product-lib 1.5.0-cx24-1810.10 → 1.5.0-cx24-1810.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/productData.js +11 -13
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [1.5.0-cx24-1810.11](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.5.0-cx24-1810.10...v1.5.0-cx24-1810.11) (2022-07-28)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* Get Product Data from Equinox (#CX24-1810) ([5fb16af](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/5fb16af25c8e903804f56955b249b62750d2b176)), closes [#CX24-1810](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-1810)
|
7
|
+
* Get Product Data from Equinox (#CX24-1810) ([fc28352](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/fc283527c23dbf4d1b8861646a0617ecdac258c7)), closes [#CX24-1810](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-1810)
|
8
|
+
|
1
9
|
# [1.5.0-cx24-1810.10](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v1.5.0-cx24-1810.9...v1.5.0-cx24-1810.10) (2022-07-27)
|
2
10
|
|
3
11
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -80,18 +80,18 @@ const ProductData = {
|
|
80
80
|
"availableQuantity": 999,
|
81
81
|
"maxQuantity": 999,
|
82
82
|
"points": "",
|
83
|
-
"cv": 99,
|
84
|
-
"pv": 99,
|
83
|
+
"cv": 99.1,
|
84
|
+
"pv": 99.01,
|
85
85
|
"priceType": "WRTL",
|
86
|
-
"price": 9999,
|
86
|
+
"price": 9999.11,
|
87
87
|
"priceMap": {
|
88
|
-
"WRTL": 9999,
|
89
|
-
"WADW-WRTL": 9999,
|
90
|
-
"WADR": 9999,
|
91
|
-
"RTL": 9999,
|
92
|
-
"WWHL": 9998,
|
93
|
-
"WADW": 9998,
|
94
|
-
"WHL": 9998
|
88
|
+
"WRTL": 9999.11,
|
89
|
+
"WADW-WRTL": 9999.11,
|
90
|
+
"WADR": 9999.01,
|
91
|
+
"RTL": 9999.11,
|
92
|
+
"WWHL": 9998.01,
|
93
|
+
"WADW": 9998.01,
|
94
|
+
"WHL": 9998.01
|
95
95
|
},
|
96
96
|
"cvMap": {
|
97
97
|
"WWHL": 8888,
|
@@ -152,11 +152,9 @@ const ProductData = {
|
|
152
152
|
"addOns": []
|
153
153
|
};
|
154
154
|
});
|
155
|
-
let products = [];
|
156
155
|
|
157
|
-
products.push(prodArr);
|
158
156
|
let data = {
|
159
|
-
products:
|
157
|
+
products: prodArr
|
160
158
|
};
|
161
159
|
return {
|
162
160
|
"status": 200,
|