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.0.3-6 to 0.0.3-7

.npmignore

2

build/src/adapters/DirectLineAdapter.d.ts

@@ -13,3 +13,3 @@ import { ObjectID } from 'mongodb';

export declare function mapTextDirectLineMessageToUserMessage(directlineActivity: Message, chatUser: ChatUser, botId: string, platformData: {}): UserMessage;
export declare function mapPayloadDirectLineMessageToUserMessage(directlineActivity: Message, user: ChatUser, botId: string | ObjectID, platformData: {}): UserMessage;
export declare function mapPayloadDirectLineMessageToUserMessage(directlineActivity: Message, chatUser: ChatUser, botId: string | ObjectID, platformData: {}): UserMessage;
export declare function mapUserMessageToDirectLineMessage(userMessage: UserMessage, chatUser: ChatUser, overrides?: Partial<Message>): Message;

@@ -16,0 +16,0 @@ export declare function mapBotMessageToDirectLineMessage(botMessage: BotMessage, overrides?: Partial<Message>): Message;

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

exports.mapTextDirectLineMessageToUserMessage = mapTextDirectLineMessageToUserMessage;
function mapPayloadDirectLineMessageToUserMessage(directlineActivity, user, botId, platformData) {
function mapPayloadDirectLineMessageToUserMessage(directlineActivity, chatUser, botId, platformData) {
return {

@@ -79,3 +79,3 @@ originId: lodash_1.get(directlineActivity, "channelData.clientActivityId", uuid_1.v4()),

dateReceived: new Date(directlineActivity.timestamp),
userId: user._id,
userId: chatUser.userId,
contentType: UserMessage_1.ContentType.Payload,

@@ -82,0 +82,0 @@ content: { payload: JSON.parse(directlineActivity.text).payload }

{
"name": "@botique/bmp",
"version": "0.0.3-6",
"version": "0.0.3-7",
"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