@recallai/desktop-sdk 2025.5.9-5806b45e1607ce44bab81d8c61b977f9e0ef8e15 → 2025.5.13-473e466cca967b64fafe57c370702d3c413b76c8
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/desktop_sdk_macos_exe +0 -0
- package/desktop_sdk_macos_frameworks.tar +0 -0
- package/index.d.ts +10 -1
- package/index.js +5 -3
- package/package.json +1 -1
package/desktop_sdk_macos_exe
CHANGED
|
Binary file
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ declare module '@recallai/desktop-sdk' {
|
|
|
9
9
|
| SdkStateChangeEvent
|
|
10
10
|
| ErrorEvent
|
|
11
11
|
| MediaCaptureStatusEvent
|
|
12
|
+
| ParticipantCaptureStatusEvent
|
|
12
13
|
| PermissionsGrantedEvent
|
|
13
14
|
| RealtimeEvent
|
|
14
15
|
| ShutdownEvent;
|
|
@@ -23,6 +24,7 @@ declare module '@recallai/desktop-sdk' {
|
|
|
23
24
|
'sdk-state-change': SdkStateChangeEvent;
|
|
24
25
|
'error': ErrorEvent;
|
|
25
26
|
'media-capture-status': MediaCaptureStatusEvent;
|
|
27
|
+
'participant-capture-status': ParticipantCaptureStatusEvent;
|
|
26
28
|
'permissions-granted': PermissionsGrantedEvent;
|
|
27
29
|
'permission-status': PermissionStatusEvent;
|
|
28
30
|
'realtime-event': RealtimeEvent;
|
|
@@ -59,7 +61,8 @@ declare module '@recallai/desktop-sdk' {
|
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
export interface RecallAiSdkConfig {
|
|
62
|
-
api_url
|
|
64
|
+
api_url?: string;
|
|
65
|
+
apiUrl?: string;
|
|
63
66
|
acquirePermissionsOnStartup?: Permission[];
|
|
64
67
|
restartOnError?: boolean;
|
|
65
68
|
}
|
|
@@ -126,6 +129,12 @@ declare module '@recallai/desktop-sdk' {
|
|
|
126
129
|
capturing: boolean;
|
|
127
130
|
}
|
|
128
131
|
|
|
132
|
+
export interface ParticipantCaptureStatusEvent {
|
|
133
|
+
window: RecallAiSdkWindow;
|
|
134
|
+
type: 'video' | 'audio' | 'screenshare';
|
|
135
|
+
capturing: boolean;
|
|
136
|
+
}
|
|
137
|
+
|
|
129
138
|
export interface PermissionsGrantedEvent {}
|
|
130
139
|
|
|
131
140
|
export interface PermissionStatusEvent {
|
package/index.js
CHANGED
|
@@ -221,10 +221,12 @@ function doInit(options) {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
function init(options) {
|
|
224
|
-
let { api_url, dev } = options;
|
|
224
|
+
let { api_url, apiUrl, dev } = options;
|
|
225
225
|
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
options.api_url = api_url ?? apiUrl ?? "https://api.recall.ai";
|
|
227
|
+
|
|
228
|
+
if (!dev && (!options.api_url || !options.api_url.startsWith("https"))) {
|
|
229
|
+
throw new Error(`apiUrl must be an https url, got: ${options.api_url}`);
|
|
228
230
|
}
|
|
229
231
|
|
|
230
232
|
if (options.restartOnError === undefined)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recallai/desktop-sdk",
|
|
3
|
-
"version": "2025.05.
|
|
3
|
+
"version": "2025.05.13-473e466cca967b64fafe57c370702d3c413b76c8",
|
|
4
4
|
"description": "Recall Desktop SDK (Alpha)",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|