Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cheddargetter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cheddargetter - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

16

lib/cheddargetter.js

@@ -143,1 +143,17 @@ var https = require("https");

};
cheddargetter.prototype.addCustomCharge = function (customerCode, chargeCode, quantity, amount, description, callback) {
var data = {
chargeCode: chargeCode,
quantity: quantity.toString(),
amount: amount.toString(),
description: description
};
this.callAPI(data, "/customers/add-charge/productCode/" + this.productCode + "/code/" + customerCode, callback);
};
cheddargetter.prototype.deleteCustomCharge = function (customerCode, chargeId, callback) {
chargeId = {chargeId: chargeId};
this.callAPI(amount, "/customers/delete-charge/productCode/" + this.productCode + "/code/" + customerCode, callback);
};

2

package.json
{
"name": "cheddargetter",
"version": "0.1.3",
"version": "0.1.4",
"author": "Kevin Smith",

@@ -5,0 +5,0 @@ "repository": {

@@ -5,3 +5,3 @@ # Goals and Status

As of version 0.1.2 the module implements the fallowing API calls:
As of version 0.1.4 the module implements the fallowing API calls:

@@ -21,2 +21,4 @@ * `getAllPricingPlans(callback)`

* `setItemQuantity(customerCode, itemCode, amount, callback)`
* `addCustomCharge(customerCode, chargeCode, quantity, amount, description, callback)`
* `deleteCustomCharge(customerCode, chargeId, callback)`

@@ -23,0 +25,0 @@ All callbacks are called with `error` and `results` parameters.

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