Skip to content

Commit

Permalink
Switch to npm v2 context dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Aug 4, 2024
1 parent 8af6ebb commit 58acb85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/contexts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from 'credentials-context';
import {
contexts as credentialsV2Contexts
} from '@digitalbazaar/credentials-v2-context';
} from '@digitalcredentials/credentials-v2-context';

export const contexts = new Map();

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2023 Digital Bazaar, Inc. All rights reserved.
*/
import * as credentialsContext from 'credentials-context';
import * as credentialsContextV2 from '@digitalbazaar/credentials-v2-context';
import * as credentialsContextV2 from '@digitalcredentials/credentials-v2-context';

Check failure on line 5 in lib/helpers.js

View workflow job for this annotation

GitHub Actions / lint (20.x)

This line has a length of 83. Maximum allowed is 80

export const {constants: {CREDENTIALS_CONTEXT_V1_URL}} = credentialsContext;
export const {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"LICENSE"
],
"dependencies": {
"@digitalbazaar/credentials-v2-context": "digitalbazaar/credentials-v2-context#main",
"@digitalcredentials/jsonld": "~9.0.0",
"@digitalcredentials/jsonld-signatures": "~11.0.0",
"@digitalcredentials/credentials-v2-context": "~0.0.1-beta.0",
"@digitalcredentials/jsonld": "^9.0.0",
"@digitalcredentials/jsonld-signatures": "^11.0.0",
"@digitalcredentials/open-badges-context": "^2.1.0",
"credentials-context": "^2.0.0",
"ed25519-signature-2018-context": "^1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion test/contexts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import {
constants as credentialsV2Constants,
contexts as credentialsV2Contexts,
} from '@digitalbazaar/credentials-v2-context';
} from '@digitalcredentials/credentials-v2-context';
import {
constants as didConstants,
contexts as didContexts
Expand Down

0 comments on commit 58acb85

Please sign in to comment.