waaseyaa/state

Key-value state storage for Waaseyaa

Maintainers

Package info

github.com/waaseyaa/state

pkg:composer/waaseyaa/state

Transparency log

Statistics

Installs: 9 814

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha.279 2026-07-30 04:47 UTC

This package is auto-updated.

Last update: 2026-07-30 04:59:39 UTC


README

SQL-backed and in-memory application state.

SqlState requires the 32-byte key derived with waaseyaa.state.payload-hmac.v1. It stores serialized values only inside a strict versioned HMAC-SHA-256 envelope and verifies that envelope before every deserialization. MemoryState is unchanged.

Existing SQL state values are invalidated at cutover: stop application workers, clear the state table, deploy the keyed reader/writer, and allow application state to rebuild. SqlState does not accept unsigned rows.

Changing WAASEYAA_APP_SECRET invalidates all persisted SQL state values.