This was an oversight in the implementation of rs-ucan going back at least as far as spec version v0.8.0. Most likely, ts-ucan and rs-ucan both produce empty arrays for these fields by default (given that rs-ucan was originally derived from ts-ucan, and UCANs produced by both libraries tend to interoperate).
This was an oversight in the implementation of
rs-ucan
going back at least as far as spec version v0.8.0. Most likely,ts-ucan
andrs-ucan
both produce empty arrays for these fields by default (given thatrs-ucan
was originally derived fromts-ucan
, and UCANs produced by both libraries tend to interoperate).At any rate,
fct
was marked as optional in v0.8.0 of the spec..And,
prf
is optional as of v0.9.0 of the spec.We should make these fields optional so that
rs-ucan
is more gracious when it comes to accepting inputs, especially from other implementations.