@vonage/server-client
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -18,2 +18,5 @@ "use strict"; | ||
constructor(credentials, options) { | ||
if (typeof credentials.getQueryParams === 'undefined') { | ||
credentials = new auth_1.Auth(credentials); | ||
} | ||
this.auth = credentials; | ||
@@ -26,5 +29,2 @@ this.config = { | ||
}; | ||
if (typeof credentials.getQueryParams === 'undefined') { | ||
credentials = new auth_1.Auth(credentials); | ||
} | ||
this.config.restHost = (options === null || options === void 0 ? void 0 : options.restHost) || 'https://rest.nexmo.com'; | ||
@@ -31,0 +31,0 @@ this.config.apiHost = (options === null || options === void 0 ? void 0 : options.apiHost) || 'https://api.nexmo.com'; |
{ | ||
"name": "@vonage/server-client", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Core services related to talking to the Vonage APIs", | ||
@@ -5,0 +5,0 @@ "author": "Chris Tankersley <chris@ctankersley.com>", |
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