@memberjunction/realtime-widget 6.2.0 → 6.3.0-edge.0
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/embed/chunks/UserViewEngine-SLKE6LBB.js +7 -0
- package/dist/embed/chunks/{chunk-DIDGGUK7.js → chunk-3SGPPDAR.js} +69 -4
- package/dist/embed/chunks/{chunk-LAKO46S5.js → chunk-CFNJUN5T.js} +7625 -1004
- package/dist/embed/chunks/{chunk-JOGHPRST.js → chunk-MIJGWKAT.js} +1478 -260
- package/dist/embed/chunks/{chunk-CLSWXKRZ.js → chunk-P7OZVUW4.js} +11 -11
- package/dist/embed/chunks/{chunk-DAGQZKVY.js → chunk-PYHZMJHO.js} +10139 -4450
- package/dist/embed/chunks/{dist-FCDQGP67.js → dist-PBT4EYQL.js} +5 -5
- package/dist/embed/chunks/{guest-tool-relay-6VPMNSBN.js → guest-tool-relay-US5DJL75.js} +6 -6
- package/dist/embed/chunks/{guest-voice-mint-A4TEME65.js → guest-voice-mint-VBOHRPWJ.js} +6 -6
- package/dist/embed/chunks/{realtime-voice-controller-76SVXCXJ.js → realtime-voice-controller-4ZREZIRH.js} +2596 -182
- package/dist/embed/chunks/{runtime-widget-transport-KJRO54TC.js → runtime-widget-transport-JX4WL4BP.js} +10 -10
- package/dist/embed/mj-widget.js +6 -6
- package/package.json +9 -9
- package/dist/embed/chunks/UserViewEngine-ELH6XPEL.js +0 -7
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
SessionCardStatusChip,
|
|
29
29
|
SessionCardTitle,
|
|
30
30
|
SessionsObserver
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-P7OZVUW4.js";
|
|
32
|
+
import "./chunk-CFNJUN5T.js";
|
|
33
|
+
import "./chunk-PYHZMJHO.js";
|
|
34
|
+
import "./chunk-MIJGWKAT.js";
|
|
35
|
+
import "./chunk-3SGPPDAR.js";
|
|
36
36
|
export {
|
|
37
37
|
BuildConversationTimeline,
|
|
38
38
|
ClientToolRegistry,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
2
|
+
h
|
|
3
|
+
} from "./chunk-CFNJUN5T.js";
|
|
4
|
+
import "./chunk-PYHZMJHO.js";
|
|
5
|
+
import "./chunk-MIJGWKAT.js";
|
|
6
|
+
import "./chunk-3SGPPDAR.js";
|
|
7
7
|
|
|
8
8
|
// dist/voice/guest-tool-relay.js
|
|
9
9
|
var EXECUTE_TOOL_MUTATION = `
|
|
@@ -12,7 +12,7 @@ mutation WidgetRelayRealtimeTool($agentSessionId: String!, $callId: String!, $to
|
|
|
12
12
|
}`;
|
|
13
13
|
function CreateGuestToolRelay() {
|
|
14
14
|
return async (agentSessionId, callId, toolName, argsJson) => {
|
|
15
|
-
const data = await
|
|
15
|
+
const data = await h.Instance.ExecuteGQL(EXECUTE_TOOL_MUTATION, {
|
|
16
16
|
agentSessionId,
|
|
17
17
|
callId,
|
|
18
18
|
toolName,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
h
|
|
3
|
+
} from "./chunk-CFNJUN5T.js";
|
|
4
|
+
import "./chunk-PYHZMJHO.js";
|
|
5
5
|
import {
|
|
6
6
|
ParseRealtimeClientTransport
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MIJGWKAT.js";
|
|
8
|
+
import "./chunk-3SGPPDAR.js";
|
|
9
9
|
|
|
10
10
|
// dist/voice/guest-voice-mint.js
|
|
11
11
|
var MINT_FIELDS = ["AgentSessionId", "Provider", "Model", "EphemeralToken", "ExpiresAt", "SessionConfigJson"];
|
|
@@ -42,7 +42,7 @@ function CreateGuestVoiceMint(session) {
|
|
|
42
42
|
for (; ; ) {
|
|
43
43
|
try {
|
|
44
44
|
const sent = asked.NoAgentVideo ? { ...variables, showsAgentVideo: false } : variables;
|
|
45
|
-
return await
|
|
45
|
+
return await h.Instance.ExecuteGQL(startRealtimeMutation(asked), sent);
|
|
46
46
|
} catch (error) {
|
|
47
47
|
const rejected = rejectedExtension(error, asked);
|
|
48
48
|
if (!rejected) {
|