obi-sdk 0.19.83 → 0.19.84
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 +1 -0
- package/dist/index.js +1 -1
- package/dist/obi-sdk.standalone.iife.js +1 -1
- package/dist/src/sdk.d.ts +2 -0
- package/dist/src/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/src/sdk.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export declare class ObiSDK extends EventEmitter<ObiSDKEvents> {
|
|
|
32
32
|
widgetDisplay?: string;
|
|
33
33
|
completedWidgetDisplay?: string;
|
|
34
34
|
widgetPosition?: string;
|
|
35
|
+
autoOpenPlanUuid: string | null;
|
|
35
36
|
showSidePanel: boolean;
|
|
36
37
|
preferHostPip: boolean;
|
|
37
38
|
tutorBaseUrl: string;
|
|
@@ -68,6 +69,7 @@ export declare class ObiSDK extends EventEmitter<ObiSDKEvents> {
|
|
|
68
69
|
* but it is possible to update the configuration during a plan.
|
|
69
70
|
*/
|
|
70
71
|
updateConfig(config: Config): Promise<void>;
|
|
72
|
+
consumeAutoOpenPlanUuid(): string | null;
|
|
71
73
|
updateAppToken(appToken?: string): Promise<void>;
|
|
72
74
|
/**
|
|
73
75
|
* Update the SDK activity state. Activity controls whether the SDK is continuously
|
package/dist/src/types.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export type Config = {
|
|
|
16
16
|
widgetDisplay?: string;
|
|
17
17
|
completedWidgetDisplay?: string;
|
|
18
18
|
widgetPosition?: string;
|
|
19
|
+
/** Automatically open the start-session popup for this plan after the widget mounts. */
|
|
20
|
+
autoOpenPlanUuid?: string;
|
|
19
21
|
/** When true, never opens a Document PiP window; PiP stays in the shadow host. Use for testing or when DPiP is undesirable. */
|
|
20
22
|
preferHostPip?: boolean;
|
|
21
23
|
/** Base WebSocket URL for the tutor server (e.g. "wss://tutor.example.com"). When set, the side panel connects via convo WebSocket instead of obi-server SSE/LiveKit. */
|