@hesohq/node 0.5.1-dev.127 → 0.5.1-dev.131

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 (3) hide show
  1. package/index.d.ts +363 -318
  2. package/index.js +570 -295
  3. package/package.json +17 -17
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "name": "@hesohq/node",
3
- "version": "0.5.1-dev.127",
3
+ "version": "0.5.1-dev.131",
4
4
  "description": "napi-rs native Node.js addon for the HESO Enterprise trust layer",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "napi": {
8
- "name": "heso-node",
9
- "triples": {
10
- "defaults": true,
11
- "additional": [
12
- "aarch64-apple-darwin",
13
- "aarch64-unknown-linux-gnu"
14
- ]
15
- }
8
+ "binaryName": "heso-node",
9
+ "targets": [
10
+ "x86_64-apple-darwin",
11
+ "aarch64-apple-darwin",
12
+ "x86_64-unknown-linux-gnu",
13
+ "aarch64-unknown-linux-gnu",
14
+ "x86_64-pc-windows-msvc"
15
+ ]
16
16
  },
17
17
  "files": [
18
18
  "index.js",
19
19
  "index.d.ts"
20
20
  ],
21
21
  "scripts": {
22
- "build": "napi build --platform --release --features process --cargo-cwd ../../crates/heso-node .",
23
- "build:debug": "napi build --platform --features process --cargo-cwd ../../crates/heso-node .",
22
+ "build": "napi build --platform --release --features process --manifest-path ../../crates/heso-node/Cargo.toml --output-dir .",
23
+ "build:debug": "napi build --platform --features process --manifest-path ../../crates/heso-node/Cargo.toml --output-dir .",
24
24
  "test": "node --test \"__tests__/**/*.test.mjs\""
25
25
  },
26
26
  "devDependencies": {
27
- "@napi-rs/cli": "^2.18.4"
27
+ "@napi-rs/cli": "^3.7.2"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "license": "LicenseRef-Proprietary",
36
36
  "optionalDependencies": {
37
- "@hesohq/node-darwin-arm64": "0.5.1-dev.127",
38
- "@hesohq/node-darwin-x64": "0.5.1-dev.127",
39
- "@hesohq/node-linux-arm64-gnu": "0.5.1-dev.127",
40
- "@hesohq/node-linux-x64-gnu": "0.5.1-dev.127",
41
- "@hesohq/node-win32-x64-msvc": "0.5.1-dev.127"
37
+ "@hesohq/node-darwin-arm64": "0.5.1-dev.131",
38
+ "@hesohq/node-darwin-x64": "0.5.1-dev.131",
39
+ "@hesohq/node-linux-arm64-gnu": "0.5.1-dev.131",
40
+ "@hesohq/node-linux-x64-gnu": "0.5.1-dev.131",
41
+ "@hesohq/node-win32-x64-msvc": "0.5.1-dev.131"
42
42
  }
43
43
  }