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

skynet-js

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skynet-js - npm Package Compare versions

Comparing version 2.0.6 to 2.0.8

12

CHANGELOG.md
# Changelog
## [2.0.8]
### Changed
- Revert 2.0.7 and fix `uploadFile` filename bug.
## [2.0.7]
### Changed
- Revert: "Fixed a bug causing `uploadFile` to not work." introduced in 2.0.4
## [2.0.6]

@@ -4,0 +16,0 @@

18

dist/upload.js

@@ -62,3 +62,2 @@ "use strict";

formData,
options,
_yield$this$executeRe,

@@ -76,7 +75,10 @@ data,

file = ensureFileObjectConsistency(file);
options = opts.customFilename ? {
filename: opts.customFilename
} : {};
formData.append(opts.portalFileFieldname, file, options);
_context2.next = 8;
if (opts.customFilename) {
formData.append(opts.portalFileFieldname, file, opts.customFilename);
} else {
formData.append(opts.portalFileFieldname, file);
}
_context2.next = 7;
return this.executeRequest(_objectSpread(_objectSpread({}, opts), {}, {

@@ -87,3 +89,3 @@ method: "post",

case 8:
case 7:
_yield$this$executeRe = _context2.sent;

@@ -93,3 +95,3 @@ data = _yield$this$executeRe.data;

case 11:
case 10:
case "end":

@@ -96,0 +98,0 @@ return _context2.stop();

{
"name": "skynet-js",
"version": "2.0.6",
"version": "2.0.8",
"description": "Sia Skynet Javascript Client",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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