@pinelab/vendure-plugin-webhook 1.4.0 → 1.5.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.5.0 (2025-06-04)
2
+
3
+ - Upgrade to Vendure to 3.3.2
4
+
5
+ # 1.4.1 (2025-02-06)
6
+
7
+ - Log info message when event is ignored because transformer returned 'false'
8
+
1
9
  # 1.4.0 (2025-02-06)
2
10
 
3
11
  - Allow cancelling webhook by returning `false` in request transformers
@@ -165,6 +165,7 @@ let WebhookService = class WebhookService {
165
165
  const request = await transformer.transform(event, new core_2.Injector(this.moduleRef), webhook);
166
166
  if (request === false) {
167
167
  // Don't call webhook if transformer returns false
168
+ core_2.Logger.info(`Ignoring event ${event.constructor.name} for channel ${webhook.channelId} because transformer "${webhook.transformerName}" returned false`, constants_1.loggerCtx);
168
169
  return;
169
170
  }
170
171
  // Call the webhook with the constructed request
@@ -14,6 +14,7 @@ import {
14
14
  } from './graphql-types';
15
15
 
16
16
  @Component({
17
+ standalone: false,
17
18
  selector: 'webhook-component',
18
19
  templateUrl: './webhook.component.html',
19
20
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinelab/vendure-plugin-webhook",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Call webhooks based on configured events from Vendure",
5
5
  "author": "Martijn van de Brug <martijn@pinelab.studio>",
6
6
  "homepage": "https://pinelab-plugins.com/",
@@ -23,5 +23,5 @@
23
23
  "test": "vitest run",
24
24
  "lint": "echo 'No linting configured'"
25
25
  },
26
- "gitHead": "a01e0255341a9e25d5217530de1fab9b5acee7f9"
26
+ "gitHead": "b79f04225946ec8f37653382c6acde07bee90daf"
27
27
  }