Socket
Socket
Sign inDemoInstall

@meetelise/chat

Package Overview
Dependencies
Maintainers
3
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meetelise/chat - npm Package Compare versions

Comparing version 1.0.0-rc.19 to 1.0.0-rc.20

2

dist/src/fetchBuildingInfo.d.ts

@@ -23,2 +23,4 @@ /**

welcomeMessage: string | null;
conversationMaintenanceMode: boolean;
orgId: number;
}

@@ -25,0 +27,0 @@ /**

@@ -25,2 +25,9 @@ import fetchBuildingInfo from "./fetchBuildingInfo";

const p = createTalkJSPopup(building, resolvedTheme);
if (building.conversationMaintenanceMode) {
return new Promise(() => {
// If in maintenance mode, we return an always-pending Promise
// eslint-disable-next-line no-console
console.warn("MeetElise Chat is in maintenance mode. Chat icon will not appear.");
});
}
return p.mount({ show: false }).then(() => p);

@@ -27,0 +34,0 @@ });

3

dist/src/talkjsFns.js

@@ -14,3 +14,3 @@ import Talk from "talkjs";

session = new Talk.Session({
appId: "t1OiQxbE",
appId: "ogKIvCor",
me,

@@ -51,2 +51,3 @@ });

userId: building.userId.toString(),
orgId: building.orgId.toString(),
subtitle: (_a = theme.chatSubtitle) !== null && _a !== void 0 ? _a : null,

@@ -53,0 +54,0 @@ bannerColor: theme.bannerColor,

{
"name": "@meetelise/chat",
"version": "1.0.0-rc.19",
"version": "1.0.0-rc.20",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

@@ -24,2 +24,4 @@ /**

welcomeMessage: string | null;
conversationMaintenanceMode: boolean;
orgId: number;
}

@@ -26,0 +28,0 @@

@@ -13,2 +13,4 @@ import { expect } from "@esm-bundle/chai";

userId: 42.1,
orgId: 42.2,
conversationMaintenanceMode: false,
}),

@@ -15,0 +17,0 @@ };

@@ -111,2 +111,11 @@ import Talk from "talkjs";

const p = createTalkJSPopup(building, resolvedTheme);
if (building.conversationMaintenanceMode) {
return new Promise(() => {
// If in maintenance mode, we return an always-pending Promise
// eslint-disable-next-line no-console
console.warn(
"MeetElise Chat is in maintenance mode. Chat icon will not appear."
);
});
}
return p.mount({ show: false }).then(() => p);

@@ -113,0 +122,0 @@ }

@@ -18,3 +18,3 @@ import Talk from "talkjs";

session = new Talk.Session({
appId: "t1OiQxbE",
appId: "ogKIvCor",
me,

@@ -75,2 +75,3 @@ });

userId: building.userId.toString(),
orgId: building.orgId.toString(),
subtitle: theme.chatSubtitle ?? null,

@@ -77,0 +78,0 @@ bannerColor: theme.bannerColor,

Sorry, the diff of this file is not supported yet

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