digitalbazaar / cborld

A Javascript CBOR-LD processor for web browsers and Node.js apps.
https://json-ld.github.io/cbor-ld-spec/
BSD 3-Clause "New" or "Revised" License
20 stars 16 forks source link

We should consider some simpler API that will do the registry lookup based on the `varintValue` (which might be renamed as well) #89

Open dlongley opened 3 months ago

dlongley commented 3 months ago

We should consider some simpler API that will do the registry lookup based on the varintValue (to be renamed potentially to something like registryEntryId ... I dunno) and get the right tables that way. A function could be provided that can fetch those tables -- and the only advantage of using that approach here would be to help avoid mismatches; and maybe that's not worth the extra effort.

_Originally posted by @dlongley in https://github.com/digitalbazaar/cborld/pull/87#discussion_r1676241408_