Socket
Socket
Sign inDemoInstall

dropletapi

Package Overview
Dependencies
1
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

13

index.js

@@ -108,2 +108,15 @@ /*!

/**
* Delete a Droplet
*
* @No response body will be sent back, but the response code will indicate success.
* Specifically, the response code will be a 204, which means that the action was successful with no returned body data.
*
* Api documentation: https://developers.digitalocean.com/#delete-a-droplet
*/
DO.prototype.deleteDroplet = function(dropletID, callback) {
makeRequest(rest.delete, this.baseUri + 'droplets/' + dropletID, {headers: {'Content-Type': 'application/json', 'Authorization': 'Bearer ' + this.token}}, callback);
};
module.exports = DO;

2

package.json
{
"name": "dropletapi",
"version": "2.0.0",
"version": "2.1.0",
"description": "Wrapper for the DigitalOcean API V2",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc