svix 1.29.0 → 1.30.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.
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ const timing_safe_equal_1 = require("./timing_safe_equal");
18
18
  const base64 = require("@stablelib/base64");
19
19
  const sha256 = require("fast-sha256");
20
20
  const WEBHOOK_TOLERANCE_IN_SECONDS = 5 * 60;
21
- const VERSION = "1.29.0";
21
+ const VERSION = "1.30.0";
22
22
  class UserAgentMiddleware {
23
23
  pre(context) {
24
24
  context.setHeaderParam("User-Agent", `svix-libs/${VERSION}/javascript`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svix",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "Svix webhooks API client and webhook verification library",
5
5
  "author": "svix",
6
6
  "repository": "https://github.com/svix/svix-libs",
package/src/index.ts CHANGED
@@ -77,7 +77,7 @@ import * as base64 from "@stablelib/base64";
77
77
  import * as sha256 from "fast-sha256";
78
78
 
79
79
  const WEBHOOK_TOLERANCE_IN_SECONDS = 5 * 60; // 5 minutes
80
- const VERSION = "1.29.0";
80
+ const VERSION = "1.30.0";
81
81
 
82
82
  class UserAgentMiddleware implements Middleware {
83
83
  public pre(context: RequestContext): Promise<RequestContext> {
@@ -405,7 +405,7 @@ class Endpoint {
405
405
  }
406
406
 
407
407
  /**
408
- * @deprecated Since version 1.29.0. Use `headersUpdate` instead.
408
+ * @deprecated Since version 1.30.0. Use `headersUpdate` instead.
409
409
  */
410
410
  public updateHeaders(
411
411
  appId: string,
@@ -432,7 +432,7 @@ class Endpoint {
432
432
  }
433
433
 
434
434
  /**
435
- * @deprecated Since version 1.29.0. Use `headersPatch` instead.
435
+ * @deprecated Since version 1.30.0. Use `headersPatch` instead.
436
436
  */
437
437
  public patchHeaders(
438
438
  appId: string,