cms_applog_models
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -8,4 +8,2 @@ const request = require('request'); | ||
start_time_gmt7: 'number', | ||
/* ----------- START SELF DATA ------------- */ | ||
@@ -39,2 +37,11 @@ // self_type ประเภทของ microservice หรือ application ที่เป็น owner ของ log ตัวนี้ | ||
//TBA | ||
alliance_tran_id: 'string', | ||
alliance_group: 'string', | ||
alliance_system: 'string', | ||
alliance_function: 'string', | ||
alliance_module: 'string', | ||
/* ----------- END SELF DATA ------------- */ | ||
@@ -48,3 +55,4 @@ | ||
// HTTP Request Headers | ||
// HTTP Request Headers | ||
// "Accept: Application/json, Accept-Charset: utf-8" | ||
call_req_headers: 'string',//Required | ||
@@ -138,5 +146,5 @@ | ||
start_time: new Date().getTime() | ||
}, options) | ||
}, options); | ||
this._additional_fields = {}; | ||
this._environment = '' | ||
this._environment = process.env.NODE_ENV || process.env.DMPENV || 'local' | ||
} | ||
@@ -319,3 +327,3 @@ | ||
let _request = Object.assign({}, this._request, { body: log }) | ||
return new Promise(function (resolve, reject) { | ||
@@ -322,0 +330,0 @@ request(_request, function (error, response, body) { |
{ | ||
"name": "cms_applog_models", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "cms applog v2 model", | ||
@@ -10,3 +10,2 @@ "main": "index.js", | ||
"keywords": [ | ||
"cms", | ||
"applog", | ||
@@ -13,0 +12,0 @@ "v2", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13199
354
0
3