@viji-dev/core 0.3.27 → 0.3.28
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/assets/{viji.worker-jTmB7qoQ.js → viji.worker-CdHkRwxI.js} +431 -4
- package/dist/assets/viji.worker-CdHkRwxI.js.map +1 -0
- package/dist/docs-api.js +2 -2
- package/dist/{essentia-wasm.web-DtvIO6D8.js → essentia-wasm.web-CJ3YX7ue.js} +2 -2
- package/dist/{essentia-wasm.web-DtvIO6D8.js.map → essentia-wasm.web-CJ3YX7ue.js.map} +1 -1
- package/dist/{index-9YDi9UBP.js → index-i7P2rHW8.js} +43 -9
- package/dist/index-i7P2rHW8.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/assets/viji.worker-jTmB7qoQ.js.map +0 -1
- package/dist/index-9YDi9UBP.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1369,6 +1369,15 @@ export declare class VijiCore {
|
|
|
1369
1369
|
* Get current debug mode status
|
|
1370
1370
|
*/
|
|
1371
1371
|
getDebugMode(): boolean;
|
|
1372
|
+
/**
|
|
1373
|
+
* Update the session capability token at runtime.
|
|
1374
|
+
* Forwards the signed JWT to the worker for verification.
|
|
1375
|
+
*/
|
|
1376
|
+
updateSessionConfig(token: string): void;
|
|
1377
|
+
/**
|
|
1378
|
+
* Set a cosmetic render hint for the branding overlay (logo variant / position).
|
|
1379
|
+
*/
|
|
1380
|
+
setRenderHint(hint: number): void;
|
|
1372
1381
|
/**
|
|
1373
1382
|
* Show the core's iframe (make it visible in the host container).
|
|
1374
1383
|
* No-op for headless cores.
|
|
@@ -1918,6 +1927,8 @@ export declare interface VijiCoreConfig {
|
|
|
1918
1927
|
allowDeviceInteraction?: boolean;
|
|
1919
1928
|
/** Start with iframe hidden (default: true). Use show()/hide() to toggle visibility. */
|
|
1920
1929
|
visible?: boolean;
|
|
1930
|
+
/** Session capability token (signed JWT). Controls branding and feature access. */
|
|
1931
|
+
_sc?: string;
|
|
1921
1932
|
}
|
|
1922
1933
|
|
|
1923
1934
|
export declare class VijiCoreError extends Error {
|
package/dist/index.js
CHANGED