Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions examples/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @docknetwork/sdk-examples

## 0.22.4

### Patch Changes

- Upgrade packages
- Updated dependencies
- @docknetwork/cheqd-blockchain-modules@4.0.9
- @docknetwork/cheqd-blockchain-api@4.2.2
- @docknetwork/credential-sdk@0.54.19

## 0.22.3

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@docknetwork/sdk-examples",
"private": true,
"type": "module",
"version": "0.22.3",
"version": "0.22.4",
"scripts": {
"bbs-dock-example": "babel-node ./src/bbs-dock.js",
"claim-deduction-example": "babel-node ./src/claim-deduction.js",
Expand All @@ -18,9 +18,9 @@
"lint": "eslint \"src/**/*.js\""
},
"dependencies": {
"@docknetwork/credential-sdk": "0.54.18",
"@docknetwork/cheqd-blockchain-api": "4.2.1",
"@docknetwork/cheqd-blockchain-modules": "4.0.8"
"@docknetwork/credential-sdk": "0.54.19",
"@docknetwork/cheqd-blockchain-api": "4.2.2",
"@docknetwork/cheqd-blockchain-modules": "4.0.9"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
Expand Down
4 changes: 4 additions & 0 deletions examples/src/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { CheqdCoreModules } from '@docknetwork/cheqd-blockchain-modules';
import {
VerifiableCredential,
getKeyDoc,
getSuiteFromKeyDoc,
} from '@docknetwork/credential-sdk/vc';
import {
Ed25519Keypair,
Expand Down Expand Up @@ -119,11 +120,13 @@ async function main() {
emailAddress: 'abc@example.com',
});
await vc.sign(keyDoc);
const signingSuite = await getSuiteFromKeyDoc(keyDoc);

console.log('Verifying the credential:', vc);
const { verified, error } = await vc.verify({
resolver,
compactProof: false,
suite: [signingSuite],
});
if (!verified) {
throw error || new Error('Verification failed');
Expand All @@ -139,6 +142,7 @@ async function main() {
await vc.verify({
resolver,
compactProof: false,
suite: [signingSuite],
});
throw new Error(
"Verification succeeded, but it shouldn't have. This is a bug.",
Expand Down
8 changes: 8 additions & 0 deletions packages/cheqd-blockchain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @docknetwork/cheqd-blockchain-api

## 4.2.2

### Patch Changes

- Upgrade packages
- Updated dependencies
- @docknetwork/credential-sdk@0.54.19

## 4.2.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/cheqd-blockchain-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/cheqd-blockchain-api",
"version": "4.2.1",
"version": "4.2.2",
"license": "MIT",
"main": "./dist/esm/index.js",
"type": "module",
Expand Down Expand Up @@ -32,7 +32,7 @@
"node": ">=22.0.0"
},
"peerDependencies": {
"@docknetwork/credential-sdk": "^0.54.11"
"@docknetwork/credential-sdk": "^0.54.19"
},
"dependencies": {
"@cheqd/sdk": "5.5.0",
Expand All @@ -46,7 +46,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@comunica/types": "^1.0.0",
"@docknetwork/credential-sdk": "^0.54.11",
"@docknetwork/credential-sdk": "^0.54.19",
"@helia/strings": "^3.0.1",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-commonjs": "^24.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/cheqd-blockchain-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @docknetwork/cheqd-blockchain-modules

## 4.0.9

### Patch Changes

- Upgrade packages
- Updated dependencies
- @docknetwork/credential-sdk@0.54.19

## 4.0.8

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/cheqd-blockchain-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/cheqd-blockchain-modules",
"version": "4.0.8",
"version": "4.0.9",
"type": "module",
"license": "MIT",
"main": "./dist/esm/index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
"node": ">=22.0.0"
},
"peerDependencies": {
"@docknetwork/credential-sdk": "^0.54.11"
"@docknetwork/credential-sdk": "^0.54.19"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
Expand All @@ -41,8 +41,8 @@
"@babel/plugin-syntax-import-attributes": "^7.25.6",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@docknetwork/cheqd-blockchain-api": "4.2.1",
"@docknetwork/credential-sdk": "^0.54.11",
"@docknetwork/cheqd-blockchain-api": "4.2.2",
"@docknetwork/credential-sdk": "^0.54.19",
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^24.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/credential-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @docknetwork/credential-sdk

## 0.54.19

### Patch Changes

- Upgrade packages
- Updated dependencies
- @docknetwork/vc-delegation-engine@1.0.4

## 0.54.18

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/credential-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/credential-sdk",
"version": "0.54.18",
"version": "0.54.19",
"license": "MIT",
"type": "module",
"files": [
Expand Down Expand Up @@ -39,7 +39,7 @@
"@astronautlabs/jsonpath": "^1.1.2",
"@digitalcredentials/vc-status-list": "^9.0.0",
"@docknetwork/crypto-wasm-ts": "^0.63.0",
"@docknetwork/vc-delegation-engine": "1.0.3",
"@docknetwork/vc-delegation-engine": "1.0.4",
"@juanelas/base64": "^1.1.5",
"@sphereon/pex": "^5.0.0-unstable.28",
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "^0.26.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/vc-delegation-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @docknetwork/vc-delegation-engine

## 1.0.4

### Patch Changes

- Upgrade packages

## 1.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vc-delegation-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@docknetwork/vc-delegation-engine",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
Expand Down
9 changes: 9 additions & 0 deletions scripts/bench/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @docknetwork/benchmarks

## 0.4.23

### Patch Changes

- Updated dependencies
- @docknetwork/cheqd-blockchain-modules@4.0.9
- @docknetwork/cheqd-blockchain-api@4.2.2
- @docknetwork/credential-sdk@0.54.19

## 0.4.22

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions scripts/bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "@docknetwork/benchmarks",
"private": true,
"type": "module",
"version": "0.4.22",
"version": "0.4.23",
"scripts": {
"bench": "babel-node src/main.js"
},
"dependencies": {
"@docknetwork/cheqd-blockchain-api": "4.2.1",
"@docknetwork/cheqd-blockchain-modules": "4.0.8",
"@docknetwork/credential-sdk": "0.54.18",
"@docknetwork/cheqd-blockchain-api": "4.2.2",
"@docknetwork/cheqd-blockchain-modules": "4.0.9",
"@docknetwork/credential-sdk": "0.54.19",
"@docknetwork/crypto-wasm-ts": "^0.63.0"
},
"devDependencies": {
Expand Down
Loading