@d-id/client-sdk 1.1.11-staging.42 → 1.1.11-staging.44
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/{index-n99Xwccj.js → index-BHt2AhLb.js} +337 -331
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +5 -5
- package/dist/{livekit-manager-BNSy5Ehr.js → livekit-manager-DZ_BAT5P.js} +3 -2
- package/dist/src/services/streaming-manager/common.d.ts +4 -0
- package/dist/src/types/entities/agents/manager.d.ts +4 -0
- package/dist/src/types/stream/rtc.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as x, a as N, S as O, C as g, b as U, d as P, e as V, A as w, f as q, T as J } from "./index-
|
|
1
|
+
import { c as x, a as N, S as O, C as g, b as U, d as P, e as V, A as w, f as q, T as J } from "./index-BHt2AhLb.js";
|
|
2
2
|
function Q(u, T, h, i) {
|
|
3
3
|
const p = x(u, `${T}/v2/agents/${h}`, i);
|
|
4
4
|
return {
|
|
@@ -114,7 +114,8 @@ async function H(u, T, h) {
|
|
|
114
114
|
sessionId: A,
|
|
115
115
|
streamId: f,
|
|
116
116
|
streamType: L,
|
|
117
|
-
interruptAvailable: !0
|
|
117
|
+
interruptAvailable: !0,
|
|
118
|
+
triggersAvailable: !1
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
121
|
export {
|
|
@@ -36,4 +36,8 @@ export type StreamingManager<T extends CreateStreamOptions> = {
|
|
|
36
36
|
* Whether interrupt functionality is available for this stream
|
|
37
37
|
*/
|
|
38
38
|
interruptAvailable: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether triggers functionality is available for this stream
|
|
41
|
+
*/
|
|
42
|
+
triggersAvailable: boolean;
|
|
39
43
|
};
|
|
@@ -156,6 +156,10 @@ export interface AgentManager {
|
|
|
156
156
|
* Get if the stream supports interrupt
|
|
157
157
|
*/
|
|
158
158
|
getIsInterruptAvailable: () => boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Get if the stream supports triggers
|
|
161
|
+
*/
|
|
162
|
+
getIsTriggersAvailable: () => boolean;
|
|
159
163
|
/**
|
|
160
164
|
* Array of starter messages that will be sent to the agent when the chat starts
|
|
161
165
|
*/
|