Skip to content

Commit

Permalink
Upgrade @bytescale/upload-widget package
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed May 6, 2024
1 parent 0723dc4 commit 9088100
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 26 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<img alt="Bytescale Upload Widget for React" width="539" height="80" src="https://raw.githubusercontent.com/bytescale/bytescale-upload-widget-react/main/.github/assets/bytescale-upload-widget-react.svg">
</a>
</h1>
<p align="center"><b>Beautiful File Upload Widget for React</b><br/> (With Built-in Cloud Storage)</p>
<p align="center"><b>Beautiful File Upload Widget for React</b><br/> (Works out-the-box, storage included)</p>
<br/>
<p align="center">
<a href="https://www.npmjs.com/package/@bytescale/upload-widget-react">
Expand Down Expand Up @@ -505,6 +505,23 @@ UrlBuilder.url({

[Archive Processing API Docs »](https://www.bytescale.com/docs/archive-processing-api)

#### Antivirus

To scan the file `example.zip` for viruses, use the following:

```javascript
// Returns: "https://upcdn.io/1234abc/antivirus/example.zip"
UrlBuilder.url({
accountId: "1234abc",
filePath: "/example.zip",
options: {
transformation: "antivirus"
}
});
```

[Antivirus API Docs »](https://www.bytescale.com/docs/antivirus-api)

## 🙋 Can I use my own storage?

Bytescale supports AWS S3, Cloudflare R2, Google Storage, DigitalOcean, and Bytescale Storage.
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"react": ">=16.3.0"
},
"dependencies": {
"@bytescale/upload-widget": "^4.24.0",
"@bytescale/upload-widget": "^4.27.0",
"lodash.isequal": "^4.5.0"
},
"devDependencies": {
Expand Down Expand Up @@ -118,8 +118,8 @@
"ts-loader": "9.5.1",
"tsc-alias": "1.2.10",
"typescript": "4.7.4",
"webpack-bundle-analyzer": "4.2.0",
"webpack": "5.90.3",
"webpack-bundle-analyzer": "4.2.0",
"webpack-cli": "4.10.0",
"webpack-dev-server": "4.15.2",
"webpack-node-externals": "2.5.2"
Expand Down

0 comments on commit 9088100

Please sign in to comment.