@cloudflare/workers-types 5.20261018.1 → 5.20261021.1
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/experimental/index.d.ts +2 -2
- package/experimental/index.ts +2 -2
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -802,12 +802,12 @@ interface DurableObjectStorage {
|
|
|
802
802
|
getBookmarkForTime(timestamp: number | Date): Promise<string>;
|
|
803
803
|
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
|
|
804
804
|
waitForBookmark(bookmark: string): Promise<void>;
|
|
805
|
+
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
806
|
+
readonly primary?: DurableObjectStub;
|
|
805
807
|
snapshot(
|
|
806
808
|
options?: DurableObjectSnapshotOptions,
|
|
807
809
|
): Promise<DurableObjectSnapshot>;
|
|
808
810
|
onNextSessionRestore(target: DurableObjectSnapshot | string): Promise<string>;
|
|
809
|
-
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
810
|
-
readonly primary?: DurableObjectStub;
|
|
811
811
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
|
812
812
|
ensureReplicas(): void;
|
|
813
813
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
package/experimental/index.ts
CHANGED
|
@@ -805,12 +805,12 @@ export interface DurableObjectStorage {
|
|
|
805
805
|
getBookmarkForTime(timestamp: number | Date): Promise<string>;
|
|
806
806
|
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
|
|
807
807
|
waitForBookmark(bookmark: string): Promise<void>;
|
|
808
|
+
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
809
|
+
readonly primary?: DurableObjectStub;
|
|
808
810
|
snapshot(
|
|
809
811
|
options?: DurableObjectSnapshotOptions,
|
|
810
812
|
): Promise<DurableObjectSnapshot>;
|
|
811
813
|
onNextSessionRestore(target: DurableObjectSnapshot | string): Promise<string>;
|
|
812
|
-
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
813
|
-
readonly primary?: DurableObjectStub;
|
|
814
814
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
|
815
815
|
ensureReplicas(): void;
|
|
816
816
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
package/package.json
CHANGED