Closed mmckegg closed 6 years ago
to be honest, I think this is too specific. why not allow any query string on the end of an id? same suggestion here: https://github.com/ssbc/ssb-mentions/pull/11
Okay updated this module to match your proposal @dominictarr!
I'm gonna go ahead merge and publish this!
Released as v2.10.0 🎉
I unpublished 2.10.0 and instead submit https://github.com/ssbc/ssb-ref/pull/16
This PR adds support for detecting secret blobs using
isBlob
.It also adds a new
parseBlob
export that when given a blob ref, returns an object containing{id, key}
.I plan to use this in ssb-mentions and patchcore, rather than using slightly differing hand-rolled implementations that are currently there.
cc @clehner @dominictarr