dcql 0.3.0 → 0.4.0-alpha-20250704223101
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 +2 -3
- package/dist/index.d.mts +7127 -4169
- package/dist/index.d.ts +7127 -4169
- package/dist/index.js +684 -386
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +684 -386
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -70,7 +70,7 @@ The query result provides detailed information about the match:
|
|
70
70
|
const queryResult = DcqlQuery.query(query, credentials);
|
71
71
|
|
72
72
|
// Check if query can be satisfied
|
73
|
-
console.log(queryResult.
|
73
|
+
console.log(queryResult.can_be_satisfied);
|
74
74
|
|
75
75
|
// Access matched credentials
|
76
76
|
console.log(queryResult.credential_matches);
|
@@ -114,10 +114,9 @@ assert.deepStrictEqual(presentationQueryResult, {
|
|
114
114
|
meta: { doctype_value: "org.iso.7367.1.mVRC" },
|
115
115
|
},
|
116
116
|
],
|
117
|
-
|
117
|
+
can_be_satisfied: true,
|
118
118
|
valid_matches: {
|
119
119
|
my_credential: {
|
120
|
-
typed: true,
|
121
120
|
success: true,
|
122
121
|
output: {
|
123
122
|
credential_format: "mso_mdoc",
|