@sap/audit-logging
Advanced tools
Comparing version 5.5.1 to 5.5.2
@@ -8,2 +8,7 @@ # Change Log | ||
## 5.5.2 - 2022-03-22 | ||
### Updated | ||
- Remove certificate forwarding to Auditlog service. | ||
## 5.5.1 - 2022-03-01 | ||
@@ -10,0 +15,0 @@ |
10
index.js
@@ -10,4 +10,4 @@ 'use strict'; | ||
var auditCache = new NodeCache(); | ||
var https = require('https'); | ||
var auditLog = deprecate(require('./lib/v1/audit-log'), 'Audit log v1 APIs are deprecated. Use v2 if available on the Audit log server.'); | ||
@@ -44,11 +44,3 @@ var auditLogV2 = require('./lib/v2/audit-log'); | ||
if (credentials && credentials.uaa && credentials.uaa.certificate) { | ||
const httpsAgent = new https.Agent({ | ||
certificate: credentials.uaa.certificate, | ||
key: credentials.uaa.key | ||
}); | ||
options.agent = httpsAgent; | ||
} | ||
debug('Sending request to %s', uri); | ||
@@ -55,0 +47,0 @@ fetch(uri, options).then(function (res) { |
@@ -86,9 +86,2 @@ 'use strict'; | ||
if (this.credentials && this.credentials.uaa && this.credentials.uaa.certificate) { | ||
const httpsAgent = new https.Agent({ | ||
certificate: this.credentials.uaa.certificate, | ||
key: this.credentials.uaa.key | ||
}); | ||
options.agent = httpsAgent; | ||
} | ||
@@ -95,0 +88,0 @@ fetch(url, options).then(function (res) { |
{ | ||
"name": "@sap/audit-logging", | ||
"version": "5.5.1", | ||
"version": "5.5.2", | ||
"lockfileVersion": 1, | ||
@@ -33,3 +33,3 @@ "requires": true, | ||
"axios": { | ||
"version": "0.26.0", | ||
"version": "0.26.1", | ||
"requires": { | ||
@@ -36,0 +36,0 @@ "follow-redirects": "^1.14.8" |
{ | ||
"name": "@sap/audit-logging", | ||
"description": "Provides audit logging functionalities for Node.js applications", | ||
"version": "5.5.1", | ||
"version": "5.5.2", | ||
"license": "SEE LICENSE IN LICENSE file", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
4
88442
883