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

@sprucelabs/sprucebot-node

Package Overview
Dependencies
Maintainers
7
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprucelabs/sprucebot-node - npm Package Compare versions

Comparing version 6.66.0 to 6.67.0

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

<a name="6.67.0"></a>
# [6.67.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.66.0...v6.67.0) (2018-09-04)
### Features
* add timeout to sb emit methods ([f7f3ca1](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/f7f3ca1))
<a name="6.66.0"></a>

@@ -8,0 +20,0 @@ # [6.66.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.65.2...v6.66.0) (2018-09-03)

10

index.js

@@ -452,6 +452,7 @@ const Https = require('./https')

*/
async emit(locationId, eventName, payload = {}) {
async emit(locationId, eventName, payload = {}, options) {
return this.https.post(`locations/${locationId}/emit`, {
eventName,
payload
payload,
options
})

@@ -466,6 +467,7 @@ }

*/
async emitOrganization(organizationId, eventName, payload = {}) {
async emitOrganization(organizationId, eventName, payload = {}, options) {
return this.https.post(`organizations/${organizationId}/emit`, {
eventName,
payload
payload,
options
})

@@ -472,0 +474,0 @@ }

2

index.test.js

@@ -28,3 +28,3 @@ const Sprucebot = require('./index')

jest.setTimeout(10000)
jest.setTimeout(20000)

@@ -31,0 +31,0 @@ describe('API Tests', () => {

@@ -6,3 +6,3 @@ {

},
"version": "6.66.0",
"version": "6.67.0",
"description": "Jam with the Sprucebot API in your favorite scripting language. 🤓",

@@ -42,3 +42,3 @@ "keywords": [

},
"gitHead": "9656b293d042fd25d3ce42de42a206fb35f2e84a"
"gitHead": "2b04a4912ad74ddfb8d0bd6292e82bafce04473d"
}
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