@veltdev/sdk 4.0.0-beta.24 → 4.0.0-beta.25

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.
@@ -283,10 +283,10 @@ export declare class Snippyly {
283
283
  /**
284
284
  * To set the ui state.
285
285
  */
286
- setUiState: (uiState: { [key: string]: any }) => void;
286
+ setUiState: <T extends object>(uiState: T) => void;
287
287
 
288
288
  /**
289
289
  * To get the ui state.
290
290
  */
291
- getUiState: () => Observable<{ [key: string]: any }>;
291
+ getUiState: <T extends object>() => Observable<T>;
292
292
  }
@@ -1,15 +1,7 @@
1
1
  import { RecorderEventTypes } from "../../utils/enums";
2
+ import { RecorderData } from "./recorder-annotation.data.model";
2
3
  export interface TranscriptionDoneEvent {
3
- transcription: string;
4
- id?: string;
5
- tag?: string;
6
- type?: string;
7
- thumbnailUrl?: string;
8
- thumbnailWithPlayIconUrl?: string;
9
- videoUrl?: string;
10
- audioUrl?: string;
11
- videoPlayerUrl?: string;
12
- getThumbnailTag?: (url?: string) => string;
4
+ data: Record<string, RecorderData> | null;
13
5
  }
14
6
  export type RecorderEventTypesMap = {
15
7
  [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.0.0-beta.24",
3
+ "version": "4.0.0-beta.25",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [