@vonage/server-client
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -12,2 +12,3 @@ import { AuthInterface } from '@vonage/auth'; | ||
responseType: string; | ||
timeout: number; | ||
}; | ||
@@ -19,2 +20,3 @@ constructor(credentials: AuthInterface, options?: { | ||
responseType: ResponseTypes; | ||
timeout: number; | ||
}); | ||
@@ -21,0 +23,0 @@ /** |
@@ -27,2 +27,3 @@ "use strict"; | ||
responseType: null, | ||
timeout: null, | ||
}; | ||
@@ -146,2 +147,3 @@ this.config.restHost = (options === null || options === void 0 ? void 0 : options.restHost) || 'https://rest.nexmo.com'; | ||
request = this.addAuthenticationToRequest(request); | ||
request.timeout = this.config.timeout; | ||
const result = yield (0, vetch_1.request)(request); | ||
@@ -148,0 +150,0 @@ return result; |
{ | ||
"name": "@vonage/server-client", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "Core services related to talking to the Vonage APIs", | ||
@@ -42,4 +42,4 @@ "author": "Chris Tankersley <chris@ctankersley.com>", | ||
"@vonage/jwt": "^0.3.0", | ||
"@vonage/vetch": "^0.2.0" | ||
"@vonage/vetch": "^0.3.1" | ||
} | ||
} |
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
10095
220
+ Added@vonage/vetch@0.3.1(transitive)
- Removed@vonage/vetch@0.2.0(transitive)
Updated@vonage/vetch@^0.3.1