@uptiqai/widgets-sdk 1.331.0 → 1.333.0
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/index.css +1 -1
- package/dist/index.d.ts +2 -7
- package/dist/index.js +41299 -39931
- package/dist/index.umd.cjs +283 -280
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -648,18 +648,13 @@ declare type WidgetConfig = {
|
|
|
648
648
|
serverUrl: string;
|
|
649
649
|
agentId: string;
|
|
650
650
|
widgetKey: string;
|
|
651
|
+
accessToken?: string;
|
|
652
|
+
refreshToken?: string;
|
|
651
653
|
appWidgetKey?: string;
|
|
652
654
|
agentExecutorVersion?: string;
|
|
653
655
|
appId?: string;
|
|
654
656
|
accountId?: string;
|
|
655
657
|
variables?: Record<string, string>;
|
|
656
|
-
/**
|
|
657
|
-
* Authenticates the session as the signed-in user rather than as the widget key's owner, so what
|
|
658
|
-
* it reads and writes belongs to that user's workspace. A getter rather than a string: it is read
|
|
659
|
-
* per request and per socket connect, so a token the host refreshes is picked up mid-session.
|
|
660
|
-
* Only hosts running inside an authenticated app can supply this.
|
|
661
|
-
*/
|
|
662
|
-
getAccessToken?: () => string | Promise<string>;
|
|
663
658
|
enableDeprecatedModelMigration?: boolean;
|
|
664
659
|
};
|
|
665
660
|
|