@dotrino/vaultd 0.188.0 → 0.189.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/lib/src/core/vault.js
CHANGED
|
@@ -3019,6 +3019,14 @@ export async function startVault ({ platform, proxyUrl, log = console.log, onEnr
|
|
|
3019
3019
|
for (const m of members) notify(m.pub)
|
|
3020
3020
|
for (const d of issued || []) notify(d.sub)
|
|
3021
3021
|
log(`[vault] notified ${seen.size} member(s) of "${ev}" (record #${acta?.seq ?? '?'})`)
|
|
3022
|
+
// Y SE DEJA EN LA CACHÉ DEL PROXIO (websocket-proxy ≥ 1.10.0): así un aparato que va
|
|
3023
|
+
// atrás se pone al día sin despertar a la bóveda (una ventana de Terminal esperaba 4-17 s
|
|
3024
|
+
// por esto, 2026-11-04). El proxio solo guarda; quien la toma la adopta si encadena.
|
|
3025
|
+
if (acta) {
|
|
3026
|
+
Promise.resolve().then(() => client.putActa(acta)).then(
|
|
3027
|
+
(r) => log(`[vault] record #${acta.seq} left on the proxy cache${r.stored ? '' : ' (it already had it)'}`),
|
|
3028
|
+
(e) => log(`[vault] could not leave record #${acta.seq} on the proxy cache: ${e.code || 'error'} · ${e.message}`))
|
|
3029
|
+
}
|
|
3022
3030
|
} catch (e) { log('[vault] could not notify members of the change:', e.message) }
|
|
3023
3031
|
// Y a los replicadores, que no quieren un aviso sino el CONTENIDO: sin esto se
|
|
3024
3032
|
// quedarían con el acta de ayer y repartiendo sobres de un aparato ya revocado.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotrino/vaultd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.189.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Certificador personal de Dotrino: daemon headless que custodia la clave maestra y delega capacidades a tus dispositivos por el proxy. Tu CA propia.",
|
|
6
6
|
"bin": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@dotrino/identity": "0.135.0",
|
|
26
26
|
"@dotrino/opaque": "0.1.0",
|
|
27
27
|
"@dotrino/passmanager": "0.18.6",
|
|
28
|
-
"@dotrino/proxy-client": "^0.
|
|
28
|
+
"@dotrino/proxy-client": "^0.46.0",
|
|
29
29
|
"@dotrino/roadmap": "0.4.63",
|
|
30
30
|
"@dotrino/store": "0.13.0",
|
|
31
31
|
"@dotrino/update": "0.9.0",
|