@veltdev/sdk 4.4.0-beta.10 → 4.4.0-beta.11
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.
|
@@ -11,18 +11,18 @@ export declare class LiveStateSyncElement {
|
|
|
11
11
|
/**
|
|
12
12
|
* Gets live state data based on the provided ID.
|
|
13
13
|
*/
|
|
14
|
-
getLiveStateData: (liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig) => Observable<
|
|
14
|
+
getLiveStateData: <T = unknown>(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig) => Observable<T>;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Gets live state data as an observable based on the provided ID.
|
|
18
18
|
* @deprecated Use `getLiveStateData` instead
|
|
19
19
|
*/
|
|
20
|
-
getLiveStateData$: (liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig) => Observable<
|
|
20
|
+
getLiveStateData$: <T = unknown>(liveStateDataId?: string, liveStateDataConfig?: LiveStateDataConfig) => Observable<T>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Sets live state data for the provided ID and data.
|
|
24
24
|
*/
|
|
25
|
-
setLiveStateData: (liveStateDataId: string, liveStateData:
|
|
25
|
+
setLiveStateData: <T = unknown>(liveStateDataId: string, liveStateData: T, config?: SetLiveStateDataConfig) => Promise<void>;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Enables the single editor mode.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk",
|
|
3
|
-
"version": "4.4.0-beta.
|
|
3
|
+
"version": "4.4.0-beta.11",
|
|
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": [
|