@spuppateddu/guide-storage-http
v0.1.0
Published
Backend adapter for @spuppateddu/guide, with optimistic writes and an offline replay queue.
Downloads
20
Maintainers
Readme
@spuppateddu/guide-storage-http
Backend adapter for @spuppateddu/guide.
Performs no fetch of its own — you supply the transport, so it works with whatever auth
your app already has: a session cookie plus a CSRF header, a Bearer token on an axios
instance, anything.
Writes are applied locally first and sent second, so a guide never stalls because the
network blinked. A failed request is queued and replayed oldest-first by flush().
License
MIT
