@ohos-ports/node-rs-bcrypt-openharmony-arm64 1.10.8-beta.0 → 1.10.8-beta.1

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # `@node-rs/bcrypt-linux-x64-musl`
1
+ # `@node-rs/bcrypt-linux-arm64-musl`
2
2
 
3
- This is the **x86_64-unknown-linux-musl** binary for `@node-rs/bcrypt`
3
+ This is the **aarch64-unknown-linux-musl** binary for `@node-rs/bcrypt`
Binary file
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // HarmonyOS (openharmony) loader: loads the ohos-compiled native binary
2
+ module.exports = require('./bcrypt.ohos-arm64.node')
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@ohos-ports/node-rs-bcrypt-openharmony-arm64",
3
- "version": "1.10.8-beta.0",
3
+ "version": "1.10.8-beta.1",
4
4
  "cpu": [
5
5
  "arm64"
6
6
  ],
7
- "main": "bcrypt.openharmony-arm64.node",
7
+ "main": "./index.js",
8
8
  "files": [
9
- "bcrypt.openharmony-arm64.node"
9
+ "bcrypt.ohos-arm64.node",
10
+ "index.js"
10
11
  ],
11
- "description": "Rust bcrypt binding (prebuilt aarch64-unknown-linux-ohos binary for OpenHarmony arm64)",
12
+ "description": "Rust bcrypt binding",
12
13
  "keywords": [
13
14
  "N-API",
14
15
  "auth",
@@ -18,8 +19,7 @@
18
19
  "encryption",
19
20
  "napi-rs",
20
21
  "node-rs",
21
- "password",
22
- "openharmony"
22
+ "password"
23
23
  ],
24
24
  "author": "LongYinan <lynweklm@gmail.com>",
25
25
  "homepage": "https://github.com/napi-rs/node-rs",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git+https://github.com/ohos-ports/ohos-ports.git",
32
+ "url": "https://github.com/ohos-ports/ohos-ports.git",
33
33
  "directory": "ports/node-rs-bcrypt-openharmony-arm64/1.10.8"
34
34
  },
35
35
  "bugs": {
Binary file