@bytescale/sdk
Advanced tools
Comparing version 3.46.0 to 3.47.0
@@ -7,6 +7,6 @@ /// <reference types="node" /> | ||
static create(): stream.Readable; | ||
static endStream(readable: stream.Readable): void; | ||
static empty(): NodeJS.ReadableStream; | ||
static fromBuffer(buffer: Buffer): NodeJS.ReadableStream; | ||
static fromArrayBuffer(buffer: ArrayBuffer): NodeJS.ReadableStream; | ||
static fromBuffer(buffer: Buffer): NodeJS.ReadableStream; | ||
static endStream(readable: stream.Readable): void; | ||
} |
@@ -29,3 +29,3 @@ import { BytescaleApiClientConfig, UploadPart } from "../public/shared/generated"; | ||
protected abstract postUpload(init: TInit): Promise<void>; | ||
protected abstract doPutUploadPart(part: UploadPart, contentLength: number, source: TSource, onProgress: (bytesSentDelta: number) => void, addCancellationHandler: AddCancellationHandler): Promise<PutUploadPartResult>; | ||
protected abstract doPutUploadPart(part: UploadPart, contentLength: number, source: TSource, onProgress: (totalBytesTransferred: number) => void, addCancellationHandler: AddCancellationHandler): Promise<PutUploadPartResult>; | ||
private onIntervalTick; | ||
@@ -32,0 +32,0 @@ private makeCancellationMethods; |
@@ -19,3 +19,3 @@ import { UploadManagerBase } from "../../private/UploadManagerBase"; | ||
protected postUpload(init: UploadManagerNodeInit): Promise<void>; | ||
protected doPutUploadPart(part: UploadPart, contentLength: number, source: UploadSourceProcessedNode, onProgress: (bytesSentDelta: number) => void, addCancellationHandler: AddCancellationHandler): Promise<{ | ||
protected doPutUploadPart(part: UploadPart, contentLength: number, source: UploadSourceProcessedNode, onProgress: (totalBytesTransferred: number) => void, addCancellationHandler: AddCancellationHandler): Promise<{ | ||
etag: string | undefined; | ||
@@ -22,0 +22,0 @@ status: number; |
{ | ||
"name": "@bytescale/sdk", | ||
"version": "3.46.0", | ||
"version": "3.47.0", | ||
"description": "Bytescale JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1123792
66
23185