diff --git a/examples/CHANGELOG.md b/examples/CHANGELOG.md index 263766f4..3c1d277a 100644 --- a/examples/CHANGELOG.md +++ b/examples/CHANGELOG.md @@ -1,5 +1,14 @@ # @docknetwork/sdk-examples +## 0.4.1 + +### Patch Changes + +- Updated dependencies + - @docknetwork/credential-sdk@0.6.0 + - @docknetwork/dock-blockchain-api@0.4.1 + - @docknetwork/dock-blockchain-modules@0.5.1 + ## 0.4.0 ### Minor Changes diff --git a/examples/package.json b/examples/package.json index 1a20161e..cbc54294 100644 --- a/examples/package.json +++ b/examples/package.json @@ -2,7 +2,7 @@ "name": "@docknetwork/sdk-examples", "private": true, "type": "module", - "version": "0.4.0", + "version": "0.4.1", "scripts": { "bbs-dock-example": "babel-node ./bbs-dock.js", "claim-deduction-example": "babel-node ./claim-deduction.js", @@ -19,9 +19,9 @@ "lint": "eslint \"*.js\"" }, "dependencies": { - "@docknetwork/credential-sdk": "0.5.0", - "@docknetwork/dock-blockchain-api": "0.4.0", - "@docknetwork/dock-blockchain-modules": "0.5.0" + "@docknetwork/credential-sdk": "0.6.0", + "@docknetwork/dock-blockchain-api": "0.4.1", + "@docknetwork/dock-blockchain-modules": "0.5.1" }, "devDependencies": { "babel-eslint": "^10.1.0", diff --git a/package.json b/package.json index 8372de77..444abd2e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "0.5.0", + "version": "0.6.0", "private": true, "workspaces": [ "packages/*", diff --git a/packages/cheqd-blockchain-modules/CHANGELOG.md b/packages/cheqd-blockchain-modules/CHANGELOG.md index a4d409e3..4fd49540 100644 --- a/packages/cheqd-blockchain-modules/CHANGELOG.md +++ b/packages/cheqd-blockchain-modules/CHANGELOG.md @@ -1,5 +1,12 @@ # @docknetwork/cheqd-blockchain-modules +## 0.5.1 + +### Patch Changes + +- Updated dependencies + - @docknetwork/credential-sdk@0.6.0 + ## 0.5.0 ### Minor Changes diff --git a/packages/cheqd-blockchain-modules/package.json b/packages/cheqd-blockchain-modules/package.json index a6f8ca72..ce6c3787 100644 --- a/packages/cheqd-blockchain-modules/package.json +++ b/packages/cheqd-blockchain-modules/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/cheqd-blockchain-modules", - "version": "0.5.0", + "version": "0.5.1", "type": "module", "license": "MIT", "main": "./dist/esm/index.js", @@ -28,7 +28,7 @@ "node": ">=18.0.0" }, "dependencies": { - "@docknetwork/credential-sdk": "0.5.0" + "@docknetwork/credential-sdk": "0.6.0" }, "devDependencies": { "@babel/cli": "^7.24.1", diff --git a/packages/credential-sdk/CHANGELOG.md b/packages/credential-sdk/CHANGELOG.md index 731c033b..12e5e659 100644 --- a/packages/credential-sdk/CHANGELOG.md +++ b/packages/credential-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # @docknetwork/credential-sdk +## 0.6.0 + +### Minor Changes + +- Fix remaining exports from the `vc` module + ## 0.5.0 ### Minor Changes diff --git a/packages/credential-sdk/package.json b/packages/credential-sdk/package.json index e3cea8a1..38f149e5 100644 --- a/packages/credential-sdk/package.json +++ b/packages/credential-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/credential-sdk", - "version": "0.5.0", + "version": "0.6.0", "license": "MIT", "type": "module", "files": [ diff --git a/packages/credential-sdk/src/vc/index.js b/packages/credential-sdk/src/vc/index.js index 3541b44a..2f14a8d4 100644 --- a/packages/credential-sdk/src/vc/index.js +++ b/packages/credential-sdk/src/vc/index.js @@ -1,7 +1,7 @@ -import { signPresentation, verifyPresentation } from './presentations'; -import { issueCredential, verifyCredential } from './credentials'; +import { signPresentation, verifyPresentation } from "./presentations"; +import { issueCredential, verifyCredential } from "./credentials"; -import { DEFAULT_TYPE, DEFAULT_CONTEXT } from './constants'; +import { DEFAULT_TYPE, DEFAULT_CONTEXT } from "./constants"; /** * Check that credential is verified, i.e. the credential has VCDM compliant structure and the `proof` @@ -28,20 +28,19 @@ export async function isVerifiedPresentation(presentation, params) { return result.verified; } -// TODO: export more methods supplied in revocation/credentials -export { - verifyCredential, - issueCredential, - signPresentation, - verifyPresentation, - DEFAULT_TYPE, - DEFAULT_CONTEXT, -}; - -export { default as Presentation } from './presentation'; -export { default as VerifiableCredential } from './verifiable-credential'; -export { default as VerifiablePresentation } from './verifiable-presentation'; -export { default as StatusList2021Credential } from './status-list2021-credential'; -export { default as PrivateStatusList2021Credential } from './private-status-list2021-credential'; -export * from './helpers'; -export { validateCredentialSchema } from './schema'; +export { default as Presentation } from "./presentation"; +export { default as VerifiableCredential } from "./verifiable-credential"; +export { default as VerifiablePresentation } from "./verifiable-presentation"; +export { default as StatusList2021Credential } from "./status-list2021-credential"; +export { default as PrivateStatusList2021Credential } from "./private-status-list2021-credential"; +export * from "./credentials"; +export * from "./helpers"; +export * from "./schema"; +export * from "./constants"; +export * from "./custom_crypto"; +export * from "./document-loader"; +export * from "./jws"; +export * from "./presentation"; +export * from "./presentations"; +export * from "./revocation"; +export * from "./schema"; diff --git a/packages/dock-blockchain-api/CHANGELOG.md b/packages/dock-blockchain-api/CHANGELOG.md index c38e71a2..f300efaa 100644 --- a/packages/dock-blockchain-api/CHANGELOG.md +++ b/packages/dock-blockchain-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @docknetwork/dock-blockchain-api +## 0.4.1 + +### Patch Changes + +- Updated dependencies + - @docknetwork/credential-sdk@0.6.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/dock-blockchain-api/package.json b/packages/dock-blockchain-api/package.json index a561fc1f..fd604913 100644 --- a/packages/dock-blockchain-api/package.json +++ b/packages/dock-blockchain-api/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/dock-blockchain-api", - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "main": "./dist/esm/index.js", "type": "module", @@ -84,7 +84,7 @@ "@polkadot/api": "10.12.4" }, "dependencies": { - "@docknetwork/credential-sdk": "0.5.0", + "@docknetwork/credential-sdk": "0.6.0", "@docknetwork/node-types": "^0.17.0", "@juanelas/base64": "^1.0.5", "@polkadot/api": "10.12.4", diff --git a/packages/dock-blockchain-modules/CHANGELOG.md b/packages/dock-blockchain-modules/CHANGELOG.md index 79990b48..b636205f 100644 --- a/packages/dock-blockchain-modules/CHANGELOG.md +++ b/packages/dock-blockchain-modules/CHANGELOG.md @@ -1,5 +1,12 @@ # @docknetwork/dock-blockchain-modules +## 0.5.1 + +### Patch Changes + +- Updated dependencies + - @docknetwork/credential-sdk@0.6.0 + ## 0.5.0 ### Minor Changes diff --git a/packages/dock-blockchain-modules/package.json b/packages/dock-blockchain-modules/package.json index 8cb2b027..3620571a 100644 --- a/packages/dock-blockchain-modules/package.json +++ b/packages/dock-blockchain-modules/package.json @@ -1,6 +1,6 @@ { "name": "@docknetwork/dock-blockchain-modules", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "type": "module", "main": "./dist/esm/index.js", @@ -28,7 +28,7 @@ "node": ">=18.0.0" }, "dependencies": { - "@docknetwork/credential-sdk": "0.5.0" + "@docknetwork/credential-sdk": "0.6.0" }, "devDependencies": { "@babel/cli": "^7.24.1", @@ -37,7 +37,7 @@ "@babel/plugin-syntax-import-attributes": "^7.25.6", "@babel/plugin-transform-modules-commonjs": "^7.24.1", "@babel/preset-env": "^7.24.3", - "@docknetwork/dock-blockchain-api": "0.4.0", + "@docknetwork/dock-blockchain-api": "0.4.1", "@rollup/plugin-alias": "^4.0.2", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^24.0.0",