@cleanfield/node 0.1.2 → 0.1.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/README.md CHANGED
@@ -17,4 +17,4 @@ const mask = denoiser.process(frame); // Float32Array(513) -> Float32Array(102
17
17
 
18
18
  Source and the C ABI: https://github.com/CleanfieldVoice/Cleanfield
19
19
 
20
- License: MIT.
20
+ License: MIT.
package/index.js CHANGED
@@ -52,9 +52,9 @@ function bindingCandidates() {
52
52
  if (process.env.CLEANFIELD_NODE_BINDING) {
53
53
  candidates.push(process.env.CLEANFIELD_NODE_BINDING);
54
54
  }
55
- candidates.push(path.join(__dirname, 'prebuilds', tag, 'cf-node.node'));
56
- if (process.platform === 'darwin') {
57
- candidates.push(path.join(__dirname, 'prebuilds', 'darwin-universal', 'cf-node.node'));
55
+ candidates.push(path.join(__dirname, 'prebuilds', tag, 'cf-node.node'));
56
+ if (process.platform === 'darwin') {
57
+ candidates.push(path.join(__dirname, 'prebuilds', 'darwin-universal', 'cf-node.node'));
58
58
  }
59
59
  candidates.push(path.join(__dirname, 'build', 'Release', 'cf-node.node'));
60
60
  candidates.push(path.join(root, 'target', triple, 'release', `cf_node${LIBRARY_SUFFIX}`));
@@ -178,4 +178,4 @@ function createVoice(options = {}) {
178
178
  }
179
179
 
180
180
  module.exports = { createVoice };
181
-
181
+
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@cleanfield/node",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "CleanField real-time speech enhancement engine for Node.js: prebuilt native addon, no node-gyp.",
5
5
  "license": "MIT",
6
6
  "author": "CleanField",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/CleanfieldVoice/Cleanfield.git",
10
+ "directory": "packages/node"
11
+ },
7
12
  "main": "index.js",
8
13
  "types": "index.d.ts",
9
14
  "engines": {
@@ -22,7 +27,6 @@
22
27
  "index.js",
23
28
  "index.d.ts",
24
29
  "scripts/",
25
- "prebuilds/",
26
30
  "models/voice-default.cfwm"
27
31
  ],
28
32
  "scripts": {
@@ -31,13 +35,11 @@
31
35
  "test": "node test/smoke.js"
32
36
  },
33
37
  "optionalDependencies": {
34
- "@cleanfield/node-win32-x64": "0.1.1",
35
- "@cleanfield/node-win32-arm64": "0.1.1",
36
- "@cleanfield/node-darwin-x64": "0.1.1",
37
- "@cleanfield/node-darwin-arm64": "0.1.1",
38
- "@cleanfield/node-darwin-universal": "0.1.1",
39
- "@cleanfield/node-linux-x64": "0.1.1",
40
- "@cleanfield/node-linux-arm64": "0.1.1"
38
+ "@cleanfield/node-win32-x64": "0.1.5",
39
+ "@cleanfield/node-win32-arm64": "0.1.5",
40
+ "@cleanfield/node-darwin-universal": "0.1.5",
41
+ "@cleanfield/node-linux-x64": "0.1.5",
42
+ "@cleanfield/node-linux-arm64": "0.1.5"
41
43
  },
42
44
  "cleanfield": {
43
45
  "releaseBaseUrl": "https://github.com/CleanfieldVoice/Cleanfield/releases/download",
@@ -51,6 +53,3 @@
51
53
  "native-addon"
52
54
  ]
53
55
  }
54
-
55
-
56
-
Binary file
Binary file
Binary file
Binary file