@depup/cloudflare__workers-types 5.20261002.1-depup.0 → 5.20261004.1-depup.0
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/README.md +2 -2
- package/changes.json +1 -1
- package/experimental/index.d.ts +9 -0
- package/experimental/index.ts +9 -0
- package/index.d.ts +1 -0
- package/index.ts +1 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/cloudflare__workers-types
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.
|
|
17
|
-
| Processed | 2026-10-
|
|
16
|
+
| Original | [@cloudflare/workers-types](https://www.npmjs.com/package/@cloudflare/workers-types) @ 5.20261004.1 |
|
|
17
|
+
| Processed | 2026-10-04 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/experimental/index.d.ts
CHANGED
|
@@ -606,6 +606,7 @@ interface CachePurgeOptions {
|
|
|
606
606
|
}
|
|
607
607
|
interface CacheContext {
|
|
608
608
|
purge(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
609
|
+
invalidate(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
609
610
|
}
|
|
610
611
|
interface CloudflareAccessContext {
|
|
611
612
|
readonly aud: string;
|
|
@@ -796,6 +797,10 @@ interface DurableObjectStorage {
|
|
|
796
797
|
getBookmarkForTime(timestamp: number | Date): Promise<string>;
|
|
797
798
|
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
|
|
798
799
|
waitForBookmark(bookmark: string): Promise<void>;
|
|
800
|
+
snapshot(
|
|
801
|
+
options?: DurableObjectSnapshotOptions,
|
|
802
|
+
): Promise<DurableObjectSnapshot>;
|
|
803
|
+
onNextSessionRestore(target: DurableObjectSnapshot | string): Promise<string>;
|
|
799
804
|
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
800
805
|
readonly primary?: DurableObjectStub;
|
|
801
806
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
|
@@ -809,6 +814,9 @@ interface DurableObjectAbortOptions {
|
|
|
809
814
|
interface DurableObjectReadReplicationOptions {
|
|
810
815
|
mode: "auto" | "disabled";
|
|
811
816
|
}
|
|
817
|
+
interface DurableObjectSnapshotOptions {
|
|
818
|
+
bookmark?: string;
|
|
819
|
+
}
|
|
812
820
|
interface DurableObjectListOptions {
|
|
813
821
|
start?: string;
|
|
814
822
|
startAfter?: string;
|
|
@@ -2358,6 +2366,7 @@ type ServiceBindingQueueMessage<Body = unknown> = {
|
|
|
2358
2366
|
serializedBody: ArrayBuffer | ArrayBufferView;
|
|
2359
2367
|
}
|
|
2360
2368
|
);
|
|
2369
|
+
interface DurableObjectSnapshot {}
|
|
2361
2370
|
interface KVNamespaceListKey<Metadata, Key extends string = string> {
|
|
2362
2371
|
name: Key;
|
|
2363
2372
|
expiration?: number;
|
package/experimental/index.ts
CHANGED
|
@@ -608,6 +608,7 @@ export interface CachePurgeOptions {
|
|
|
608
608
|
}
|
|
609
609
|
export interface CacheContext {
|
|
610
610
|
purge(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
611
|
+
invalidate(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
611
612
|
}
|
|
612
613
|
export interface CloudflareAccessContext {
|
|
613
614
|
readonly aud: string;
|
|
@@ -799,6 +800,10 @@ export interface DurableObjectStorage {
|
|
|
799
800
|
getBookmarkForTime(timestamp: number | Date): Promise<string>;
|
|
800
801
|
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
|
|
801
802
|
waitForBookmark(bookmark: string): Promise<void>;
|
|
803
|
+
snapshot(
|
|
804
|
+
options?: DurableObjectSnapshotOptions,
|
|
805
|
+
): Promise<DurableObjectSnapshot>;
|
|
806
|
+
onNextSessionRestore(target: DurableObjectSnapshot | string): Promise<string>;
|
|
802
807
|
/** @deprecated Use `ctx.primaryStub` instead. */
|
|
803
808
|
readonly primary?: DurableObjectStub;
|
|
804
809
|
/** @deprecated Use `ctx.configureReadReplication()` instead. */
|
|
@@ -812,6 +817,9 @@ export interface DurableObjectAbortOptions {
|
|
|
812
817
|
export interface DurableObjectReadReplicationOptions {
|
|
813
818
|
mode: "auto" | "disabled";
|
|
814
819
|
}
|
|
820
|
+
export interface DurableObjectSnapshotOptions {
|
|
821
|
+
bookmark?: string;
|
|
822
|
+
}
|
|
815
823
|
export interface DurableObjectListOptions {
|
|
816
824
|
start?: string;
|
|
817
825
|
startAfter?: string;
|
|
@@ -2364,6 +2372,7 @@ export type ServiceBindingQueueMessage<Body = unknown> = {
|
|
|
2364
2372
|
serializedBody: ArrayBuffer | ArrayBufferView;
|
|
2365
2373
|
}
|
|
2366
2374
|
);
|
|
2375
|
+
export interface DurableObjectSnapshot {}
|
|
2367
2376
|
export interface KVNamespaceListKey<Metadata, Key extends string = string> {
|
|
2368
2377
|
name: Key;
|
|
2369
2378
|
expiration?: number;
|
package/index.d.ts
CHANGED
|
@@ -609,6 +609,7 @@ interface CachePurgeOptions {
|
|
|
609
609
|
}
|
|
610
610
|
interface CacheContext {
|
|
611
611
|
purge(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
612
|
+
invalidate(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
612
613
|
}
|
|
613
614
|
interface CloudflareAccessContext {
|
|
614
615
|
readonly aud: string;
|
package/index.ts
CHANGED
|
@@ -611,6 +611,7 @@ export interface CachePurgeOptions {
|
|
|
611
611
|
}
|
|
612
612
|
export interface CacheContext {
|
|
613
613
|
purge(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
614
|
+
invalidate(options: CachePurgeOptions): Promise<CachePurgeResult>;
|
|
614
615
|
}
|
|
615
616
|
export interface CloudflareAccessContext {
|
|
616
617
|
readonly aud: string;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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.
|
|
10
|
+
"version": "5.20261004.1-depup.0",
|
|
11
11
|
"keywords": [
|
|
12
12
|
"@cloudflare/workers-types",
|
|
13
13
|
"depup",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"changes": {},
|
|
21
21
|
"depsUpdated": 0,
|
|
22
22
|
"originalPackage": "@cloudflare/workers-types",
|
|
23
|
-
"originalVersion": "5.
|
|
24
|
-
"processedAt": "2026-10-
|
|
23
|
+
"originalVersion": "5.20261004.1",
|
|
24
|
+
"processedAt": "2026-10-04T10:09:24.419Z",
|
|
25
25
|
"smokeTest": "failed"
|
|
26
26
|
}
|
|
27
27
|
}
|