Appends first-party caveats to a macaroon: the attenuation anybody holding one can make, keyed by its current signature and needing no root key.
the serialised macaroon
the caveats to append, in order
{ location, identifier, caveats, signature } of the result
{ location, identifier, caveats, signature }
Error when the bytes are not a v2 macaroon, or what the library throws
Appends first-party caveats to a macaroon: the attenuation anybody holding one can make, keyed by its current signature and needing no root key.