@d-id/client-sdk 3.0.5 → 3.0.6-staging.442

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.d.ts CHANGED
@@ -193,6 +193,18 @@ export declare interface AgentAvatar {
193
193
  */
194
194
  language?: string;
195
195
  };
196
+ /**
197
+ * The avatar's background. The Agents API sets it only when the agent has no background.
198
+ *
199
+ * @hidden
200
+ */
201
+ background?: {
202
+ /**
203
+ * The agent is set to have no background. The avatar is still rendered on a green screen, which
204
+ * D-ID's agents widget removes in the browser to show it without a frame; the SDK does not read it.
205
+ */
206
+ transparent: boolean;
207
+ };
196
208
  }
197
209
 
198
210
  /**
@@ -243,7 +255,8 @@ export declare interface AgentManager {
243
255
  *
244
256
  * @returns {@link StreamType.Fluent} for a fluent stream (one video for the idle and talking
245
257
  * states), {@link StreamType.Legacy} for the two-element legacy mode, or `undefined` before
246
- * {@link AgentManager.connect | connect()} has established a session.
258
+ * {@link AgentManager.connect | connect()} has established a session, except for an Expressive (V4)
259
+ * agent, whose stream is always fluent.
247
260
  * @example
248
261
  * ```ts
249
262
  * import { StreamType } from '@d-id/client-sdk';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, k as e, B as t, m as o, o as n, p as i, f as E, g as c, D as d, H as g, N as C, P as S, q as l, e as p, b as A, j as m, T as v, V as T, r as D, W as h, s as w, u as y, v as M, w as P } from "./index-BN5ei0uw.js";
1
+ import { A as s, k as e, B as t, m as o, o as n, p as i, f as E, g as c, D as d, H as g, N as C, P as S, q as l, e as p, b as A, j as m, T as v, V as T, r as D, W as h, s as w, u as y, v as M, w as P } from "./index-B6ILepDc.js";
2
2
  export {
3
3
  s as AgentActivityState,
4
4
  e as AvatarType,