@vocalstack/player 0.1.0-alpha.5 → 0.1.0-alpha.7
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/data/connect.d.ts +5 -3
- package/dist/index.js +2208 -2177
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui/SourceGate.d.ts +6 -2
- package/package.json +1 -1
package/dist/data/connect.d.ts
CHANGED
|
@@ -5,11 +5,13 @@ export interface Started {
|
|
|
5
5
|
token: string;
|
|
6
6
|
expiresAt: string | null;
|
|
7
7
|
}
|
|
8
|
-
export type PopupStatus = 'signing-in' | 'consent' | 'checking' | 'starting';
|
|
8
|
+
export type PopupStatus = 'signing-in' | 'consent' | 'looking' | 'confirm' | 'checking' | 'starting';
|
|
9
9
|
export declare function openPopup(appUrl: string | undefined, ask: {
|
|
10
10
|
url?: string;
|
|
11
11
|
transcription?: string;
|
|
12
12
|
ask?: boolean;
|
|
13
|
-
|
|
13
|
+
connect?: boolean;
|
|
14
|
+
}, onStatus?: (s: PopupStatus) => void): Promise<Started | 'connected' | null>;
|
|
14
15
|
export declare function startFromEmbed(appUrl: string | undefined, url: string, onStatus?: (s: PopupStatus) => void): Promise<Started | null>;
|
|
15
|
-
export declare function
|
|
16
|
+
export declare function wasConnected(appUrl: string | undefined): boolean;
|
|
17
|
+
export declare function rememberConnected(appUrl: string | undefined): void;
|