@vonage/server-sdk
Advanced tools
Comparing version 3.0.0-alpha.5 to 3.0.0-alpha.7
@@ -12,2 +12,3 @@ import { Accounts, Secrets } from '@vonage/accounts'; | ||
import { Voice } from '@vonage/voice'; | ||
import { Video } from '@vonage/video'; | ||
export declare class Vonage { | ||
@@ -25,4 +26,6 @@ protected credentials: AuthInterface; | ||
verify: Verify; | ||
video: Video; | ||
voice: Voice; | ||
constructor(credentials: AuthInterface, options?: { | ||
timeout: number; | ||
restHost: string; | ||
@@ -29,0 +32,0 @@ apiHost: string; |
@@ -14,2 +14,3 @@ "use strict"; | ||
const voice_1 = require("@vonage/voice"); | ||
const video_1 = require("@vonage/video"); | ||
class Vonage { | ||
@@ -31,2 +32,3 @@ constructor(credentials, options) { | ||
this.verify = new verify_1.Verify(this.credentials, this.options); | ||
this.video = new video_1.Video(this.credentials, this.options); | ||
this.voice = new voice_1.Voice(this.credentials, this.options); | ||
@@ -33,0 +35,0 @@ } |
{ | ||
"name": "@vonage/server-sdk", | ||
"version": "3.0.0-alpha.5", | ||
"version": "3.0.0-alpha.7", | ||
"description": "Node.js Client for the Vonage API Platform", | ||
@@ -40,13 +40,13 @@ "author": "Chris Tankersley <chris@ctankersley.com>", | ||
"dependencies": { | ||
"@vonage/accounts": "^0.2.4", | ||
"@vonage/applications": "^0.3.3", | ||
"@vonage/messages": "^0.2.3", | ||
"@vonage/number-insights": "^0.2.3", | ||
"@vonage/numbers": "^0.2.3", | ||
"@vonage/pricing": "^0.2.3", | ||
"@vonage/server-client": "^0.4.1", | ||
"@vonage/sms": "^0.3.3", | ||
"@vonage/verify": "^0.2.3", | ||
"@vonage/voice": "^0.2.3" | ||
"@vonage/accounts": "^0.2.6", | ||
"@vonage/applications": "^0.3.5", | ||
"@vonage/messages": "^0.2.5", | ||
"@vonage/number-insights": "^0.2.5", | ||
"@vonage/numbers": "^0.2.5", | ||
"@vonage/pricing": "^0.2.5", | ||
"@vonage/server-client": "^0.5.0", | ||
"@vonage/sms": "^0.3.5", | ||
"@vonage/verify": "^0.2.5", | ||
"@vonage/voice": "^0.2.5" | ||
} | ||
} |
@@ -25,3 +25,3 @@ # Vonage Server SDK for Node.js | ||
```bash | ||
npm install @vonage/server-sdk@3.0.0-beta | ||
npm install @vonage/server-sdk@next | ||
``` | ||
@@ -32,3 +32,3 @@ | ||
```bash | ||
yarn add @vonage/server-sdk@3.0.0-beta | ||
yarn add @vonage/server-sdk@next | ||
``` | ||
@@ -39,3 +39,3 @@ | ||
```js | ||
const Vonage = require('@vonage/server-sdk'); | ||
const { Vonage } = require('@vonage/server-sdk'); | ||
@@ -78,3 +78,3 @@ const vonage = new Vonage({ | ||
}, | ||
// Set a custom timeout for requests to Nexmo in milliseconds. Defaults to the standard for Node http requests, which is 120,000 ms. | ||
// Set a custom timeout for requests to Vonage in milliseconds. Defaults to the standard for Node http requests, which is 120,000 ms. | ||
timeout: integer, | ||
@@ -84,3 +84,5 @@ // Set a custom host for requests instead of api.nexmo.com | ||
// Set a custom host for requests instead of rest.nexmo.com | ||
restHost: string | ||
restHost: string, | ||
// Set a custom host for requests instead of video.api.vonage.com | ||
videoHost: string, | ||
} | ||
@@ -87,0 +89,0 @@ ``` |
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
19333
75
139
- Removed@vonage/server-client@0.4.1(transitive)
- Removed@vonage/vetch@0.2.0(transitive)
Updated@vonage/accounts@^0.2.6
Updated@vonage/applications@^0.3.5
Updated@vonage/messages@^0.2.5
Updated@vonage/numbers@^0.2.5
Updated@vonage/pricing@^0.2.5
Updated@vonage/server-client@^0.5.0
Updated@vonage/sms@^0.3.5
Updated@vonage/verify@^0.2.5
Updated@vonage/voice@^0.2.5