Skip to content

Commit 8cecc1e

Browse files
Update jsonld.js/rdf-canonize dependency.
1 parent 9a665c5 commit 8cecc1e

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# jsonld-signatures ChangeLog
22

3+
## 9.3.1 -
4+
5+
### Changed
6+
- Update `jsonld` (and `rdf-canonize`) dependency, to enable use with React
7+
Native.
8+
- Switch to `@digitalbazaar/security-context` (more compact, no fs dependency).
9+
10+
311
## 9.3.0 - 2021-07-10
412

513
### Added

lib/constants.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
*/
44
'use strict';
55

6-
const {constants: securityConstants} = require('security-context');
6+
const {
7+
constants: securityConstants
8+
} = require('@digitalbazaar/security-context');
79

810
module.exports = {
911
SECURITY_CONTEXT_URL: securityConstants.SECURITY_CONTEXT_V2_URL,

lib/contexts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'use strict';
55

66
const constants = require('./constants');
7-
const {contexts: securityContexts} = require('security-context');
7+
const {contexts: securityContexts} = require('@digitalbazaar/security-context');
88

99
module.exports = new Map([
1010
[constants.SECURITY_CONTEXT_V1_URL,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"lib/**/*.js"
3030
],
3131
"dependencies": {
32-
"jsonld": "^5.0.0",
33-
"security-context": "^4.0.0",
32+
"@digitalbazaar/security-context": "^1.0.0",
33+
"jsonld": "digitalbazaar/jsonld.js#v5.2.1-rc1",
3434
"serialize-error": "^8.0.1"
3535
},
3636
"devDependencies": {

0 commit comments

Comments
 (0)