@bedrock/kms-http 15.0.0 → 17.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/README.md +5 -5
- package/package.json +3 -3
- package/schemas/bedrock-kms-http.js +0 -7
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Install
|
|
13
13
|
|
|
14
|
-
- Node.js
|
|
14
|
+
- Node.js 18+ is required.
|
|
15
15
|
|
|
16
16
|
### NPM
|
|
17
17
|
|
|
@@ -50,7 +50,7 @@ This module exposes the following API endpoints.
|
|
|
50
50
|
{
|
|
51
51
|
sequence: 0,
|
|
52
52
|
controller: 'did:key:z6MkoyZVQSetDxU66AsfinUPzgSEu5N9Jf1anHEY4YCzcE54',
|
|
53
|
-
meterId: 'https://localhost:18443/meters/
|
|
53
|
+
meterId: 'https://localhost:18443/meters/z19ygjQcNmQ9AbG7hCF39Kizs',
|
|
54
54
|
kmsModule: 'ssm-v1'
|
|
55
55
|
}
|
|
56
56
|
```
|
|
@@ -71,7 +71,7 @@ This module exposes the following API endpoints.
|
|
|
71
71
|
```
|
|
72
72
|
{
|
|
73
73
|
id: 'https://localhost:18443/kms/keystores/z1AByGXEmfZnyG8rgM3aVpYxG',
|
|
74
|
-
meterId: 'https://localhost:18443/meters/
|
|
74
|
+
meterId: 'https://localhost:18443/meters/z19ygjQcNmQ9AbG7hCF39Kizs',
|
|
75
75
|
sequence: 0,
|
|
76
76
|
controller: 'did:key:z6MkoyZVQSetDxU66AsfinUPzgSEu5N9Jf1anHEY4YCzcE54',
|
|
77
77
|
kmsModule: 'ssm-v1'
|
|
@@ -109,7 +109,7 @@ This module exposes the following API endpoints.
|
|
|
109
109
|
controller: 'did:key:z6MknP29cPcQ7G76MWmnsuEEdeFya8ij3fXvJcTJYLXadmp9',
|
|
110
110
|
id: 'https://localhost:18443/kms/keystores/z19xPXyqB3dnqKZ7BtVFvqSLH',
|
|
111
111
|
sequence: 1,
|
|
112
|
-
meterId: 'https://localhost:18443/meters/
|
|
112
|
+
meterId: 'https://localhost:18443/meters/z19zMxFgrtXrR3RArhogVQ78T',
|
|
113
113
|
kmsModule: 'ssm-v1'
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -133,7 +133,7 @@ This module exposes the following API endpoints.
|
|
|
133
133
|
```
|
|
134
134
|
{
|
|
135
135
|
id: 'https://localhost:18443/kms/keystores/z1A2Dahs56An4rttS3t2QKi69',
|
|
136
|
-
meterId: 'https://localhost:18443/meters/
|
|
136
|
+
meterId: 'https://localhost:18443/meters/z19zMxFgrtXrR3RArhogVQ78T',
|
|
137
137
|
sequence: 0,
|
|
138
138
|
controller: 'did:key:z6MkoyZVQSetDxU66AsfinUPzgSEu5N9Jf1anHEY4YCzcE54',
|
|
139
139
|
kmsModule: 'ssm-v1'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bedrock/kms-http",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bedrock KMS HTTP API",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@bedrock/app-identity": "^4.0.0",
|
|
43
43
|
"@bedrock/core": "^6.0.1",
|
|
44
44
|
"@bedrock/express": "^8.0.0",
|
|
45
|
-
"@bedrock/kms": "^
|
|
45
|
+
"@bedrock/kms": "^13.0.0",
|
|
46
46
|
"@bedrock/meter-usage-reporter": "^8.0.0",
|
|
47
47
|
"@bedrock/validation": "^7.0.0",
|
|
48
48
|
"@bedrock/zcap-storage": "^8.0.0"
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"jsdoc-to-markdown": "^7.1.1"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
|
-
"node": ">=
|
|
61
|
+
"node": ">=18"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -13,11 +13,6 @@ const id = {
|
|
|
13
13
|
type: 'string'
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
const referenceId = {
|
|
17
|
-
title: 'referenceId',
|
|
18
|
-
type: 'string'
|
|
19
|
-
};
|
|
20
|
-
|
|
21
16
|
const delegatedZcap = {
|
|
22
17
|
title: 'delegatedZcap',
|
|
23
18
|
type: 'object',
|
|
@@ -138,7 +133,6 @@ const postKeystoreBody = {
|
|
|
138
133
|
properties: {
|
|
139
134
|
controller,
|
|
140
135
|
ipAllowList,
|
|
141
|
-
referenceId,
|
|
142
136
|
sequence,
|
|
143
137
|
kmsModule,
|
|
144
138
|
meterId
|
|
@@ -158,7 +152,6 @@ const updateKeystoreConfigBody = {
|
|
|
158
152
|
controller,
|
|
159
153
|
id,
|
|
160
154
|
ipAllowList,
|
|
161
|
-
referenceId,
|
|
162
155
|
sequence,
|
|
163
156
|
kmsModule,
|
|
164
157
|
meterId
|