Skip to content

Commit 00986fd

Browse files
committed
removed ReadableStream from uploadOptions type
1 parent 741701d commit 00986fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/interfaces/UploadOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface UploadOptions {
1414
* Downloading file from URL might take longer, so it is recommended that you pass the binary or base64 content of the file.
1515
* Pass the full URL, for example - https://www.example.com/rest-of-the-image-path.jpg.
1616
*/
17-
file: string | Buffer | ReadableStream | ReadStream;
17+
file: string | Buffer | ReadStream;
1818
/**
1919
* The name with which the file has to be uploaded.
2020
* The file name can contain:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "imagekit",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "Offical NodeJS SDK for ImageKit.io integration",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)