From ed6e04d041ed4d864c30a42660109a9313c2e882 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 1 Mar 2024 17:08:39 +0000 Subject: [PATCH] Update test project to use latest status-list-context. --- package.json | 4 ++-- test/mocha/30-credential-status.js | 3 ++- test/package.json | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 947e5b2..36a001f 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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": { diff --git a/test/mocha/30-credential-status.js b/test/mocha/30-credential-status.js index f0b619c..99ea731 100644 --- a/test/mocha/30-credential-status.js +++ b/test/mocha/30-credential-status.js @@ -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'; @@ -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'; diff --git a/test/package.json b/test/package.json index 8f13c32..de30beb 100644 --- a/test/package.json +++ b/test/package.json @@ -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", @@ -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",