dstu-core 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +11 -5
  2. package/js/index.js +2 -3
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -1,11 +1,17 @@
1
1
  # dstu-core (Node.js bindings)
2
2
 
3
- **Provisional — not published to npm, not independently audited.** See the root project's
4
- `docs/SECURITY.md` and `docs/DECISIONS.md` for the full threat model and per-construction status.
5
- This binding wraps the full `dstu_core::crypto_*` surface (`docs/bindings-strategy.md` T-50) —
6
- install from source as shown below.
3
+ **Not independently audited.** See the root project's `docs/SECURITY.md` and `docs/DECISIONS.md`
4
+ for the full threat model and per-construction status. This binding wraps the full
5
+ `dstu_core::crypto_*` surface (`docs/bindings-strategy.md` T-50).
7
6
 
8
- ## Installing (from source)
7
+ ## Installing
8
+
9
+ ```sh
10
+ npm install dstu-core
11
+ node -e "require('dstu-core').selfTest()"
12
+ ```
13
+
14
+ ## Building from source (contributors)
9
15
 
10
16
  ```sh
11
17
  npm install
package/js/index.js CHANGED
@@ -3,9 +3,8 @@
3
3
  /**
4
4
  * Node.js bindings for dstu-core (Ukrainian DSTU cryptographic standards).
5
5
  *
6
- * Provisional - not yet published to npm, not independently audited. See the root project's
7
- * docs/SECURITY.md and docs/DECISIONS.md for the full threat model and per-construction status
8
- * (docs/bindings-strategy.md T-50).
6
+ * Not independently audited. See the root project's docs/SECURITY.md and docs/DECISIONS.md for
7
+ * the full threat model and per-construction status (docs/bindings-strategy.md T-50).
9
8
  *
10
9
  * `../native/index.js` is the napi-rs-generated low-level binding (regenerated by `npm run
11
10
  * build`, never hand-edited or committed - see .gitignore). This file is the public package
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dstu-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
- "description": "Node.js bindings for dstu-core (Ukrainian DSTU cryptographic standards) - provisional, not yet published to npm",
5
+ "description": "Node.js bindings for dstu-core (Ukrainian DSTU cryptographic standards)",
6
6
  "main": "js/index.js",
7
7
  "repository": {
8
8
  "type": "git",
@@ -47,9 +47,9 @@
47
47
  "prepublishOnly": "napi prepublish -t npm --skip-gh-release"
48
48
  },
49
49
  "optionalDependencies": {
50
- "dstu-core-linux-x64-gnu": "0.1.0",
51
- "dstu-core-darwin-arm64": "0.1.0",
52
- "dstu-core-win32-x64-msvc": "0.1.0",
53
- "dstu-core-linux-arm64-gnu": "0.1.0"
50
+ "dstu-core-linux-x64-gnu": "0.1.1",
51
+ "dstu-core-darwin-arm64": "0.1.1",
52
+ "dstu-core-win32-x64-msvc": "0.1.1",
53
+ "dstu-core-linux-arm64-gnu": "0.1.1"
54
54
  }
55
55
  }