@cloudflare/workers-types 3.5.0 → 3.5.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.
Files changed (2) hide show
  1. package/index.d.ts +8 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -993,7 +993,13 @@ interface R2Bucket {
993
993
  get(key: string, options?: R2GetOptions): Promise<R2ObjectBody | null>;
994
994
  put(
995
995
  key: string,
996
- value: ReadableStream | ArrayBuffer | ArrayBufferView | string | null,
996
+ value:
997
+ | ReadableStream
998
+ | ArrayBuffer
999
+ | ArrayBufferView
1000
+ | string
1001
+ | null
1002
+ | Blob,
997
1003
  options?: R2PutOptions
998
1004
  ): Promise<R2Object>;
999
1005
  delete(key: string): Promise<void>;
@@ -1067,7 +1073,7 @@ interface R2ListOptions {
1067
1073
  * }
1068
1074
  * ```
1069
1075
  */
1070
- include: ("httpMetadata" | "customMetadata")[];
1076
+ include?: ("httpMetadata" | "customMetadata")[];
1071
1077
  }
1072
1078
 
1073
1079
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/workers-types",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "TypeScript typings for Cloudflare Workers",
5
5
  "repository": {
6
6
  "type": "git",