arky-sdk 0.3.33 → 0.3.34

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/dist/index.cjs CHANGED
@@ -972,16 +972,12 @@ var createEshopApi = (apiConfig) => {
972
972
  variantId: item.variantId,
973
973
  quantity: item.quantity
974
974
  }));
975
+ const { items, ...rest } = params;
975
976
  const payload = {
976
977
  businessId: apiConfig.businessId,
977
978
  market: apiConfig.market,
978
- currency: params.currency,
979
- paymentMethod: params.paymentMethod,
980
979
  lines,
981
- ...params.shippingMethodId && {
982
- shippingMethodId: params.shippingMethodId
983
- },
984
- ...params.promoCode && { promoCode: params.promoCode }
980
+ ...rest
985
981
  };
986
982
  return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
987
983
  },