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

mindee

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mindee - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

CHANGELOG.md
# CHANGELOG
## v1.0.2 (11/01/2021)
## v1.0.3 (01/02/2021)
fix: :bug: _request parameters
fix: :bug: pageNumber default value
fix: :bug: reconstruction method set fields to probability
## v1.0.2 (01/02/2021)
chg: :sparkles: Better coverage for total tax

@@ -6,0 +14,0 @@ fix: :bug: includeWords is now working

4

lib/api/invoice.js

@@ -37,3 +37,3 @@ "use strict";

var cutPdf = _arguments.length > 3 && _arguments[3] !== undefined ? _arguments[3] : true;
var includeWords = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : true;
var includeWords = _arguments.length > 4 && _arguments[4] !== undefined ? _arguments[4] : false;

@@ -49,3 +49,3 @@ _superprop_getParse().call(_this);

var url = "v".concat(version, "/predict");
return yield _superprop_get_request().call(_this, url, inputFile, version, includeWords);
return yield _superprop_get_request().call(_this, url, inputFile, includeWords);
})();

@@ -52,0 +52,0 @@ }

@@ -48,3 +48,3 @@ "use strict";

var url = "v".concat(version, "/predict");
return yield _superprop_get_request().call(_this, url, inputFile, version, includeWords);
return yield _superprop_get_request().call(_this, url, inputFile, includeWords);
})();

@@ -51,0 +51,0 @@ }

@@ -80,5 +80,7 @@ "use strict";

for (var attribute of attributes) {
var _document$attribute, _document$attribute2;
var _document$attribute;
if ((document === null || document === void 0 ? void 0 : (_document$attribute = document[attribute]) === null || _document$attribute === void 0 ? void 0 : _document$attribute.probability) > finalDocument[attribute].probability) finalDocument[attribute] = document === null || document === void 0 ? void 0 : (_document$attribute2 = document[attribute]) === null || _document$attribute2 === void 0 ? void 0 : _document$attribute2.probability;
if ((document === null || document === void 0 ? void 0 : (_document$attribute = document[attribute]) === null || _document$attribute === void 0 ? void 0 : _document$attribute.probability) > finalDocument[attribute].probability) {
finalDocument[attribute] = document === null || document === void 0 ? void 0 : document[attribute];
}
}

@@ -85,0 +87,0 @@ }

@@ -17,3 +17,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -20,0 +20,0 @@ super({

@@ -17,3 +17,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -20,0 +20,0 @@ super({

@@ -17,3 +17,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -20,0 +20,0 @@ super({

@@ -17,3 +17,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -20,0 +20,0 @@ var orientations = [0, 90, 180, 270];

@@ -29,3 +29,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -32,0 +32,0 @@ super({

@@ -23,3 +23,3 @@ "use strict";

reconstructed = false,
pageNumber = undefined
pageNumber = 0
} = _ref;

@@ -26,0 +26,0 @@ super({

{
"name": "mindee",
"version": "1.0.2",
"version": "1.0.3",
"description": "Mindee API SDK for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.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