@workers-community/workers-types 4.20250813.0 → 4.20250816.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 -4
  2. package/index.ts +4 -4
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -522,14 +522,14 @@ 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;
529
525
  get(
530
526
  id: DurableObjectId,
531
527
  options?: DurableObjectNamespaceGetDurableObjectOptions,
532
528
  ): DurableObjectStub<T>;
529
+ getByName(
530
+ name: string,
531
+ options?: DurableObjectNamespaceGetDurableObjectOptions,
532
+ ): DurableObjectStub<T>;
533
533
  jurisdiction(
534
534
  jurisdiction: DurableObjectJurisdiction,
535
535
  ): DurableObjectNamespace<T>;
package/index.ts CHANGED
@@ -527,14 +527,14 @@ 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;
534
530
  get(
535
531
  id: DurableObjectId,
536
532
  options?: DurableObjectNamespaceGetDurableObjectOptions,
537
533
  ): DurableObjectStub<T>;
534
+ getByName(
535
+ name: string,
536
+ options?: DurableObjectNamespaceGetDurableObjectOptions,
537
+ ): DurableObjectStub<T>;
538
538
  jurisdiction(
539
539
  jurisdiction: DurableObjectJurisdiction,
540
540
  ): DurableObjectNamespace<T>;
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.20250813.0",
10
+ "version": "4.20250816.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",