Socket
Socket
Sign inDemoInstall

@mux/upchunk

Package Overview
Dependencies
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/upchunk - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/upchunk.d.ts

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc