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

controltower

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

controltower - npm Package Compare versions

Comparing version 0.14.5 to 0.14.7

2

package.json
{
"name": "controltower",
"version": "0.14.5",
"version": "0.14.7",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "license": "AGPL-3.0",

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

class=${ classes.button }
name="buttonTitle"
name="text"
value=${ subtitleOrText }

@@ -74,0 +74,0 @@ />`;

@@ -7,4 +7,2 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _ramda = require('ramda');

@@ -138,5 +136,2 @@

set: data => data,
setReplyButton: (data, state) => _extends({}, state, {
buttons: (0, _ramda.merge)(state.buttons, data)
}),
setReply: (data, state) => (0, _ramda.merge)(state, data)

@@ -143,0 +138,0 @@ },

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

e.preventDefault();
const fieldNames = ['title', 'text', 'subtitle', 'buttonTitle', 'logo', 'url'];
const fieldNames = ['title', 'text', 'subtitle', 'logo', 'url'];
let updates = {};

@@ -37,10 +37,4 @@ fieldNames.forEach(fieldName => {

});
if (e.target.buttonTitle) {
send('replies:setReplyButton', {
[selectedReplyKey.split('.')[1]]: updates
});
} else {
updates = Object.assign(selectedReply, updates);
send('replies:setReply', { [selectedReplyKey]: updates });
}
updates = Object.assign(selectedReply, updates);
send('replies:setReply', { [selectedReplyKey]: updates });
return send('replies:sendReplies', botId);

@@ -47,0 +41,0 @@ };

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