@cloudflare/workers-types 5.20261103.1 → 5.20261104.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 +6 -6
- package/experimental/index.ts +6 -6
- package/index.d.ts +5 -0
- package/index.ts +5 -0
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -674,12 +674,6 @@ 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
|
-
}
|
|
683
677
|
type DurableObjectLocationHint =
|
|
684
678
|
| "wnam"
|
|
685
679
|
| "enam"
|
|
@@ -701,6 +695,12 @@ interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
701
695
|
};
|
|
702
696
|
retry?: DurableObjectRetryOptions;
|
|
703
697
|
}
|
|
698
|
+
interface DurableObjectClass<
|
|
699
|
+
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
700
|
+
> {}
|
|
701
|
+
interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
702
|
+
cohort?: string;
|
|
703
|
+
}
|
|
704
704
|
interface DurableObjectRetryOptions {
|
|
705
705
|
maxRetries?: number;
|
|
706
706
|
timeoutMs?: number;
|
package/experimental/index.ts
CHANGED
|
@@ -677,12 +677,6 @@ 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
|
-
}
|
|
686
680
|
export type DurableObjectLocationHint =
|
|
687
681
|
| "wnam"
|
|
688
682
|
| "enam"
|
|
@@ -704,6 +698,12 @@ export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
704
698
|
};
|
|
705
699
|
retry?: DurableObjectRetryOptions;
|
|
706
700
|
}
|
|
701
|
+
export interface DurableObjectClass<
|
|
702
|
+
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
703
|
+
> {}
|
|
704
|
+
export interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
705
|
+
cohort?: string;
|
|
706
|
+
}
|
|
707
707
|
export interface DurableObjectRetryOptions {
|
|
708
708
|
maxRetries?: number;
|
|
709
709
|
timeoutMs?: number;
|
package/index.d.ts
CHANGED
|
@@ -690,10 +690,15 @@ type DurableObjectRoutingMode = "primary-only";
|
|
|
690
690
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
691
691
|
locationHint?: DurableObjectLocationHint;
|
|
692
692
|
routingMode?: DurableObjectRoutingMode;
|
|
693
|
+
retry?: DurableObjectRetryOptions;
|
|
693
694
|
}
|
|
694
695
|
interface DurableObjectClass<
|
|
695
696
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
696
697
|
> {}
|
|
698
|
+
interface DurableObjectRetryOptions {
|
|
699
|
+
maxRetries?: number;
|
|
700
|
+
timeoutMs?: number;
|
|
701
|
+
}
|
|
697
702
|
interface DurableObjectState<Props = unknown> {
|
|
698
703
|
waitUntil(promise: Promise<any>): void;
|
|
699
704
|
readonly exports: Cloudflare.Exports;
|
package/index.ts
CHANGED
|
@@ -693,10 +693,15 @@ export type DurableObjectRoutingMode = "primary-only";
|
|
|
693
693
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
694
694
|
locationHint?: DurableObjectLocationHint;
|
|
695
695
|
routingMode?: DurableObjectRoutingMode;
|
|
696
|
+
retry?: DurableObjectRetryOptions;
|
|
696
697
|
}
|
|
697
698
|
export interface DurableObjectClass<
|
|
698
699
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
699
700
|
> {}
|
|
701
|
+
export interface DurableObjectRetryOptions {
|
|
702
|
+
maxRetries?: number;
|
|
703
|
+
timeoutMs?: number;
|
|
704
|
+
}
|
|
700
705
|
export interface DurableObjectState<Props = unknown> {
|
|
701
706
|
waitUntil(promise: Promise<any>): void;
|
|
702
707
|
readonly exports: Cloudflare.Exports;
|
package/package.json
CHANGED