Security News
RubyGems.org Adds New Maintainer Role
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.
@smart-moov/plugin
Advanced tools
Base for Smart Moov plugins, available in the Smart Moov Marketplace
Base ES6 classes to create Smart Moov plugins, to let you connect your product to our candidates.
A Smart Moov plugin let you to create custom chatbot steps, and synchronize applications with your APIs.
Create your repository, with public access, with a index.js
file who exports an ES6 class extending our Plugin
class.
import { Plugin } from '@smart-moov/plugin'
export default class MyPlugin extends Plugin {}
You can enable features for your plugin :
export default class MyPlugin extends Plugin {
getFeatures () {
return ['chatbot', 'applications']
}
}
chatbot
: Let the plugin add chatbot steps, to directly interact with the candidate.applications
: Your plugin will be called whenever we receive an application from a candidate. This will let you send the application to an external API, etcexport default class MyPlugin extends Plugin {
getChatbotStepConfiguration () {
return {
id: 'talk',
name: {
fr: 'Parler avec Dean',
en: 'Talk with Dean'
},
category: 'messages',
icon: 'comment-alt',
configuration: {
message: {
type: 'text',
i18n: true
}
}
}
}
}
More details soon.
export default class MyPlugin extends Plugin {
getChatbotPublicPlugin () {
return async ctx => {
const name = await ctx.askText('Question ?', {
minLength: 10
})
const ret = await ctx.callPrivatePlugin({
name
})
console.log(ret.saved)
}
}
async executeChatbotPrivatePlugin ({ name }, ctx) {
// Save name in other tools
return {
saved: true
}
}
}
More details soon.
You can run methods on specific events :
export default class MyPlugin extends Plugin {
/**
* Called when the plugin is installed on an organization.
*/
onInstall (ctx) {
return undefined
}
/**
* Called when the plugin is uninstalled from an organization.
*/
onUninstall (ctx) {
return undefined
}
/**
* Called when the plugin configuration is saved.
*/
onSave (ctx) {
return undefined
}
}
More details soon.
FAQs
Base for Smart Moov plugins, available in the Smart Moov Marketplace
The npm package @smart-moov/plugin receives a total of 0 weekly downloads. As such, @smart-moov/plugin popularity was classified as not popular.
We found that @smart-moov/plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.