@cloudflare/workers-types 5.20261025.1 → 5.20261027.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.
@@ -705,11 +705,11 @@ interface DurableObjectRetryOptions {
705
705
  maxRetries?: number;
706
706
  timeoutMs?: number;
707
707
  }
708
- interface DurableObjectEvictionInfo {
708
+ interface DurableObjectHibernationInfo {
709
709
  readonly reason: "inactive" | "codeUpdated" | "system" | (string & {});
710
710
  }
711
711
  declare module "cloudflare:durable-objects" {
712
- export const onEvict: unique symbol;
712
+ export const onHibernate: unique symbol;
713
713
  }
714
714
  interface DurableObjectState<Props = unknown> {
715
715
  waitUntil(promise: Promise<any>): void;
@@ -708,7 +708,7 @@ export interface DurableObjectRetryOptions {
708
708
  maxRetries?: number;
709
709
  timeoutMs?: number;
710
710
  }
711
- export interface DurableObjectEvictionInfo {
711
+ export interface DurableObjectHibernationInfo {
712
712
  readonly reason: "inactive" | "codeUpdated" | "system" | (string & {});
713
713
  }
714
714
  export interface DurableObjectState<Props = unknown> {
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.20261025.1"
10
+ "version": "5.20261027.1"
11
11
  }