@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.
- package/index.d.ts +4 -0
- package/index.ts +4 -0
- 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,
|