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

botkit-middleware-watson

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botkit-middleware-watson - npm Package Compare versions

Comparing version 1.8.2 to 1.8.3

greenkeeper.json

27

lib/middleware/index.d.ts

@@ -46,2 +46,14 @@ import * as Botkit from 'botkit';

interface ContextDelta {
[index: string]: any;
}
interface Payload {
workspace_id: string;
input: {
text: string;
};
context?: Context;
}
interface OutputData {

@@ -128,17 +140,6 @@ text: string[];

interface Payload {
workspace_id: string;
input: {
text: string;
};
context?: Context;
}
interface ContextDelta {
[index: string]: any;
}
export function createWatsonMiddleware(config: MiddlewareConfig): Middleware;
}
export = WatsonMiddleware.createWatsonMiddleware;
export default WatsonMiddleware.createWatsonMiddleware;
export { WatsonMiddleware };
{
"name": "botkit-middleware-watson",
"version": "1.8.2",
"version": "1.8.3",
"description": "A middleware for using Watson Assistant in a Botkit-powered bot.",

@@ -28,3 +28,3 @@ "main": "lib/middleware/index.js",

"assert": "^1.4.1",
"botkit": "^0.6.21",
"botkit": "^0.7.2",
"clone": "^2.1.2",

@@ -40,5 +40,5 @@ "eslint": "^5.9.0",

"debug": "^4.1.0",
"deepmerge": "^2.2.1",
"deepmerge": "^3.2.0",
"watson-developer-cloud": "^3.13.0"
}
}

@@ -1,2 +0,2 @@

# Use IBM Watson's Assistant service to chat with your Botkit-powered Bot! [![Build Status](https://travis-ci.org/watson-developer-cloud/botkit-middleware.svg?branch=master)](https://travis-ci.org/watson-developer-cloud/botkit-middleware)
# Use IBM Watson's Assistant service to chat with your Botkit-powered Bot! [![Build Status](https://travis-ci.org/watson-developer-cloud/botkit-middleware.svg?branch=master)](https://travis-ci.org/watson-developer-cloud/botkit-middleware) [![Greenkeeper badge](https://badges.greenkeeper.io/watson-developer-cloud/botkit-middleware.svg)](https://greenkeeper.io/)

@@ -60,3 +60,3 @@ This middleware plugin for [Botkit](http://howdy.ai/botkit) allows developers to easily integrate a [Watson Assistant](https://www.ibm.com/watson/ai-assistant/) workspace with multiple social channels like Slack, Facebook, and Twilio. Customers can have simultaneous, independent conversations with a single workspace through different channels.

```js
const slackController = Botkit.slackbot();
const slackController = Botkit.slackbot({ clientSigningSecret: YOUR_SLACK_SIGNING_SECRET });
```

@@ -63,0 +63,0 @@

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