Skip to content

Commit

Permalink
Allow activation status purpose.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Sep 18, 2024
1 parent e6994c6 commit fbfa9b9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# bedrock-vc-issuer ChangeLog

## 27.1.0 - 2024-09-dd

### Added
- Allow `activation` status purpose.

## 27.0.3 - 2024-08-27

### Changed
Expand Down
2 changes: 1 addition & 1 deletion schemas/bedrock-vc-issuer.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const issueOptions = {
};

// supported status purposes in this version
const statusPurposes = ['revocation', 'suspension'];
const statusPurposes = ['activation', 'revocation', 'suspension'];

export const statusListConfig = {
title: 'Status List Configuration',
Expand Down
3 changes: 2 additions & 1 deletion test/mocha/assertions/testBitstringStatusList.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ export function testBitstringStatusList({
describe('BitstringStatusList', function() {
// all the status purpose combinations to test
const statusPurposes = [
'activation',
'revocation',
'suspension',
['revocation', 'suspension']
['activation', 'revocation', 'suspension']
];
for(const statusPurpose of statusPurposes) {
testStatusPurpose({
Expand Down

0 comments on commit fbfa9b9

Please sign in to comment.