@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.
Files changed (2) hide show
  1. package/lib/oid4vp.js +1 -6
  2. 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
- // FIXME: create `allOf`
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`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitalbazaar/oid4-client",
3
- "version": "3.8.0",
3
+ "version": "4.0.0",
4
4
  "description": "An OID4 (VC + VP) client",
5
5
  "homepage": "https://github.com/digitalbazaar/oid4-client",
6
6
  "author": {