@uppy/transloadit
Advanced tools
Comparing version 0.29.0 to 0.29.1
{ | ||
"name": "@uppy/transloadit", | ||
"description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"types": "types/index.d.ts", | ||
@@ -31,6 +30,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@uppy/companion-client": "0.27.2", | ||
"@uppy/provider-views": "0.29.0", | ||
"@uppy/tus": "0.29.0", | ||
"@uppy/utils": "0.29.0", | ||
"@uppy/companion-client": "0.27.3", | ||
"@uppy/provider-views": "0.29.1", | ||
"@uppy/tus": "0.29.1", | ||
"@uppy/utils": "0.29.1", | ||
"component-emitter": "^1.2.1", | ||
@@ -40,3 +39,3 @@ "socket.io-client": "^2.1.1" | ||
"devDependencies": { | ||
"@uppy/core": "0.29.0" | ||
"@uppy/core": "0.29.1" | ||
}, | ||
@@ -46,3 +45,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43" | ||
} |
@@ -1,36 +0,40 @@ | ||
import { Plugin, PluginOptions, Uppy, UppyFile } from '@uppy/core'; | ||
import Uppy = require('@uppy/core'); | ||
export interface AssemblyParameters { | ||
auth: { key: string }; | ||
template_id?: string; | ||
steps?: { [step: string]: object }; | ||
notify_url?: string; | ||
fields?: { [name: string]: number | string }; | ||
} | ||
declare module Transloadit { | ||
interface AssemblyParameters { | ||
auth: { key: string }; | ||
template_id?: string; | ||
steps?: { [step: string]: object }; | ||
notify_url?: string; | ||
fields?: { [name: string]: number | string }; | ||
} | ||
export interface AssemblyOptions { | ||
params: AssemblyParameters; | ||
fields?: { [name: string]: number | string }; | ||
signature?: string; | ||
} | ||
interface AssemblyOptions { | ||
params: AssemblyParameters; | ||
fields?: { [name: string]: number | string }; | ||
signature?: string; | ||
} | ||
export interface TransloaditOptions extends PluginOptions { | ||
params: AssemblyParameters; | ||
signature: string; | ||
service: string; | ||
waitForEncoding: boolean; | ||
waitForMetadata: boolean; | ||
importFromUploadURLs: boolean; | ||
alwaysRunAssembly: boolean; | ||
getAssemblyOptions: (file: UppyFile) => AssemblyOptions | Promise<AssemblyOptions>; | ||
interface TransloaditOptions extends Uppy.PluginOptions { | ||
params: AssemblyParameters; | ||
signature: string; | ||
service: string; | ||
waitForEncoding: boolean; | ||
waitForMetadata: boolean; | ||
importFromUploadURLs: boolean; | ||
alwaysRunAssembly: boolean; | ||
getAssemblyOptions: (file: Uppy.UppyFile) => AssemblyOptions | Promise<AssemblyOptions>; | ||
} | ||
} | ||
export default class Transloadit extends Plugin { | ||
constructor(uppy: Uppy, opts: Partial<TransloaditOptions>); | ||
declare class Transloadit extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<Transloadit.TransloaditOptions>); | ||
} | ||
export = Transloadit; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof Transloadit, opts: Partial<TransloaditOptions>): Uppy; | ||
use(pluginClass: typeof Transloadit, opts: Partial<Transloadit.TransloaditOptions>): Uppy.Uppy; | ||
} | ||
} |
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
101618
2695
+ Added@uppy/companion-client@0.27.3(transitive)
+ Added@uppy/provider-views@0.29.1(transitive)
+ Added@uppy/tus@0.29.1(transitive)
- Removed@uppy/companion-client@0.27.2(transitive)
- Removed@uppy/provider-views@0.29.0(transitive)
- Removed@uppy/tus@0.29.0(transitive)
- Removed@uppy/utils@0.29.0(transitive)
Updated@uppy/provider-views@0.29.1
Updated@uppy/tus@0.29.1
Updated@uppy/utils@0.29.1