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

botframework

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botframework - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

3

dist/es5/src/facebook/bot.js

@@ -153,2 +153,5 @@ "use strict";

};
if (attachment.title) {
location_1.location.title = attachment.title;
}
(this.botController.locationMessage) ? this.botController.locationMessage(location_1, reply) : null;

@@ -155,0 +158,0 @@ break;

@@ -23,2 +23,3 @@ import * as Promise from 'bluebird';

export interface ILocation {
title?: string;
coordinates: ICoordinates;

@@ -25,0 +26,0 @@ }

2

package.json
{
"name": "botframework",
"version": "0.15.0",
"version": "0.16.0",
"description": "Framework for messaging bots",

@@ -5,0 +5,0 @@ "main": "./dist/es5/src/bot.js",

@@ -143,5 +143,8 @@ import {IBotController, BOT_REQUEST_TYPE, IBotSettings, IBotUser, IBotRequest, IBotReply, IBotReplyListItemAction, IBotReplyListItem} from '../interfaces'

case FB_ATTACHMENT_TYPE.LOCATION:
let location = {
let location: IBotRequest = {
user, location: {coordinates: attachment.payload.coordinates}, type: BOT_REQUEST_TYPE.FACEBOOK
};
if (attachment.title) {
location.location.title = attachment.title;
}
(this.botController.locationMessage) ? this.botController.locationMessage(location, reply) : null;

@@ -148,0 +151,0 @@ break;

@@ -29,2 +29,3 @@ import * as Promise from 'bluebird';

export interface ILocation {
title?: string;
coordinates: ICoordinates;

@@ -31,0 +32,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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