Socket
Socket
Sign inDemoInstall

@vonage/server-sdk

Package Overview
Dependencies
15
Maintainers
52
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.11.0 to 3.12.0

1

dist/index.js

@@ -6,2 +6,1 @@ "use strict";

Object.defineProperty(exports, "Vonage", { enumerable: true, get: function () { return vonage_1.Vonage; } });
//# sourceMappingURL=index.js.map

53

dist/vonage.d.ts

@@ -16,20 +16,73 @@ import { Accounts, Secrets } from '@vonage/accounts';

import { Video } from '@vonage/video';
/**
* Represents the Vonage SDK for interacting with Vonage APIs.
*/
export declare class Vonage {
/**
* The credentials used for authentication.
*/
protected credentials: AuthInterface;
/**
* Optional configuration parameters.
*/
protected options: ConfigParams;
/**
* Provides access to the Accounts API.
*/
accounts: Accounts;
/**
* Provides access to the Applications API.
*/
applications: Applications;
/**
* Provides access to the Messages API.
*/
messages: Messages;
/**
* Provides access to the Number Insights API.
*/
numberInsights: NumberInsights;
/**
* Provides access to the Numbers API.
*/
numbers: Numbers;
/**
* Provides access to the Pricing API.
*/
pricing: Pricing;
/**
* Provides access to the Redact API.
*/
redact: Redact;
/**
* Provides access to the Secrets API.
*/
secrets: Secrets;
/**
* Provides access to the SMS API.
*/
sms: SMS;
/**
* Provides access to the Users API.
*/
users: Users;
/**
* Provides access to the Verify V2 API.
*/
verify2: Verify2;
/**
* Provides access to the Verify API.
*/
verify: Verify;
/**
* Provides access to the Voice API.
*/
voice: Voice;
video: Video;
/**
* The credentials used for authentication.
* @param {AuthInterface} credentials - The authentication credentials.
* @param {ConfigParams} [options] - Optional configuration parameters.
*/
constructor(credentials: AuthInterface, options?: ConfigParams);
}

@@ -18,19 +18,11 @@ "use strict";

const video_1 = require("@vonage/video");
/**
* Represents the Vonage SDK for interacting with Vonage APIs.
*/
class Vonage {
credentials;
options;
accounts;
applications;
messages;
numberInsights;
numbers;
pricing;
redact;
secrets;
sms;
users;
verify2;
verify;
voice;
video;
/**
* The credentials used for authentication.
* @param {AuthInterface} credentials - The authentication credentials.
* @param {ConfigParams} [options] - Optional configuration parameters.
*/
constructor(credentials, options) {

@@ -41,3 +33,3 @@ if (typeof credentials.getQueryParams === 'undefined') {

this.credentials = credentials;
this.options = options;
this.options = options || {};
this.accounts = new accounts_1.Accounts(this.credentials, this.options);

@@ -60,2 +52,1 @@ this.applications = new applications_1.Applications(this.credentials, this.options);

exports.Vonage = Vonage;
//# sourceMappingURL=vonage.js.map
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@vonage/server-sdk",
"version": "3.11.0",
"version": "3.12.0",
"description": "Node.js Client for the Vonage API Platform",

@@ -14,3 +15,12 @@ "homepage": "https://developer.vonage.com",

"license": "Apache-2.0",
"author": "Chris Tankersley <chris@ctankersley.com>",
"contributors": [
{
"name": "Chris Tankersley",
"url": "https://github.com/dragonmantank"
},
{
"name": "Chuck \"MANCHUCK\" Reeves",
"url": "https://github.com/manchuck"
}
],
"main": "dist/index.js",

@@ -28,25 +38,25 @@ "types": "dist/index.d.ts",

"clean": "npx shx rm -rf dist tsconfig.tsbuildinfo",
"compile": "npx tsc --build --verbose"
"compile": "npx tsc --build --verbose",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@vonage/accounts": "^1.9.0",
"@vonage/applications": "^1.9.0",
"@vonage/auth": "^1.7.0",
"@vonage/messages": "^1.10.0",
"@vonage/number-insights": "^1.9.0",
"@vonage/numbers": "^1.9.0",
"@vonage/pricing": "^1.9.0",
"@vonage/redact": "^1.8.0",
"@vonage/server-client": "^1.9.0",
"@vonage/sms": "^1.9.2",
"@vonage/users": "^1.3.0",
"@vonage/verify": "^1.9.0",
"@vonage/verify2": "^1.8.0",
"@vonage/video": "^1.13.0",
"@vonage/voice": "^1.9.0"
"@vonage/accounts": "^1.10.0",
"@vonage/applications": "^1.10.0",
"@vonage/auth": "^1.8.0",
"@vonage/messages": "^1.11.0",
"@vonage/number-insights": "^1.10.0",
"@vonage/numbers": "^1.10.0",
"@vonage/pricing": "^1.10.0",
"@vonage/redact": "^1.9.0",
"@vonage/server-client": "^1.10.0",
"@vonage/sms": "^1.11.0",
"@vonage/users": "^1.4.0",
"@vonage/verify": "^1.10.0",
"@vonage/verify2": "^1.9.0",
"@vonage/video": "1.14.0",
"@vonage/voice": "^1.10.0"
},
"publishConfig": {
"directory": "dist"
},
"gitHead": "328f18e5c8a458cb4d06d7955ec2399a6ce6f5d8"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc