@pinelab/vendure-plugin-qls-fulfillment 1.8.1 → 1.9.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 1.9.0 (2026-08-05)
2
+
3
+ - Upgraded to Vendure 3.6.3
4
+
5
+ # 1.8.2 (2026-04-24)
6
+
7
+ - Added `variant` parameter to the `saveAdditionalData` hook
8
+
1
9
  # 1.8.1 (2026-04-24)
2
10
 
3
11
  - Replaced `saveRawWarehouseStockData` boolean with `saveAdditionalData` hook, allowing you to handle and persist any QLS product data yourself
@@ -222,7 +222,7 @@ let QlsProductService = class QlsProductService {
222
222
  try {
223
223
  const qlsProduct = await client.getFulfillmentProductById(result.qlsProductId);
224
224
  if (qlsProduct) {
225
- await this.options.saveAdditionalData(ctx, new core_1.Injector(this.moduleRef), qlsProduct);
225
+ await this.options.saveAdditionalData(ctx, new core_1.Injector(this.moduleRef), qlsProduct, variant);
226
226
  }
227
227
  }
228
228
  catch (e) {
package/dist/types.d.ts CHANGED
@@ -59,7 +59,7 @@ export interface QlsPluginOptions {
59
59
  * you to save any additional data to your own database. The saving itself
60
60
  * happens inside this hook — if not provided, nothing is persisted.
61
61
  */
62
- saveAdditionalData?: (ctx: RequestContext, injector: Injector, qlsProduct: FulfillmentProduct) => Promise<void> | void;
62
+ saveAdditionalData?: (ctx: RequestContext, injector: Injector, qlsProduct: FulfillmentProduct, variant: ProductVariant) => Promise<void> | void;
63
63
  /**
64
64
  * Additional order items to add to the QLS order.
65
65
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinelab/vendure-plugin-qls-fulfillment",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "Vendure plugin to fulfill orders via QLS.",
5
5
  "keywords": [
6
6
  "fulfillment",