Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into latest-cheqd-node
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Jan 17, 2025
2 parents 8b76782 + 8250f38 commit b4efcaf
Show file tree
Hide file tree
Showing 40 changed files with 489 additions and 386 deletions.
13 changes: 11 additions & 2 deletions examples/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# @docknetwork/sdk-examples

## 0.6.9
## 0.7.0

### Patch Changes

- Updated dependencies
- @docknetwork/credential-sdk@0.23.0
- @docknetwork/dock-blockchain-api@0.9.1
- @docknetwork/dock-blockchain-modules@0.12.1

## 0.6.9

### Minor Changes

- ld.dock.io -> ld.truvera.io
- Updated dependencies
- @docknetwork/dock-blockchain-modules@0.13.0
- @docknetwork/credential-sdk@0.23.0
- @docknetwork/dock-blockchain-api@0.9.1

## 0.6.8

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions examples/bbs-dock.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ExampleDIDResolver extends Resolver {

const resolver = new ExampleDIDResolver();

const id = 'https://ld.dock.io/examples/resident-card-schema.json';
const id = 'https://ld.truvera.io/examples/resident-card-schema.json';
const residentCardSchema = {
$schema: 'http://json-schema.org/draft-07/schema#',
$id: id,
Expand Down Expand Up @@ -81,10 +81,10 @@ const example = {
'@context': [
'https://www.w3.org/2018/credentials/v1',
'https://w3id.org/citizenship/v1',
'https://ld.dock.io/security/bbs/v1',
'https://ld.truvera.io/security/bbs/v1',
{
// You can also use any embedded context
dk: 'https://ld.dock.io/credentials#',
dk: 'https://ld.truvera.io/credentials#',
numberField: 'dk:numberField',
numberFieldNegative: 'dk:numberFieldNegative',
numberFieldOneDecimal: 'dk:numberFieldOneDecimal',
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.6.9",
"version": "0.7.0",
"scripts": {
"bbs-dock-example": "babel-node ./bbs-dock.js",
"claim-deduction-example": "babel-node ./claim-deduction.js",
Expand All @@ -19,9 +19,9 @@
"lint": "eslint \"*.js\""
},
"dependencies": {
"@docknetwork/credential-sdk": "0.23.0",
"@docknetwork/dock-blockchain-api": "0.9.1",
"@docknetwork/dock-blockchain-modules": "0.12.1"
"@docknetwork/credential-sdk": "0.24.0",
"@docknetwork/dock-blockchain-api": "0.9.2",
"@docknetwork/dock-blockchain-modules": "0.13.1"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "0.24.0",
"version": "0.25.0",
"private": true,
"workspaces": [
"packages/*",
Expand Down
4 changes: 4 additions & 0 deletions packages/cheqd-blockchain-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@

- Align with the latest `cheqd` node version (`3.1.3`)

## 0.17.1

### Patch Changes

- Updated dependencies
- @docknetwork/credential-sdk@0.23.0

## 0.17.0

### Minor Changes

- Implementation of the `cheqd` migration and the associated identifier mappers.
- Updated dependencies
- @docknetwork/credential-sdk@0.22.0
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@cheqd/sdk": "cjs",
"@docknetwork/credential-sdk": "0.23.0"
"@docknetwork/credential-sdk": "0.24.0"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/cheqd-blockchain-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- Align with the latest `cheqd` node version (`3.1.3`)

## 0.14.1

### Patch Changes

- Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/cheqd-blockchain-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@docknetwork/credential-sdk": "0.23.0"
"@docknetwork/credential-sdk": "0.24.0"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/credential-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# @docknetwork/credential-sdk

## 0.23.0
## 0.24.0

### Minor Changes

- Align with the latest `cheqd` node version (`3.1.3`)

## 0.23.0

- ld.dock.io -> ld.truvera.io

## 0.22.0

### Minor 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.23.0",
"version": "0.24.0",
"license": "MIT",
"type": "module",
"files": [
Expand Down Expand Up @@ -33,7 +33,7 @@
"dependencies": {
"@comunica/query-sparql-rdfjs": "^4.0.2",
"@digitalcredentials/vc-status-list": "^8.0.0",
"@docknetwork/crypto-wasm-ts": "^0.63.0",
"@docknetwork/crypto-wasm-ts": "^0.67.0",
"@juanelas/base64": "^1.1.5",
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "^0.26.0",
"@stablelib/ed25519": "^1.0.0",
Expand Down
8 changes: 7 additions & 1 deletion packages/credential-sdk/src/vc/contexts.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ export default new Map([
['https://ld.dock.io/security/bbs23/v1', dockBBS23V1Context],
['https://ld.dock.io/security/ps/v1', dockPSV1Context],
['https://ld.dock.io/security/bbdt16/v1', dockBBDT16V1Context],
['https://ld.dock.io/private-status-list-21', privateStatusList21Context],
['https://ld.truvera.io/credentials/prettyvc', dockPrettyVCContext],
['https://ld.truvera.io/security/bbs/v1', dockBBSV1Context],
['https://ld.truvera.io/security/bbs23/v1', dockBBS23V1Context],
['https://ld.truvera.io/security/ps/v1', dockPSV1Context],
['https://ld.truvera.io/security/bbdt16/v1', dockBBDT16V1Context],
['https://ld.truvera.io/private-status-list-21', privateStatusList21Context],
['https://w3id.org/security/bbs/v1', bbsV1Context],
['https://w3c-ccg.github.io/ldp-bbs2020/contexts/v1/', bbsV1Context],
['https://www.w3.org/2018/credentials/v1', credV1Context],
Expand All @@ -42,7 +49,6 @@ export default new Map([
['https://w3id.org/security/suites/jws-2020/v1', jws2020V1Context],
// This is overridden because the URL is 404 now, likely because domain name change. But the status-list library still uses the old domain name
['https://w3id.org/vc/status-list/2021/v1', statusList21Context],
['https://ld.dock.io/private-status-list-21', privateStatusList21Context],
// Overriden due to 404ing
[
'https://sphereon-opensource.github.io/ssi-mobile-wallet/context/sphereon-wallet-identity-v1.jsonld',
Expand Down
Loading

0 comments on commit b4efcaf

Please sign in to comment.