Skip to content

@odatano/nightgate 0.28.1

Choose a tag to compare

@maxalexweber1 maxalexweber1 released this 28 Sep 16:14
· 67 commits to main since this release
b8c8125

@odatano/nightgate 0.28.1

Role revocation and three small hardening fixes; additive, no schema change.

  • Admin revokeRole(userId, role, scope?): ends active grants (validUntil = now), returns the count; needs authority.
  • grantRole: validUntil must be a timestamp in the future (400).
  • verifyDocument: originalSha256 only on a matching hash, else ''.
  • Worker RPC waits at most NIGHTGATE_SUBMIT_INTENT_ACK_TIMEOUT_MS for pending submit-intent hooks.

Full Changelog: v0.28.0...v0.28.1