Comparing version 1.0.2 to 1.0.3
@@ -15,5 +15,4 @@ 'use strict' | ||
me.config = Object.assign({}, config) | ||
me.platform = me.platform || 'secure' | ||
me.wsdl = `https://${me.platform}.myclang.com/app/api/soap/public/index.php?wsdl` | ||
me.config = Object.assign({}, {platform: 'secure'}, config) | ||
me.wsdl = `https://${me.config.platform}.myclang.com/app/api/soap/public/index.php?wsdl` | ||
@@ -163,2 +162,5 @@ if (!me.config.version) { | ||
if (err) { | ||
if (me.config.logPayload) { | ||
console.log('payload outgoing', me.api.lastRequest) | ||
} | ||
let faultBody = err.root && err.root.Envelope && err.root.Envelope.Body | ||
@@ -165,0 +167,0 @@ if (faultBody) { |
{ | ||
"name": "clang", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Node.js api wrapper for Clang's SOAP api", | ||
@@ -5,0 +5,0 @@ "author": "Christiaan Westerbeek <chris@devotis.nl>", |
@@ -7,1 +7,2 @@ require('./customer') | ||
require('./transformation') | ||
require('./platform') |
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
626840
25
9679
8