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
7

4.0.3-beta

Diff

m-cat
published 4.0.2-beta •

m-cat
published 4.0.1-beta •

m-cat
published 4.0.0-beta •

m-cat
published 3.0.2 •

Changelog

Source

[3.0.2]

Added

  • Add portalUrl response field to getFileContents and getMetadata.

Changed

  • A new optimization causes db.setJSON to complete significantly faster.
  • The size of the bundled SDK has been reduced by more than 60% by changing crypto dependencies.
  • Fix a bug where registry entries with empty data were rejected.
m-cat
published 3.0.2-beta •

m-cat
published 3.0.1-beta •

m-cat
published 3.0.0 •

Changelog

Source

[3.0.0]

Updating Guide

Added

  • getFileContent and getFileContentHns methods have been added for getting the content of a file from a skylink or Handshake domain without downloading the file in-browser.
  • noResponseMetadata option was added to the download options.

Changed

  • [Breaking change] Entry revisions are now bigint instead of number.
  • [Breaking change] Upload methods return full objects instead of just a skylink string.
  • [Breaking change] Upload request methods were removed.
  • [Breaking change] getMetadata returns a full object containing the metadata in a subfield.
  • [Breaking change] The registry timeout has changed to take seconds instead of milliseconds.
  • [Breaking change] db.getJSON can return destructured nulls instead of null
  • [Breaking change] registry.getEntry only returns null on entry-not-found.
  • Almost every API method now has the potential to throw. A common cause would be wrongly-typed inputs to a method, which are now checked.

Removed

  • [Breaking change] executeRequest was removed.
m-cat
published 3.0.0-beta •

m-cat
published 2.9.0 •

Changelog

Source

[2.9.0]

Added

  • Support for downloading skylinks with paths (either pre-encoded in the skylink, or with the path parameter not encoded).
  • Support for returning skylinks from getSkylinkUrl and downloadFile in subdomain form.
  • Added includePath, onlyPath, and fromSubdomain options to parseSkylink, allowing getting the path with/without the skylink as well as parsing skylinks in base32 subdomain form.

Changed

  • Fixed bug in getJSON where fetching an inexistent entry would cause an error.
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