Skip to content

Latest commit

 

History

History

did-context

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@transmute/did-context

npm i @transmute/did-context@latest --save

Usage

const didContexts = require("@transmute/did-context");
export default {
  // https://www.w3.org/ns/did/v1
  [didContexts.constants.DID_CONTEXT_V1_URL]: didContexts.contexts.get(
    didContexts.constants.DID_CONTEXT_V1_URL
  ),
};
Extension Use

See transmute extension registry

const didContexts = require("@transmute/did-context");
export default {
  // https://www.w3.org/ns/did/v1
  [didContexts.constants.DID_CONTEXT_V1_URL]: didContexts.contexts.get(
    didContexts.constants.DID_CONTEXT_V1_URL
  )
};