botbuilder-wit
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,2 +0,1 @@ | ||
/// <reference path="../node_modules/typescript/lib/lib.es6.d.ts" /> | ||
import { Wit } from 'node-wit'; | ||
@@ -3,0 +2,0 @@ import CacheAdapter from './adapters/CacheAdapter'; |
{ | ||
"name": "botbuilder-wit", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Provides Wit.ai NLP integration for the Microsoft Bot Builder SDK. Supports caching with Redis and Memcached.", | ||
@@ -34,2 +34,3 @@ "main": "lib/WitRecognizer", | ||
"@types/chai": "^3.4.34", | ||
"@types/es6-promise": "0.0.32", | ||
"@types/mocha": "^2.2.38", | ||
@@ -43,4 +44,4 @@ "@types/node": "^7.0.4", | ||
"sinon": "^1.17.6", | ||
"typescript": "^2.1.4" | ||
"typescript": "^2.1.6" | ||
} | ||
} |
@@ -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,2 +69,4 @@ 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. | ||
@@ -71,0 +73,0 @@ ## License |
Sorry, the diff of this file is not supported yet
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
25096
73
11
302