@pinelab/vendure-plugin-webhook 1.4.0 → 1.4.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.
- package/CHANGELOG.md +4 -0
- package/dist/api/webhook.service.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinelab/vendure-plugin-webhook",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
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": "
|
|
26
|
+
"gitHead": "70f5ad2f67926c28dc1179474c3973a61de4022b"
|
|
27
27
|
}
|