New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@appsignal/nodejs

Package Overview
Dependencies
Maintainers
8
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsignal/nodejs - npm Package Compare versions

Comparing version

to
2.2.9

2

dist/client.d.ts

@@ -15,3 +15,3 @@ import { Client, Metrics, Plugin, Tracer, AppsignalOptions } from "./interfaces";

#private;
readonly VERSION = "2.2.8";
readonly VERSION = "2.2.9";
config: Configuration;

@@ -18,0 +18,0 @@ extension: Extension;

@@ -124,2 +124,3 @@ "use strict";

sendParams: true,
sendSessionData: true,
transactionDebugMode: false

@@ -126,0 +127,0 @@ };

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

APPSIGNAL_SEND_PARAMS: "sendParams",
APPSIGNAL_SKIP_SESSION_DATA: "skipSessionData",
APPSIGNAL_SEND_SESSION_DATA: "sendSessionData",
APPSIGNAL_TRANSACTION_DEBUG_MODE: "transactionDebugMode",

@@ -94,2 +94,3 @@ APPSIGNAL_WORKING_DIRECTORY_PATH: "workingDirectoryPath",

sendParams: "send_params",
sendSessionData: "send_session_data",
transactionDebugMode: "transaction_debug_mode",

@@ -96,0 +97,0 @@ workingDirPath: "working_dir_path",

@@ -104,6 +104,9 @@ "use strict";

setSampleData(key, data) {
const clientConfig = client_1.BaseClient.config.data;
if (!key || !data)
return this;
if (key == "params" && !client_1.BaseClient.config.data.sendParams)
if (key == "params" && !clientConfig.sendParams)
return this;
if (key == "session_data" && !clientConfig.sendSessionData)
return this;
try {

@@ -110,0 +113,0 @@ extension_wrapper_1.span.setSpanSampleData(this._ref, key, data_1.Data.generate(data));

@@ -1,2 +0,2 @@

export declare const VERSION = "2.2.8";
export declare const AGENT_VERSION = "0db01c2";
export declare const VERSION = "2.2.9";
export declare const AGENT_VERSION = "15ee07b";

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

// Do not touch this file, auto-generated by scripts/create-versionfile
exports.VERSION = "2.2.8";
exports.AGENT_VERSION = "0db01c2";
exports.VERSION = "2.2.9";
exports.AGENT_VERSION = "15ee07b";
{
"name": "@appsignal/nodejs",
"version": "2.2.8",
"version": "2.2.9",
"main": "dist/index",

@@ -5,0 +5,0 @@ "types": "dist/index",