@sphereon/ssi-sdk.w3c-vc-api 0.14.1 → 0.14.2-next.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -11
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -40,18 +40,15 @@ curl -X POST\
|
|
|
40
40
|
"https://agent/credentials/issue"
|
|
41
41
|
-d '<json body below>'
|
|
42
42
|
```
|
|
43
|
+
|
|
43
44
|
Body:
|
|
45
|
+
|
|
44
46
|
```json
|
|
45
47
|
{
|
|
46
48
|
"verifiableCredential": {
|
|
47
|
-
"@context": [
|
|
48
|
-
"https://www.w3.org/2018/credentials/v1"
|
|
49
|
-
],
|
|
49
|
+
"@context": ["https://www.w3.org/2018/credentials/v1"],
|
|
50
50
|
"id": "https://example.com/8790171",
|
|
51
|
-
"type": [
|
|
52
|
-
"VerifiableCredential",
|
|
53
|
-
"GS1CompanyPrefixLicenseCredential"
|
|
54
|
-
],
|
|
51
|
+
"type": ["VerifiableCredential", "GS1CompanyPrefixLicenseCredential"],
|
|
55
52
|
"issuer": "did:web:example.com",
|
|
56
53
|
"issuanceDate": "2023-06-22T00:00:00.000Z",
|
|
57
54
|
"validUntil": "2024-06-22T00:00:00.000Z",
|
|
@@ -71,12 +68,9 @@ Body:
|
|
|
71
68
|
```
|
|
72
69
|
|
|
73
70
|
```json
|
|
74
|
-
{
|
|
75
|
-
|
|
76
|
-
}
|
|
71
|
+
{}
|
|
77
72
|
```
|
|
78
73
|
|
|
79
|
-
|
|
80
74
|
## Configure API
|
|
81
75
|
|
|
82
76
|
You can configure and build the API in multiple ways. This module also exposes functions for every endpoint, so you are
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.w3c-vc-api",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2-next.18+3d61e58",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"start:dev": "ts-node __tests__/agent.ts"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@sphereon/did-auth-siop": "0.3.2-unstable.
|
|
15
|
-
"@sphereon/ssi-sdk.core": "0.14.
|
|
16
|
-
"@sphereon/ssi-sdk.express-support": "0.14.
|
|
17
|
-
"@sphereon/ssi-sdk.kv-store-temp": "0.14.
|
|
18
|
-
"@sphereon/ssi-sdk.presentation-exchange": "0.14.
|
|
19
|
-
"@sphereon/ssi-types": "0.14.
|
|
14
|
+
"@sphereon/did-auth-siop": "0.3.2-unstable.8",
|
|
15
|
+
"@sphereon/ssi-sdk.core": "0.14.2-next.18+3d61e58",
|
|
16
|
+
"@sphereon/ssi-sdk.express-support": "0.14.2-next.18+3d61e58",
|
|
17
|
+
"@sphereon/ssi-sdk.kv-store-temp": "0.14.2-next.18+3d61e58",
|
|
18
|
+
"@sphereon/ssi-sdk.presentation-exchange": "0.14.2-next.18+3d61e58",
|
|
19
|
+
"@sphereon/ssi-types": "0.14.2-next.18+3d61e58",
|
|
20
20
|
"@types/uuid": "^9.0.1",
|
|
21
21
|
"@veramo/core": "4.2.0",
|
|
22
22
|
"@veramo/credential-w3c": "4.2.0",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@sphereon/did-uni-client": "^0.6.0",
|
|
35
35
|
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.13.0",
|
|
36
36
|
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.13.0",
|
|
37
|
-
"@sphereon/ssi-sdk.data-store": "0.14.
|
|
38
|
-
"@sphereon/ssi-sdk.vc-handler-ld-local": "0.14.
|
|
37
|
+
"@sphereon/ssi-sdk.data-store": "0.14.2-next.18+3d61e58",
|
|
38
|
+
"@sphereon/ssi-sdk.vc-handler-ld-local": "0.14.2-next.18+3d61e58",
|
|
39
39
|
"@types/body-parser": "^1.19.2",
|
|
40
40
|
"@types/cookie-parser": "^1.4.3",
|
|
41
41
|
"@types/cors": "^2.8.13",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"W3C",
|
|
87
87
|
"VC API"
|
|
88
88
|
],
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "3d61e58b2125537bbb822bdc16e59792fdf7bf53"
|
|
90
90
|
}
|