queuebear 0.1.6 → 0.1.7

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 +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1149,7 +1149,7 @@ function serve(handler, options) {
1149
1149
  }
1150
1150
  }
1151
1151
  const body = await request.json();
1152
- runId = body.runId || request.headers.get("X-QueueBear-Workflow-Run") || "";
1152
+ runId = body.id || request.headers.get("X-QueueBear-Workflow-Run") || "";
1153
1153
  runToken = request.headers.get("X-QueueBear-Run-Token") || "";
1154
1154
  if (!runId) {
1155
1155
  return new Response(JSON.stringify({ error: "Missing runId" }), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "queuebear",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "QueueBear SDK for message queues, scheduled jobs, and durable workflows",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,7 +43,7 @@
43
43
  "author": {
44
44
  "name": "Robert Marshall",
45
45
  "email": "hello@robertmarshall.dev",
46
- "url": "https://robertmarshall.dev"
46
+ "url": "https://queuebear.com"
47
47
  },
48
48
  "license": "MIT",
49
49
  "repository": {