@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.
- package/index.d.ts +2 -1
- package/index.ts +2 -1
- 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
|
|
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
|
|
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?(
|