The n8n package could already manage webhook subscriptions through API CRUD, but had no way to start a workflow when Probo emitted an event. A user had to drop in the generic Webhook node, create a subscription by hand, and verify the HMAC signature themselves. Add a ProboTrigger node that owns the subscription lifecycle: it creates the subscription on activation pointing at n8n's generated webhook URL, re-checks and re-registers it if the URL drifts, and deletes it on deactivation. The webhook handler recomputes the HMAC-SHA256 over the raw request body and compares it constant-time against the delivered signature, failing closed when the bytes or headers are absent. Drop the MEETING_* event choices from the webhook create and update operations and the CLI event list. They are not part of the backend WebhookEventType enum, so selecting them only produced API rejections. Signed-off-by: Sacha Al Himdani <sacha@probo.com>
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"name": "@probo/n8n-nodes-probo",
|
|
"version": "0.199.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "n8n-node build",
|
|
"build:watch": "tsc --watch",
|
|
"dev": "n8n-node dev",
|
|
"lint": "n8n-node lint",
|
|
"lint:fix": "n8n-node lint --fix",
|
|
"release": "npm run build && npm run lint && npm publish --access public",
|
|
"prepublishOnly": "npm run build && npm run lint"
|
|
},
|
|
"author": {
|
|
"name": "Probo Inc",
|
|
"email": "hello@probo.com"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"n8n": {
|
|
"n8nNodesApiVersion": 1,
|
|
"strict": true,
|
|
"credentials": [
|
|
"dist/credentials/ProboApi.credentials.js"
|
|
],
|
|
"nodes": [
|
|
"dist/nodes/Probo/Probo.node.js",
|
|
"dist/nodes/ProboTrigger/ProboTrigger.node.js"
|
|
]
|
|
},
|
|
"license": "MIT",
|
|
"description": "n8n nodes for integrating with the Probo compliance platform API",
|
|
"keywords": [
|
|
"n8n",
|
|
"n8n-nodes",
|
|
"probo",
|
|
"compliance",
|
|
"soc2",
|
|
"automation",
|
|
"n8n-community-node-package"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/getprobo/probo.git",
|
|
"directory": "packages/n8n-node"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/getprobo/probo/issues"
|
|
},
|
|
"homepage": "https://github.com/getprobo/probo#README",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"peerDependencies": {
|
|
"n8n-workflow": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@n8n/node-cli": "0.37.1",
|
|
"eslint": "^9.39.4"
|
|
}
|
|
}
|