@adonis-agora/crypto-integrations 0.0.0 → 0.1.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/CHANGELOG.md +23 -0
- package/package.json +4 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# @adonis-agora/crypto-integrations
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#5](https://github.com/DavideCarvalho/adonis-agora-crypto/pull/5) [`6b141b5`](https://github.com/DavideCarvalho/adonis-agora-crypto/commit/6b141b5b4ca090c39f60d72d0581beec60863504) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The 0.x integrations package, so the rc libs stay untouched.
|
|
8
|
+
|
|
9
|
+
- `/authkit`, `/agent`, `/config`: a crypto-kit KMS root backed by the crypto server under each lib's
|
|
10
|
+
key convention (`authkit-root`, `agent-poppy-root`, `config-root`) plus an `agora:doctor` check
|
|
11
|
+
that the key exists, is `aes256-gcm`, and that this process can seal and open with it (missing key,
|
|
12
|
+
wrong type, missing capabilities and a changed root each get their own message and fix).
|
|
13
|
+
- `/durable`: `encryptedTransport` and `encryptedControlPlane` decorators over ready instances —
|
|
14
|
+
task `input`, step `output`/`error`, heartbeat `progress` and control-plane `event` payloads are
|
|
15
|
+
sealed; ids, step names, groups, priorities, attempts, `from`/`runId` and queue metadata stay in
|
|
16
|
+
clear so routing and dedupe are unchanged. `onControl` keeps broker order, and the docs state the
|
|
17
|
+
NestJS interop caveat.
|
|
18
|
+
- `/flags`: an envelope `fetch` for `transports.http` and the posthog/clickhouse sinks.
|
|
19
|
+
- `/http`: an envelope `fetch` for any call (authkit token requests, config tenant fetches) plus the
|
|
20
|
+
receiver middleware re-exports.
|
|
21
|
+
|
|
22
|
+
Every helper accepts `{ client }` (remote server) or `{ service, partition }` (embedded server), so
|
|
23
|
+
the same integration works in `standalone`, `control-plane` and `tenant`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonis-agora/crypto-integrations",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Seams between @adonis-agora/crypto and the other Agora libs — KMS roots for authkit, agent and config, encrypted durable transport/control-plane, envelope fetch for flags and any service-to-service call. Kept at 0.x so the rc libs stay untouched.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"CHANGELOG.md"
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@adonis-agora/crypto": "^0.
|
|
71
|
-
"@adonis-agora/crypto-client": "^0.
|
|
72
|
-
"@adonis-agora/crypto-core": "^0.
|
|
70
|
+
"@adonis-agora/crypto": "^0.3.0",
|
|
71
|
+
"@adonis-agora/crypto-client": "^0.2.0",
|
|
72
|
+
"@adonis-agora/crypto-core": "^0.1.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@adonis-agora/durable": ">=1.0.0-rc.0 <2.0.0"
|