@djust-b2b/djust-front-sdk 2.7.0 → 2.8.0

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.
@@ -316,7 +316,7 @@ export declare function setCommercialOrderStatusAsOnHold({ orderId, }: SetCommer
316
316
  * | `orderId` | `string` | ✅ | The commercial order identifier to sync |
317
317
  *
318
318
  * 📤 Returns:
319
- * A `Promise<void>` resolving when the sync has been triggered. No body is expected in the request.
319
+ * A `Promise<void>` resolving when the sync has been triggered. Un objet vide est envoyé dans le corps de la requête.
320
320
  *
321
321
  * 🛠 Example usage:
322
322
  * ```ts
@@ -440,7 +440,7 @@ async function setCommercialOrderStatusAsOnHold({ orderId, }) {
440
440
  * | `orderId` | `string` | ✅ | The commercial order identifier to sync |
441
441
  *
442
442
  * 📤 Returns:
443
- * A `Promise<void>` resolving when the sync has been triggered. No body is expected in the request.
443
+ * A `Promise<void>` resolving when the sync has been triggered. Un objet vide est envoyé dans le corps de la requête.
444
444
  *
445
445
  * 🛠 Example usage:
446
446
  * ```ts
@@ -455,6 +455,7 @@ async function syncCommercialOrder(orderId) {
455
455
  await (0, fetch_instance_1.enhancedFetch)({
456
456
  method: "PUT",
457
457
  path: `/v1/shop/commercial-orders/${orderId}/sync`,
458
+ body: JSON.stringify({}),
458
459
  });
459
460
  }
460
461
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djust-b2b/djust-front-sdk",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
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",