@uppy/remote-sources
Advanced tools
Comparing version 2.0.0 to 2.1.0
# @uppy/remote-sources | ||
## 2.1.0 | ||
Released: 2024-07-30 | ||
Included in: Uppy v4.1.0 | ||
- @uppy/remote-sources: fix options type (Merlijn Vos / #5364) | ||
## 2.0.0-beta.4 | ||
@@ -4,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { BasePlugin, Uppy, type UIPluginOptions } from '@uppy/core'; | ||
import { BasePlugin, Uppy } from '@uppy/core'; | ||
import Dropbox from '@uppy/dropbox'; | ||
@@ -14,2 +14,3 @@ import GoogleDrive from '@uppy/google-drive'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { CompanionPluginOptions } from '@uppy/companion-client'; | ||
declare const availablePlugins: { | ||
@@ -28,5 +29,4 @@ __proto__: null; | ||
}; | ||
export interface RemoteSourcesOptions extends UIPluginOptions { | ||
export interface RemoteSourcesOptions extends CompanionPluginOptions { | ||
sources?: Array<keyof Omit<typeof availablePlugins, '__proto__'>>; | ||
companionUrl: string; | ||
} | ||
@@ -33,0 +33,0 @@ declare const defaultOptions: { |
@@ -18,3 +18,3 @@ function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance"); return e; } | ||
const packageJson = { | ||
"version": "2.0.0" | ||
"version": "2.1.0" | ||
}; | ||
@@ -21,0 +21,0 @@ const availablePlugins = { |
{ | ||
"name": "@uppy/remote-sources", | ||
"description": "Uppy plugin that includes all remote sources that Uppy+Companion offer, like Instagram, Google Drive, Dropox, Box, Unsplash, Url etc", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
"@uppy/box": "^3.0.0", | ||
"@uppy/dashboard": "^4.0.0", | ||
"@uppy/dashboard": "^4.0.2", | ||
"@uppy/dropbox": "^4.0.0", | ||
@@ -44,3 +44,3 @@ "@uppy/facebook": "^4.0.0", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0" | ||
"@uppy/core": "^4.1.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "publishConfig": { |
@@ -1,7 +0,2 @@ | ||
import { | ||
BasePlugin, | ||
Uppy, | ||
type UIPluginOptions, | ||
type UnknownProviderPlugin, | ||
} from '@uppy/core' | ||
import { BasePlugin, Uppy, type UnknownProviderPlugin } from '@uppy/core' | ||
import Dropbox from '@uppy/dropbox' | ||
@@ -20,2 +15,3 @@ import GoogleDrive from '@uppy/google-drive' | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile' | ||
import type { CompanionPluginOptions } from '@uppy/companion-client' | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
@@ -40,5 +36,4 @@ // @ts-ignore We don't want TS to generate types for the package.json | ||
export interface RemoteSourcesOptions extends UIPluginOptions { | ||
export interface RemoteSourcesOptions extends CompanionPluginOptions { | ||
sources?: Array<keyof Omit<typeof availablePlugins, '__proto__'>> | ||
companionUrl: string | ||
} | ||
@@ -45,0 +40,0 @@ |
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
22670
267
Updated@uppy/dashboard@^4.0.2