@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.
@@ -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-n99Xwccj.js";
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
  */
@@ -35,6 +35,7 @@ export interface ICreateStreamRequestResponse extends StickyRequest {
35
35
  ice_servers: IceServer[];
36
36
  fluent?: boolean;
37
37
  interrupt_enabled?: boolean;
38
+ triggers_enabled?: boolean;
38
39
  }
39
40
  export interface IceCandidate {
40
41
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d-id/client-sdk",
3
3
  "private": false,
4
- "version": "1.1.11-staging.42",
4
+ "version": "1.1.11-staging.44",
5
5
  "type": "module",
6
6
  "description": "d-id client sdk",
7
7
  "repository": {