@workers-community/workers-types 4.20251219.0 → 4.20251221.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 -0
  2. package/index.ts +2 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -604,8 +604,10 @@ type DurableObjectLocationHint =
604
604
  | "oc"
605
605
  | "afr"
606
606
  | "me";
607
+ type DurableObjectRoutingMode = "primary-only";
607
608
  interface DurableObjectNamespaceGetDurableObjectOptions {
608
609
  locationHint?: DurableObjectLocationHint;
610
+ routingMode?: DurableObjectRoutingMode;
609
611
  }
610
612
  interface DurableObjectClass<
611
613
  _T extends Rpc.DurableObjectBranded | undefined = undefined,
package/index.ts CHANGED
@@ -609,8 +609,10 @@ export type DurableObjectLocationHint =
609
609
  | "oc"
610
610
  | "afr"
611
611
  | "me";
612
+ export type DurableObjectRoutingMode = "primary-only";
612
613
  export interface DurableObjectNamespaceGetDurableObjectOptions {
613
614
  locationHint?: DurableObjectLocationHint;
615
+ routingMode?: DurableObjectRoutingMode;
614
616
  }
615
617
  export interface DurableObjectClass<
616
618
  _T extends Rpc.DurableObjectBranded | undefined = undefined,
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.20251219.0",
10
+ "version": "4.20251221.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",