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

@elastic.io/maester-client

Package Overview
Dependencies
Maintainers
12
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/maester-client - npm Package Compare versions

Comparing version 4.0.2-dev.3 to 4.0.2

4

CHANGELOG.md

@@ -1,3 +0,3 @@

# 4.0.2 (August 10, 2022)
* Added parameter `userAgent` which will be passed in each request for `StorageClient`
# 4.0.2 (August 12, 2022)
* Added parameter `userAgent` which will be passed in each request

@@ -4,0 +4,0 @@ # 4.0.1 (July 25, 2022)

{
"name": "@elastic.io/maester-client",
"version": "4.0.2-dev.3",
"version": "4.0.2",
"description": "The official object-storage client",

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

@@ -12,3 +12,3 @@ /// <reference types="node" />

jwtSecret?: string;
userAgent: string;
userAgent?: string;
}, client?: StorageClient);

@@ -15,0 +15,0 @@ private applyMiddlewares;

@@ -18,3 +18,3 @@ import { uploadData } from './interfaces';

objectStorage: any;
constructor(context: Scope, userAgent: string);
constructor(context: Scope, userAgent?: string);
/**

@@ -21,0 +21,0 @@ * @param data any data (except 'undefined')

@@ -18,3 +18,3 @@ /// <reference types="node" />

jwtSecret?: string;
userAgent: string;
userAgent?: string;
});

@@ -21,0 +21,0 @@ private requestRetry;

@@ -34,3 +34,3 @@ "use strict";

});
this.userAgent = `${config.userAgent} axios/${package_json_1.default.dependencies.axios}`;
this.userAgent = `${config.userAgent || ''} axios/${package_json_1.default.dependencies.axios}`;
this.jwtSecret = config.jwtSecret;

@@ -56,3 +56,2 @@ }

}
logger_1.default.info('axiosReqConfig.headers: ', JSON.stringify(axiosReqConfig.headers));
res = await this.api.request({ ...axiosReqConfig, data: bodyAsStream, timeout: requestTimeout });

@@ -59,0 +58,0 @@ }

{
"name": "@elastic.io/maester-client",
"version": "4.0.2-dev.3",
"version": "4.0.2",
"description": "The official object-storage client",

@@ -5,0 +5,0 @@ "main": "dist/src/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