Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botbuilder-location

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-location - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

Readme.md

13

lib/botbuilder-location.js

@@ -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": [

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