blossom_cache 0.2.0
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.putnow takesbytesas the only positional argument; the hash moves to an optionalsha256:named parameter. When omitted, the cache computes the sha256 from the bytes viapackage:crypto. Migration:cache.put(sha, bytes)→cache.put(bytes, sha256: sha), or drop thesha256:argument entirely to let the cache hash it. - Add
crypto: ^3.0.7dependency.
0.1.0 #
- Initial version.