@nuskin/ns-shop 7.2.4 → 7.2.6
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/package.json
CHANGED
package/src/cart/cartService.js
CHANGED
|
@@ -821,7 +821,7 @@ function syncCartItemToSapItem(sapItemKey, cartItemKey = null) {
|
|
|
821
821
|
cartItem.qtyRedeemWithPoints = sapItem.qtyRedeemWithPoints;
|
|
822
822
|
cartItem.product.subPriceFlag = sapItem.product.subPriceFlag;
|
|
823
823
|
cart.addCartItem(cartItem, true);
|
|
824
|
-
setCart(cart);
|
|
824
|
+
setCart(cart, false);
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
|
|
@@ -158,15 +158,13 @@ let PickupUtil = function() {
|
|
|
158
158
|
function getUrl() {
|
|
159
159
|
switch (RunConfigService.getEnvironmentCode()) {
|
|
160
160
|
case 'dev':
|
|
161
|
-
return 'https://
|
|
161
|
+
return 'https://apis.dev.nuskin.com/ship-methods/v1';
|
|
162
162
|
case 'test':
|
|
163
|
-
return 'https://
|
|
164
|
-
case 'stage':
|
|
165
|
-
return 'https://ship-methods.api.dev.nuskin.com/v1';
|
|
163
|
+
return 'https://apis.test.nuskin.com/ship-methods/v1';
|
|
166
164
|
case 'prod':
|
|
167
|
-
return 'https://
|
|
165
|
+
return 'https://apis.nuskin.com/ship-methods/v1';
|
|
168
166
|
default:
|
|
169
|
-
return 'https://
|
|
167
|
+
return 'https://apis.test.nuskin.com/ship-methods/v1';
|
|
170
168
|
}
|
|
171
169
|
}
|
|
172
170
|
|