Socket
Socket
Sign inDemoInstall

@vonage/server-sdk

Package Overview
Dependencies
Maintainers
34
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/server-sdk - npm Package Compare versions

Comparing version 3.0.0-alpha.5 to 3.0.0-alpha.7

3

dist/vonage.d.ts

@@ -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 @@ }

22

package.json
{
"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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc