@centrali-io/centrali-sdk 4.5.2 → 5.0.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.
Files changed (2) hide show
  1. package/index.ts +16 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -1025,6 +1025,22 @@ export interface OrchestrationTrigger {
1025
1025
  signingSecret?: string;
1026
1026
  /** Header name for signature */
1027
1027
  signatureHeaderName?: string;
1028
+ /** Header name for message ID */
1029
+ signatureIdHeaderName?: string;
1030
+ /** Header name for timestamp (separate header format) */
1031
+ timestampHeaderName?: string;
1032
+ /** Regex to extract timestamp from signature header (compound format, e.g. Stripe) */
1033
+ timestampExtractionPattern?: string;
1034
+ /** HMAC algorithm (default: sha256) */
1035
+ hmacAlgorithm?: string;
1036
+ /** HMAC digest encoding (default: base64) */
1037
+ hmacEncoding?: string;
1038
+ /** Regex to extract signature value from header */
1039
+ extractionPattern?: string;
1040
+ /** Secret key encoding after prefix split (default: base64) */
1041
+ encoding?: string;
1042
+ /** How to derive HMAC key: 'raw' uses full string as UTF-8 (Stripe), 'prefixed-base64' strips prefix before _ and base64-decodes (Svix) */
1043
+ secretEncoding?: 'raw' | 'prefixed-base64';
1028
1044
  }
1029
1045
 
1030
1046
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centrali-io/centrali-sdk",
3
- "version": "4.5.2",
3
+ "version": "5.0.0",
4
4
  "description": "Centrali Node SDK",
5
5
  "main": "dist/index.js",
6
6
  "type": "commonjs",