@betit/orion-node-sdk
Advanced tools
Comparing version 3.5.2 to 3.5.3
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const UUID = require('uuid'); | ||
class Request { | ||
@@ -8,3 +9,5 @@ constructor(path, params) { | ||
this.tracerData = {}; | ||
this.meta = {}; | ||
this.meta = { | ||
'x-trace-id': UUID.v4() | ||
}; | ||
} | ||
@@ -11,0 +14,0 @@ getId() { |
@@ -108,3 +108,3 @@ "use strict"; | ||
let req = new request_1.Request(DATA.path, DATA.params); | ||
req.meta = DATA.meta; | ||
req.meta = DATA.meta || {}; | ||
req.tracerData = DATA.tracerData; | ||
@@ -331,3 +331,3 @@ if (logging) { | ||
let req = new request_1.Request(DATA.path, DATA.params); | ||
req.meta = DATA.meta; | ||
req.meta = DATA.meta || {}; | ||
req.tracerData = DATA.tracerData; | ||
@@ -398,3 +398,3 @@ if (logging) { | ||
req.tracerData = request.tracerData; | ||
req.meta = request.meta; | ||
req.meta = request.meta || {}; | ||
DEBUG('calling:', route); | ||
@@ -401,0 +401,0 @@ DEBUG('sending request:', request); |
{ | ||
"name": "@betit/orion-node-sdk", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"description": "SDK for orion", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
3661
1761818
143
23