You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@papercups-io/chat-widget

Package Overview
Dependencies
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.16-beta.2 to 1.0.16-beta.3

3

dist/components/EmbeddableWidget.d.ts

@@ -12,5 +12,6 @@ /** @jsx jsx */

customer?: CustomerMetadata;
newMessagePlaceholder?: string;
defaultIsOpen?: boolean;
};
declare const EmbeddableWidget: ({ accountId, title, subtitle, primaryColor, baseUrl, greeting, customer, defaultIsOpen, }: Props) => JSX.Element;
declare const EmbeddableWidget: ({ accountId, title, subtitle, primaryColor, baseUrl, greeting, customer, newMessagePlaceholder, defaultIsOpen, }: Props) => JSX.Element;
export default EmbeddableWidget;

@@ -357,2 +357,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

customer = _ref.customer,
newMessagePlaceholder = _ref.newMessagePlaceholder,
_ref$defaultIsOpen = _ref.defaultIsOpen,

@@ -374,2 +375,3 @@ defaultIsOpen = _ref$defaultIsOpen === void 0 ? false : _ref$defaultIsOpen;

greeting: greeting,
newMessagePlaceholder: newMessagePlaceholder,
customerId: cachedCustomerId

@@ -449,5 +451,6 @@ })).current;

baseUrl: baseUrl,
greeting: greeting
greeting: greeting,
newMessagePlaceholder: newMessagePlaceholder
});
}, [accountId, title, subtitle, primaryColor, baseUrl, greeting]);
}, [accountId, title, subtitle, primaryColor, baseUrl, greeting, newMessagePlaceholder]);

@@ -454,0 +457,0 @@ var handleToggleOpen = function handleToggleOpen() {

@@ -355,2 +355,3 @@ import React from 'react';

customer = _ref.customer,
newMessagePlaceholder = _ref.newMessagePlaceholder,
_ref$defaultIsOpen = _ref.defaultIsOpen,

@@ -372,2 +373,3 @@ defaultIsOpen = _ref$defaultIsOpen === void 0 ? false : _ref$defaultIsOpen;

greeting: greeting,
newMessagePlaceholder: newMessagePlaceholder,
customerId: cachedCustomerId

@@ -447,5 +449,6 @@ })).current;

baseUrl: baseUrl,
greeting: greeting
greeting: greeting,
newMessagePlaceholder: newMessagePlaceholder
});
}, [accountId, title, subtitle, primaryColor, baseUrl, greeting]);
}, [accountId, title, subtitle, primaryColor, baseUrl, greeting, newMessagePlaceholder]);

@@ -452,0 +455,0 @@ var handleToggleOpen = function handleToggleOpen() {

{
"name": "@papercups-io/chat-widget",
"version": "1.0.16-beta.2",
"version": "1.0.16-beta.3",
"description": "Papercups chat widget",

@@ -5,0 +5,0 @@ "author": "reichert621",

@@ -34,2 +34,3 @@ # @papercups-io/chat-widget

subtitle: 'Ask us anything in the chat window below 😊',
newMessagePlaceholder: 'Start typing...',
primaryColor: '#13c2c2',

@@ -75,6 +76,7 @@ // Optionally pass in a default greeting

<ChatWidget
accountId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
title='Welcome to Papercups!'
subtitle='Ask us anything in the chat window below 😊'
newMessagePlaceholder='Start typing...'
primaryColor='#13c2c2'
accountId='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx'
// Optionally pass in a default greeting

@@ -81,0 +83,0 @@ greeting='Hi there! How can I help you?'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc