@blockchaincommons/uniform-resources - v1.0.0-beta.3
    Preparing search index...

    Module @blockchaincommons/uniform-resources

    @blockchaincommons/uniform-resources - Uniform Resources (BCR-2020-005): CBOR payloads as ur:<type>/<bytewords> strings, single- or multi-part.

    • UR and URType; urFor / decodeURWith bridge dcbor-tagged values.
    • MultipartEncoder / MultipartDecoder for animated QR.
    • Failures are URErrors with a code: the reference's eight, plus InvalidParameter for an argument outside its domain (checked before any work) and TagUnnamed where the reference panics. Two exceptions come from @blockchaincommons/dcbor: decodeURWith reports a wrong UR type as a CborError (Custom), as the reference's from_ur does, and urFor passes on dcbor's own error for a value whose toCbor() is not tagged with its first tag.
    • Bytewords live on @blockchaincommons/uniform-resources/bytewords, the fountain code on …/fountain.
    URError
    MultipartDecoder
    MultipartEncoder
    URType
    UR
    ToUR
    URErrorCode
    URErrorDetails
    URResult
    urFor
    decodeURWith