@hookflo/tern 1.0.2 → 1.0.3

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.
@@ -128,6 +128,10 @@ exports.platformAlgorithmConfigs = {
128
128
  headerName: "x-webhook-token",
129
129
  headerFormat: "raw",
130
130
  payloadFormat: "raw",
131
+ customConfig: {
132
+ type: "token-based",
133
+ idHeader: "x-webhook-id",
134
+ },
131
135
  },
132
136
  description: "Custom webhook configuration",
133
137
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hookflo/tern",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A robust, scalable webhook verification framework supporting multiple platforms and signature algorithms",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,7 +12,9 @@
12
12
  "lint:fix": "eslint 'src/**/*.ts' --fix",
13
13
  "format": "prettier --write src/**/*.ts",
14
14
  "prepare": "npm run build",
15
- "publish": "npm publish",
15
+ "release:patch": "npm run build && npm version patch && npm publish",
16
+ "release:minor": "npm run build && npm version minor && npm publish",
17
+ "release:major": "npm run build && npm version major && npm publish",
16
18
  "clean": "rm -rf dist",
17
19
  "prebuild": "npm run clean"
18
20
  },