UNPKG

jsonld-signatures

Version:

An implementation of the Linked Data Signatures specifications for JSON-LD in JavaScript.

15 lines (12 loc) 446 B
/*! * Copyright (c) 2017-2023 Digital Bazaar, Inc. All rights reserved. */ 'use strict'; const constants = require('./constants'); const {contexts: securityContexts} = require('@digitalbazaar/security-context'); module.exports = new Map([ [constants.SECURITY_CONTEXT_V1_URL, securityContexts.get(constants.SECURITY_CONTEXT_V1_URL)], [constants.SECURITY_CONTEXT_V2_URL, securityContexts.get(constants.SECURITY_CONTEXT_V2_URL)] ]);