@vonage/server-sdk
Advanced tools
Comparing version 3.0.11 to 3.0.12
@@ -1,2 +0,6 @@ | ||
export { Vonage } from './vonage'; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Vonage = void 0; | ||
var vonage_1 = require("./vonage"); | ||
Object.defineProperty(exports, "Vonage", { enumerable: true, get: function () { return vonage_1.Vonage; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,30 +0,34 @@ | ||
import { Accounts, Secrets } from '@vonage/accounts'; | ||
import { Applications } from '@vonage/applications'; | ||
import { Auth } from '@vonage/auth'; | ||
import { Messages } from '@vonage/messages'; | ||
import { NumberInsights } from '@vonage/number-insights'; | ||
import { Numbers } from '@vonage/numbers'; | ||
import { Pricing } from '@vonage/pricing'; | ||
import { SMS } from '@vonage/sms'; | ||
import { Verify } from '@vonage/verify'; | ||
import { Voice } from '@vonage/voice'; | ||
export class Vonage { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Vonage = void 0; | ||
const accounts_1 = require("@vonage/accounts"); | ||
const applications_1 = require("@vonage/applications"); | ||
const auth_1 = require("@vonage/auth"); | ||
const messages_1 = require("@vonage/messages"); | ||
const number_insights_1 = require("@vonage/number-insights"); | ||
const numbers_1 = require("@vonage/numbers"); | ||
const pricing_1 = require("@vonage/pricing"); | ||
const sms_1 = require("@vonage/sms"); | ||
const verify_1 = require("@vonage/verify"); | ||
const voice_1 = require("@vonage/voice"); | ||
class Vonage { | ||
constructor(credentials, options) { | ||
if (typeof credentials.getQueryParams === 'undefined') { | ||
credentials = new Auth(credentials); | ||
credentials = new auth_1.Auth(credentials); | ||
} | ||
this.credentials = credentials; | ||
this.options = options; | ||
this.accounts = new Accounts(this.credentials, this.options); | ||
this.applications = new Applications(this.credentials, this.options); | ||
this.messages = new Messages(this.credentials, this.options); | ||
this.numberInsights = new NumberInsights(this.credentials, this.options); | ||
this.numbers = new Numbers(this.credentials, this.options); | ||
this.pricing = new Pricing(this.credentials, this.options); | ||
this.secrets = new Secrets(this.credentials, this.options); | ||
this.sms = new SMS(this.credentials, this.options); | ||
this.verify = new Verify(this.credentials, this.options); | ||
this.voice = new Voice(this.credentials, this.options); | ||
this.accounts = new accounts_1.Accounts(this.credentials, this.options); | ||
this.applications = new applications_1.Applications(this.credentials, this.options); | ||
this.messages = new messages_1.Messages(this.credentials, this.options); | ||
this.numberInsights = new number_insights_1.NumberInsights(this.credentials, this.options); | ||
this.numbers = new numbers_1.Numbers(this.credentials, this.options); | ||
this.pricing = new pricing_1.Pricing(this.credentials, this.options); | ||
this.secrets = new accounts_1.Secrets(this.credentials, this.options); | ||
this.sms = new sms_1.SMS(this.credentials, this.options); | ||
this.verify = new verify_1.Verify(this.credentials, this.options); | ||
this.voice = new voice_1.Voice(this.credentials, this.options); | ||
} | ||
} | ||
exports.Vonage = Vonage; | ||
//# sourceMappingURL=vonage.js.map |
{ | ||
"name": "@vonage/server-sdk", | ||
"version": "3.0.11", | ||
"version": "3.0.12", | ||
"description": "Node.js Client for the Vonage API Platform", | ||
@@ -30,13 +30,13 @@ "homepage": "https://developer.vonage.com", | ||
"dependencies": { | ||
"@vonage/accounts": "^1.0.7", | ||
"@vonage/applications": "^1.0.7", | ||
"@vonage/auth": "^1.0.4", | ||
"@vonage/messages": "^1.0.8", | ||
"@vonage/number-insights": "^1.0.7", | ||
"@vonage/numbers": "^1.0.10", | ||
"@vonage/pricing": "^1.0.7", | ||
"@vonage/sms": "^1.0.8", | ||
"@vonage/verify": "^1.0.9", | ||
"@vonage/vetch": "^1.0.5", | ||
"@vonage/voice": "^1.0.8" | ||
"@vonage/accounts": "^1.0.8", | ||
"@vonage/applications": "^1.0.8", | ||
"@vonage/auth": "^1.0.5", | ||
"@vonage/messages": "^1.0.9", | ||
"@vonage/number-insights": "^1.0.8", | ||
"@vonage/numbers": "^1.0.11", | ||
"@vonage/pricing": "^1.0.8", | ||
"@vonage/sms": "^1.0.9", | ||
"@vonage/verify": "^1.0.10", | ||
"@vonage/vetch": "^1.0.6", | ||
"@vonage/voice": "^1.0.9" | ||
}, | ||
@@ -43,0 +43,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
10560
71
Updated@vonage/accounts@^1.0.8
Updated@vonage/applications@^1.0.8
Updated@vonage/auth@^1.0.5
Updated@vonage/messages@^1.0.9
Updated@vonage/numbers@^1.0.11
Updated@vonage/pricing@^1.0.8
Updated@vonage/sms@^1.0.9
Updated@vonage/verify@^1.0.10
Updated@vonage/vetch@^1.0.6
Updated@vonage/voice@^1.0.9