Comparing version 3.2.0 to 3.2.1
@@ -0,1 +1,5 @@ | ||
## v3.2.1 | ||
- fixed context not updated in interactive sessions | ||
## v3.2.0 | ||
@@ -2,0 +6,0 @@ |
@@ -258,3 +258,3 @@ 'use strict'; | ||
const sessionId = uuid.v1(); | ||
const context = typeof initContext === 'object' ? initContext : {}; | ||
this.context = typeof initContext === 'object' ? initContext : {}; | ||
const steps = maxSteps ? maxSteps : DEFAULT_MAX_STEPS; | ||
@@ -268,6 +268,8 @@ rl.setPrompt('> '); | ||
msg, | ||
context, | ||
this.context, | ||
(error, context) => { | ||
if (error) { | ||
l.error(error); | ||
} else { | ||
this.context = context; | ||
} | ||
@@ -274,0 +276,0 @@ rl.prompt(); |
{ | ||
"name": "node-wit", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Wit.ai Node.js SDK", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
27753
649