Skip to content

Commit

Permalink
Release 9.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Sep 17, 2023
1 parent 3eca755 commit 8a5c6f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ Bytescale supports two types of authorization:

### API Keys

The Bytescale Upload Widget uses the `apiKey` parameter to authenticate with the [Bytescale API](https://www.bytescale.com/docs/apis).
The Bytescale Upload Widget uses the `apiKey` parameter to authenticate with [Bytescale](https://www.bytescale.com/).

With API key auth, the requester has access to the resources available to the API key:

- Secret API keys (`secret_***`) have access to all API endpoints (see the [Bytescale JavaScript SDK](https://www.bytescale.com/docs/sdks/javascript)).
- Secret API keys (`secret_***`) have access to all API endpoints ([Bytescale JavaScript SDK](https://www.bytescale.com/docs/sdks/javascript)).

- Public API keys (`public_***`) have access to file upload, file download, and file listing API endpoints. File overwrites, file deletes, and all other destructive operations cannot be performed using public API keys. File listing is also disabled by default (but can be changed in the API key's settings).

Expand All @@ -422,13 +422,13 @@ _Note: when using JWT cookies to download files, the `?auth=true` query paramete

## UrlBuilder

The [Bytescale JavaScript SDK](https://github.com/bytescale/bytescale-javascript-sdk) exports a `UrlBuilder` to construct URLs from `filePath` values:
The [Bytescale JavaScript SDK](https://github.com/bytescale/bytescale-javascript-sdk) exports a `UrlBuilder` to construct URLs from `filePaths`:

```javascript
import { UrlBuilder } from "@bytescale/sdk";
```

**Recommended:** you should always save `filePath` values to your DB instead of `fileUrl` values.
**Recommended:** you should always save `filePaths` to your DB instead of `fileUrls`.

#### Raw Files

Expand Down Expand Up @@ -528,7 +528,7 @@ UrlBuilder.url({

## 🙋 Can I use my own storage?

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

**[Bytescale Storage Docs »](https://www.bytescale.com/docs/storage/sources)**

Expand Down
2 changes: 1 addition & 1 deletion projects/bytescale-upload-widget-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bytescale/upload-widget-angular",
"version": "9.2.1",
"version": "9.2.2",
"author": "Bytescale <[email protected]> (https://www.bytescale.com)",
"description": "Angular File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐",
"license": "MIT",
Expand Down

0 comments on commit 8a5c6f9

Please sign in to comment.