@cleanfield/node 0.1.1 → 0.1.2

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
@@ -52,7 +52,10 @@ 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'));
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
+ }
56
59
  candidates.push(path.join(__dirname, 'build', 'Release', 'cf-node.node'));
57
60
  candidates.push(path.join(root, 'target', triple, 'release', `cf_node${LIBRARY_SUFFIX}`));
58
61
  candidates.push(path.join(root, 'target', 'release', `cf_node${LIBRARY_SUFFIX}`));
@@ -175,3 +178,4 @@ function createVoice(options = {}) {
175
178
  }
176
179
 
177
180
  module.exports = { createVoice };
181
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleanfield/node",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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",
@@ -53,3 +53,4 @@
53
53
  }
54
54
 
55
55
 
56
+
Binary file