@recallai/desktop-sdk 2025.3.5-3b5eae45b4086af8f78f1056fd53e75252d92d2f → 2025.3.5-a64df2e2565c6b883460b03c73a06716c9eb778c
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.
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ declare module '@recallai/desktop-sdk' {
|
|
|
34
34
|
export function startRecording(config: StartRecordingConfig): void;
|
|
35
35
|
export function stopRecording(config: StopRecordingConfig): void;
|
|
36
36
|
export function uploadRecording(config: UploadRecordingConfig): void;
|
|
37
|
+
export function prepareDesktopAudioRecording(): string;
|
|
37
38
|
|
|
38
39
|
export interface RecallAiSdkConfig {
|
|
39
40
|
api_url: string;
|
package/index.js
CHANGED
|
@@ -49,6 +49,10 @@ function uploadRecording({ windowId }) {
|
|
|
49
49
|
addon.upload_recording(windowId);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
function prepareDesktopAudioRecording() {
|
|
53
|
+
return addon.prepare_desktop_audio_recording();
|
|
54
|
+
}
|
|
55
|
+
|
|
52
56
|
function addEventListener(type, callback) {
|
|
53
57
|
addon.callback((eventJson) => {
|
|
54
58
|
let obj = JSON.parse(eventJson);
|
|
@@ -62,5 +66,6 @@ module.exports = {
|
|
|
62
66
|
addEventListener,
|
|
63
67
|
startRecording,
|
|
64
68
|
stopRecording,
|
|
65
|
-
uploadRecording
|
|
69
|
+
uploadRecording,
|
|
70
|
+
prepareDesktopAudioRecording
|
|
66
71
|
};
|
package/package.json
CHANGED
|
Binary file
|