@touchcastllc/napster-companion-api-dev 1.0.0-alpha.81 → 1.0.0-alpha.82
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/lib/components/Avatar/index.d.ts +0 -6
- package/lib/components/Embed/index.d.ts +0 -2
- package/lib/constants/iceServers.d.ts +12 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.standalone.js +1 -1
- package/lib/types/index.d.ts +1 -18
- package/package.json +1 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -337,25 +337,8 @@ export interface NapsterCompanionApiConfig {
|
|
|
337
337
|
functions?: CompanionFunction[];
|
|
338
338
|
/** Enable debug logging throughout the SDK. When enabled, detailed logs will be output to the console. */
|
|
339
339
|
debug?: boolean;
|
|
340
|
-
/**
|
|
341
|
-
* ICE servers (STUN/TURN) for the underlying WebRTC connection. When set,
|
|
342
|
-
* these override the SDK's built-in defaults. Provide deployment-specific or,
|
|
343
|
-
* preferably, short-lived TURN credentials here instead of relying on static
|
|
344
|
-
* ones shipped in client code. The connection token, when it carries its own
|
|
345
|
-
* ICE servers, takes precedence over this value.
|
|
346
|
-
*/
|
|
340
|
+
/** @internal */
|
|
347
341
|
iceServers?: RTCIceServer[];
|
|
348
|
-
/**
|
|
349
|
-
* `targetOrigin` used when the SDK relays data-channel messages to
|
|
350
|
-
* `window.parent` (the `"avatar-data-channel-message"` event).
|
|
351
|
-
*
|
|
352
|
-
* Defaults to the current origin, so private session data (chat transcripts,
|
|
353
|
-
* avatar state) is only ever delivered to a same-origin parent. When the SDK
|
|
354
|
-
* is embedded cross-origin, set this to the trusted embedder's origin (e.g.
|
|
355
|
-
* `"https://app.example.com"`). Setting it to `"*"` broadcasts to any parent
|
|
356
|
-
* origin and is insecure — use only if you understand the exposure.
|
|
357
|
-
*/
|
|
358
|
-
parentOrigin?: string;
|
|
359
342
|
/**
|
|
360
343
|
* Read WebMCP tools from a same-origin child iframe's `document.modelContext` instead of
|
|
361
344
|
* this window's. Set by the persistent-agent shell (`mountShell` with `persist`) so the
|