blossom_cache 0.2.0 copy "blossom_cache: ^0.2.0" to clipboard
blossom_cache: ^0.2.0 copied to clipboard

A network-free local Blossom blob store for Dart. Works on web, native, and server.

0.2.0 #

  • Breaking: BlossomCache.put now takes bytes as the only positional argument; the hash moves to an optional sha256: named parameter. When omitted, the cache computes the sha256 from the bytes via package:crypto. Migration: cache.put(sha, bytes)cache.put(bytes, sha256: sha), or drop the sha256: argument entirely to let the cache hash it.
  • Add crypto: ^3.0.7 dependency.

0.1.0 #

  • Initial version.
0
likes
160
points
260
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A network-free local Blossom blob store for Dart. Works on web, native, and server.

Repository (GitHub)
View/report issues

Topics

#blossom #nostr #cache #storage #blob

License

MIT (license)

Dependencies

crypto, idb_shim

More

Packages that depend on blossom_cache