Socket
Socket
Sign inDemoInstall

@elastic/transport

Package Overview
Dependencies
6
Maintainers
75
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

3

lib/connection/BaseConnection.d.ts

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

requestId: string | number;
name: string;
name: string | symbol;
context: any;

@@ -71,2 +71,3 @@ }

}
export declare function prepareHeaders(headers?: http.IncomingHttpHeaders, auth?: BasicAuth | ApiKeyAuth | BearerAuth): http.IncomingHttpHeaders;
export declare function getIssuerCertificate(socket: TLSSocket): DetailedPeerCertificate | null;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.getIssuerCertificate = void 0;
exports.getIssuerCertificate = exports.prepareHeaders = void 0;
const tslib_1 = require("tslib");

@@ -201,2 +201,3 @@ const util_1 = require("util");

}
exports.prepareHeaders = prepareHeaders;
function isApiKeyAuth(auth) {

@@ -203,0 +204,0 @@ return auth.apiKey != null;

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

ssl?: TlsConnectionOptions;
agent?: HttpAgentOptions | UndiciAgentOptions | agentFn;
agent?: HttpAgentOptions | UndiciAgentOptions | agentFn | false;
proxy?: string | URL;

@@ -26,3 +26,3 @@ auth?: BasicAuth | ApiKeyAuth | BearerAuth;

requestId: string | number;
name: string;
name: string | symbol;
context: any;

@@ -36,3 +36,3 @@ }

auth?: BasicAuth | ApiKeyAuth | BearerAuth;
_agent?: HttpAgentOptions | UndiciAgentOptions | agentFn;
_agent?: HttpAgentOptions | UndiciAgentOptions | agentFn | false;
_proxy?: string | URL;

@@ -39,0 +39,0 @@ _ssl?: TlsConnectionOptions;

@@ -6,3 +6,3 @@ import BaseConnectionPool, { ConnectionPoolOptions, GetConnectionOptions } from './BaseConnectionPool';

requestId: string | number;
name: string;
name: string | symbol;
context: any;

@@ -12,3 +12,3 @@ }

strategy: string;
name: string;
name: string | symbol;
request: {

@@ -15,0 +15,0 @@ id: string;

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

requestTimeout?: number | string;
suggestCompression?: boolean;
compression?: boolean;

@@ -27,3 +26,3 @@ sniffInterval?: number | boolean;

generateRequestId?: generateRequestIdFn;
name?: string;
name?: string | symbol;
opaqueIdPrefix?: string;

@@ -100,3 +99,3 @@ context?: Context;

[kOpaqueIdPrefix]: string | null;
[kName]: string;
[kName]: string | symbol;
[kMaxRetries]: number;

@@ -103,0 +102,0 @@ [kCompression]: boolean;

{
"name": "@elastic/transport",
"version": "0.0.2",
"version": "0.0.3",
"description": "Transport classes and utilities shared among Node.js Elastic client libraries",

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

Sorry, the diff of this file is not supported yet

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc