@bedrock/kms 11.0.0 → 12.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/keystores.js +0 -11
  2. package/package.json +1 -1
package/lib/keystores.js CHANGED
@@ -40,17 +40,6 @@ bedrock.events.on('bedrock-mongodb.ready', async () => {
40
40
  collection: 'kms-keystore',
41
41
  fields: {'config.controller': 1},
42
42
  options: {unique: false, background: false}
43
- }, {
44
- // ensure config uniqueness of reference ID per controller
45
- collection: 'kms-keystore',
46
- fields: {'config.controller': 1, 'config.referenceId': 1},
47
- options: {
48
- partialFilterExpression: {
49
- 'config.referenceId': {$exists: true}
50
- },
51
- unique: true,
52
- background: false
53
- }
54
43
  }, {
55
44
  // cover counting keystores in use by meter ID, if present
56
45
  collection: 'kms-keystore',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bedrock/kms",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "type": "module",
5
5
  "description": "Key management for Bedrock applications",
6
6
  "main": "./lib/index.js",