@digitalbazaar/oid4-client 3.8.0 → 4.0.0
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/lib/oid4vp.js +1 -6
- package/package.json +1 -1
package/lib/oid4vp.js
CHANGED
|
@@ -590,16 +590,11 @@ export function _fromQueryByExampleQuery({credentialQuery, prefixJwtVcPath}) {
|
|
|
590
590
|
const filter = {};
|
|
591
591
|
if(Array.isArray(value)) {
|
|
592
592
|
filter.type = 'array';
|
|
593
|
-
|
|
594
|
-
/*filter.allOf = value.map(v => ({
|
|
593
|
+
filter.allOf = value.map(v => ({
|
|
595
594
|
contains: {
|
|
596
595
|
type: 'string',
|
|
597
596
|
const: v
|
|
598
597
|
}
|
|
599
|
-
}));*/
|
|
600
|
-
filter.contains = value.map(v => ({
|
|
601
|
-
type: 'string',
|
|
602
|
-
const: v
|
|
603
598
|
}));
|
|
604
599
|
} else if(key === 'type') {
|
|
605
600
|
// special provision for array/string for `type`
|