New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clevercloud/client

Package Overview
Dependencies
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clevercloud/client - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

10

cjs/api/legacy-client.js

@@ -549,12 +549,2 @@ "use strict";

}
},
'es-addon': {
_: {
snapshots: {
get: prepareRequest(providers.getElasticsearchAddonSnapshots, ['addonId'])
}
},
'snapshots-repository': {
get: prepareRequest(providers.getElasticsearchAddonSnapshotsRepository)
}
}

@@ -561,0 +551,0 @@ },

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

});
exports.getElasticsearchAddonSnapshotsRepository = getElasticsearchAddonSnapshotsRepository;
exports.getElasticsearchAddonSnapshots = getElasticsearchAddonSnapshots;
exports.getAddon = getAddon;

@@ -14,37 +12,2 @@

/**
* GET /providers/es-addon/snapshots-repository
* @param {Object} params
*/
function getElasticsearchAddonSnapshotsRepository() {
// no multipath for /self or /organisations/{id}
return Promise.resolve({
method: 'get',
url: `/providers/es-addon/snapshots-repository`,
headers: {
Accept: 'application/json'
} // no query params
// no body
});
}
/**
* GET /providers/es-addon/{addonId}/snapshots
* @param {Object} params
* @param {String} params.addonId
*/
function getElasticsearchAddonSnapshots(params) {
// no multipath for /self or /organisations/{id}
return Promise.resolve({
method: 'get',
url: `/providers/es-addon/${params.addonId}/snapshots`,
headers: {
Accept: 'application/json'
} // no query params
// no body
});
}
/**
* GET /providers/{providerId}/{addonId}

@@ -55,4 +18,2 @@ * @param {Object} params

*/
function getAddon(params) {

@@ -59,0 +20,0 @@ // no multipath for /self or /organisations/{id}

@@ -527,12 +527,2 @@ import * as addon from './addon.js';

},
'es-addon': {
_: {
snapshots: {
get: prepareRequest(providers.getElasticsearchAddonSnapshots, ['addonId']),
},
},
'snapshots-repository': {
get: prepareRequest(providers.getElasticsearchAddonSnapshotsRepository),
},
},
},

@@ -539,0 +529,0 @@ self: {

import { pickNonNull } from '../pick-non-null.js';
/**
* GET /providers/es-addon/snapshots-repository
* @param {Object} params
*/
export function getElasticsearchAddonSnapshotsRepository() {
// no multipath for /self or /organisations/{id}
return Promise.resolve({
method: 'get',
url: `/providers/es-addon/snapshots-repository`,
headers: { Accept: 'application/json' },
// no query params
// no body
});
}
/**
* GET /providers/es-addon/{addonId}/snapshots
* @param {Object} params
* @param {String} params.addonId
*/
export function getElasticsearchAddonSnapshots(params) {
// no multipath for /self or /organisations/{id}
return Promise.resolve({
method: 'get',
url: `/providers/es-addon/${params.addonId}/snapshots`,
headers: { Accept: 'application/json' },
// no query params
// no body
});
}
/**
* GET /providers/{providerId}/{addonId}

@@ -36,0 +5,0 @@ * @param {Object} params

2

package.json
{
"name": "@clevercloud/client",
"version": "2.2.0",
"version": "2.3.0",
"description": "JavaScript REST client and utils for Clever Cloud's API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/CleverCloud/clever-client.js",

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