uppy/packages/@uppy/remote-sources
github-actions[bot] a95e723775
Release: uppy@2.12.0 (#3816)
| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3           |   2.2.1 | @uppy/tus              |   2.4.1 |
| @uppy/aws-s3-multipart |   2.4.1 | @uppy/url              |   2.2.0 |
| @uppy/companion-client |   2.2.1 | @uppy/xhr-upload       |   2.1.2 |
| @uppy/core             |   2.3.1 | @uppy/robodog          |   2.8.0 |
| @uppy/react            |   2.2.2 | uppy                   |  2.12.0 |
| @uppy/remote-sources   |   0.1.0 |                        |         |

- @uppy/remote-sources: Add @uppy/remote-sources preset/plugin (Artur Paikin / #3676)
- @uppy/react: Reset uppy instance when React component is unmounted (Tomasz Pęksa / #3814)
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/tus: queue socket token requests for remote files (Merlijn Vos / #3797)
- @uppy/xhr-upload: replace `ev.target.status` with `xhr.status` (Wes Sankey / #3782)
- @uppy/core: fix `TypeError` when file was deleted (Antoine du Hamel / #3811)
- @uppy/robodog: fix linter warnings (Antoine du Hamel / #3808)
- meta: fix GHA workflow for prereleases (Antoine du Hamel)
- @uppy/aws-s3-multipart: allow `companionHeaders` to be modified with `setOptions` (Paulo Lemos Neto / #3770)
- @uppy/url: enable passing optional meta data to `addFile` (Brad Edelman / #3788)
- @uppy/url: fix `getFileNameFromUrl` (Brad Edelman / #3804)
- @uppy/tus: make onShouldRetry type optional (Merlijn Vos / #3800)
- doc: fix React examples (Antoine du Hamel / #3799)
- meta: add GHA workflow for prereleases (Antoine du Hamel)
2022-06-07 18:11:01 +01:00
..
src Add @uppy/remote-sources preset/plugin (#3676) 2022-06-07 18:56:02 +02:00
types Add @uppy/remote-sources preset/plugin (#3676) 2022-06-07 18:56:02 +02:00
CHANGELOG.md Release: uppy@2.12.0 (#3816) 2022-06-07 18:11:01 +01:00
LICENSE Add @uppy/remote-sources preset/plugin (#3676) 2022-06-07 18:56:02 +02:00
package.json Add @uppy/remote-sources preset/plugin (#3676) 2022-06-07 18:56:02 +02:00
README.md Add @uppy/remote-sources preset/plugin (#3676) 2022-06-07 18:56:02 +02:00

@uppy/remote-sources

Uppy logo: a superman puppy in a pink suit

CI status for Uppy tests CI status for Companion tests CI status for browser tests

Example

import Uppy from '@uppy/core'
import RemoteSources from '@uppy/remote-sources'

const uppy = new Uppy()
uppy.use(RemoteSources, {
  companionUrl: 'https://your-companion-url',
})

Installation

npm install @uppy/remote-sources
# or
yarn add @uppy/remote-sources

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits CDN: Edgly. In that case Uppy.RemoteSources will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.