@coffre/conformance 0.11.0 → 0.12.1
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/dist/main.js +7 -3
- package/package.json +4 -4
- package/src/bundle.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -85,7 +85,7 @@ function drainingConfig(server) {
|
|
|
85
85
|
}
|
|
86
86
|
if (import.meta.main) console.log(drainingConfig(resolve(process.argv[2])));
|
|
87
87
|
//#endregion
|
|
88
|
-
//#region ../client/dist/src-
|
|
88
|
+
//#region ../client/dist/src-CjUBSxZs.js
|
|
89
89
|
/** Two colons or more, in hex: an IPv6 address, as `::1` or `2001:db8::1:443` with its port. */
|
|
90
90
|
const IPV6 = /[0-9a-f]*:[0-9a-f]*:[0-9a-f:]*/i;
|
|
91
91
|
const TIMEOUT_OR_REFUSAL = /* @__PURE__ */ new Set([
|
|
@@ -253,8 +253,11 @@ function createClient(options) {
|
|
|
253
253
|
secrets: {
|
|
254
254
|
/** Keys, versions and who changed what; never values. */
|
|
255
255
|
list: (path) => call("GET /secrets/:project/:environment", place(path)),
|
|
256
|
-
/** Decrypts one secret, or every secret in an environment. Logged in your name. */
|
|
257
|
-
reveal: (path) => call("POST /reveals", {}, { path }
|
|
256
|
+
/** Decrypts one secret, or every secret in an environment, or, `keys` named, those of it only. Logged in your name. */
|
|
257
|
+
reveal: (path, keys) => call("POST /reveals", {}, keys === void 0 ? { path } : {
|
|
258
|
+
path,
|
|
259
|
+
keys
|
|
260
|
+
}),
|
|
258
261
|
/** One transaction, a version and an audit entry per key; `null` archives. */
|
|
259
262
|
set: (path, values) => call("PATCH /secrets/:project/:environment", place(path), values),
|
|
260
263
|
/**
|
|
@@ -4664,6 +4667,7 @@ const MARKERS = [
|
|
|
4664
4667
|
...[
|
|
4665
4668
|
"audit_chain_head",
|
|
4666
4669
|
"audit_log",
|
|
4670
|
+
"capped_alerts",
|
|
4667
4671
|
"consumed_tokens",
|
|
4668
4672
|
"device_authorizations",
|
|
4669
4673
|
"dismissed_keys",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coffre/conformance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "Checks a coffre deployment from outside: what it must never do, whatever code it runs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"jose": "6.2.3",
|
|
33
33
|
"pg": "8.16.3",
|
|
34
|
-
"@coffre/
|
|
35
|
-
"@coffre/
|
|
34
|
+
"@coffre/cli": "0.12.1",
|
|
35
|
+
"@coffre/db": "0.12.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "26.1.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"tsdown": "0.23.0",
|
|
42
42
|
"typescript": "5.9.3",
|
|
43
43
|
"vite": "8.1.5",
|
|
44
|
-
"@coffre/client": "0.
|
|
44
|
+
"@coffre/client": "0.12.1"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsdown",
|