From 26870973ef069ae9568d933196bd294bfbedf6dd Mon Sep 17 00:00:00 2001 From: Bnonni Date: Wed, 21 Aug 2024 00:36:15 -0400 Subject: [PATCH] revert major versions since still alpha --- dcx.code-workspace | 10 +++++----- package.json | 4 ++-- packages/applicant/package.json | 2 +- packages/common/package.json | 2 +- packages/common/tests/dcx-config.spec.ts | 9 +++++---- packages/issuer/package.json | 2 +- packages/server/package.json | 2 +- 7 files changed, 16 insertions(+), 15 deletions(-) diff --git a/dcx.code-workspace b/dcx.code-workspace index 4a6eced..64ccde0 100644 --- a/dcx.code-workspace +++ b/dcx.code-workspace @@ -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": [ diff --git a/package.json b/package.json index 5614cdf..ea2e0f5 100644 --- a/package.json +++ b/package.json @@ -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": [ @@ -105,4 +105,4 @@ "ws@<8.17.1": ">=8.17.1" } } -} \ No newline at end of file +} diff --git a/packages/applicant/package.json b/packages/applicant/package.json index ef808ec..20efa67 100644 --- a/packages/applicant/package.json +++ b/packages/applicant/package.json @@ -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", diff --git a/packages/common/package.json b/packages/common/package.json index 6e81e05..55cc4a2 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -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", diff --git a/packages/common/tests/dcx-config.spec.ts b/packages/common/tests/dcx-config.spec.ts index b92f5c3..bc1b45c 100644 --- a/packages/common/tests/dcx-config.spec.ts +++ b/packages/common/tests/dcx-config.spec.ts @@ -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); }); }); }); \ No newline at end of file diff --git a/packages/issuer/package.json b/packages/issuer/package.json index 4de4521..ed7126b 100644 --- a/packages/issuer/package.json +++ b/packages/issuer/package.json @@ -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", diff --git a/packages/server/package.json b/packages/server/package.json index 89c15c9..bc58cf5 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -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",