botkit-middleware-watson
Advanced tools
Comparing version 1.8.2 to 1.8.3
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43146
33
10
357
+ Addeddeepmerge@3.3.0(transitive)
- Removeddeepmerge@2.2.1(transitive)
Updateddeepmerge@^3.2.0