@workers-community/workers-types 4.20250807.0 → 4.20250809.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 +4 -0
  2. package/index.ts +4 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -522,6 +522,10 @@ interface DurableObjectNamespace<
522
522
  ): DurableObjectId;
523
523
  idFromName(name: string): DurableObjectId;
524
524
  idFromString(id: string): DurableObjectId;
525
+ getByName(
526
+ name: string,
527
+ options?: DurableObjectNamespaceGetDurableObjectOptions,
528
+ ): DurableObjectStub;
525
529
  get(
526
530
  id: DurableObjectId,
527
531
  options?: DurableObjectNamespaceGetDurableObjectOptions,
package/index.ts CHANGED
@@ -527,6 +527,10 @@ export interface DurableObjectNamespace<
527
527
  ): DurableObjectId;
528
528
  idFromName(name: string): DurableObjectId;
529
529
  idFromString(id: string): DurableObjectId;
530
+ getByName(
531
+ name: string,
532
+ options?: DurableObjectNamespaceGetDurableObjectOptions,
533
+ ): DurableObjectStub;
530
534
  get(
531
535
  id: DurableObjectId,
532
536
  options?: DurableObjectNamespaceGetDurableObjectOptions,
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.20250807.0",
10
+ "version": "4.20250809.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",