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

skynet-js

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skynet-js - npm Package Versions

1
57

2.0.9

Diff

Changelog

Source

[2.0.9]

Changed

  • Fix some bugs with skylink parsing.
m-cat
published 2.0.8 •

Changelog

Source

[2.0.8]

Changed

  • Revert 2.0.7 and fix uploadFile filename bug.
m-cat
published 2.0.6 •

Changelog

Source

[2.0.6]

Changed

  • Fixed a bug in server-side rendering where typeof was not used for window.
m-cat
published 2.0.5 •

Changelog

Source

[2.0.5]

Changed

  • Fixed a bug in server-side rendering where window was undefined.
m-cat
published 2.0.4 •

Changelog

Source

[2.0.4]

Changes

  • Fixed a bug causing uploadFile to not work.
m-cat
published 2.0.3 •

Changelog

Source

[2.0.3]

Changed

  • Remove some test code that made it into the published version.
m-cat
published 2.0.2 •

Changelog

Source

[2.0.2]

Added

  • MIT license

Changed

  • regeneratorRuntime error when packaging with webpack has been fixed.
m-cat
published 2.0.1 •

Changelog

Source

[2.0.1]

Changed

  • Publish only compiled version (resolves issues with webpack).
m-cat
published 2.0.0 •

Changelog

Source

[2.0.0]

Prior version numbers skipped to maintain parity with API.

Added

  • downloadFileHns, openFileHns, resolveSkylinkHns
  • getHnsUrl, getHnsresUrl
  • customFilename and customDirname upload options

Changed

  • download and open were renamed to downloadFile and openFile.
  • upload was renamed to uploadFile and the response was changed to only include a skylink. To obtain the full response as in the old upload, use the new uploadFileRequest.
  • getDownloadUrl has been renamed to getSkylinkUrl.
  • Connection options can now be passed to the client, in addition to individual API calls, to be applied to all API calls.
  • The defaultPortalUrl string has been renamed to defaultSkynetPortalUrl and defaultPortalUrl is now a function.
kwypchlo
published 0.1.0 •

Changelog

Source

[0.1.0] - 2020-07-29

Added

  • New SkynetClient class that must be initialized to call methods such as upload and download.
  • New utility helpers such as getRelativeFilePath and defaultPortalUrl.

Changed

  • Most standalone functions are now methods on the SkynetClient. Previous code that was calling upload(...) instead of client.upload(...) will no longer work.
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