@workers-community/workers-types 4.20260409.1 → 4.20260410.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.
Files changed (3) hide show
  1. package/index.d.ts +2 -1
  2. package/index.ts +2 -1
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -10620,6 +10620,7 @@ declare abstract class AiGateway {
10620
10620
  options?: {
10621
10621
  gateway?: UniversalGatewayOptions;
10622
10622
  extraHeaders?: object;
10623
+ signal?: AbortSignal;
10623
10624
  },
10624
10625
  ): Promise<Response>;
10625
10626
  getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
@@ -12967,7 +12968,7 @@ declare namespace CloudflareWorkersModule {
12967
12968
  email?(message: ForwardableEmailMessage): void | Promise<void>;
12968
12969
  fetch?(request: Request): Response | Promise<Response>;
12969
12970
  connect?(socket: Socket): void | Promise<void>;
12970
- queue?(batch: MessageBatch<unknown>): void | Promise<void>;
12971
+ queue?(batch: MessageBatch): void | Promise<void>;
12971
12972
  scheduled?(controller: ScheduledController): void | Promise<void>;
12972
12973
  tail?(events: TraceItem[]): void | Promise<void>;
12973
12974
  tailStream?(
package/index.ts CHANGED
@@ -10631,6 +10631,7 @@ export declare abstract class AiGateway {
10631
10631
  options?: {
10632
10632
  gateway?: UniversalGatewayOptions;
10633
10633
  extraHeaders?: object;
10634
+ signal?: AbortSignal;
10634
10635
  },
10635
10636
  ): Promise<Response>;
10636
10637
  getUrl(provider?: AIGatewayProviders | string): Promise<string>; // eslint-disable-line
@@ -12934,7 +12935,7 @@ export declare namespace CloudflareWorkersModule {
12934
12935
  email?(message: ForwardableEmailMessage): void | Promise<void>;
12935
12936
  fetch?(request: Request): Response | Promise<Response>;
12936
12937
  connect?(socket: Socket): void | Promise<void>;
12937
- queue?(batch: MessageBatch<unknown>): void | Promise<void>;
12938
+ queue?(batch: MessageBatch): void | Promise<void>;
12938
12939
  scheduled?(controller: ScheduledController): void | Promise<void>;
12939
12940
  tail?(events: TraceItem[]): void | Promise<void>;
12940
12941
  tailStream?(
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "author": "Workers Community",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20260409.1",
10
+ "version": "4.20260410.1",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",