Socket
Socket
Sign inDemoInstall

@vonage/applications

Package Overview
Dependencies
Maintainers
37
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/applications - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

49

dist/applications.js

@@ -1,27 +0,42 @@

import { AuthenticationType, Client } from '@vonage/server-client';
export class Applications extends Client {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Applications = void 0;
const tslib_1 = require("tslib");
const server_client_1 = require("@vonage/server-client");
class Applications extends server_client_1.Client {
constructor() {
super(...arguments);
this.authType = AuthenticationType.BASIC;
this.authType = server_client_1.AuthenticationType.BASIC;
}
async createApplication(application) {
const resp = await this.sendPostRequest(`${this.config.apiHost}/v2/applications`, application);
return resp.data;
createApplication(application) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const resp = yield this.sendPostRequest(`${this.config.apiHost}/v2/applications`, application);
return resp.data;
});
}
async deleteApplication(applicationId) {
await this.sendDeleteRequest(`${this.config.apiHost}/v2/applications/${applicationId}`);
deleteApplication(applicationId) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
yield this.sendDeleteRequest(`${this.config.apiHost}/v2/applications/${applicationId}`);
});
}
async getApplication(applicationId) {
const resp = await this.sendGetRequest(`${this.config.apiHost}/v2/applications/${applicationId}`);
return resp.data;
getApplication(applicationId) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const resp = yield this.sendGetRequest(`${this.config.apiHost}/v2/applications/${applicationId}`);
return resp.data;
});
}
async listApplications(filter) {
const resp = await this.sendGetRequest(`${this.config.apiHost}/v2/applications`, filter);
return resp.data;
listApplications(filter) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const resp = yield this.sendGetRequest(`${this.config.apiHost}/v2/applications`, filter);
return resp.data;
});
}
async updateApplication(application) {
const resp = await this.sendPutRequest(`${this.config.apiHost}/v2/applications/${application.id}`, application);
return resp.data;
updateApplication(application) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const resp = yield this.sendPutRequest(`${this.config.apiHost}/v2/applications/${application.id}`, application);
return resp.data;
});
}
}
exports.Applications = Applications;
//# sourceMappingURL=applications.js.map

@@ -1,2 +0,6 @@

export { Applications } from './applications';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Applications = void 0;
var applications_1 = require("./applications");
Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return applications_1.Applications; } });
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Application.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ApplicationResponse.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessagesCapabilities.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ListApplicationResponse.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RTCCapabilities.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=VoiceCapabilities.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ApplicationClassParameters.js.map
{
"name": "@vonage/applications",
"version": "1.0.7",
"version": "1.0.8",
"description": "Vonage Applications API",

@@ -33,5 +33,6 @@ "keywords": [

"dependencies": {
"@vonage/auth": "^1.0.4",
"@vonage/server-client": "^1.0.7",
"@vonage/vetch": "^1.0.5"
"@vonage/auth": "^1.0.5",
"@vonage/server-client": "^1.0.8",
"@vonage/vetch": "^1.0.6",
"tslib": "^2.4.1"
},

@@ -38,0 +39,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc