Skip to content

Commit 2e12124

Browse files
committed
Add all data integrity contexts to contextMap.
1 parent 1ecf33e commit 2e12124

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vc-generator/contexts.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import didCtx from '@digitalcredentials/did-context';
1010
import multikeyCtx from '@digitalbazaar/multikey-context';
1111

1212
const contextMap = new Map(credentialsContexts);
13+
addContexts({
14+
contexts: dataIntegrityCtx.contexts,
15+
map: contextMap
16+
});
17+
1318
//FIXME this really should be done in separate documentLoaders
1419
//so that other tests do not get the modified context
1520
//FIXME this also should be a structuredClone of the v2 context

0 commit comments

Comments
 (0)