@workers-community/workers-types 4.20251202.0 → 4.20251209.0

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 -2
  2. package/index.ts +2 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -3799,7 +3799,7 @@ interface WorkerStubEntrypointOptions {
3799
3799
  }
3800
3800
  interface WorkerLoader {
3801
3801
  get(
3802
- name: string,
3802
+ name: string | null,
3803
3803
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3804
3804
  ): WorkerStub;
3805
3805
  }
@@ -9295,7 +9295,7 @@ type AiOptions = {
9295
9295
  * Maximum 5 tags are allowed each request.
9296
9296
  * Duplicate tags will removed.
9297
9297
  */
9298
- tags: string[];
9298
+ tags?: string[];
9299
9299
  gateway?: GatewayOptions;
9300
9300
  returnRawResponse?: boolean;
9301
9301
  prefix?: string;
package/index.ts CHANGED
@@ -3810,7 +3810,7 @@ export interface WorkerStubEntrypointOptions {
3810
3810
  }
3811
3811
  export interface WorkerLoader {
3812
3812
  get(
3813
- name: string,
3813
+ name: string | null,
3814
3814
  getCode: () => WorkerLoaderWorkerCode | Promise<WorkerLoaderWorkerCode>,
3815
3815
  ): WorkerStub;
3816
3816
  }
@@ -9307,7 +9307,7 @@ export type AiOptions = {
9307
9307
  * Maximum 5 tags are allowed each request.
9308
9308
  * Duplicate tags will removed.
9309
9309
  */
9310
- tags: string[];
9310
+ tags?: string[];
9311
9311
  gateway?: GatewayOptions;
9312
9312
  returnRawResponse?: boolean;
9313
9313
  prefix?: string;
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.20251202.0",
10
+ "version": "4.20251209.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",