@bedrock/vc-verifier 12.2.0 → 13.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/http.js +6 -1
  2. package/package.json +3 -3
package/lib/http.js CHANGED
@@ -22,7 +22,12 @@ const {util: {BedrockError}} = bedrock;
22
22
 
23
23
  // FIXME: remove and apply at top-level application
24
24
  bedrock.events.on('bedrock-express.configure.bodyParser', app => {
25
- app.use(bodyParser.json({limit: '10MB', type: ['json', '+json']}));
25
+ app.use(bodyParser.json({
26
+ // allow json that is not just arrays or objects
27
+ strict: false,
28
+ limit: '10MB',
29
+ type: ['json', '+json']
30
+ }));
26
31
  });
27
32
 
28
33
  export async function addRoutes({app, service} = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/vc-verifier",
3
- "version": "12.2.0",
3
+ "version": "13.0.0",
4
4
  "type": "module",
5
5
  "description": "Bedrock VC Verifier",
6
6
  "main": "./lib/index.js",
@@ -50,8 +50,8 @@
50
50
  "@bedrock/multikey-context": "^1.0.0",
51
51
  "@bedrock/security-context": "^7.0.0",
52
52
  "@bedrock/service-agent": "^6.0.0",
53
- "@bedrock/service-context-store": "^8.1.0",
54
- "@bedrock/service-core": "^6.1.2",
53
+ "@bedrock/service-context-store": "^9.0.0",
54
+ "@bedrock/service-core": "^7.0.0",
55
55
  "@bedrock/validation": "^7.0.0",
56
56
  "@bedrock/vc-revocation-list-context": "^3.1.0",
57
57
  "@bedrock/vc-status-list-context": "^4.1.0",