Skip to content

Commit

Permalink
Update test project to use latest status-list-context.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Mar 1, 2024
1 parent 8ca0507 commit ed6e04d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"peerDependencies": {
"@bedrock/app-identity": "^4.0.0",
"@bedrock/core": "^6.0.1",
"@bedrock/credentials-context": "^4.0.0",
"@bedrock/credentials-context": "digitalbazaar/bedrock-credentials-context#update-vc-2.0",
"@bedrock/data-integrity-context": "^3.0.0",
"@bedrock/did-context": "^5.0.0",
"@bedrock/did-io": "^10.2.0",
Expand All @@ -61,7 +61,7 @@
"@bedrock/service-core": "^9.0.0",
"@bedrock/validation": "^7.0.0",
"@bedrock/vc-revocation-list-context": "^4.0.0",
"@bedrock/vc-status-list-context": "^5.0.0",
"@bedrock/vc-status-list-context": "digitalbazaar/bedrock-vc-status-list-context#bitstring-status-list",
"@bedrock/veres-one-context": "^15.0.0"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion test/mocha/30-credential-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (c) 2019-2023 Digital Bazaar, Inc. All rights reserved.
*/
import * as helpers from './helpers.js';
import * as statusListCtx from '@digitalbazaar/vc-status-list-context';
import * as vc from '@digitalbazaar/vc';
import {agent} from '@bedrock/https-agent';
import {documentLoader as brDocLoader} from '@bedrock/jsonld-document-loader';
Expand All @@ -18,9 +19,9 @@ import {httpClient} from '@digitalbazaar/http-client';
import https from 'node:https';
import {klona} from 'klona';
import path from 'node:path';

const require = createRequire(import.meta.url);
const revocationListCtx = require('vc-revocation-list-context');
const statusListCtx = require('@digitalbazaar/vc-status-list-context');

import {mockData} from './mock.data.js';

Expand Down
6 changes: 3 additions & 3 deletions test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dependencies": {
"@bedrock/app-identity": "^4.0.0",
"@bedrock/core": "^6.0.1",
"@bedrock/credentials-context": "^4.0.0",
"@bedrock/credentials-context": "digitalbazaar/bedrock-credentials-context#update-vc-2.0",
"@bedrock/data-integrity-context": "^3.0.0",
"@bedrock/did-context": "^5.0.0",
"@bedrock/did-io": "^10.1.0",
Expand Down Expand Up @@ -57,8 +57,8 @@
"@digitalbazaar/edv-client": "^16.0.0",
"@digitalbazaar/ezcap": "^4.0.0",
"@digitalbazaar/http-client": "^4.0.0",
"@digitalbazaar/vc": "^6.1.0",
"@digitalbazaar/vc-status-list-context": "^3.0.1",
"@digitalbazaar/vc": "github:digitalbazaar/vc#update-vc-2.0",
"@digitalbazaar/vc-status-list-context": "digitalbazaar/bedrock-vc-status-list-context#bitstring-status-list",
"@digitalbazaar/webkms-client": "^14.0.0",
"c8": "^9.1.0",
"cross-env": "^7.0.3",
Expand Down

0 comments on commit ed6e04d

Please sign in to comment.