Repository navigation
v0.8.0-rc.47
Pre-release
Pre-release
·
262 commits
to main
since this release
Added
- Adds the proposed NIP-86
createclaimwithlimitsandgetclaimmethods, so a host's app can mint an invite with an explicit per-code expiry or use-limit and read any code's state back.ncli relay invites creategains--expires-atand--no-expiry, andncli relay invites get <code>shows a code's claim, expiry, max-uses and uses, including expired or used-up ones. (#221) - Adds the
membership.inviteMaxTTL(default 30 days) andinviteAllowNoExpiry(default false) config keys, which cap how far an absolute expiry may be set and gate never-expiring codes. A requested limit outside policy is refused, never silently clamped. (#221) - Adds NIP-43 member claims: with
membership.memberClaims(default true), a plain member — not only an admin — may mint an invite viacreateclaim, scoped to justcreateclaimandsupportedmethods. Set it false to keep the Relay Management API admin-only. (#221)
Fixed
- Fixes the vault password prompt failing with
inappropriate ioctl for devicewhen the event is piped into a signing command (e.g.ncli event new … | ncli publish -e - --signer <label>). The prompt now reads from the controlling terminal, like ssh/sudo, and falls back to a clear "set NCLI_VAULT_PASSWORD" error when no terminal is available instead of the cryptic ioctl one. (#206)