Skip to content

Commit e448607

Browse files
authored
fix: update QSG component versions and fix the flow (#223)
* fix: update qsg to progress further Signed-off-by: Pat Losoponkul <[email protected]> * make claim valid Signed-off-by: Pat Losoponkul <[email protected]> * make issuance passed Signed-off-by: Pat Losoponkul <[email protected]> * fix broken links Signed-off-by: Pat Losoponkul <[email protected]> --------- Signed-off-by: Pat Losoponkul <[email protected]>
1 parent a266512 commit e448607

File tree

2 files changed

+27
-13
lines changed

2 files changed

+27
-13
lines changed

documentation/home/quick-start.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ More in depth documentation about [Cloud Agent](/home/concepts/glossary/#cloud-a
4444
### Wallet SDKs
4545
[Wallet SDKs](/home/concepts/glossary/#wallet-sdk) for web and mobile (iOS, Android, TypeScript) enable identity holders to store credentials and respond to proof requests. They are typically used in applications that allow identity holders to interact with issuers and verifiers.
4646

47-
More in-depth documentation about the different Wallet SDKs can be found here ([TypeScript](https://hyperledger.github.io/identus-docs/identus-sdk-ts/sdk), [Swift](https://hyperledger.github.io/identus-edge-agent-sdk-swift/documentation/edgeagentsdk/), [KMP](https://hyperledger.github.io/identus-edge-agent-sdk-kmp/))
47+
More in-depth documentation about the different Wallet SDKs can be found here ([TypeScript](https://hyperledger-identus.github.io/docs/sdk-ts/sdk/), [Swift](https://hyperledger-identus.github.io/sdk-swift/documentation/edgeagentsdk/), [KMP](https://hyperledger-identus.github.io/sdk-kmp/))
4848

4949

5050

@@ -81,8 +81,8 @@ git clone https://github.com/hyperledger/identus-cloud-agent
8181

8282
```
8383
API_KEY_ENABLED=false
84-
AGENT_VERSION=1.36.1
85-
PRISM_NODE_VERSION=2.4.1
84+
AGENT_VERSION=2.0.0
85+
PRISM_NODE_VERSION=2.6.0
8686
PORT=8000
8787
NETWORK=identus
8888
VAULT_DEV_ROOT_TOKEN_ID=root
@@ -95,8 +95,8 @@ PG_PORT=5432
9595

9696
```
9797
API_KEY_ENABLED=false
98-
AGENT_VERSION=1.36.1
99-
PRISM_NODE_VERSION=2.4.1
98+
AGENT_VERSION=2.0.0
99+
PRISM_NODE_VERSION=2.6.0
100100
PORT=9000
101101
NETWORK=identus
102102
VAULT_DEV_ROOT_TOKEN_ID=root
@@ -270,7 +270,7 @@ All wallet SDK's come bundled with a sample application, that cover all the Iden
270270
1. Clone the [TypeScript SDK](https://github.com/hyperledger-identus/sdk-ts) repository.
271271

272272
```bash
273-
git clone https://github.com/hyperledger-identus/sdk-ts
273+
git clone -b v6.6.0 https://github.com/hyperledger-identus/sdk-ts
274274
```
275275

276276
2. Ensure you have all applications installed for building the SDK and their dependencies
@@ -357,11 +357,11 @@ The latest mediator version can be found at [Mediator releases](https://github.c
357357

358358
Mac OSX terminal shell
359359
```bash
360-
MEDIATOR_VERSION=0.15.0 SERVICE_ENDPOINTS="http://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080;ws://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080/ws" docker compose up
360+
MEDIATOR_VERSION=1.1.0 SERVICE_ENDPOINTS="http://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080;ws://$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}')):8080/ws" docker compose up
361361
```
362362
Linux terminal shell
363363
```bash
364-
MEDIATOR_VERSION=0.15.0 SERVICE_ENDPOINTS="http://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080;ws://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080/ws" docker compose up
364+
MEDIATOR_VERSION=1.1.0 SERVICE_ENDPOINTS="http://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080;ws://$(ip addr show $(ip route show default | awk '/default/ {print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1):8080/ws" docker compose up
365365
```
366366

367367
`MEDIATOR_ENDPOINTS` is then set to your local IP address:8080.
@@ -630,9 +630,16 @@ The Issuing DID is the published PRISM DID in its short version which was also u
630630
curl --location --request POST 'http://localhost:8000/cloud-agent/issue-credentials/credential-offers' \
631631
--header 'Content-Type: application/json' \
632632
--data-raw '{
633-
"claims": {"emailAddress":"sampleEmail", "familyName":"", "dateOfIssuance":"2023-01-01T02:02:02Z", "drivingLicenseID":"", "drivingClass":1},
633+
"claims": {
634+
"emailAddress":"sampleEmail",
635+
"familyName":"Alice",
636+
"dateOfIssuance":"2023-01-01T02:02:02Z",
637+
"drivingLicenseID":"42",
638+
"drivingClass":1
639+
},
634640
"connectionId": [[connectionId]],
635641
"issuingDID": [[publishedPrismDID]],
642+
"schemaId": [[schemaId]],
636643
"automaticIssuance": true
637644
}'
638645
```
@@ -660,11 +667,18 @@ The Issuing DID is the published PRISM DID in its short version which was also u
660667
curl --location --request POST 'http://localhost:8000/cloud-agent/issue-credentials/credential-offers/invitation' \
661668
--header 'Content-Type: application/json' \
662669
--data-raw '{
663-
"claims": {"emailAddress":"sampleEmail", "familyName":"", "dateOfIssuance":"2023-01-01T02:02:02Z", "drivingLicenseID":"", "drivingClass":1},
670+
"claims": {
671+
"emailAddress":"sampleEmail",
672+
"familyName":"Alice",
673+
"dateOfIssuance":"2023-01-01T02:02:02Z",
674+
"drivingLicenseID":"42",
675+
"drivingClass":1
676+
},
664677
"goalCode": [[goalCode]],
665678
"goal": [[goal]],
666679
"credentialFormat": "JWT",
667680
"issuingDID": [[publishedPrismDID]],
681+
"schemaId": [[schemaId]],
668682
"automaticIssuance": true
669683
}'
670684
```

src/components/resources/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,19 @@ const RESOURCES = [
129129
title: "Wallet SDK Swift",
130130
Svg: Graphics.walletSdkSwift,
131131
content: "Build Swift-based applications using our SDKs",
132-
linkTo: "https://hyperledger.github.io/identus-edge-agent-sdk-swift/documentation/edgeagentsdk/"
132+
linkTo: "https://hyperledger-identus.github.io/sdk-swift/documentation/edgeagentsdk/"
133133
},
134134
{
135135
title: "Wallet SDK TypeScript",
136136
Svg: Graphics.walletSdkTS,
137137
content: "Build web-based applications using our SDKs",
138-
linkTo: "https://hyperledger.github.io/identus-docs/identus-edge-agent-sdk-ts/sdk"
138+
linkTo: "https://hyperledger-identus.github.io/docs/sdk-ts/sdk/"
139139
},
140140
{
141141
title: "Wallet SDK KMM",
142142
Svg: Graphics.walletSdkKmm,
143143
content: "Build KMM-based applications using our SDKs",
144-
linkTo: "https://hyperledger-identus.github.io/edge-agent-sdk-kmp/"
144+
linkTo: "https://hyperledger-identus.github.io/sdk-kmp/"
145145
},
146146
{
147147
title: "APIs",

0 commit comments

Comments
 (0)