@uppy/webcam
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -454,2 +454,2 @@ var _class, _temp; | ||
return Webcam; | ||
}(Plugin), _class.VERSION = "1.5.3", _temp); | ||
}(Plugin), _class.VERSION = "1.5.4", _temp); |
{ | ||
"name": "@uppy/webcam", | ||
"description": "Uppy plugin that takes photos or records videos using the device's camera.", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"license": "MIT", | ||
@@ -29,3 +29,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^2.2.1", | ||
"@uppy/utils": "^2.2.2", | ||
"preact": "8.2.9" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "07e9909bfcca44505433c8bfc38a050314be64ce" | ||
"gitHead": "2c98271103539fbe46b37b9f8c2746bc7188b9c8" | ||
} |
@@ -1,25 +0,26 @@ | ||
import Uppy = require('@uppy/core'); | ||
import Uppy = require('@uppy/core') | ||
import WebcamLocale = require('./generatedLocale') | ||
declare module Webcam { | ||
export type WebcamMode = 'video-audio' | 'video-only' | 'audio-only' | 'picture'; | ||
export type WebcamMode = | ||
| 'video-audio' | ||
| 'video-only' | ||
| 'audio-only' | ||
| 'picture' | ||
export interface WebcamOptions extends Uppy.PluginOptions { | ||
onBeforeSnapshot?: () => Promise<void>; | ||
countdown?: number | boolean; | ||
mirror?: boolean; | ||
facingMode?: string; | ||
modes: WebcamMode[]; | ||
replaceTargetContent?: boolean | ||
target?: Uppy.PluginTarget | ||
onBeforeSnapshot?: () => Promise<void> | ||
countdown?: number | boolean | ||
mirror?: boolean | ||
facingMode?: string | ||
modes?: WebcamMode[] | ||
locale?: WebcamLocale | ||
title?: string | ||
} | ||
} | ||
declare class Webcam extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<Webcam.WebcamOptions>); | ||
} | ||
declare class Webcam extends Uppy.Plugin<Webcam.WebcamOptions> {} | ||
export = Webcam; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof Webcam, opts: Partial<Webcam.WebcamOptions>): Uppy.Uppy; | ||
} | ||
} | ||
export = Webcam |
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
49990
38
1194
Updated@uppy/utils@^2.2.2