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.20 to 1.0.21

8

dist/api.d.ts
export declare type CustomerMetadata = {
name: string;
email: string;
external_id: string;
};
name?: string;
email?: string;
external_id?: string;
} | null;
export declare const createNewCustomer: (accountId: string, metadata?: CustomerMetadata, baseUrl?: string) => Promise<any>;

@@ -7,0 +7,0 @@ export declare const updateCustomerMetadata: (customerId: string, metadata?: CustomerMetadata, baseUrl?: string) => Promise<any>;

@@ -15,3 +15,3 @@ import React from 'react';

messages: Array<Message>;
customerId: string;
customerId: string | null;
conversationId: string | null;

@@ -24,2 +24,3 @@ isSending: boolean;

channel: any;
storage: any;
state: State;

@@ -31,3 +32,7 @@ componentDidMount(): void;

createNewCustomerId: (accountId: string) => Promise<any>;
updateExistingCustomer: (customerId: string, metadata?: API.CustomerMetadata | undefined) => Promise<void>;
updateExistingCustomer: (customerId: string, metadata?: {
name?: string | undefined;
email?: string | undefined;
external_id?: string | undefined;
} | null | undefined) => Promise<void>;
initializeNewConversation: () => Promise<{

@@ -34,0 +39,0 @@ customerId: any;

{
"name": "@papercups-io/chat-widget",
"version": "1.0.20",
"version": "1.0.21",
"description": "Papercups chat widget",

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

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