Skip to content

Commit 61716b0

Browse files
committed
Upgrade @bytescale/upload-widget package
1 parent 276e3b5 commit 61716b0

File tree

5 files changed

+62
-45
lines changed

5 files changed

+62
-45
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img alt="Bytescale Upload Widget for Angular" width="558" height="80" src="https://raw.githubusercontent.com/bytescale/bytescale-upload-widget-angular/main/.github/assets/bytescale-upload-widget-angular.svg">
44
</a>
55
</h1>
6-
<p align="center"><b>Beautiful File Upload Widget for Angular</b><br/> (With Built-in Cloud Storage)</p>
6+
<p align="center"><b>Beautiful File Upload Widget for Angular</b><br/> (Works out-the-box, storage included)</p>
77
<br/>
88
<p align="center">
99
<a href="https://www.npmjs.com/package/@bytescale/upload-widget-angular">
@@ -537,6 +537,23 @@ UrlBuilder.url({
537537

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

540+
#### Antivirus
541+
542+
To scan the file `example.zip` for viruses, use the following:
543+
544+
```javascript
545+
// Returns: "https://upcdn.io/1234abc/antivirus/example.zip"
546+
UrlBuilder.url({
547+
accountId: "1234abc",
548+
filePath: "/example.zip",
549+
options: {
550+
transformation: "antivirus"
551+
}
552+
});
553+
```
554+
555+
[Antivirus API Docs »](https://www.bytescale.com/docs/antivirus-api)
556+
540557
## 🙋 Can I use my own storage?
541558

542559
Bytescale supports AWS S3, Cloudflare R2, Google Storage, DigitalOcean, and Bytescale Storage.

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@angular/platform-browser": "^17.3.4",
3333
"@angular/platform-browser-dynamic": "^17.3.4",
3434
"@angular/router": "^17.3.4",
35-
"@bytescale/upload-widget": "^4.24.0",
35+
"@bytescale/upload-widget": "^4.27.0",
3636
"rxjs": "^7.5.0",
3737
"tslib": "^2.3.0",
3838
"zone.js": "0.14.0"

projects/bytescale-upload-widget-angular/package-lock.json

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/bytescale-upload-widget-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"peerDependencies": {
5353
"@angular/common": ">=13",
5454
"@angular/core": ">=13",
55-
"@bytescale/upload-widget": "^4.24.0",
55+
"@bytescale/upload-widget": "^4.27.0",
5656
"tslib": "^2.3.0"
5757
}
5858
}

0 commit comments

Comments
 (0)