diff --git a/MIGRATE.md b/MIGRATE.md index ab2e7aa..893a0f8 100644 --- a/MIGRATE.md +++ b/MIGRATE.md @@ -10,7 +10,6 @@ Steps: 4. Replace `uploader` with `upload-widget` in all CSS class name overrides (if you have any). 5. Remove `uploader` (from imports and props) 6. Add `apiKey` as a field to the object passed to the `options` prop (add it if you don't have one). -7. Replace `uploader` with `upload-widget` in all CSS class name overrides. ### Before @@ -50,7 +49,7 @@ Steps: alert(files.map(f => f.fileUrl).join("\n")); } } - }) + }); } } }; @@ -90,7 +89,7 @@ Steps: alert(files.map(f => f.fileUrl).join("\n")); } } - }) + }); } } }; diff --git a/README.md b/README.md index db57f59..8978b3e 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@
- Supports: Image Cropping, Video Previews, Document Previews, Drag & Drop, Multiple Files & More...
+ Supports: Image Cropping, Video Previews, Document Previews, Drag & Drop, and more...
Full Documentation • Headless SDK • Media Processing APIs • Storage • CDN
@@ -416,7 +416,7 @@ import { UrlBuilder } from "@bytescale/sdk";
#### Raw Files
-To get the URL for the uploaded image `/example.jpg` in its original form, use the following params:
+To get the URL for the uploaded image `/example.jpg` in its original form, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/raw/example.jpg"
@@ -428,7 +428,7 @@ UrlBuilder.url({
#### Images
-To resize the uploaded image `/example.jpg` to 800x600, use the following params:
+To resize the uploaded image `/example.jpg` to 800x600, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/image/example.jpg?w=800&h=600"
@@ -449,7 +449,7 @@ UrlBuilder.url({
#### Videos
-To transcode the uploaded video `/example.mov` to MP4/H.264 in HD, use the following params:
+To transcode the uploaded video `/example.mov` to MP4/H.264 in HD, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/video/example.mov?f=mp4-h264&h=1080"
@@ -470,7 +470,7 @@ UrlBuilder.url({
#### Audio
-To transcode the uploaded audio `/example.wav` to AAC in 192kbps, use the following params:
+To transcode the uploaded audio `/example.wav` to AAC in 192kbps, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/audio/example.wav?f=aac&br=192"
@@ -491,7 +491,7 @@ UrlBuilder.url({
#### Archives
-To extract the file `document.docx` from the uploaded ZIP file `/example.zip`, use the following params:
+To extract the file `document.docx` from the uploaded ZIP file `/example.zip`, use the following:
```javascript
// Returns: "https://upcdn.io/1234abc/archive/example.zip?m=extract&artifact=/document.docx"