diff --git a/lib/EnvoyAPI.js b/lib/EnvoyAPI.js index 3600faf..6a8ab9e 100644 --- a/lib/EnvoyAPI.js +++ b/lib/EnvoyAPI.js @@ -362,24 +362,6 @@ class EnvoyAPI { return EnvoyAPI.getDataFromBody(body); } - /** - * Fetches a plugin install. - * - * @param {number} installId - * @returns {Promise<{}>} - */ - async getPluginInstall(installId) { - return new Promise((resolve, reject) => { - this.request({ - method: 'GET', - url: `/api/v2/plugin-services/installs/${installId}`, - }).then(body => resolve(EnvoyAPI.getDataFromBody(body))) - .catch((error) => { - EnvoyAPI.safeRequestsError(error).catch((err) => reject(err)); - }); - }); - } - /** * Gets the plugin install's config. * diff --git a/package-lock.json b/package-lock.json index 44a8ce8..e7a2251 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@envoy/envoy-integrations-sdk", - "version": "1.4.2", + "version": "1.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@envoy/envoy-integrations-sdk", - "version": "1.4.2", + "version": "1.5.0", "license": "ISC", "dependencies": { "axios": "^1.4.0", diff --git a/package.json b/package.json index 843086b..6cfbd4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@envoy/envoy-integrations-sdk", - "version": "1.4.2", + "version": "1.5.0", "description": "", "main": "index.js", "scripts": {