@transmute/did-context
Advanced tools
Comparing version 0.0.4-unstable.4 to 0.0.4-unstable.5
{ | ||
"name": "@transmute/did-context", | ||
"version": "0.0.4-unstable.4", | ||
"version": "0.0.4-unstable.5", | ||
"description": "", | ||
"main": "index.js", | ||
"types": "typings.d.ts", | ||
"author": "Orie Steele", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "246dfc46f2680739a772ee8c77d0c2597db6f2b2", | ||
"homepage": "https://github.com/transmute-industries/linked-data/tree/main/packages/did-context", | ||
@@ -17,3 +14,7 @@ "repository": { | ||
"directory": "packages/did-context" | ||
} | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "073e5bf687f3101f215b175303ce18ed62d37684" | ||
} |
@@ -10,8 +10,7 @@ ### @transmute/did-context | ||
```js | ||
const { constants: didConstants } = require("@transmute/did-context"); | ||
const { constants, contexts } = require("@transmute/did-context"); | ||
export default { | ||
// https://www.w3.org/ns/did/v1 | ||
DID_CONTEXT_URL: didConstants.SECURITY_CONTEXT_V1_URL, | ||
[constants.DID_CONTEXT_V1_URL]: contexts.get(constants.DID_CONTEXT_V1_URL), | ||
}; | ||
``` |
15263
7
101
16