New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@botique/bmp

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@botique/bmp - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

.idea/bmp.iml

4

build/adapters/DirectLineAdapter.d.ts

@@ -35,7 +35,7 @@ import { ObjectID } from "mongodb";

title: string;
url: string;
url: any;
} | {
type: any;
title: string;
data: string;
data: any;
};

@@ -39,3 +39,3 @@ "use strict";

try {
const activityJSON = JSON.parse(directlineActivity.text || "{}");
const activityJSON = directlineActivity.value || JSON.parse(directlineActivity.text || "{}");
if (!lodash_1.isEmpty(activityJSON.payload)) {

@@ -112,3 +112,7 @@ // If we have a valid json with a payload attribute, we assume a payload message was sent

contentType: UserMessage_1.ContentType.Payload,
content: { payload: JSON.parse(directlineActivity.text).payload }
content: {
payload: directlineActivity.value ?
JSON.stringify(Object.assign({}, JSON.parse(directlineActivity.value.payload), { title: directlineActivity.value.title })) :
JSON.parse(directlineActivity.text).payload
}
};

@@ -347,3 +351,3 @@ }

else if (cardActionType === "Action.Submit") {
value = JSON.stringify({ payload: button.payload });
value = { payload: button.payload, title: button.title };
return {

@@ -350,0 +354,0 @@ type: cardActionType,

{
"name": "@botique/bmp",
"version": "0.1.2",
"version": "0.1.3",
"description": "Botique Messaging Protocol",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

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