Skip to content

Commit

Permalink
revert major versions since still alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnonni committed Aug 21, 2024
1 parent 5b7d135 commit 2687097
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions dcx.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
},
{
"name": "applicant",
"path": "packages/applicant",
"path": "packages/applicant"
},
{
"name": "common",
"path": "packages/common",
"path": "packages/common"
},
{
"name": "issuer",
"path": "packages/issuer",
"path": "packages/issuer"
},
{
"name": "server",
"path": "packages/server",
},
"path": "packages/server"
}
],
"settings": {
"eslint.workingDirectories": [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcx-protocol/root",
"version": "5.0.0",
"version": "0.5.0",
"description": "DCX: Decentralized Credential Exchange. DWN protocol for verifiable credential exchange.",
"type": "module",
"workspaces": [
Expand Down Expand Up @@ -105,4 +105,4 @@
"ws@<8.17.1": ">=8.17.1"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/applicant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcx-protocol/applicant",
"version": "5.0.0",
"version": "0.5.1",
"description": "DCX Applicant protocol and server",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcx-protocol/common",
"version": "3.2.0",
"version": "0.3.3",
"description": "Common library shared by the other @dcx-protocol packages",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down
9 changes: 5 additions & 4 deletions packages/common/tests/dcx-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ describe('dcxConfig', () => {
});

it('should contain property dcxConfig.applicant as an object with at least 2 entries', () => {
const dcxApplicantProtocol = dcxConfig.applicant;
expect(dcxApplicantProtocol).to.not.be.null.and.not.be.undefined;
expect(dcxApplicantProtocol).to.be.an('object');
expect(Object.entries(dcxApplicantProtocol)).to.have.lengthOf.gte(2);
const dcxApplicantConfig = dcxConfig.applicant;
expect(dcxApplicantConfig).to.not.be.null.and.not.be.undefined;
expect(dcxApplicantConfig).to.be.an('object');
expect(dcxApplicantConfig).to.be.instanceof(DcxApplicantConfig);
expect(Object.entries(dcxApplicantConfig)).to.have.lengthOf.gte(2);
});
});
});
2 changes: 1 addition & 1 deletion packages/issuer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcx-protocol/issuer",
"version": "5.0.0",
"version": "0.5.1",
"description": "DCX Issuer protocol and server",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcx-protocol/server",
"version": "2.0.0",
"version": "0.2.1",
"description": "DCX Server Implementation",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down

0 comments on commit 2687097

Please sign in to comment.