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

@papercups-io/chat-widget - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

3

dist/components/EmbeddableWidget.d.ts

@@ -8,4 +8,5 @@ /// <reference types="react" />

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

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

primaryColor = _ref.primaryColor,
baseUrl = _ref.baseUrl;
baseUrl = _ref.baseUrl,
_ref$defaultIsOpen = _ref.defaultIsOpen,
defaultIsOpen = _ref$defaultIsOpen === void 0 ? false : _ref$defaultIsOpen;
var _React$useState = React.useState(false),
var _React$useState = React.useState(defaultIsOpen),
isOpen = _React$useState[0],

@@ -836,0 +838,0 @@ setIsOpen = _React$useState[1];

@@ -829,5 +829,7 @@ import React from 'react';

primaryColor = _ref.primaryColor,
baseUrl = _ref.baseUrl;
baseUrl = _ref.baseUrl,
_ref$defaultIsOpen = _ref.defaultIsOpen,
defaultIsOpen = _ref$defaultIsOpen === void 0 ? false : _ref$defaultIsOpen;
var _React$useState = React.useState(false),
var _React$useState = React.useState(defaultIsOpen),
isOpen = _React$useState[0],

@@ -834,0 +836,0 @@ setIsOpen = _React$useState[1];

{
"name": "@papercups-io/chat-widget",
"version": "1.0.6",
"version": "1.0.7",
"description": "Papercups chat widget",

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

@@ -7,2 +7,8 @@ # @papercups-io/chat-widget

## Demo
Available at https://app.papercups.io/demo
![demo](https://user-images.githubusercontent.com/5264279/88118921-e4a37900-cb8c-11ea-825f-86deb8edc518.gif)
## Install

@@ -16,3 +22,3 @@

First, sign up at https://www.papercups.io/register to get your account token. Your account token is what you will use to pass in as the `accountId` prop below.
First, sign up at https://app.papercups.io/register to get your account token. Your account token is what you will use to pass in as the `accountId` prop below.

@@ -38,3 +44,3 @@ ### Using in HTML

defer
src="https://www.papercups.io/widget.js"
src="https://app.papercups.io/widget.js"
></script>

@@ -41,0 +47,0 @@ ```

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc