@sd-jwt/sd-jwt-vc 0.14.0 → 0.14.1-next.1
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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/sd-jwt-vc-type-metadata-format.ts +1 -1
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ const valid = await sdjwt.validate(credential);
|
|
|
71
71
|
|
|
72
72
|
// Holder defines the presentation frame to specify which claims should be presented
|
|
73
73
|
// The list of presented claims must be a subset of the disclosed claims
|
|
74
|
-
const presentationFrame =
|
|
74
|
+
const presentationFrame = { firstname: true, ssn: true };
|
|
75
75
|
|
|
76
76
|
// Holder creates a presentation using the issued credential and the presentation frame
|
|
77
77
|
// returns an encoded SD JWT.
|
package/dist/index.d.mts
CHANGED
|
@@ -101,7 +101,7 @@ type Claim = {
|
|
|
101
101
|
* REQUIRED. Array of one or more paths to the claim in the credential subject.
|
|
102
102
|
* Each path is an array of strings (or null for array elements).
|
|
103
103
|
*/
|
|
104
|
-
path: ClaimPath
|
|
104
|
+
path: ClaimPath;
|
|
105
105
|
/** OPTIONAL. Display metadata in multiple languages. */
|
|
106
106
|
display?: ClaimDisplay[];
|
|
107
107
|
/** OPTIONAL. Controls whether the claim must, may, or must not be selectively disclosed. */
|
package/dist/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ type Claim = {
|
|
|
101
101
|
* REQUIRED. Array of one or more paths to the claim in the credential subject.
|
|
102
102
|
* Each path is an array of strings (or null for array elements).
|
|
103
103
|
*/
|
|
104
|
-
path: ClaimPath
|
|
104
|
+
path: ClaimPath;
|
|
105
105
|
/** OPTIONAL. Display metadata in multiple languages. */
|
|
106
106
|
display?: ClaimDisplay[];
|
|
107
107
|
/** OPTIONAL. Controls whether the claim must, may, or must not be selectively disclosed. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-jwt/sd-jwt-vc",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1-next.1+653fe87",
|
|
4
4
|
"description": "sd-jwt draft 7 implementation in typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sd-jwt/core": "0.14.
|
|
43
|
-
"@sd-jwt/jwt-status-list": "0.14.
|
|
44
|
-
"@sd-jwt/utils": "0.14.
|
|
42
|
+
"@sd-jwt/core": "0.14.1-next.1+653fe87",
|
|
43
|
+
"@sd-jwt/jwt-status-list": "0.14.1-next.1+653fe87",
|
|
44
|
+
"@sd-jwt/utils": "0.14.1-next.1+653fe87",
|
|
45
45
|
"ajv": "^8.17.1",
|
|
46
46
|
"ajv-formats": "^3.0.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@sd-jwt/crypto-nodejs": "0.14.
|
|
50
|
-
"@sd-jwt/types": "0.14.
|
|
49
|
+
"@sd-jwt/crypto-nodejs": "0.14.1-next.1+653fe87",
|
|
50
|
+
"@sd-jwt/types": "0.14.1-next.1+653fe87",
|
|
51
51
|
"jose": "^5.2.2",
|
|
52
52
|
"msw": "^2.3.5"
|
|
53
53
|
},
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"esm"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "653fe8742de6be491198b68e1248002e7800c7c5"
|
|
71
71
|
}
|
|
@@ -110,7 +110,7 @@ export type Claim = {
|
|
|
110
110
|
* REQUIRED. Array of one or more paths to the claim in the credential subject.
|
|
111
111
|
* Each path is an array of strings (or null for array elements).
|
|
112
112
|
*/
|
|
113
|
-
path: ClaimPath
|
|
113
|
+
path: ClaimPath;
|
|
114
114
|
/** OPTIONAL. Display metadata in multiple languages. */
|
|
115
115
|
display?: ClaimDisplay[];
|
|
116
116
|
/** OPTIONAL. Controls whether the claim must, may, or must not be selectively disclosed. */
|