@d-id/client-sdk 2.0.9-staging.409 → 2.0.10-staging.411
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/README.md
CHANGED
|
@@ -19,7 +19,7 @@ The SDK supports three avatar types:
|
|
|
19
19
|
- **Clips (V3)** — Pre-built presenter avatars using WebRTC streaming.
|
|
20
20
|
- **Expressives (V4)** — Next-generation avatars using LiveKit-based streaming, supporting microphone input and always-on fluent mode.
|
|
21
21
|
|
|
22
|
-
**Please note:** This SDK is designed for front-end development only. The creation of Agents and Knowledge bases should be handled through the [Agents API](https://docs.d-id.com/
|
|
22
|
+
**Please note:** This SDK is designed for front-end development only. The creation of Agents and Knowledge bases should be handled through the [Agents API](https://docs.d-id.com/docs/agent-quickstart) or directly within the [D-ID Studio](https://studio.d-id.com/agents).
|
|
23
23
|
|
|
24
24
|
## ✴️ Getting Started
|
|
25
25
|
|
|
@@ -93,7 +93,7 @@ let agentManager = await sdk.createAgentManager(agentId, { auth, callbacks, stre
|
|
|
93
93
|
The `agentManager` object created during initialization has several built-in parameters that might come in handy.
|
|
94
94
|
|
|
95
95
|
- **`agentManager.agent`**
|
|
96
|
-
Displaying all of the Agent's saved information (Same as the following [endpoint](/reference/
|
|
96
|
+
Displaying all of the Agent's saved information (Same as the following [endpoint](https://docs.d-id.com/reference/agent-get))
|
|
97
97
|
- **`agentManager.starterMessages`**
|
|
98
98
|
Displaying the Agent's defined Starter Messages.
|
|
99
99
|
|
|
@@ -21764,7 +21764,7 @@ function Oo(n) {
|
|
|
21764
21764
|
function As(n) {
|
|
21765
21765
|
return n instanceof jt ? n.toJson() : { kind: "UnknownError", message: Ng(n) || "UnknownError" };
|
|
21766
21766
|
}
|
|
21767
|
-
const Vg = "2.0.
|
|
21767
|
+
const Vg = "2.0.10-staging.411", Wg = "https://api-js.mixpanel.com/track/?verbose=1&ip=1", Ol = 50, Yt = [];
|
|
21768
21768
|
let xs = !1;
|
|
21769
21769
|
async function Al(n) {
|
|
21770
21770
|
const e = await fetch(Wg, {
|
|
@@ -22573,7 +22573,7 @@ async function bv(n, e, t, i) {
|
|
|
22573
22573
|
const { version: r, ...o } = e;
|
|
22574
22574
|
switch (o.transport.provider) {
|
|
22575
22575
|
case vr.Livekit:
|
|
22576
|
-
const { createLiveKitStreamingManager: a } = await import("./livekit-manager-
|
|
22576
|
+
const { createLiveKitStreamingManager: a } = await import("./livekit-manager-CgErNpNN.js");
|
|
22577
22577
|
return a(s, o, t);
|
|
22578
22578
|
default:
|
|
22579
22579
|
throw new Error(`Unsupported transport provider: ${o.transport.provider}`);
|
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 d, p, H as c, K as E, N as g, P as m, q as C, R as T, r as y, s as l, e as v, S as A, b as D, j as P, u as V, T as h, V as w, v as u, w as M, W as R, x as b, y as K, z as N, E as f, F as j } 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 d, p, H as c, K as E, N as g, P as m, q as C, R as T, r as y, s as l, e as v, S as A, b as D, j as P, u as V, T as h, V as w, v as u, w as M, W as R, x as b, y as K, z as N, E as f, F as j } from "./index-BgmEitAw.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AgentActivityState,
|
|
4
4
|
r as BaseError,
|