botbuilder
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -106,4 +106,9 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
this.getData(userId, function (err, userData, sessionState) { | ||
ses.userData = userData || {}; | ||
ses.dispatch(newSessionState ? null : sessionState, message); | ||
if (!err) { | ||
ses.userData = userData || {}; | ||
ses.dispatch(newSessionState ? null : sessionState, message); | ||
} | ||
else { | ||
_this.emit('error', err, message); | ||
} | ||
}); | ||
@@ -110,0 +115,0 @@ }; |
@@ -142,8 +142,8 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
if (ss.callstack.length > 0) { | ||
var cur = ss.callstack[ss.callstack.length - 1]; | ||
this.dialogData = cur.state; | ||
if (m) { | ||
this.send(m); | ||
} | ||
var cur = ss.callstack[ss.callstack.length - 1]; | ||
var d = this.dialogs.getDialog(cur.id); | ||
this.dialogData = cur.state; | ||
d.dialogResumed(this, r); | ||
@@ -150,0 +150,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Bot Builder is a dialog system for building rich bots on virtually any platform.", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"license": "MIT", | ||
@@ -8,0 +8,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
174868
4004