jazz-napi 2.0.0-alpha.2 → 2.0.0-alpha.4

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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +7 -1
package/index.js CHANGED
@@ -67,7 +67,7 @@ switch (platform) {
67
67
  if (localFileExisted) {
68
68
  nativeBinding = require("./jazz-napi.win32-x64-msvc.node");
69
69
  } else {
70
- nativeBinding = require("jazz-napi-win32-x64-msvc");
70
+ nativeBinding = require("@garden-co/jazz-napi-win32-x64-msvc");
71
71
  }
72
72
  } catch (e) {
73
73
  loadError = e;
@@ -118,7 +118,7 @@ switch (platform) {
118
118
  if (localFileExisted) {
119
119
  nativeBinding = require("./jazz-napi.darwin-x64.node");
120
120
  } else {
121
- nativeBinding = require("jazz-napi-darwin-x64");
121
+ nativeBinding = require("@garden-co/jazz-napi-darwin-x64");
122
122
  }
123
123
  } catch (e) {
124
124
  loadError = e;
@@ -130,7 +130,7 @@ switch (platform) {
130
130
  if (localFileExisted) {
131
131
  nativeBinding = require("./jazz-napi.darwin-arm64.node");
132
132
  } else {
133
- nativeBinding = require("jazz-napi-darwin-arm64");
133
+ nativeBinding = require("@garden-co/jazz-napi-darwin-arm64");
134
134
  }
135
135
  } catch (e) {
136
136
  loadError = e;
@@ -175,7 +175,7 @@ switch (platform) {
175
175
  if (localFileExisted) {
176
176
  nativeBinding = require("./jazz-napi.linux-x64-gnu.node");
177
177
  } else {
178
- nativeBinding = require("jazz-napi-linux-x64-gnu");
178
+ nativeBinding = require("@garden-co/jazz-napi-linux-x64-gnu");
179
179
  }
180
180
  } catch (e) {
181
181
  loadError = e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jazz-napi",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.4",
4
4
  "description": "Native Node.js bindings for Jazz runtime",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -35,5 +35,11 @@
35
35
  "aarch64-apple-darwin"
36
36
  ]
37
37
  }
38
+ },
39
+ "optionalDependencies": {
40
+ "@garden-co/jazz-napi-darwin-arm64": "2.0.0-alpha.4",
41
+ "@garden-co/jazz-napi-darwin-x64": "2.0.0-alpha.4",
42
+ "@garden-co/jazz-napi-linux-x64-gnu": "2.0.0-alpha.4",
43
+ "@garden-co/jazz-napi-win32-x64-msvc": "2.0.0-alpha.4"
38
44
  }
39
45
  }