Node Wit Versions Save

Node.js SDK for Wit.ai

3.3.2

7 years ago
  • allows for targeting a specific API version, by setting WIT_API_VERSION

3.3.1

7 years ago
  • adding API versioning (defaults to 20160516)
  • warns instead of throwing when validating actions
  • fixing null values when cloning context

3.3.0

7 years ago
  • callbacks are not called asynchronously by default, choice is left to the developer (use process.nextTick in your callback to emulate the previous behavior)
  • using node-fetch instead of requests
  • the message() API takes now an optional context as second parameter

3.2.2

8 years ago
  • fixing context not updated in interactive mode
  • fixing array values in context
  • create readline interface only in interactive mode

3.2.0

8 years ago

Breaking changes:

  • the say action now takes 4 parameters: sessionId, context, message, cb
  • the error action now takes 3 parameters: sessionId, context, error

3.1.0

8 years ago

Breaking changes:

  • the merge action now takes 5 parameters: sessionId, context, entities, message, cb
  • the error action now takes the context as second parameter
  • custom actions now take 3 parameters: sessionId, context, cb