Skip to content

Commit

Permalink
Add tailStream reserved key
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Dec 18, 2024
1 parent 640b290 commit 1b8fc70
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/wrangler/src/dev/miniflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ const HEADER_ID = "X-Miniflare-Durable-Object-Id";
const HEADER_CF_BLOB = "X-Miniflare-Durable-Object-Cf-Blob";
const HANDLER_RESERVED_KEYS = new Set([
"tail",
"trace",
"scheduled",
"alarm",
"scheduled",
"self",
"tail",
"tailStream",
"test",
"webSocketMessage",
"trace",
"webSocketClose",
"webSocketError",
"self",
"webSocketMessage",
]);
function createProxyPrototypeClass(handlerSuperKlass, getUnknownPrototypeKey) {
Expand Down

0 comments on commit 1b8fc70

Please sign in to comment.