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

react-live-chat-loader

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-live-chat-loader - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

11

dist/components/HelpScout/index.js

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

borderStyle: 'none',
transition: 'box-shadow 250ms ease 0s, opacity 0.4s ease 0s, scale 1000ms ease-in-out 0s, transform 0.2s ease-in-out 0s'
transition: 'box-shadow 250ms ease 0s, opacity 0.4s ease 0s, transform 0.2s ease-in-out 0s'
},

@@ -190,7 +190,2 @@ button: {

var _useState = (0, _react.useState)(0),
_useState2 = _slicedToArray(_useState, 2),
scale = _useState2[0],
setScale = _useState2[1];
var _useChat = (0, _.useChat)({

@@ -204,5 +199,2 @@ loadWhenIdle: true

var windowHeight = (0, _useWindowHeight["default"])();
(0, _react.useEffect)(function () {
setScale(1);
}, []);
if (state === _states["default"].COMPLETE) return null;

@@ -214,3 +206,2 @@ return _react["default"].createElement("div", {

left: horizontalPosition === 'right' ? 'auto' : windowHeight < 740 ? '20px' : '40px',
transform: "scale(".concat(scale, ")"),
zIndex: zIndex

@@ -217,0 +208,0 @@ })

@@ -47,4 +47,2 @@ "use strict";

borderRadius: '50%',
transition: 'transform 0.3s ease',
transform: 'scale(1)',
boxShadow: 'rgba(0, 0, 0, 0.0588235) 0px 1px 6px 0px, rgba(0, 0, 0, 0.156863) 0px 2px 32px 0px'

@@ -122,7 +120,2 @@ },

var _useState = (0, _react.useState)(0),
_useState2 = _slicedToArray(_useState, 2),
scale = _useState2[0],
setScale = _useState2[1];
var _useChat = (0, _.useChat)({

@@ -135,10 +128,6 @@ loadWhenIdle: true

(0, _react.useEffect)(function () {
setScale(1);
}, []);
if (state === _states["default"].COMPLETE) return null;
return _react["default"].createElement("div", {
style: _objectSpread({}, styles.wrapper, {
background: color,
transform: "scale(".concat(scale, ")")
background: color
})

@@ -145,0 +134,0 @@ }, _react["default"].createElement("div", {

2

package.json
{
"name": "react-live-chat-loader",
"version": "0.0.23",
"version": "0.0.24",
"description": "Implement live chat in your react app without taking a performance hit.",

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

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