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.6.0-beta.34deaa7 to 6.6.0-beta.7367f1e

5

CHANGELOG.md

@@ -6,4 +6,4 @@ # Change Log

<a name="6.6.0-beta.34deaa7"></a>
# [6.6.0-beta.34deaa7](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.4.2...v6.6.0-beta.34deaa7) (2018-04-19)
<a name="6.6.0-beta.7367f1e"></a>
# [6.6.0-beta.7367f1e](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.4.2...v6.6.0-beta.7367f1e) (2018-04-24)

@@ -14,1 +14,2 @@

* **SB-1448:** adds /public route and page to skills kit ([34deaa7](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/34deaa7))
* **SB-1448:** REVERT adds /public route and page to skills kit ([#67](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/issues/67)) ([7367f1e](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/7367f1e))

55

index.js

@@ -35,3 +35,2 @@ const Https = require('./https')

this.iframeUrl = interfaceUrl || required('interfaceUrl')
this.publicUrl = (interfaceUrl || required('interfaceUrl')) + '/public'
this.marketingUrl =

@@ -55,5 +54,4 @@ (interfaceUrl || required('interfaceUrl')) + '/marketing'

console.log(
`🌲 Sprucebot🌲 Skills Kit API ${
this.version
}\n\nhost : ${cleanedHost} \nid : ${id} \napiKey : ${apiKey.replace(
`🌲 Sprucebot🌲 Skills Kit API ${this
.version}\n\nhost : ${cleanedHost} \nid : ${id} \napiKey : ${apiKey.replace(
/./g,

@@ -75,4 +73,3 @@ '*'

iframeUrl: this.iframeUrl,
marketingUrl: this.marketingUrl,
publicUrl: this.publicUrl
marketingUrl: this.marketingUrl
}

@@ -106,4 +103,4 @@ const results = await this.https.patch('/', data)

* Get a user without a location. GLOBAL SKILLS ONLY
*
* @param {String} userId
*
* @param {String} userId
* @param {Object} Optional query string to be added to the request

@@ -117,3 +114,3 @@ */

* Get all locations. GLOBAL SKILLS ONLY
*
*
* @param {Object} Optional query string to be added to the request

@@ -126,7 +123,7 @@ */

/**
* Create a user
*
* @param {Object} values
* @returns {Promise}
*/
* Create a user
*
* @param {Object} values
* @returns {Promise}
*/
async createUser(values) {

@@ -137,9 +134,9 @@ return this.https.post('/ge/users', values)

/**
* Update a users role
*
* @param {String} locationId
* @param {String} userId
* @param {String} role
* @returns {Promise}
*/
* Update a users role
*
* @param {String} locationId
* @param {String} userId
* @param {String} role
* @returns {Promise}
*/
async updateRole(locationId, userId, role) {

@@ -221,8 +218,8 @@ return this.https.patch(

/**
* ONLY APPLIES TO SKILLS THAT ARE GLOBAL (are not attached to a location).
* This allows Sprucebot to communicate to business owners without them
* actually needing any skills enabled. Core usage only.
*
* @param {String} userId
* @param {String} message
* ONLY APPLIES TO SKILLS THAT ARE GLOBAL (are not attached to a location).
* This allows Sprucebot to communicate to business owners without them
* actually needing any skills enabled. Core usage only.
*
* @param {String} userId
* @param {String} message
*/

@@ -295,4 +292,4 @@ async globalMessage(userId, message) {

* Get skill meta data by id
*
* @param {String} id
*
* @param {String} id
*/

@@ -299,0 +296,0 @@ async metaById(id, { locationId, userId } = {}) {

{
"name": "sprucebot-node",
"version": "6.6.0-beta.34deaa7",
"version": "6.6.0-beta.7367f1e",
"description": "Jam with the Sprucebot API in your favorite scripting language. 🤓",

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

},
"gitHead": "34deaa729a1c5cd18b804e306feeddd634cd9bc2"
"gitHead": "7367f1e34c5a92ee3aff9694cd38a463f713c3cf"
}
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