the documentLoader should be an async function that accepts a url and returns a document
the existing documentLoader in the tests dir has a parameter {url} that should just be url
the existing documentLoader in the tests dir does not use jsonld-document-loader
the existing documentLoader uses didResolver.js which can be rolled into jsonld-document-loader
increasingly this project has multiple documentLoaders these can be consolidated into a single function that creates a documentLoader, that function should come from data-integrity-test-suite-assertion or vc-test-suite-implementations at some point so other projects can create a documentLoader with support for a particular did:key type.
the documentLoader in tests should be removed or moved somewhere else
documentLoader
should be an async function that accepts a url and returns a documentdocumentLoader
in the tests dir has a parameter{url}
that should just beurl
documentLoader
in the tests dir does not use jsonld-document-loaderdocumentLoader
usesdidResolver.js
which can be rolled intojsonld-document-loader
data-integrity-test-suite-assertion
orvc-test-suite-implementations
at some point so other projects can create a documentLoader with support for a particular did:key type.