@cloudflare/workers-types 5.20261019.1 → 5.20261022.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.
@@ -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. */
@@ -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
@@ -7,5 +7,5 @@
7
7
  },
8
8
  "author": "Cloudflare Workers DevProd Team <workers-devprod@cloudflare.com> (https://workers.cloudflare.com)",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "5.20261019.1"
10
+ "version": "5.20261022.1"
11
11
  }