indexedDbOutbox — zero-dependency IndexedDB adapter. Stores the whole queue
as one value under a fixed key, so reads and writes are single-transaction
and atomic. Prefer this over localStorageOutbox when queued payloads are
large (localStorage has a ~5 MB origin quota and synchronous I/O).
SSR-safe: the database is opened lazily on first use; when indexedDB is
unavailable, load() resolves to null and save()/clear() warn and no-op.
indexedDbOutbox — zero-dependency IndexedDB adapter. Stores the whole queue as one value under a fixed key, so reads and writes are single-transaction and atomic. Prefer this over
localStorageOutboxwhen queued payloads are large (localStorage has a ~5 MB origin quota and synchronous I/O).SSR-safe: the database is opened lazily on first use; when
indexedDBis unavailable,load()resolves to null andsave()/clear()warn and no-op.