@uploadcare/upload-client 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -403,12 +403,13 @@ Defaults to `application/octet-stream`.
403
403
  type Metadata = {
404
404
  [key: string]: string
405
405
  }
406
+ ```
406
407
 
407
408
  Metadata is additional, arbitrary data, associated with uploaded file.
408
409
 
409
410
  Non-string values will be converted to `string`. `undefined` values will be ignored.
410
411
 
411
- See [https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata][REST API reference] for details.
412
+ See [REST API reference][uc-docs-metadata] for details.
412
413
 
413
414
 
414
415
  ## Testing
@@ -472,3 +473,4 @@ request at [hello@uploadcare.com][uc-email-hello].
472
473
  [badge-build]: https://github.com/uploadcare/uploadcare-upload-client/actions/workflows/checks.yml/badge.svg
473
474
  [build-url]: https://github.com/uploadcare/uploadcare-upload-client/actions/workflows/checks.yml
474
475
  [uc-docs-upload-api]: https://uploadcare.com/docs/api_reference/upload/?utm_source=github&utm_campaign=uploadcare-upload-client
476
+ [uc-docs-metadata]: https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata
@@ -315,7 +315,7 @@ var defaultSettings = {
315
315
  var defaultContentType = 'application/octet-stream';
316
316
  var defaultFilename = 'original';
317
317
 
318
- var version = '3.1.0';
318
+ var version = '3.1.1';
319
319
 
320
320
  /**
321
321
  * Returns User Agent based on version and settings.
@@ -242,7 +242,7 @@ const defaultSettings = {
242
242
  const defaultContentType = 'application/octet-stream';
243
243
  const defaultFilename = 'original';
244
244
 
245
- var version = '3.1.0';
245
+ var version = '3.1.1';
246
246
 
247
247
  /**
248
248
  * Returns User Agent based on version and settings.
package/dist/index.cjs CHANGED
@@ -354,7 +354,7 @@ var defaultSettings = {
354
354
  var defaultContentType = 'application/octet-stream';
355
355
  var defaultFilename = 'original';
356
356
 
357
- var version = '3.1.0';
357
+ var version = '3.1.1';
358
358
 
359
359
  /**
360
360
  * Returns User Agent based on version and settings.
package/dist/index.js CHANGED
@@ -269,7 +269,7 @@ const defaultSettings = {
269
269
  const defaultContentType = 'application/octet-stream';
270
270
  const defaultFilename = 'original';
271
271
 
272
- var version = '3.1.0';
272
+ var version = '3.1.1';
273
273
 
274
274
  /**
275
275
  * Returns User Agent based on version and settings.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uploadcare/upload-client",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Library for work with Uploadcare Upload API",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",