Comparing version 0.4.1 to 0.4.2
@@ -31,2 +31,6 @@ 'use strict'; | ||
var _logger = require('./interceptors/logger'); | ||
var _logger2 = _interopRequireDefault(_logger); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -45,2 +49,3 @@ | ||
token = {}, logger = _nullLogger2.default, callback = async () => {}, username, password, | ||
verbose = false, | ||
timeout = 5000, apiBase = MYOB_BASE }) { | ||
@@ -54,2 +59,3 @@ this.apiBase = apiBase; | ||
this.password = password; | ||
this.verbose = verbose; | ||
this.clientId = clientId; | ||
@@ -74,2 +80,3 @@ this.secret = secret; | ||
(0, _rate_limit2.default)(instance, 5); | ||
(0, _logger2.default)(instance, this); | ||
@@ -76,0 +83,0 @@ if (this.clientId) { |
{ | ||
"name": "myob", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"main": "lib/index.js", | ||
@@ -9,5 +9,5 @@ "repository": "git@github.com:ordermentum/myob-javascript-sdk.git", | ||
"dependencies": { | ||
"axios": "^0.19.0", | ||
"axios": "^0.27.0", | ||
"babel-polyfill": "^6.23.0", | ||
"babel-runtime": "^6.22.0", | ||
"babel-runtime": "^6.23.0", | ||
"lodash.get": "^4.4.2", | ||
@@ -33,5 +33,5 @@ "moment": "^2.17.1", | ||
"devDependencies": { | ||
"@babel/eslint-parser": "7.23.3", | ||
"babel-cli": "6.26.0", | ||
"babel-core": "6.26.3", | ||
"babel-eslint": "10.1.0", | ||
"babel-istanbul": "0.12.2", | ||
@@ -48,7 +48,7 @@ "babel-plugin-transform-async-to-generator": "6.24.1", | ||
"eslint": "4.19.1", | ||
"eslint-config-airbnb": "18.2.0", | ||
"eslint-plugin-import": "2.22.0", | ||
"eslint-config-airbnb": "18.2.1", | ||
"eslint-plugin-import": "2.29.1", | ||
"eslint-plugin-jsx-a11y": "4.0.0", | ||
"eslint-plugin-react": "6.10.3", | ||
"flow-bin": "0.128.0", | ||
"flow-bin": "0.177.0", | ||
"mocha": "3.5.3", | ||
@@ -55,0 +55,0 @@ "nyc": "10.3.2", |
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
28702
12
403
+ Addedaxios@0.27.2(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addedfollow-redirects@1.15.9(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedms@2.1.3(transitive)
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
Updatedaxios@^0.27.0
Updatedbabel-runtime@^6.23.0