@mux/upchunk
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -31,3 +31,3 @@ declare type EventName = 'attempt' | 'attemptFailure' | 'error' | 'offline' | 'online' | 'progress' | 'success'; | ||
*/ | ||
on(eventName: EventName, fn: (event: Event) => void): void; | ||
on(eventName: EventName, fn: (event: CustomEvent) => void): void; | ||
pause(): void; | ||
@@ -34,0 +34,0 @@ resume(): void; |
{ | ||
"name": "@mux/upchunk", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Dead simple chunked file uploads using Fetch", | ||
@@ -5,0 +5,0 @@ "main": "dist/upchunk.js", |
@@ -86,3 +86,3 @@ import { EventTarget } from 'event-target-shim'; | ||
*/ | ||
public on(eventName: EventName, fn: (event: Event) => void) { | ||
public on(eventName: EventName, fn: (event: CustomEvent) => void) { | ||
this.eventTarget.addEventListener(eventName, fn); | ||
@@ -89,0 +89,0 @@ } |
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
82965