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

sprucebot-node

Package Overview
Dependencies
Maintainers
3
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sprucebot-node - npm Package Compare versions

Comparing version 6.22.0-beta.687bfc1 to 6.23.0-beta.2c47903

9

CHANGELOG.md

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

<a name="6.22.0-beta.687bfc1"></a>
# [6.22.0-beta.687bfc1](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.21.0...v6.22.0-beta.687bfc1) (2018-07-20)
<a name="6.23.0-beta.2c47903"></a>
# [6.23.0-beta.2c47903](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.22.0...v6.23.0-beta.2c47903) (2018-07-24)
**Note:** Version bump only for package sprucebot-node
### Features
* Add methods for creating locations ([81b8fbd](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/81b8fbd))
<a name="6.21.0"></a>

@@ -17,0 +20,0 @@ # [6.21.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.20.0...v6.21.0) (2018-07-20)

@@ -528,2 +528,27 @@ const Https = require('./https')

/**
* Create location (Enterprise Skills only)
*
* @param {String} organizationId
* @param {Array} locations
*/
async eCreateLocations({ organizationId, locations }) {
const data = locations
const result = await this.https.post(
`/e/organizations/${organizationId}/locations`,
{ locations }
)
return result
}
/**
* Create location (Global Skills only)
*
* @param {Array} locations
*/
async gCreateLocations({ locations }) {
const result = await this.https.post('/g/locations', { locations })
return result
}
/**
* To stop race conditions, you can have requests wait before starting the next.

@@ -530,0 +555,0 @@ *

{
"name": "sprucebot-node",
"version": "6.22.0-beta.687bfc1",
"version": "6.23.0-beta.2c47903",
"description": "Jam with the Sprucebot API in your favorite scripting language. 🤓",

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

},
"gitHead": "687bfc1c7b0d556102efbf3d0e0cadf942ba2903"
"gitHead": "2c47903640bb30c15ecdc42c4df05bfb3ecce896"
}
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