ipmb-js 0.7.13 → 0.8.0-20240814
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/aarch64-apple-darwin/release/ipmb_js.node +0 -0
- package/i686-pc-windows-msvc/release/ipmb_js.node +0 -0
- package/index.js +11 -0
- package/package.json +3 -2
- package/x86_64-apple-darwin/release/ipmb_js.node +0 -0
- package/x86_64-pc-windows-msvc/release/ipmb_js.node +0 -0
- package/x86_64-unknown-linux-gnu/release/ipmb_js.node +0 -0
|
Binary file
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -31,6 +31,17 @@ switch (platform) {
|
|
|
31
31
|
}
|
|
32
32
|
break;
|
|
33
33
|
|
|
34
|
+
case 'linux':
|
|
35
|
+
switch (arch) {
|
|
36
|
+
case 'x64':
|
|
37
|
+
module.exports = require('./x86_64-unknown-linux-gnu/release/ipmb_js.node');
|
|
38
|
+
break;
|
|
39
|
+
|
|
40
|
+
default:
|
|
41
|
+
throw new Error(`Unsupported platform: ${platform} ${arch}`);
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
|
|
34
45
|
default:
|
|
35
46
|
throw new Error(`Unsupported platform: ${platform}-${arch}`);
|
|
36
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ipmb-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-20240814",
|
|
4
4
|
"description": "ipmb-js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ipmb",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"aarch64-apple-darwin/release/ipmb_js.node",
|
|
22
22
|
"x86_64-apple-darwin/release/ipmb_js.node",
|
|
23
23
|
"x86_64-pc-windows-msvc/release/ipmb_js.node",
|
|
24
|
-
"i686-pc-windows-msvc/release/ipmb_js.node"
|
|
24
|
+
"i686-pc-windows-msvc/release/ipmb_js.node",
|
|
25
|
+
"x86_64-unknown-linux-gnu/release/ipmb_js.node"
|
|
25
26
|
],
|
|
26
27
|
"napi": {
|
|
27
28
|
"name": "ipmb_js"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|