@uppy/audio
Advanced tools
Comparing version 2.0.0-beta.3 to 2.0.0-beta.4
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
import { UIPlugin, type UIPluginOptions } from '@uppy/core'; | ||
@@ -28,3 +28,3 @@ import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
constructor(uppy: Uppy<M, B>, opts?: AudioOptions); | ||
render(): JSX.Element; | ||
render(): h.JSX.Element; | ||
install(): void; | ||
@@ -31,0 +31,0 @@ uninstall(): void; |
@@ -15,3 +15,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
const packageJson = { | ||
"version": "2.0.0-beta.3" | ||
"version": "2.0.0-beta.4" | ||
}; | ||
@@ -18,0 +18,0 @@ var _stream = /*#__PURE__*/_classPrivateFieldLooseKey("stream"); |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
export interface AudioSourceSelectProps { | ||
@@ -7,4 +7,4 @@ currentDeviceId: string; | ||
} | ||
declare const _default: ({ currentDeviceId, audioSources, onChangeSource, }: AudioSourceSelectProps) => JSX.Element; | ||
declare const _default: ({ currentDeviceId, audioSources, onChangeSource, }: AudioSourceSelectProps) => h.JSX.Element; | ||
export default _default; | ||
//# sourceMappingURL=AudioSourceSelect.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
@@ -7,4 +7,4 @@ interface DiscardButtonProps { | ||
} | ||
declare function DiscardButton({ onDiscard, i18n }: DiscardButtonProps): JSX.Element; | ||
declare function DiscardButton({ onDiscard, i18n }: DiscardButtonProps): h.JSX.Element; | ||
export default DiscardButton; | ||
//# sourceMappingURL=DiscardButton.d.ts.map |
@@ -1,10 +0,10 @@ | ||
/// <reference types="react" /> | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import { h } from 'preact'; | ||
interface PermissionsScreenProps { | ||
icon: () => JSX.Element | null; | ||
icon: () => h.JSX.Element | null; | ||
hasAudio: boolean; | ||
i18n: I18n; | ||
} | ||
declare const _default: (props: PermissionsScreenProps) => JSX.Element; | ||
declare const _default: (props: PermissionsScreenProps) => h.JSX.Element; | ||
export default _default; | ||
//# sourceMappingURL=PermissionsScreen.d.ts.map |
@@ -1,3 +0,3 @@ | ||
/// <reference types="react" /> | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import { h } from 'preact'; | ||
interface RecordButtonProps { | ||
@@ -9,4 +9,4 @@ recording: boolean; | ||
} | ||
export default function RecordButton({ recording, onStartRecording, onStopRecording, i18n, }: RecordButtonProps): JSX.Element; | ||
export default function RecordButton({ recording, onStartRecording, onStopRecording, i18n, }: RecordButtonProps): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=RecordButton.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
@@ -7,4 +7,4 @@ interface RecordingLengthProps { | ||
} | ||
export default function RecordingLength({ recordingLengthSeconds, i18n, }: RecordingLengthProps): JSX.Element; | ||
export default function RecordingLength({ recordingLengthSeconds, i18n, }: RecordingLengthProps): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=RecordingLength.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
@@ -18,4 +18,4 @@ import { type AudioSourceSelectProps } from './AudioSourceSelect.tsx'; | ||
} | ||
export default function RecordingScreen(props: RecordingScreenProps): JSX.Element; | ||
export default function RecordingScreen(props: RecordingScreenProps): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=RecordingScreen.d.ts.map |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
@@ -7,4 +7,4 @@ interface SubmitButtonProps { | ||
} | ||
declare function SubmitButton({ onSubmit, i18n }: SubmitButtonProps): JSX.Element; | ||
declare function SubmitButton({ onSubmit, i18n }: SubmitButtonProps): h.JSX.Element; | ||
export default SubmitButton; | ||
//# sourceMappingURL=SubmitButton.d.ts.map |
{ | ||
"name": "@uppy/audio", | ||
"description": "Uppy plugin that records audio using the device’s microphone.", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-beta.4", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^6.0.0-beta.3", | ||
"@uppy/utils": "^6.0.0-beta.4", | ||
"preact": "^10.5.13" | ||
@@ -36,3 +36,3 @@ }, | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.3" | ||
"@uppy/core": "^4.0.0-beta.4" | ||
}, | ||
@@ -39,0 +39,0 @@ "publishConfig": { |
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
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
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
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
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
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
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
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
Sorry, the diff of this file is not supported yet
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
145692
1989
+ Addedpreact@10.24.3(transitive)
- Removedpreact@10.25.0(transitive)
Updated@uppy/utils@^6.0.0-beta.4