@veltdev/sdk 4.5.0-beta.2 → 4.5.0-beta.3

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.
@@ -230,4 +230,6 @@ export interface GetRecordingDataResponse {
230
230
  }
231
231
  export interface GetRecordingsResponse extends RecorderData {
232
232
  }
233
+ export interface DeleteRecordingsResponse extends RecorderData {
234
+ }
233
235
  export {};
@@ -93,3 +93,17 @@ export declare class RecordedData {
93
93
  };
94
94
  getThumbnailTag: (url?: string) => string;
95
95
  }
96
+ export declare class RecorderQualityConstraints {
97
+ safari?: {
98
+ video?: MediaTrackConstraints;
99
+ audio?: MediaTrackConstraints;
100
+ };
101
+ other?: {
102
+ video?: MediaTrackConstraints;
103
+ audio?: MediaTrackConstraints;
104
+ };
105
+ }
106
+ export declare class RecorderEncodingOptions {
107
+ safari?: MediaRecorderOptions;
108
+ other?: MediaRecorderOptions;
109
+ }
@@ -1,8 +1,8 @@
1
1
  // @ts-nocheck
2
2
  import { Observable } from "rxjs";
3
- import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse } from "../data/recorder-annotation.data.model";
3
+ import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse, DeleteRecordingsResponse } from "../data/recorder-annotation.data.model";
4
4
  import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
5
- import { RecordedData } from "../data/recorder.model";
5
+ import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions } from "../data/recorder.model";
6
6
 
7
7
  export declare class RecorderElement {
8
8
 
@@ -69,6 +69,21 @@ export declare class RecorderElement {
69
69
  */
70
70
  fetchRecordings: (query?: RecorderRequestQuery) => Promise<GetRecordingsResponse[]>;
71
71
 
72
+ /**
73
+ * To delete recordings
74
+ */
75
+ deleteRecordings: (query?: RecorderRequestQuery) => Promise<DeleteRecordingsResponse[]>;
76
+
77
+ /**
78
+ * To set recording quality constraints
79
+ */
80
+ setRecordingQualityConstraints: (constraints: RecorderQualityConstraints) => void;
81
+
82
+ /**
83
+ * To set recording encoding options
84
+ */
85
+ setRecordingEncodingOptions: (options: RecorderEncodingOptions) => void;
86
+
72
87
  constructor();
73
88
 
74
89
  private _initRecording;
@@ -133,4 +148,19 @@ export declare class RecorderElement {
133
148
  * To fetch recordings
134
149
  */
135
150
  private _fetchRecordings;
151
+
152
+ /**
153
+ * To delete recordings
154
+ */
155
+ private _deleteRecordings;
156
+
157
+ /**
158
+ * To set recording quality constraints
159
+ */
160
+ private _setRecordingQualityConstraints;
161
+
162
+ /**
163
+ * To set recording encoding options
164
+ */
165
+ private _setRecordingEncodingOptions;
136
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk",
3
- "version": "4.5.0-beta.2",
3
+ "version": "4.5.0-beta.3",
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": [