@jitl/opentui-core-linux-x64 0.1.97 → 0.2.15

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.bun.js ADDED
@@ -0,0 +1,3 @@
1
+ const module = await import("./libopentui.so", { with: { type: "file" } })
2
+
3
+ export default module.default
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  declare const path: string
2
- export default path;
2
+ export default path
package/index.js CHANGED
@@ -1,5 +1,3 @@
1
1
  import { fileURLToPath } from "node:url"
2
2
 
3
- const path = fileURLToPath(new URL("./libopentui.so", import.meta.url))
4
-
5
- export default path
3
+ export default fileURLToPath(new URL("./libopentui.so", import.meta.url))
package/libopentui.so CHANGED
Binary file
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@jitl/opentui-core-linux-x64",
3
- "version": "0.1.97",
3
+ "version": "0.2.15",
4
4
  "description": "Prebuilt linux-x64 binaries for @jitl/opentui-core",
5
+ "type": "module",
5
6
  "main": "index.js",
7
+ "module": "index.js",
6
8
  "types": "index.d.ts",
7
9
  "license": "MIT",
8
10
  "repository": {
@@ -14,6 +16,13 @@
14
16
  "prebuild",
15
17
  "prebuilt"
16
18
  ],
19
+ "exports": {
20
+ ".": {
21
+ "bun": "./index.bun.js",
22
+ "import": "./index.js",
23
+ "types": "./index.d.ts"
24
+ }
25
+ },
17
26
  "os": [
18
27
  "linux"
19
28
  ],