@cloudflare/workers-types 4.20230710.0 → 4.20230710.1
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/2021-11-03/index.d.ts +3 -3
- package/2021-11-03/index.ts +3 -3
- package/2022-01-31/index.d.ts +3 -3
- package/2022-01-31/index.ts +3 -3
- package/2022-03-21/index.d.ts +3 -3
- package/2022-03-21/index.ts +3 -3
- package/2022-08-04/index.d.ts +3 -3
- package/2022-08-04/index.ts +3 -3
- package/2022-10-31/index.d.ts +3 -3
- package/2022-10-31/index.ts +3 -3
- package/2022-11-30/index.d.ts +3 -3
- package/2022-11-30/index.ts +3 -3
- package/experimental/index.d.ts +3 -3
- package/experimental/index.ts +3 -3
- package/index.d.ts +3 -3
- package/index.ts +3 -3
- package/oldest/index.d.ts +3 -3
- package/oldest/index.ts +3 -3
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -352,17 +352,17 @@ declare interface Performance {
|
|
|
352
352
|
declare interface DurableObject {
|
|
353
353
|
fetch(request: Request): Response | Promise<Response>;
|
|
354
354
|
alarm?(): void | Promise<void>;
|
|
355
|
-
webSocketMessage(
|
|
355
|
+
webSocketMessage?(
|
|
356
356
|
ws: WebSocket,
|
|
357
357
|
message: string | ArrayBuffer
|
|
358
358
|
): void | Promise<void>;
|
|
359
|
-
webSocketClose(
|
|
359
|
+
webSocketClose?(
|
|
360
360
|
ws: WebSocket,
|
|
361
361
|
code: number,
|
|
362
362
|
reason: string,
|
|
363
363
|
wasClean: boolean
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
365
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
366
366
|
}
|
|
367
367
|
declare interface DurableObjectStub extends Fetcher {
|
|
368
368
|
readonly id: DurableObjectId;
|
package/2021-11-03/index.ts
CHANGED
|
@@ -354,17 +354,17 @@ export interface Performance {
|
|
|
354
354
|
export interface DurableObject {
|
|
355
355
|
fetch(request: Request): Response | Promise<Response>;
|
|
356
356
|
alarm?(): void | Promise<void>;
|
|
357
|
-
webSocketMessage(
|
|
357
|
+
webSocketMessage?(
|
|
358
358
|
ws: WebSocket,
|
|
359
359
|
message: string | ArrayBuffer
|
|
360
360
|
): void | Promise<void>;
|
|
361
|
-
webSocketClose(
|
|
361
|
+
webSocketClose?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
code: number,
|
|
364
364
|
reason: string,
|
|
365
365
|
wasClean: boolean
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
367
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
368
368
|
}
|
|
369
369
|
export interface DurableObjectStub extends Fetcher {
|
|
370
370
|
readonly id: DurableObjectId;
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -352,17 +352,17 @@ declare interface Performance {
|
|
|
352
352
|
declare interface DurableObject {
|
|
353
353
|
fetch(request: Request): Response | Promise<Response>;
|
|
354
354
|
alarm?(): void | Promise<void>;
|
|
355
|
-
webSocketMessage(
|
|
355
|
+
webSocketMessage?(
|
|
356
356
|
ws: WebSocket,
|
|
357
357
|
message: string | ArrayBuffer
|
|
358
358
|
): void | Promise<void>;
|
|
359
|
-
webSocketClose(
|
|
359
|
+
webSocketClose?(
|
|
360
360
|
ws: WebSocket,
|
|
361
361
|
code: number,
|
|
362
362
|
reason: string,
|
|
363
363
|
wasClean: boolean
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
365
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
366
366
|
}
|
|
367
367
|
declare interface DurableObjectStub extends Fetcher {
|
|
368
368
|
readonly id: DurableObjectId;
|
package/2022-01-31/index.ts
CHANGED
|
@@ -354,17 +354,17 @@ export interface Performance {
|
|
|
354
354
|
export interface DurableObject {
|
|
355
355
|
fetch(request: Request): Response | Promise<Response>;
|
|
356
356
|
alarm?(): void | Promise<void>;
|
|
357
|
-
webSocketMessage(
|
|
357
|
+
webSocketMessage?(
|
|
358
358
|
ws: WebSocket,
|
|
359
359
|
message: string | ArrayBuffer
|
|
360
360
|
): void | Promise<void>;
|
|
361
|
-
webSocketClose(
|
|
361
|
+
webSocketClose?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
code: number,
|
|
364
364
|
reason: string,
|
|
365
365
|
wasClean: boolean
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
367
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
368
368
|
}
|
|
369
369
|
export interface DurableObjectStub extends Fetcher {
|
|
370
370
|
readonly id: DurableObjectId;
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -358,17 +358,17 @@ declare interface Performance {
|
|
|
358
358
|
declare interface DurableObject {
|
|
359
359
|
fetch(request: Request): Response | Promise<Response>;
|
|
360
360
|
alarm?(): void | Promise<void>;
|
|
361
|
-
webSocketMessage(
|
|
361
|
+
webSocketMessage?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
message: string | ArrayBuffer
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketClose(
|
|
365
|
+
webSocketClose?(
|
|
366
366
|
ws: WebSocket,
|
|
367
367
|
code: number,
|
|
368
368
|
reason: string,
|
|
369
369
|
wasClean: boolean
|
|
370
370
|
): void | Promise<void>;
|
|
371
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
371
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
372
372
|
}
|
|
373
373
|
declare interface DurableObjectStub extends Fetcher {
|
|
374
374
|
readonly id: DurableObjectId;
|
package/2022-03-21/index.ts
CHANGED
|
@@ -360,17 +360,17 @@ export interface Performance {
|
|
|
360
360
|
export interface DurableObject {
|
|
361
361
|
fetch(request: Request): Response | Promise<Response>;
|
|
362
362
|
alarm?(): void | Promise<void>;
|
|
363
|
-
webSocketMessage(
|
|
363
|
+
webSocketMessage?(
|
|
364
364
|
ws: WebSocket,
|
|
365
365
|
message: string | ArrayBuffer
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketClose(
|
|
367
|
+
webSocketClose?(
|
|
368
368
|
ws: WebSocket,
|
|
369
369
|
code: number,
|
|
370
370
|
reason: string,
|
|
371
371
|
wasClean: boolean
|
|
372
372
|
): void | Promise<void>;
|
|
373
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
373
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
374
374
|
}
|
|
375
375
|
export interface DurableObjectStub extends Fetcher {
|
|
376
376
|
readonly id: DurableObjectId;
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -358,17 +358,17 @@ declare interface Performance {
|
|
|
358
358
|
declare interface DurableObject {
|
|
359
359
|
fetch(request: Request): Response | Promise<Response>;
|
|
360
360
|
alarm?(): void | Promise<void>;
|
|
361
|
-
webSocketMessage(
|
|
361
|
+
webSocketMessage?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
message: string | ArrayBuffer
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketClose(
|
|
365
|
+
webSocketClose?(
|
|
366
366
|
ws: WebSocket,
|
|
367
367
|
code: number,
|
|
368
368
|
reason: string,
|
|
369
369
|
wasClean: boolean
|
|
370
370
|
): void | Promise<void>;
|
|
371
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
371
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
372
372
|
}
|
|
373
373
|
declare interface DurableObjectStub extends Fetcher {
|
|
374
374
|
readonly id: DurableObjectId;
|
package/2022-08-04/index.ts
CHANGED
|
@@ -360,17 +360,17 @@ export interface Performance {
|
|
|
360
360
|
export interface DurableObject {
|
|
361
361
|
fetch(request: Request): Response | Promise<Response>;
|
|
362
362
|
alarm?(): void | Promise<void>;
|
|
363
|
-
webSocketMessage(
|
|
363
|
+
webSocketMessage?(
|
|
364
364
|
ws: WebSocket,
|
|
365
365
|
message: string | ArrayBuffer
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketClose(
|
|
367
|
+
webSocketClose?(
|
|
368
368
|
ws: WebSocket,
|
|
369
369
|
code: number,
|
|
370
370
|
reason: string,
|
|
371
371
|
wasClean: boolean
|
|
372
372
|
): void | Promise<void>;
|
|
373
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
373
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
374
374
|
}
|
|
375
375
|
export interface DurableObjectStub extends Fetcher {
|
|
376
376
|
readonly id: DurableObjectId;
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -358,17 +358,17 @@ declare interface Performance {
|
|
|
358
358
|
declare interface DurableObject {
|
|
359
359
|
fetch(request: Request): Response | Promise<Response>;
|
|
360
360
|
alarm?(): void | Promise<void>;
|
|
361
|
-
webSocketMessage(
|
|
361
|
+
webSocketMessage?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
message: string | ArrayBuffer
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketClose(
|
|
365
|
+
webSocketClose?(
|
|
366
366
|
ws: WebSocket,
|
|
367
367
|
code: number,
|
|
368
368
|
reason: string,
|
|
369
369
|
wasClean: boolean
|
|
370
370
|
): void | Promise<void>;
|
|
371
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
371
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
372
372
|
}
|
|
373
373
|
declare interface DurableObjectStub extends Fetcher {
|
|
374
374
|
readonly id: DurableObjectId;
|
package/2022-10-31/index.ts
CHANGED
|
@@ -360,17 +360,17 @@ export interface Performance {
|
|
|
360
360
|
export interface DurableObject {
|
|
361
361
|
fetch(request: Request): Response | Promise<Response>;
|
|
362
362
|
alarm?(): void | Promise<void>;
|
|
363
|
-
webSocketMessage(
|
|
363
|
+
webSocketMessage?(
|
|
364
364
|
ws: WebSocket,
|
|
365
365
|
message: string | ArrayBuffer
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketClose(
|
|
367
|
+
webSocketClose?(
|
|
368
368
|
ws: WebSocket,
|
|
369
369
|
code: number,
|
|
370
370
|
reason: string,
|
|
371
371
|
wasClean: boolean
|
|
372
372
|
): void | Promise<void>;
|
|
373
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
373
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
374
374
|
}
|
|
375
375
|
export interface DurableObjectStub extends Fetcher {
|
|
376
376
|
readonly id: DurableObjectId;
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -362,17 +362,17 @@ declare interface Performance {
|
|
|
362
362
|
declare interface DurableObject {
|
|
363
363
|
fetch(request: Request): Response | Promise<Response>;
|
|
364
364
|
alarm?(): void | Promise<void>;
|
|
365
|
-
webSocketMessage(
|
|
365
|
+
webSocketMessage?(
|
|
366
366
|
ws: WebSocket,
|
|
367
367
|
message: string | ArrayBuffer
|
|
368
368
|
): void | Promise<void>;
|
|
369
|
-
webSocketClose(
|
|
369
|
+
webSocketClose?(
|
|
370
370
|
ws: WebSocket,
|
|
371
371
|
code: number,
|
|
372
372
|
reason: string,
|
|
373
373
|
wasClean: boolean
|
|
374
374
|
): void | Promise<void>;
|
|
375
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
375
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
376
376
|
}
|
|
377
377
|
declare interface DurableObjectStub extends Fetcher {
|
|
378
378
|
readonly id: DurableObjectId;
|
package/2022-11-30/index.ts
CHANGED
|
@@ -364,17 +364,17 @@ export interface Performance {
|
|
|
364
364
|
export interface DurableObject {
|
|
365
365
|
fetch(request: Request): Response | Promise<Response>;
|
|
366
366
|
alarm?(): void | Promise<void>;
|
|
367
|
-
webSocketMessage(
|
|
367
|
+
webSocketMessage?(
|
|
368
368
|
ws: WebSocket,
|
|
369
369
|
message: string | ArrayBuffer
|
|
370
370
|
): void | Promise<void>;
|
|
371
|
-
webSocketClose(
|
|
371
|
+
webSocketClose?(
|
|
372
372
|
ws: WebSocket,
|
|
373
373
|
code: number,
|
|
374
374
|
reason: string,
|
|
375
375
|
wasClean: boolean
|
|
376
376
|
): void | Promise<void>;
|
|
377
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
377
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
378
378
|
}
|
|
379
379
|
export interface DurableObjectStub extends Fetcher {
|
|
380
380
|
readonly id: DurableObjectId;
|
package/experimental/index.d.ts
CHANGED
|
@@ -362,17 +362,17 @@ declare interface Performance {
|
|
|
362
362
|
declare interface DurableObject {
|
|
363
363
|
fetch(request: Request): Response | Promise<Response>;
|
|
364
364
|
alarm?(): void | Promise<void>;
|
|
365
|
-
webSocketMessage(
|
|
365
|
+
webSocketMessage?(
|
|
366
366
|
ws: WebSocket,
|
|
367
367
|
message: string | ArrayBuffer
|
|
368
368
|
): void | Promise<void>;
|
|
369
|
-
webSocketClose(
|
|
369
|
+
webSocketClose?(
|
|
370
370
|
ws: WebSocket,
|
|
371
371
|
code: number,
|
|
372
372
|
reason: string,
|
|
373
373
|
wasClean: boolean
|
|
374
374
|
): void | Promise<void>;
|
|
375
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
375
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
376
376
|
}
|
|
377
377
|
declare interface DurableObjectStub extends Fetcher {
|
|
378
378
|
readonly id: DurableObjectId;
|
package/experimental/index.ts
CHANGED
|
@@ -364,17 +364,17 @@ export interface Performance {
|
|
|
364
364
|
export interface DurableObject {
|
|
365
365
|
fetch(request: Request): Response | Promise<Response>;
|
|
366
366
|
alarm?(): void | Promise<void>;
|
|
367
|
-
webSocketMessage(
|
|
367
|
+
webSocketMessage?(
|
|
368
368
|
ws: WebSocket,
|
|
369
369
|
message: string | ArrayBuffer
|
|
370
370
|
): void | Promise<void>;
|
|
371
|
-
webSocketClose(
|
|
371
|
+
webSocketClose?(
|
|
372
372
|
ws: WebSocket,
|
|
373
373
|
code: number,
|
|
374
374
|
reason: string,
|
|
375
375
|
wasClean: boolean
|
|
376
376
|
): void | Promise<void>;
|
|
377
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
377
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
378
378
|
}
|
|
379
379
|
export interface DurableObjectStub extends Fetcher {
|
|
380
380
|
readonly id: DurableObjectId;
|
package/index.d.ts
CHANGED
|
@@ -352,17 +352,17 @@ declare interface Performance {
|
|
|
352
352
|
declare interface DurableObject {
|
|
353
353
|
fetch(request: Request): Response | Promise<Response>;
|
|
354
354
|
alarm?(): void | Promise<void>;
|
|
355
|
-
webSocketMessage(
|
|
355
|
+
webSocketMessage?(
|
|
356
356
|
ws: WebSocket,
|
|
357
357
|
message: string | ArrayBuffer
|
|
358
358
|
): void | Promise<void>;
|
|
359
|
-
webSocketClose(
|
|
359
|
+
webSocketClose?(
|
|
360
360
|
ws: WebSocket,
|
|
361
361
|
code: number,
|
|
362
362
|
reason: string,
|
|
363
363
|
wasClean: boolean
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
365
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
366
366
|
}
|
|
367
367
|
declare interface DurableObjectStub extends Fetcher {
|
|
368
368
|
readonly id: DurableObjectId;
|
package/index.ts
CHANGED
|
@@ -354,17 +354,17 @@ export interface Performance {
|
|
|
354
354
|
export interface DurableObject {
|
|
355
355
|
fetch(request: Request): Response | Promise<Response>;
|
|
356
356
|
alarm?(): void | Promise<void>;
|
|
357
|
-
webSocketMessage(
|
|
357
|
+
webSocketMessage?(
|
|
358
358
|
ws: WebSocket,
|
|
359
359
|
message: string | ArrayBuffer
|
|
360
360
|
): void | Promise<void>;
|
|
361
|
-
webSocketClose(
|
|
361
|
+
webSocketClose?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
code: number,
|
|
364
364
|
reason: string,
|
|
365
365
|
wasClean: boolean
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
367
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
368
368
|
}
|
|
369
369
|
export interface DurableObjectStub extends Fetcher {
|
|
370
370
|
readonly id: DurableObjectId;
|
package/oldest/index.d.ts
CHANGED
|
@@ -352,17 +352,17 @@ declare interface Performance {
|
|
|
352
352
|
declare interface DurableObject {
|
|
353
353
|
fetch(request: Request): Response | Promise<Response>;
|
|
354
354
|
alarm?(): void | Promise<void>;
|
|
355
|
-
webSocketMessage(
|
|
355
|
+
webSocketMessage?(
|
|
356
356
|
ws: WebSocket,
|
|
357
357
|
message: string | ArrayBuffer
|
|
358
358
|
): void | Promise<void>;
|
|
359
|
-
webSocketClose(
|
|
359
|
+
webSocketClose?(
|
|
360
360
|
ws: WebSocket,
|
|
361
361
|
code: number,
|
|
362
362
|
reason: string,
|
|
363
363
|
wasClean: boolean
|
|
364
364
|
): void | Promise<void>;
|
|
365
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
365
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
366
366
|
}
|
|
367
367
|
declare interface DurableObjectStub extends Fetcher {
|
|
368
368
|
readonly id: DurableObjectId;
|
package/oldest/index.ts
CHANGED
|
@@ -354,17 +354,17 @@ export interface Performance {
|
|
|
354
354
|
export interface DurableObject {
|
|
355
355
|
fetch(request: Request): Response | Promise<Response>;
|
|
356
356
|
alarm?(): void | Promise<void>;
|
|
357
|
-
webSocketMessage(
|
|
357
|
+
webSocketMessage?(
|
|
358
358
|
ws: WebSocket,
|
|
359
359
|
message: string | ArrayBuffer
|
|
360
360
|
): void | Promise<void>;
|
|
361
|
-
webSocketClose(
|
|
361
|
+
webSocketClose?(
|
|
362
362
|
ws: WebSocket,
|
|
363
363
|
code: number,
|
|
364
364
|
reason: string,
|
|
365
365
|
wasClean: boolean
|
|
366
366
|
): void | Promise<void>;
|
|
367
|
-
webSocketError(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
367
|
+
webSocketError?(ws: WebSocket, error: unknown): void | Promise<void>;
|
|
368
368
|
}
|
|
369
369
|
export interface DurableObjectStub extends Fetcher {
|
|
370
370
|
readonly id: DurableObjectId;
|
package/package.json
CHANGED