@sprucelabs/sprucebot-node
Advanced tools
Comparing version 7.5.0 to 7.5.1-pre-3db6d36.0
@@ -6,2 +6,13 @@ # Change Log | ||
## [7.5.1-pre-3db6d36.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v7.5.0...v7.5.1-pre-3db6d36.0) (2018-10-20) | ||
### Features | ||
* Implement sprucebot logger and audit log ([3db6d36](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/3db6d36)) | ||
# [7.5.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v7.4.4...v7.5.0) (2018-10-08) | ||
@@ -8,0 +19,0 @@ |
14
index.js
@@ -653,4 +653,18 @@ const Https = require('./https') | ||
} | ||
/** | ||
* Audit log or logs to send | ||
* | ||
* @param auditLogs | ||
*/ | ||
async audit(auditLogs) { | ||
if (!Array.isArray(auditLogs)) { | ||
auditLogs = [auditLogs] | ||
} | ||
const result = await this.https.post(`/audit`, auditLogs) | ||
return result | ||
} | ||
} | ||
module.exports = Sprucebot |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "7.5.0", | ||
"version": "7.5.1-pre-3db6d36.0", | ||
"description": "Jam with the Sprucebot API in your favorite scripting language. 🤓", | ||
@@ -42,3 +42,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "5c4004f3c2dd0e392fea4166fbe341ed3d287bfe" | ||
"gitHead": "3db6d36168b62d6739b83dba06c1b09d5ad700c6" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
387954
8399
0
1