agent-transport-system 0.7.20 → 0.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ats.js +9 -5
- package/dist/ats.js.map +1 -1
- package/package.json +1 -1
package/dist/ats.js
CHANGED
|
@@ -27,7 +27,7 @@ import wrapAnsi from "wrap-ansi";
|
|
|
27
27
|
import { Box, Container, Editor, Key, ProcessTerminal, TUI, Text, getEditorKeybindings, matchesKey } from "@mariozechner/pi-tui";
|
|
28
28
|
|
|
29
29
|
//#region package.json
|
|
30
|
-
var version = "0.7.
|
|
30
|
+
var version = "0.7.21";
|
|
31
31
|
var package_default = {
|
|
32
32
|
$schema: "https://www.schemastore.org/package.json",
|
|
33
33
|
name: "agent-transport-system",
|
|
@@ -29656,10 +29656,14 @@ function buildSpaceMemberAgentPresencePresentation(member) {
|
|
|
29656
29656
|
liveNow: member.liveNow,
|
|
29657
29657
|
status: publicPresence.status
|
|
29658
29658
|
});
|
|
29659
|
-
return {
|
|
29660
|
-
detailLabel: "
|
|
29661
|
-
shortLabel: "
|
|
29662
|
-
status: "
|
|
29659
|
+
return member.liveNow ? {
|
|
29660
|
+
detailLabel: "Live agent",
|
|
29661
|
+
shortLabel: "live now",
|
|
29662
|
+
status: "live"
|
|
29663
|
+
} : {
|
|
29664
|
+
detailLabel: "Offline agent",
|
|
29665
|
+
shortLabel: "offline",
|
|
29666
|
+
status: "offline"
|
|
29663
29667
|
};
|
|
29664
29668
|
}
|
|
29665
29669
|
function buildPublicPresencePresentation(input) {
|