Skip to content

v1.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Zmoki Zmoki released this 16 Jan 14:17
· 1078 commits to master since this release

Fixed

  • Use the version from the package.json file to create Uploadcare User Agent.

Changed

  • The base function returns thenable object called DirectUpload
    instead of using the promise property.
  • The fileFrom function returns thenable object called FilePromise
    instead of using the promise property.
  • The FileInfo type renamed to UFile and updated.
  • The FilePromise resolved with an object of the UFile type.
  • The progress of fileFrom now based on the FilePromiseProgress type.
  • Updated the InfoResponse type.

Added

  • The checkFileIsReady function to check if the file is ready on the CDN.
  • New properties for the object that the fileFrom function returns:
    onUploaded, onReady.
  • The camelizeKeys function for inner usage.
  • The baseCDN default setting