botbuilder-location
Advanced tools
Comparing version 1.0.4 to 1.1.0
@@ -56,6 +56,11 @@ "use strict"; | ||
if (results.response && results.response.place) { | ||
var separator = session.gettext(consts_1.Strings.AddressSeparator); | ||
var promptText = session.gettext(consts_1.Strings.ConfirmationAsk, common.getFormattedAddressFromPlace(results.response.place, separator)); | ||
session.dialogData.place = results.response.place; | ||
botbuilder_1.Prompts.confirm(session, promptText, { listStyle: botbuilder_1.ListStyle.none }); | ||
if (session.dialogData.args.skipConfirmationAsk) { | ||
session.endDialogWithResult({ response: results.response.place }); | ||
} | ||
else { | ||
var separator = session.gettext(consts_1.Strings.AddressSeparator); | ||
var promptText = session.gettext(consts_1.Strings.ConfirmationAsk, common.getFormattedAddressFromPlace(results.response.place, separator)); | ||
session.dialogData.place = results.response.place; | ||
botbuilder_1.Prompts.confirm(session, promptText, { listStyle: botbuilder_1.ListStyle.none }); | ||
} | ||
} | ||
@@ -62,0 +67,0 @@ else { |
@@ -5,3 +5,3 @@ { | ||
"description": "An open-source location picker control for Microsoft Bot Framework powered by Bing's Maps REST services. This control makes the process of collecting and validating the user's desired location in a conversation easy and reliable.", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
32544
15
606
1
136
0