@cloudflare/workers-types 5.20261026.1 → 5.20261028.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 +3 -3
- package/experimental/index.ts +2 -2
- package/index.d.ts +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -705,11 +705,11 @@ interface DurableObjectRetryOptions {
|
|
|
705
705
|
maxRetries?: number;
|
|
706
706
|
timeoutMs?: number;
|
|
707
707
|
}
|
|
708
|
-
interface
|
|
708
|
+
interface DurableObjectHibernationInfo {
|
|
709
709
|
readonly reason: "inactive" | "codeUpdated" | "system" | (string & {});
|
|
710
710
|
}
|
|
711
711
|
declare module "cloudflare:durable-objects" {
|
|
712
|
-
export const
|
|
712
|
+
export const onHibernate: unique symbol;
|
|
713
713
|
}
|
|
714
714
|
interface DurableObjectState<Props = unknown> {
|
|
715
715
|
waitUntil(promise: Promise<any>): void;
|
|
@@ -4212,7 +4212,7 @@ interface ContainerSnapshotOptions {
|
|
|
4212
4212
|
}
|
|
4213
4213
|
type ContainerStartupOptions = {
|
|
4214
4214
|
entrypoint?: string[];
|
|
4215
|
-
enableInternet
|
|
4215
|
+
enableInternet?: boolean;
|
|
4216
4216
|
env?: Record<string, string>;
|
|
4217
4217
|
hardTimeout?: number | bigint;
|
|
4218
4218
|
instance?:
|
package/experimental/index.ts
CHANGED
|
@@ -708,7 +708,7 @@ export interface DurableObjectRetryOptions {
|
|
|
708
708
|
maxRetries?: number;
|
|
709
709
|
timeoutMs?: number;
|
|
710
710
|
}
|
|
711
|
-
export interface
|
|
711
|
+
export interface DurableObjectHibernationInfo {
|
|
712
712
|
readonly reason: "inactive" | "codeUpdated" | "system" | (string & {});
|
|
713
713
|
}
|
|
714
714
|
export interface DurableObjectState<Props = unknown> {
|
|
@@ -4218,7 +4218,7 @@ export interface ContainerSnapshotOptions {
|
|
|
4218
4218
|
}
|
|
4219
4219
|
export type ContainerStartupOptions = {
|
|
4220
4220
|
entrypoint?: string[];
|
|
4221
|
-
enableInternet
|
|
4221
|
+
enableInternet?: boolean;
|
|
4222
4222
|
env?: Record<string, string>;
|
|
4223
4223
|
hardTimeout?: number | bigint;
|
|
4224
4224
|
instance?:
|
package/index.d.ts
CHANGED
package/index.ts
CHANGED
|
@@ -4036,7 +4036,7 @@ export interface ContainerSnapshotOptions {
|
|
|
4036
4036
|
}
|
|
4037
4037
|
export type ContainerStartupOptions = {
|
|
4038
4038
|
entrypoint?: string[];
|
|
4039
|
-
enableInternet
|
|
4039
|
+
enableInternet?: boolean;
|
|
4040
4040
|
env?: Record<string, string>;
|
|
4041
4041
|
instance?:
|
|
4042
4042
|
| "lite"
|
package/package.json
CHANGED