Update
Release rolling / release (push) Successful in 8m30s

This commit is contained in:
Raven Scott
2026-07-14 20:41:42 -04:00
parent d822152c7e
commit 6ff528f884
4 changed files with 474 additions and 87 deletions
+10 -1
View File
@@ -112,8 +112,17 @@ export async function createConnectionInvite(opts = {}) {
await vault.add(PKG_KEY, packageValue)
// Always readOnly: invitees only need to read peardock:pkg (public key + capability).
// Writable invites hang in autopass@3 when the pairer awaits deleteInvite / writable.
// Writable invites hang in autopass@3 (deleteInvite / _whenWritable).
// Role elevation is entirely via the HMAC capability, not Autopass write rights.
// Ensure vault is fully ready + swarm/pairing member is up before issuing invite.
if (vault.opened === false) await vault.ready()
if (vault.member) {
try {
await vault.member.flushed()
} catch {
// ignore
}
}
const invite = await vault.createInvite({ readOnly: true })
lastInviteMeta = {