sparkbun 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sparkbun",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Build fast, lightweight, cross-platform desktop apps with TypeScript and Bun.",
5
5
  "license": "MIT",
6
6
  "author": "SparkBun Contributors",
@@ -619,8 +619,8 @@ const core = (() => {
619
619
  returns: FFIType.void,
620
620
  },
621
621
  });
622
- } catch {
623
- return null;
622
+ } catch (err) {
623
+ throw new Error(`Failed to load ElectrobunCore: ${err}`);
624
624
  }
625
625
  })();
626
626