@recallai/desktop-sdk 2025.6.19-9e80a4f54b2e5f32e0b204e909f3c1a415df1848 → 2025.6.20-59d88ba5f85b56de9948bc0d0517d640f40ec32b

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
Binary file
package/index.js CHANGED
@@ -201,6 +201,10 @@ function doInit(options) {
201
201
  }
202
202
 
203
203
  function init(options) {
204
+ if (process.platform !== "darwin") {
205
+ throw new Error(`Platform ${process.platform} is not supported by Desktop SDK`);
206
+ }
207
+
204
208
  let { api_url, apiUrl, dev } = options;
205
209
 
206
210
  options.api_url = api_url ?? apiUrl ?? "https://api.recall.ai";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "2025.06.19-9e80a4f54b2e5f32e0b204e909f3c1a415df1848",
3
+ "version": "2025.06.20-59d88ba5f85b56de9948bc0d0517d640f40ec32b",
4
4
  "description": "Recall Desktop SDK (Alpha)",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/setup.js CHANGED
@@ -37,8 +37,7 @@ async function setup() {
37
37
  if (process.platform === "darwin") {
38
38
  await setupMacOS();
39
39
  } else {
40
- console.error("Unsupported platform.");
41
- process.exit(1);
40
+ console.warn("Unsupported platform, Desktop SDK will not be available.");
42
41
  }
43
42
  }
44
43