@bytescale/sdk
Advanced tools
Comparing version 3.35.0 to 3.36.0
@@ -7,4 +7,3 @@ import { BytescaleApiClientConfig, UploadPart } from "../public/shared/generated"; | ||
import { AddCancellationHandler } from "./model/AddCancellationHandler"; | ||
import { UploadResult } from "./model/UploadResult"; | ||
import { UploadManagerParams, UploadSource } from "../public/shared/CommonTypes"; | ||
import { UploadManagerParams, UploadSource, UploadResult } from "../public/shared/CommonTypes"; | ||
/** | ||
@@ -11,0 +10,0 @@ * Methods common to UploadManagerNode and UploadManagerBrowser. |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { BeginMultipartUploadRequest } from "./generated"; | ||
import { BeginMultipartUploadRequest, FileDetails } from "./generated"; | ||
/** | ||
@@ -22,2 +22,8 @@ * Workaround for tsc aliases, where we cannot export implementation-less modules in our dists. | ||
} | ||
export type UploadResult = Omit<FileDetails, "etag"> & { | ||
/** | ||
* The file's ETag, short for "entity tag", reflects the file's version and changes whenever the file is modified. | ||
*/ | ||
etag: string; | ||
}; | ||
export type UploadSource = NodeJS.ReadableStream | BlobLike | Buffer | string; | ||
@@ -24,0 +30,0 @@ export interface UploadManagerParams extends Omit<BeginMultipartUploadRequest, "size" | "protocol"> { |
{ | ||
"name": "@bytescale/sdk", | ||
"version": "3.35.0", | ||
"version": "3.36.0", | ||
"description": "Bytescale JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1085908
64
22153