Comparing version 1.0.0-beta to 1.0.1
@@ -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": "1.0.0-beta", | ||
"version": "1.0.1", | ||
"main": "lib/index.js", | ||
@@ -32,3 +32,3 @@ "repository": "git@github.com:ordermentum/myob-javascript-sdk.git", | ||
"devDependencies": { | ||
"@babel/eslint-parser": "7.23.10", | ||
"@babel/eslint-parser": "7.24.1", | ||
"@types/simple-oauth2": "^5.0.7", | ||
@@ -57,2 +57,2 @@ "babel-cli": "6.26.0", | ||
} | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
28517
12
403
1
0