@vonage/server-client
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -13,2 +13,3 @@ "use strict"; | ||
exports.Client = void 0; | ||
const auth_1 = require("@vonage/auth"); | ||
const vetch_1 = require("@vonage/vetch"); | ||
@@ -25,2 +26,5 @@ const AuthenticationType_1 = require("./enums/AuthenticationType"); | ||
}; | ||
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'; | ||
@@ -27,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.2.0", | ||
"version": "0.3.0", | ||
"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
9967
216