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 2.0.1 to 2.0.2

1

lib/WitRecognizer.d.ts

@@ -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';

5

package.json
{
"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

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