@pinelab/vendure-plugin-qls-fulfillment 1.0.0-beta.8 → 1.0.0-beta.9

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.
@@ -278,6 +278,9 @@ let QlsProductService = class QlsProductService {
278
278
  createdOrUpdated = 'updated';
279
279
  }
280
280
  }
281
+ if (createdOrUpdated === 'not-changed') {
282
+ core_1.Logger.info(`Variant '${variant.sku}' not updated in QLS, because no changes were found.`, constants_1.loggerCtx);
283
+ }
281
284
  return createdOrUpdated;
282
285
  }
283
286
  /**
@@ -289,7 +292,7 @@ let QlsProductService = class QlsProductService {
289
292
  existingEans: existingAdditionalEANs,
290
293
  desiredEans: additionalEANs,
291
294
  });
292
- if (!eansToUpdate) {
295
+ if (!eansToUpdate || eansToUpdate.eansToAdd.length === 0 && eansToUpdate.eansToRemove.length === 0) {
293
296
  // No updates needed
294
297
  return false;
295
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinelab/vendure-plugin-qls-fulfillment",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-beta.9",
4
4
  "description": "Vendure plugin to fulfill orders via QLS.",
5
5
  "keywords": [
6
6
  "fulfillment",