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

elastic-apm-http-client

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elastic-apm-http-client - npm Package Compare versions

Comparing version 10.1.0 to 10.2.0

8

CHANGELOG.md
# elastic-apm-http-client changelog
## v10.2.0
- The client will no longer append data to the configured `userAgent` string.
Before this it would append " elastic-apm-http-client/$ver node/$ver". This
is to support [the APM agents spec for
User-Agent](https://github.com/elastic/apm/blob/master/specs/agents/transport.md#user-agent).
## v10.1.0

@@ -4,0 +12,0 @@

3

index.js

@@ -24,3 +24,2 @@ 'use strict'

const truncate = require('./lib/truncate')
const pkg = require('./package')

@@ -1045,3 +1044,3 @@ module.exports = Client

headers.Accept = 'application/json'
headers['User-Agent'] = `${opts.userAgent} ${pkg.name}/${pkg.version} ${process.release.name}/${process.versions.node}`
headers['User-Agent'] = opts.userAgent
return Object.assign(headers, opts.headers)

@@ -1048,0 +1047,0 @@ }

{
"name": "elastic-apm-http-client",
"version": "10.1.0",
"version": "10.2.0",
"description": "A low-level HTTP client for communicating with the Elastic APM intake API",

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

@@ -82,3 +82,3 @@ # elastic-apm-http-client

- `userAgent` - (required) The HTTP user agent that your module should
identify it self as
identify itself as
- `secretToken` - The Elastic APM intake API secret token

@@ -85,0 +85,0 @@ - `apiKey` - Elastic APM API key

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