@liveblocks/node 1.0.7-test1 → 1.0.8

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/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -106,7 +106,9 @@ var _WebhookHandler = class {
106
106
  }).filter(isNotUndefined);
107
107
  if (expectedSignatures.includes(signature) === false)
108
108
  throw new Error(
109
- `Invalid signature, expected one of ${expectedSignatures}, got ${signature}`
109
+ `Invalid signature, expected one of ${expectedSignatures.join(
110
+ ", "
111
+ )}, got ${signature}`
110
112
  );
111
113
  const event = JSON.parse(request.rawBody);
112
114
  this.verifyWebhookEventType(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/node",
3
- "version": "1.0.7-test1",
3
+ "version": "1.0.8",
4
4
  "description": "A server-side utility that lets you set up a Liveblocks authentication endpoint. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",