Comparing version 0.4.0 to 0.4.1
@@ -50,3 +50,3 @@ var request = require('request'); | ||
self._xmlParser(body, { explicitArray: false, mergeAttrs: true }, function(err, result) { | ||
if (err) return callback(err, body, res); | ||
if (err && callback) return callback(err, body, res); | ||
@@ -58,3 +58,3 @@ // remove SOAP headers from body | ||
callback(err, body, res); | ||
if (callback) callback(err, body, res); | ||
}); | ||
@@ -61,0 +61,0 @@ }); |
{ | ||
"name": "dynatrace", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Dynatrace API client library for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dynatrace.js", |
@@ -43,3 +43,3 @@ var assert = require('assert'); | ||
if (err) throw err; | ||
console.log(JSON.stringify(result)); | ||
assert.equal(typeof result, 'object'); | ||
@@ -112,14 +112,12 @@ done(); | ||
var params = { | ||
iMonitorIdSet: ['18317263'], | ||
sMonitorClassDesignator: 'BROWSERTX', | ||
sDataDesignator: 'SUMMARY', | ||
sOrderDesignator: 'TIME', | ||
sStartTime: '2015-01-20 00:00:00', | ||
sEndTime: '2015-01-20 12:00:00' | ||
}; | ||
var params = { iMonitorIdSet: [ '18408588', '18530476' ], | ||
sMonitorClassDesignator: 'BROWSERTX', | ||
sDataDesignator: 'SUMMARY', | ||
sOrderDesignator: 'TIME', | ||
sStartTime: '2015-02-03T00:26:49.909Z', | ||
sEndTime: '2015-02-03T00:31:49.910Z' }; | ||
synthetic.data(params, function(err, body, res) { | ||
if (err) throw err; | ||
console.log(JSON.stringify(body)); | ||
assert.equal(typeof body, 'object'); | ||
@@ -126,0 +124,0 @@ done(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101333
1061