@doki-land/nifty-linux-x64 0.0.12 → 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/index.js CHANGED
@@ -5,8 +5,8 @@ import { fileURLToPath } from "node:url";
5
5
 
6
6
  const require = createRequire(import.meta.url);
7
7
  const libDir = join(dirname(fileURLToPath(import.meta.url)), "lib");
8
- const nodeName = readdirSync(libDir).find((name) => name.endsWith(".node"));
9
- if (!nodeName) {
8
+ const nodeName = readdirSync(libDir).find((name) =>name.endsWith(".node"));
9
+ if(!nodeName){
10
10
  throw new Error(`Missing .node binary in ${libDir}. Run npm run build:napi from the repo root.`);
11
11
  }
12
12
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doki-land/nifty-linux-x64",
3
- "version": "0.0.12",
3
+ "version": "0.1.1",
4
4
  "description": "Nifty Node-API binary for Linux x64 (glibc)",
5
5
  "type": "module",
6
6
  "license": "MPL-2.0",