@d-id/client-sdk 2.0.6-staging.397 → 2.0.6-staging.398
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.
|
@@ -20002,7 +20002,7 @@ function $a(n) {
|
|
|
20002
20002
|
function ss(n) {
|
|
20003
20003
|
return n instanceof Ot ? n.toJson() : { kind: "UnknownError", message: Np(n) || "UnknownError" };
|
|
20004
20004
|
}
|
|
20005
|
-
const qp = "2.0.6-staging.
|
|
20005
|
+
const qp = "2.0.6-staging.398", Wp = "https://api-js.mixpanel.com/track/?verbose=1&ip=1", Hd = 50, Nt = [];
|
|
20006
20006
|
let rs = !1;
|
|
20007
20007
|
async function Jd(n) {
|
|
20008
20008
|
const e = await fetch(Wp, {
|
|
@@ -20797,7 +20797,7 @@ async function gg(n, e, t, i) {
|
|
|
20797
20797
|
const { version: r, ...o } = e;
|
|
20798
20798
|
switch (o.transport.provider) {
|
|
20799
20799
|
case js.Livekit:
|
|
20800
|
-
const { createLiveKitStreamingManager: a } = await import("./livekit-manager-
|
|
20800
|
+
const { createLiveKitStreamingManager: a } = await import("./livekit-manager-Ba2OjT2L.js");
|
|
20801
20801
|
return a(s, o, t);
|
|
20802
20802
|
default:
|
|
20803
20803
|
throw new Error(`Unsupported transport provider: ${o.transport.provider}`);
|
|
@@ -20808,11 +20808,12 @@ async function gg(n, e, t, i) {
|
|
|
20808
20808
|
}
|
|
20809
20809
|
}
|
|
20810
20810
|
const vg = "cht";
|
|
20811
|
-
function yg() {
|
|
20811
|
+
function yg(n) {
|
|
20812
20812
|
return {
|
|
20813
20813
|
transport: {
|
|
20814
20814
|
provider: js.Livekit
|
|
20815
|
-
}
|
|
20815
|
+
},
|
|
20816
|
+
...(n == null ? void 0 : n.persistentChat) !== void 0 && { chat_persist: n.persistentChat }
|
|
20816
20817
|
};
|
|
20817
20818
|
}
|
|
20818
20819
|
function bg(n) {
|
|
@@ -20829,7 +20830,7 @@ function bg(n) {
|
|
|
20829
20830
|
}, ...t && { end_user_data: t } };
|
|
20830
20831
|
}
|
|
20831
20832
|
function kg(n, e) {
|
|
20832
|
-
return Vs(n.avatar.type) ? { version: Bs.V2, ...yg() } : { version: Bs.V1, ...bg(e) };
|
|
20833
|
+
return Vs(n.avatar.type) ? { version: Bs.V2, ...yg(e) } : { version: Bs.V1, ...bg(e) };
|
|
20833
20834
|
}
|
|
20834
20835
|
function Tg(n, e, t) {
|
|
20835
20836
|
t.track("agent-connection-state-change", { state: n, ...e && { reason: e } });
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as r, k as t, m as o, o as i, C as n, f as S, g as p, p as c, H as d, K as g, N as E, P as C, q as T, R as m, r as y, e as l, S as v, b as A, j as D, s as P, T as V, V as h, u as w, v as u, W as M, w as b, x as K, y as N, z as R, E as f } from "./index-
|
|
1
|
+
import { A as s, B as r, k as t, m as o, o as i, C as n, f as S, g as p, p as c, H as d, K as g, N as E, P as C, q as T, R as m, r as y, e as l, S as v, b as A, j as D, s as P, T as V, V as h, u as w, v as u, W as M, w as b, x as K, y as N, z as R, E as f } from "./index-n4K8bqdN.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AgentActivityState,
|
|
4
4
|
r as BaseError,
|