@wix/auto_sdk_ecom_current-cart-v-2 1.0.67 → 1.0.68

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.
@@ -1573,9 +1573,7 @@ async function refreshCurrentCart2() {
1573
1573
  async function calculateCurrentCart2(options) {
1574
1574
  const { httpClient, sideEffects } = arguments[1];
1575
1575
  const payload = renameKeysFromSDKRequestToRESTRequest({
1576
- refreshCart: options?.refreshCart,
1577
- validationsConfig: options?.validationsConfig,
1578
- customCalculationConfig: options?.customCalculationConfig
1576
+ refreshCart: options?.refreshCart
1579
1577
  });
1580
1578
  const reqOpts = calculateCurrentCart(payload);
1581
1579
  sideEffects?.onSiteCall?.();
@@ -1609,11 +1607,7 @@ async function calculateCurrentCart2(options) {
1609
1607
  err,
1610
1608
  {
1611
1609
  spreadPathsToArguments: {},
1612
- explicitPathsToArguments: {
1613
- refreshCart: "$[0].refreshCart",
1614
- validationsConfig: "$[0].validationsConfig",
1615
- customCalculationConfig: "$[0].customCalculationConfig"
1616
- },
1610
+ explicitPathsToArguments: { refreshCart: "$[0].refreshCart" },
1617
1611
  singleArgumentUnchanged: false
1618
1612
  },
1619
1613
  ["options"]