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.65.1 to 6.65.2-pre.0

jest.config.js

11

CHANGELOG.md

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

## [6.65.2-pre.0](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.65.1...v6.65.2-pre.0) (2018-08-29)
### Features
* send version information to api on skill boot ([384ae74](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/commit/384ae74))
<a name="6.65.1"></a>

@@ -8,0 +19,0 @@ ## [6.65.1](https://github.com/sprucelabsai/workspace.sprucebot-skills-kit/compare/v6.65.0...v6.65.1) (2018-08-29)

2

https/index.js
const url = require('../utilities/url')
const https = require('https')
var debug = require('debug')('sprucebot-node')
var debug = require('debug')('@sprucelabs/sprucebot-node')

@@ -5,0 +5,0 @@ module.exports = class Https {

@@ -25,3 +25,5 @@ const Https = require('./https')

dbEnabled = false,
eventContract = required('eventContract')
eventContract = required('eventContract'),
version = 'unknown',
skillsKitVersion = 'unknown'
}) {

@@ -44,3 +46,5 @@ const hostMatches = host.match(/^(https?\:\/\/|)([^\/:?#]+)(?:[\/:?#]|$)/i)

this.version = '1.0' // maybe pull from package.json?
this.version = version // skill version
this.skillsKitVersion = skillsKitVersion // skills kit version
this.apiVersion = '1.0' // maybe pull from package.json?

@@ -52,3 +56,3 @@ // Setup http(s) class with everything it needs to talk to api

id,
version: this.version,
version: this.apiVersion,
allowSelfSignedCerts

@@ -81,3 +85,5 @@ })

publicUrl: this.publicUrl,
eventContract: this.eventContract
eventContract: this.eventContract,
version: this.version,
skillsKitVersion: this.skillsKitVersion
}

@@ -84,0 +90,0 @@ const results = await this.https.patch('/', data)

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

},
"version": "6.65.1",
"version": "6.65.2-pre.0",
"description": "Jam with the Sprucebot API in your favorite scripting language. 🤓",

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

},
"gitHead": "a2d5f817bd08cdc75946ad43083f9c440338f613"
"gitHead": "4a096211f0c92110635e75be6928aa66d3d006fb"
}
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