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

castle-api-client

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castle-api-client - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

7

CastleApiClient.js

@@ -12,2 +12,3 @@ let apolloFetch = require('apollo-fetch');

function constructUploadOptions(requestOrRequests, options) {
// Using an old version of extract-files https://github.com/jaydenseric/extract-files/tree/v4.0.0#function-extractfiles
let files = extractFiles.extractFiles(requestOrRequests);

@@ -54,2 +55,3 @@

});
this._headers = {};

@@ -59,2 +61,3 @@ // Add auth header

options.headers = options.headers || {};
Object.assign(options.headers, this._headers);
Object.assign(options.headers, await this._getRequestHeadersAsync());

@@ -74,2 +77,6 @@ next();

setRequestHeaders(headers) {
this._headers = headers;
}
async _getRequestHeadersAsync() {

@@ -76,0 +83,0 @@ let headers = {};

2

package.json
{
"name": "castle-api-client",
"version": "6.0.0",
"version": "6.1.0",
"description": "Castle API Client",

@@ -5,0 +5,0 @@ "main": "CastleApiClient.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