Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uploadcare/api

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uploadcare/api - npm Package Versions

1.0.0

Diff

Changelog

Source

1.0.0 (2019-12-23)

Changed

  • All methods return a Promise now instead of ThenableInterface
  • SettingsInterface was renamed to Settings
  • fileFrom was renamed to uploadFile.
  • groupFrom was renamed to uploadFileGroup.
  • request low-level API method is not exported outside now.
  • Method setSettings of UploadClient was renamed to updateSettings.
  • Methods (base, fromUrl, fromUrlStatus, group, groupInfo, info, multipartStart, multipartUpload, multipartComplete, multipart, uploadFile, uploadGroup) were exported from index.ts to make the tree shaking better.
  • Methods (base, fromUrl, fromUrlStatus, group, groupInfo, info, multipartStart, multipartUpload, multipartComplete, multipart, uploadFile, uploadGroup) accept options instead of settings as a second argument.
  • UploadClient now contains all low-level API methods (base, fromUrl, fromUrlStatus, group, groupInfo, info, multipartStart, multipartUpload, multipartComplete, multipart, fileFrom, groupFrom).
  • UploadcareGroup files now contain UploadcareFile[], but not FileInfo[].
  • README.md was updated according to library API.
  • FileData became NodeFile and BrowserFile.

Removed

  • UploadAPI class.
  • Thenable, CancelableThenable, BaseThenable, Upload classes implementing respective interfaces.
  • onReady, onUploaded callbacks.
  • addUpdateSettingsListener and removeUpdateSettingsListener from UploadClientInterface.
  • from param of uploadFile and uploadFileGroup.
  • FileFromEnum and GroupFromEnum.

Added

  • CancelController to make API calls cancellable. See README for how to use this feature. (#77)
uploadcare
published 1.0.0-alpha •

Changelog

Source

1.0.0-alpha

The first public alpha release.

Added

  • The request function to request to any path of [Upload API][upload-api].
  • Low-level request wrappers for /base/ and /info/ paths of Upload API.
  • UploadClient class with settings and fileFrom method that supports only direct uploads now.
  • Support of following Uploadcare Settings: publicKey, baseUrl, doNotStore, integration, secureExpire, secureSignature.
  • Test environment for both Node.js and browsers
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc