@lostgradient/weft 0.23.0 → 0.23.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Weft
2
2
 
3
- A Bun-native durable execution engine. Current release: `0.23.0`.
3
+ A Bun-native durable execution engine. Current release: `0.23.1`.
4
4
 
5
5
  Install the library from npm as `@lostgradient/weft`:
6
6
 
@@ -11,8 +11,8 @@ export function isBetterSqlite3LoadFailure(error) {
11
11
  return error.message.includes("'better-sqlite3'") || error.message.includes('"better-sqlite3"') || error.message.includes("'bindings'") || error.message.includes('"bindings"');
12
12
  if (errorCode === "ERR_DLOPEN_FAILED")
13
13
  return error.message.includes("better-sqlite3");
14
- if (error.message.includes("Could not locate the bindings file"))
15
- return error.message.includes("better_sqlite3.node");
14
+ if (errorCode === void 0)
15
+ return error.message.startsWith("Could not locate the bindings file.") && error.message.includes("better_sqlite3.node");
16
16
  return !1;
17
17
  }
18
18
  function resolveBetterSqlite3Module() {
@@ -262,8 +262,8 @@ function isBetterSqlite3LoadFailure(error) {
262
262
  if (errorCode === "ERR_DLOPEN_FAILED") {
263
263
  return error.message.includes("better-sqlite3");
264
264
  }
265
- if (error.message.includes("Could not locate the bindings file")) {
266
- return error.message.includes("better_sqlite3.node");
265
+ if (errorCode === undefined) {
266
+ return error.message.startsWith("Could not locate the bindings file.") && error.message.includes("better_sqlite3.node");
267
267
  }
268
268
  return false;
269
269
  }
package/dist/version.d.ts CHANGED
@@ -9,4 +9,4 @@
9
9
  * console.log(`Running Weft ${VERSION}`);
10
10
  * ```
11
11
  */
12
- export declare const VERSION = "0.23.0";
12
+ export declare const VERSION = "0.23.1";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.23.0";
1
+ export const VERSION = "0.23.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lostgradient/weft",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "A Bun-native durable execution engine with pluggable key-value storage.",
5
5
  "keywords": [
6
6
  "bun",