@mux/upchunk
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,2 +0,2 @@ | ||
import { type XhrHeaders, type XhrResponse } from 'xhr'; | ||
import type { XhrHeaders, XhrResponse } from 'xhr'; | ||
export declare const isValidChunkSize: (chunkSize: any, { minChunkSize, maxChunkSize, }?: { | ||
@@ -3,0 +3,0 @@ minChunkSize?: number | undefined; |
{ | ||
"name": "@mux/upchunk", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Dead simple chunked file uploads using Fetch", | ||
@@ -5,0 +5,0 @@ "main": "dist/upchunk.js", |
@@ -42,2 +42,3 @@ ![UpChunk](banner.png) | ||
```javascript | ||
const Mux = require('@mux/mux-node'); | ||
const { Video } = new Mux(); | ||
@@ -44,0 +45,0 @@ |
import { EventTarget, Event } from 'event-target-shim'; | ||
import xhr, { type XhrUrlConfig, type XhrHeaders, type XhrResponse } from 'xhr'; | ||
import xhr from 'xhr'; | ||
// NOTE: Need duplicate imports for Typescript version compatibility reasons (CJP) | ||
/* tslint:disable-next-line no-duplicate-imports */ | ||
import type { XhrUrlConfig, XhrHeaders, XhrResponse } from 'xhr'; | ||
@@ -4,0 +7,0 @@ const DEFAULT_CHUNK_SIZE = 30720; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
451904
967
274
0