@bedrock/vc-verifier 21.2.2 → 21.2.3

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/challenges.js CHANGED
@@ -163,9 +163,9 @@ async function _use({challenge, explain = false} = {}) {
163
163
  'meta.updated': Date.now()
164
164
  };
165
165
  const options = {
166
- ...database.writeOptions,
167
166
  // return document after the update
168
- returnDocument: 'after'
167
+ returnDocument: 'after',
168
+ includeResultMetadata: true
169
169
  };
170
170
 
171
171
  if(explain) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-verifier",
3
- "version": "21.2.2",
3
+ "version": "21.2.3",
4
4
  "type": "module",
5
5
  "description": "Bedrock VC Verifier",
6
6
  "main": "./lib/index.js",