Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
beepboop-js allows bot developers to run on the Beep Boop HQ bot hosting platform and support multiple teams from a single bot process. Simply require 'beepboop' in your bot project and listen for events indicating a user has requested your bot to be added, updated, or removed from their team.
If you are using Botkit, we recommend using beepboop-botkit as spawning and connecting to teams is handled for you.
npm install --save beepboop
var BeepBoop = require('beepboop')
var beepboop = BeepBoop.start()
// listen for events beepboop.on('open', function () { console.log('connected to resource server') })
beepboop.on('message.add_resource', function (msg) { console.log('received request to add bot to team') // handle adding team to bot })
see bot.js
for an example.
Module has exported function start
options
Object
debug
Booleanfunction () { }
Emitted when the connection is established.
function (error) { }
If the client emits an error, this event is emitted (errors from the underlying net.Socket
are forwarded here).
function (code, message) { }
Is emitted when the connection is closed. code
is defined in the WebSocket specification.
The close
event is also emitted when then underlying net.Socket
closes the connection (end
or close
).
function (message) { }
Is emitted when an add_resource message is received indicating a user has requested an instance of the bot to be added to their team.
function (message) { }
Is emitted when an update_resource message is received indicating a request to update the instance of the bot has been sent. The bot maker updating the bot, or a bot owner updating configuration are two cases that can trigger an update.
function (message) { }
Is emitted when an remove_resource message is received indicating a bot owner has removed a bot from their team.
FAQs
beepboop eases hosting a botkit based bot on the beepboop hosting platform.
The npm package beepboop receives a total of 5 weekly downloads. As such, beepboop popularity was classified as not popular.
We found that beepboop demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.