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

@erebos/api-bzz-base

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erebos/api-bzz-base - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

12

cjs/index.js

@@ -176,6 +176,6 @@ "use strict";

var protocol = raw ? BZZ_MODE_PROTOCOLS.raw : getModeProtocol(options.mode);
var url = this._url + protocol + hash;
var url = "" + this._url + protocol + hash + "/";
if (options.path != null) {
url += "/" + options.path;
url += options.path;
}

@@ -234,3 +234,3 @@

// hash
url += userOrHash;
url += userOrHash + "/";
}

@@ -242,3 +242,3 @@

return url + "?" + query.join('&');
return query.length > 0 ? url + "?" + query.join('&') : url;
};

@@ -259,6 +259,6 @@

var url = this._url + "bzz-list:/" + hash;
var url = this._url + "bzz-list:/" + hash + "/";
if (options.path != null) {
url += "/" + options.path;
url += options.path;
}

@@ -265,0 +265,0 @@

@@ -125,6 +125,6 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

var protocol = raw ? BZZ_MODE_PROTOCOLS.raw : getModeProtocol(options.mode);
var url = this._url + protocol + hash;
var url = "" + this._url + protocol + hash + "/";
if (options.path != null) {
url += "/" + options.path;
url += options.path;
}

@@ -183,3 +183,3 @@

// hash
url += userOrHash;
url += userOrHash + "/";
}

@@ -191,3 +191,3 @@

return url + "?" + query.join('&');
return query.length > 0 ? url + "?" + query.join('&') : url;
};

@@ -208,6 +208,6 @@

var url = this._url + "bzz-list:/" + hash;
var url = this._url + "bzz-list:/" + hash + "/";
if (options.path != null) {
url += "/" + options.path;
url += options.path;
}

@@ -214,0 +214,0 @@

{
"name": "@erebos/api-bzz-base",
"version": "0.6.2",
"version": "0.6.3",
"description": "Base Bzz API",

@@ -5,0 +5,0 @@ "repository": "git@github.com:MainframeHQ/erebos.git",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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