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

freshbooks-api-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freshbooks-api-client - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

build/apiRequest.js

@@ -31,6 +31,2 @@ 'use strict';

var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
var parseXml = _bluebird2['default'].promisify(_xml2js2['default'].parseString);

@@ -86,3 +82,3 @@

if (status === 'fail') {
throw new Error(json.response);
throw new Error(json.response.error, json.response.code);
}

@@ -89,0 +85,0 @@

2

package.json
{
"name": "freshbooks-api-client",
"description": "Freshbooks Api Client",
"version": "0.0.4",
"version": "0.0.5",
"main": "build/index.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -8,3 +8,2 @@ 'use strict';

import camelCase from 'camelcase';
import _ from 'lodash';

@@ -61,3 +60,3 @@ let parseXml = Promise.promisify(xml2js.parseString);

if (status === 'fail') {
throw new Error(json.response);
throw new Error(json.response.error, json.response.code);
}

@@ -64,0 +63,0 @@

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