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

producteca-sdk

Package Overview
Dependencies
Maintainers
8
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

producteca-sdk - npm Package Compare versions

Comparing version 8.8.0 to 8.9.0

2

.github/PULL_REQUEST_TEMPLATE.md
[Finishes #ID](https://www.pivotaltracker.com/story/show/ID)
- [ ] App levantada, probada y con los tests corridos! [👌](https://c.tenor.com/joILBoleQeoAAAAC/ricky-fort.gif)

5

build/client.js
(function() {
var Client, Promise, _, request,
var Client, Promise, _, debug, request,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

@@ -9,2 +9,4 @@

debug = require("debug")("producteca-sdk:client");
request = require("request-promise");

@@ -75,2 +77,3 @@

}
debug(JSON.stringify(options));
return request(options).promise();

@@ -77,0 +80,0 @@ };

@@ -45,3 +45,3 @@ (function() {

SalesOrdersApi.prototype.getByIntegration = function(arg, overrideApp) {
SalesOrdersApi.prototype.getByIntegration = function(arg, overrideApp, opts) {
var app, integrationId, qs;

@@ -57,8 +57,8 @@ integrationId = arg.integrationId, app = arg.app;

}
return this.client.getAsync("/salesorders/byintegration", {
return this.client.getAsync("/salesorders/byintegration", _.merge({
qs: qs
});
}, opts));
};
SalesOrdersApi.prototype.getByInvoiceIntegration = function(arg) {
SalesOrdersApi.prototype.getByInvoiceIntegration = function(arg, opts) {
var app, invoiceIntegrationId, qs;

@@ -70,9 +70,9 @@ invoiceIntegrationId = arg.invoiceIntegrationId, app = arg.app;

};
return this.client.getAsync("/salesorders/byinvoiceintegration", {
return this.client.getAsync("/salesorders/byinvoiceintegration", _.merge({
qs: qs
});
}, opts));
};
SalesOrdersApi.prototype.getWithFullProducts = function(id) {
return this.get(id).then((function(_this) {
SalesOrdersApi.prototype.getWithFullProducts = function(id, opts) {
return this.get(id, opts).then((function(_this) {
return function(salesOrder) {

@@ -79,0 +79,0 @@ var productIds;

{
"name": "producteca-sdk",
"version": "8.9.0",
"description": "SDK for querying the Producteca's API",
"main": "build/sdk.js",
"repository": {

@@ -8,6 +10,10 @@ "type": "git",

},
"version": "8.8.0",
"main": "build/sdk.js",
"author": "Producteca",
"bugs": {
"url": "https://github.com/Parsimotion/producteca-sdk/issues"
},
"homepage": "https://github.com/Parsimotion/producteca-sdk#readme",
"dependencies": {
"bluebird": "^3.4.1",
"debug": "^4.3.2",
"jwt-simple": "^0.5.1",

@@ -39,4 +45,7 @@ "lodash": "^4.13.1",

"test": "grunt test",
"prepublish": "grunt build"
"preversion": "npm test",
"version": "git add package.json",
"postversion": "git push origin master && git push origin master --tags && npm publish",
"prepublishOnly": "grunt build"
}
}

@@ -16,1 +16,6 @@ # Producteca SDK

- The APIs are now divided in different classes (ContactsApi, ProductsApi, SalesOrdersApi).
## Publish instructions
`npm version [<newversion> | major | minor | patch | ...] [-m <commit message>]`
It would be ideal to write a brief description for the GitHub release after the publication.

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