freshbooks-api-client
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18512
249