@noy-db/at-env 0.8.0 → 0.9.0
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 +8 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @noy-db/at-env
|
|
2
2
|
|
|
3
|
+
<!-- prose-preamble
|
|
4
|
+
// Bindings the illustrative blocks below elide. Typed, not stubbed: `declare`
|
|
5
|
+
// costs no runtime dependency, so the preamble cannot drift from a fixture.
|
|
6
|
+
import type { NoydbStore } from '@noy-db/hub'
|
|
7
|
+
declare const store: NoydbStore
|
|
8
|
+
-->
|
|
9
|
+
|
|
3
10
|
**Env-var sealing key provider for noy-db [managed-secret mode](https://github.com/noy-db/core/issues/14).**
|
|
4
11
|
|
|
5
12
|
The smallest production-shape provider in the `at-*` family. Reads a 32-byte AES-256-GCM key from an environment variable (base64-encoded) and uses it to seal the hub-generated random secret — so your users never see or type a secret, but the encryption keys are still under your control.
|
|
@@ -81,4 +88,4 @@ Throws at construction when the env var is unset, not valid base64, or not 32 by
|
|
|
81
88
|
|
|
82
89
|
## License
|
|
83
90
|
|
|
84
|
-
|
|
91
|
+
Apache-2.0 © vLannaAi
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noy-db/at-env",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Env-var sealing key provider for noy-db managed-secret mode — AES-256-GCM under a key from process.env. Smallest production-shape provider; pair with Kubernetes Secrets / Heroku env / AWS Secrets Manager.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "vLannaAi <vicio@lanna.ai>",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"node": ">=22.0.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@noy-db/hub": "^0.7.0 || ^0.8.0-pre.0"
|
|
36
|
+
"@noy-db/hub": "^0.7.0 || ^0.8.0-pre.0 || ^0.9.0-pre.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@noy-db/hub": "0.
|
|
40
|
-
"@noy-db/on-shamir": "0.
|
|
41
|
-
"@noy-db/
|
|
42
|
-
"@noy-db/to-memory": "0.
|
|
39
|
+
"@noy-db/hub": "0.9.0",
|
|
40
|
+
"@noy-db/on-shamir": "0.9.0",
|
|
41
|
+
"@noy-db/ports": "0.9.0",
|
|
42
|
+
"@noy-db/to-memory": "0.9.0",
|
|
43
43
|
"@types/node": "^22.0.0"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"access": "public",
|
|
58
58
|
"tag": "latest"
|
|
59
59
|
},
|
|
60
|
+
"dependencies": {},
|
|
60
61
|
"scripts": {
|
|
61
62
|
"build": "tsup",
|
|
62
63
|
"test": "vitest run",
|