@henrylabs-interview/payment-processor 0.1.8 → 0.1.9

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.
@@ -403,7 +403,7 @@ export class Checkout {
403
403
  'Content-Type': 'application/json',
404
404
  };
405
405
  if (hook.secret) {
406
- headers['webhook-signature'] = signPayload(payload, hook.secret);
406
+ headers['x-henry-signature'] = signPayload(payload, hook.secret);
407
407
  }
408
408
  await fetch(hook.url, {
409
409
  method: 'POST',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henrylabs-interview/payment-processor",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",