@djust-b2b/djust-front-sdk 1.10.0 → 1.10.1

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.
@@ -160,11 +160,9 @@ async function updateCommercialOrderShippingType({ orderId, shippingType, }) {
160
160
  async function updateLogisticOrderCustomFieldsValue({ orderLogisticId, customFieldsValues, }) {
161
161
  (0, parameters_validation_1.required)({ orderLogisticId });
162
162
  const { data } = await (0, fetch_instance_1.enhancedFetch)({
163
- method: "PUT",
163
+ method: "PATCH",
164
164
  path: `/v1/shop/logistic-orders/${orderLogisticId}`,
165
- body: JSON.stringify({
166
- customFieldsValues,
167
- }),
165
+ body: JSON.stringify(customFieldsValues),
168
166
  });
169
167
  return data;
170
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djust-b2b/djust-front-sdk",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "DJUST Front SDK is a versatile JavaScript Software Development Kit (SDK) ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",