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

belvo

Package Overview
Dependencies
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

belvo - npm Package Compare versions

Comparing version 0.3.0 to 0.5.0

lib/incomes.js

5

lib/belvo.js

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

var _incomes = _interopRequireDefault(require("./incomes"));
var _taxReturns = _interopRequireDefault(require("./taxReturns"));

@@ -89,5 +91,6 @@

this.statements = new _statements["default"](this.session);
this.incomes = new _incomes["default"](this.session);
this.widgetToken = new _widgetToken["default"](this.session);
case 16:
case 17:
case "end":

@@ -94,0 +97,0 @@ return _context.stop();

8

lib/invoices.js

@@ -85,2 +85,3 @@ "use strict";

* @param {string} dateTo - Required date to, format is YYYY-MM-DD.
* @param {string} type - Required type, it can be 'INFLOW' or 'OUTFLOW'.
* @param {object} options - Optional parameters (token, encryptionKey, saveData, attachXML)

@@ -91,3 +92,3 @@ * @returns {object} Response

value: function () {
var _retrieve = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(link, dateFrom, dateTo) {
var _retrieve = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(link, dateFrom, dateTo, type) {
var options,

@@ -104,3 +105,3 @@ token,

case 0:
options = _args.length > 3 && _args[3] !== undefined ? _args[3] : {};
options = _args.length > 4 && _args[4] !== undefined ? _args[4] : {};
token = options.token, encryptionKey = options.encryptionKey, saveData = options.saveData, attachXML = options.attachXML;

@@ -113,2 +114,3 @@ _context.next = 4;

date_to: dateTo,
type: type,
encryption_key: encryptionKey,

@@ -131,3 +133,3 @@ save_data: saveData,

function retrieve(_x, _x2, _x3) {
function retrieve(_x, _x2, _x3, _x4) {
return _retrieve.apply(this, arguments);

@@ -134,0 +136,0 @@ }

@@ -82,3 +82,4 @@ "use strict";

* @param {object} options - Optional parameters
* (token, encriptionKey, usernameType, password2, accessMode, certificate, privateKey).
* (token, encryptionKey, usernameType, username2, password2, accessMode, certificate,
* privateKey).
* @returns {object} Newly created link.

@@ -93,2 +94,3 @@ * @throws {RequestError}

usernameType,
username2,
password2,

@@ -105,3 +107,3 @@ accessMode,

options = _args.length > 3 && _args[3] !== undefined ? _args[3] : {};
token = options.token, encryptionKey = options.encryptionKey, usernameType = options.usernameType, password2 = options.password2, accessMode = options.accessMode;
token = options.token, encryptionKey = options.encryptionKey, usernameType = options.usernameType, username2 = options.username2, password2 = options.password2, accessMode = options.accessMode;
certificate = options.certificate, privateKey = options.privateKey;

@@ -114,2 +116,3 @@ certificate = certificate ? (0, _utils.encodeFileB64)(certificate) : certificate;

username: username,
username2: username2,
password: password,

@@ -116,0 +119,0 @@ password2: password2,

{
"name": "belvo",
"version": "0.3.0",
"version": "0.5.0",
"description": "The node.js module for the Belvo API",

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