@cloudflare/workers-types 5.20261016.1 → 5.20261019.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.
@@ -674,6 +674,12 @@ type DurableObjectJurisdiction = "eu" | "fedramp" | "fedramp-high" | "us";
674
674
  interface DurableObjectNamespaceNewUniqueIdOptions {
675
675
  jurisdiction?: DurableObjectJurisdiction;
676
676
  }
677
+ interface DurableObjectClass<
678
+ _T extends Rpc.DurableObjectBranded | undefined = undefined,
679
+ > {}
680
+ interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
681
+ cohort?: string;
682
+ }
677
683
  type DurableObjectLocationHint =
678
684
  | "wnam"
679
685
  | "enam"
@@ -693,12 +699,11 @@ interface DurableObjectNamespaceGetDurableObjectOptions {
693
699
  version?: {
694
700
  cohort?: string;
695
701
  };
702
+ retry?: DurableObjectRetryOptions;
696
703
  }
697
- interface DurableObjectClass<
698
- _T extends Rpc.DurableObjectBranded | undefined = undefined,
699
- > {}
700
- interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
701
- cohort?: string;
704
+ interface DurableObjectRetryOptions {
705
+ maxRetries?: number;
706
+ timeoutMs?: number;
702
707
  }
703
708
  interface DurableObjectState<Props = unknown> {
704
709
  waitUntil(promise: Promise<any>): void;
@@ -677,6 +677,12 @@ export type DurableObjectJurisdiction =
677
677
  export interface DurableObjectNamespaceNewUniqueIdOptions {
678
678
  jurisdiction?: DurableObjectJurisdiction;
679
679
  }
680
+ export interface DurableObjectClass<
681
+ _T extends Rpc.DurableObjectBranded | undefined = undefined,
682
+ > {}
683
+ export interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
684
+ cohort?: string;
685
+ }
680
686
  export type DurableObjectLocationHint =
681
687
  | "wnam"
682
688
  | "enam"
@@ -696,12 +702,11 @@ export interface DurableObjectNamespaceGetDurableObjectOptions {
696
702
  version?: {
697
703
  cohort?: string;
698
704
  };
705
+ retry?: DurableObjectRetryOptions;
699
706
  }
700
- export interface DurableObjectClass<
701
- _T extends Rpc.DurableObjectBranded | undefined = undefined,
702
- > {}
703
- export interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
704
- cohort?: string;
707
+ export interface DurableObjectRetryOptions {
708
+ maxRetries?: number;
709
+ timeoutMs?: number;
705
710
  }
706
711
  export interface DurableObjectState<Props = unknown> {
707
712
  waitUntil(promise: Promise<any>): void;
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.20261016.1"
10
+ "version": "5.20261019.1"
11
11
  }