simen-keyboard-listener 1.0.3 → 1.0.5

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/dist/index.js CHANGED
@@ -56,11 +56,9 @@ function getNativeAddonPath() {
56
56
  const platformArch = `${process.platform}-${process.arch}`;
57
57
  const baseDir = modulePaths.dirname;
58
58
  const possiblePaths = [
59
- // Prebuilt binaries (preferred) - prebuildify generates with package name
59
+ // Prebuilt binaries (preferred)
60
60
  path.join(baseDir, "..", "prebuilds", platformArch, "simen-keyboard-listener-native.node"),
61
61
  path.join(baseDir, "..", "prebuilds", platformArch, "simen_keyboard_listener.node"),
62
- // Prebuilds in src/native (from prebuildify --cwd src/native)
63
- path.join(baseDir, "..", "src", "native", "prebuilds", platformArch, "simen-keyboard-listener-native.node"),
64
62
  // Build output from node-gyp
65
63
  path.join(baseDir, "native", "build", "Release", "simen_keyboard_listener.node"),
66
64
  path.join(baseDir, "native", "build", "Debug", "simen_keyboard_listener.node"),
package/dist/index.mjs CHANGED
@@ -27,11 +27,9 @@ function getNativeAddonPath() {
27
27
  const platformArch = `${process.platform}-${process.arch}`;
28
28
  const baseDir = modulePaths.dirname;
29
29
  const possiblePaths = [
30
- // Prebuilt binaries (preferred) - prebuildify generates with package name
30
+ // Prebuilt binaries (preferred)
31
31
  path.join(baseDir, "..", "prebuilds", platformArch, "simen-keyboard-listener-native.node"),
32
32
  path.join(baseDir, "..", "prebuilds", platformArch, "simen_keyboard_listener.node"),
33
- // Prebuilds in src/native (from prebuildify --cwd src/native)
34
- path.join(baseDir, "..", "src", "native", "prebuilds", platformArch, "simen-keyboard-listener-native.node"),
35
33
  // Build output from node-gyp
36
34
  path.join(baseDir, "native", "build", "Release", "simen_keyboard_listener.node"),
37
35
  path.join(baseDir, "native", "build", "Debug", "simen_keyboard_listener.node"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simen-keyboard-listener",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Native global keyboard listener for macOS and Windows",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -15,7 +15,6 @@
15
15
  "files": [
16
16
  "dist",
17
17
  "prebuilds",
18
- "src/native/prebuilds",
19
18
  "src/native/binding.gyp",
20
19
  "src/native/package.json",
21
20
  "src/native/simen_keyboard_listener.cc"