@snapcall/stream-ui 1.29.0 → 1.30.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/stream-ui.esm.js +99 -51
- package/dist/stream-ui.js +99 -51
- package/dist/types.d.ts +5 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -16,9 +16,11 @@ interface Step {
|
|
|
16
16
|
token: string;
|
|
17
17
|
title: string;
|
|
18
18
|
config?: {
|
|
19
|
+
geolocation?: boolean;
|
|
19
20
|
description: string;
|
|
20
21
|
image_url: string;
|
|
21
22
|
source?: string;
|
|
23
|
+
button_text?: string;
|
|
22
24
|
};
|
|
23
25
|
translation: {
|
|
24
26
|
title?: string;
|
|
@@ -541,13 +543,14 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
541
543
|
url: string;
|
|
542
544
|
filename: string;
|
|
543
545
|
}>;
|
|
544
|
-
uploadAsset(file: any): Promise<{
|
|
546
|
+
uploadAsset(file: any, type: 'image' | 'video' | 'audio'): Promise<{
|
|
545
547
|
url?: string;
|
|
546
548
|
filename: string;
|
|
547
549
|
}>;
|
|
548
550
|
createEvents(assets: Array<{
|
|
549
551
|
filename: string;
|
|
550
552
|
type: MediaType;
|
|
553
|
+
geolocation?: GeolocationPosition;
|
|
551
554
|
}>): Promise<{
|
|
552
555
|
success: boolean;
|
|
553
556
|
filename: string;
|
|
@@ -674,6 +677,7 @@ interface StreamUIBaseOptions {
|
|
|
674
677
|
headless?: boolean;
|
|
675
678
|
greeting?: boolean;
|
|
676
679
|
recorder?: {
|
|
680
|
+
geolocation?: boolean;
|
|
677
681
|
enabledModes: Array<'video' | 'screen' | 'photo' | 'audio'>;
|
|
678
682
|
enabled: boolean;
|
|
679
683
|
defaultMode?: 'photo' | 'video' | 'audio' | 'screen';
|