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

@cs-chatbots/router-masterbot-tools

Package Overview
Dependencies
Maintainers
4
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cs-chatbots/router-masterbot-tools - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "@cs-chatbots/router-masterbot-tools",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

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

@@ -47,3 +47,3 @@ 'use strict';

...state.state,
sharedContext: this._getMoreRecentSharedContex(
sharedContext: this._getMoreRecentSharedContext(
state.state.sharedContext,

@@ -82,12 +82,9 @@ sharedContext

if (req.data.sharedContext) {
req.sharedContext = this._getMoreRecentSharedContex(
req.sharedContext,
req.data.sharedContext
req.sharedContext = this._getMoreRecentSharedContext(
req.state.sharedContext,
req.event.sharedContext
);
res.setState({ sharedContext: req.sharedContext });
} else {
req.sharedContext = this._getMoreRecentSharedContex(
req.sharedContext,
req.state.sharedContext
);
req.sharedContext = req.state.sharedContext || {};
}

@@ -144,3 +141,3 @@ }

*/
_getMoreRecentSharedContex (orig = {}, candid = {}) {
_getMoreRecentSharedContext (orig = {}, candid = {}) {
if (orig.timestamp && candid.timestamp) {

@@ -147,0 +144,0 @@ return candid.timestamp > orig.timestamp ? candid : orig;

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