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

botbuilder-wit

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-wit - npm Package Compare versions

Comparing version 1.1.4 to 2.0.0

5

lib/WitRecognizer.js

@@ -53,3 +53,3 @@ "use strict";

var utterance = context.message.text;
this.witClient.message(utterance)
this.witClient.message(utterance, {})
.then(function (response) {

@@ -165,4 +165,3 @@ if (response.error) {

}());
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = WitRecognizer;
exports.WitRecognizer = WitRecognizer;
//# sourceMappingURL=WitRecognizer.js.map
{
"name": "botbuilder-wit",
"version": "1.1.4",
"version": "2.0.0",
"description": "Provides Wit.ai NLP integration for the Microsoft Bot Builder SDK. Supports caching with Redis and Memcached.",
"main": "lib/WitRecognizer.js",
"main": "lib/WitRecognizer",
"scripts": {

@@ -36,2 +36,3 @@ "build": "tsc",

"@types/node": "^7.0.4",
"@types/node-wit": "^4.2.1",
"chai": "^3.5.0",

@@ -38,0 +39,0 @@ "codecov": "^1.0.1",

4

README.md

@@ -16,3 +16,3 @@ # botbuilder-wit

const { IntentDialog } = require('botbuilder');
const WitRecognizer = require('botbuilder-wit');
const { WitRecognizer } = require('botbuilder-wit');
const recognizer = new WitRecognizer('Wit.ai_access_token');

@@ -69,4 +69,2 @@ const intents = new IntentDialog({recognizers: [recognizer]});

```
## Recompiling the TypeScript source
If you want to recompile the source, you will need to make sure the ```node-wit``` dependency has a type definitions file in its root directory. Even though there is a TypeScript definitions package for node-wit you can install with ```npm install --save-dev @types/node-wit```, the compiler will complain when using it. So instead, you can use the minimalistic version in the resources directory that will do the job.

@@ -73,0 +71,0 @@ ## License

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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