@coffre/core 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/identity.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as parseAddress, A as REPEATING_PROFILES, B as checkFetchUrl, C as MAX_READ_PLACES, D as POLICY_FIELDS, E as POLICY_DEFAULTS, F as WorkloadCaller, G as differingClaims, H as claimAt, I as WorkloadProfile, J as githubEventsAt, K as freezeTarget, L as addressWithin, M as Starts, N as WORKLOAD_PROFILES, O as PROFILE_URNS, P as WorkloadAlert, Q as isBearerProfile, R as canonicalClaims, S as MAX_READ_KEYS, T as OIDC_PROFILES, U as claimValues, V as checkPolicy, W as defaultIssuer, X as githubWorkflow, Y as githubReusable, Z as gitlabProject, _ as KEY_NAMING_PROFILES, a as BindingPolicy, at as MAX_CONSTRAINTS, b as MAX_CLAIM_BYTES, c as CheckedBinding, ct as constraintsText, d as EVENT_EXPOSURE, et as parseCidr, f as GITHUB_EVENTS, g as GOOGLE_ISSUER, h as GITLAB_PIPELINE_SOURCES, i as BindingInvalid, it as ConstraintsInvalid, j as REQUIRED_CLAIMS, k as Preset, l as Cidr, lt as intersect, m as GITLAB_ISSUER, n as BearerProfile, nt as workflowRef, o as BindingReads, ot as checkConstraints, p as GITHUB_ISSUER, q as fullRef, r as BindingClaims, rt as Constraints, s as CREDENTIAL_NAME, st as constraintsAllow, t as BEARER_PROFILES, tt as policyText, u as ClaimValue, v as MAX_BINDINGS, w as MAX_SOURCES, x as MAX_ISSUER_BYTES, y as MAX_CLAIMS, z as checkBinding } from "./workloads-
|
|
1
|
+
import { $ as parseAddress, A as REPEATING_PROFILES, B as checkFetchUrl, C as MAX_READ_PLACES, D as POLICY_FIELDS, E as POLICY_DEFAULTS, F as WorkloadCaller, G as differingClaims, H as claimAt, I as WorkloadProfile, J as githubEventsAt, K as freezeTarget, L as addressWithin, M as Starts, N as WORKLOAD_PROFILES, O as PROFILE_URNS, P as WorkloadAlert, Q as isBearerProfile, R as canonicalClaims, S as MAX_READ_KEYS, T as OIDC_PROFILES, U as claimValues, V as checkPolicy, W as defaultIssuer, X as githubWorkflow, Y as githubReusable, Z as gitlabProject, _ as KEY_NAMING_PROFILES, a as BindingPolicy, at as MAX_CONSTRAINTS, b as MAX_CLAIM_BYTES, c as CheckedBinding, ct as constraintsText, d as EVENT_EXPOSURE, et as parseCidr, f as GITHUB_EVENTS, g as GOOGLE_ISSUER, h as GITLAB_PIPELINE_SOURCES, i as BindingInvalid, it as ConstraintsInvalid, j as REQUIRED_CLAIMS, k as Preset, l as Cidr, lt as intersect, m as GITLAB_ISSUER, n as BearerProfile, nt as workflowRef, o as BindingReads, ot as checkConstraints, p as GITHUB_ISSUER, q as fullRef, r as BindingClaims, rt as Constraints, s as CREDENTIAL_NAME, st as constraintsAllow, t as BEARER_PROFILES, tt as policyText, u as ClaimValue, v as MAX_BINDINGS, w as MAX_SOURCES, x as MAX_ISSUER_BYTES, y as MAX_CLAIMS, z as checkBinding } from "./workloads-Cmup0fzr.js";
|
|
2
2
|
import { MAX_PROOF_LENGTH, MAX_SIGNED_HEADERS, ProofClaims, ProofClaims as ProofClaims$1, PublicJwk, PublicJwk as PublicJwk$1, canonicalHtu, canonicalRequest, fetchMethod, sentTarget, thumbprint } from "@coffre/client/dpop";
|
|
3
3
|
import { JSONWebKeySet, JWTPayload } from "jose";
|
|
4
4
|
//#region src/identity/github-app.d.ts
|
|
@@ -406,7 +406,7 @@ type WorkloadCaller = {
|
|
|
406
406
|
};
|
|
407
407
|
/** What a workload's alert says (section 8.3), to the log and to the deployment's `alert`. */
|
|
408
408
|
type WorkloadAlert = {
|
|
409
|
-
readonly kind: 'enrolled' | 'contention' | 'limit' | 'expiring' | 'frozen';
|
|
409
|
+
readonly kind: 'enrolled' | 'contention' | 'limit' | 'expiring' | 'frozen' | 'unknown_key';
|
|
410
410
|
readonly service: string;
|
|
411
411
|
readonly binding: string | null;
|
|
412
412
|
readonly session: string | null;
|
package/dist/workloads.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as parseAddress, A as REPEATING_PROFILES, B as checkFetchUrl, C as MAX_READ_PLACES, D as POLICY_FIELDS, E as POLICY_DEFAULTS, F as WorkloadCaller, G as differingClaims, H as claimAt, I as WorkloadProfile, J as githubEventsAt, K as freezeTarget, L as addressWithin, M as Starts, N as WORKLOAD_PROFILES, O as PROFILE_URNS, P as WorkloadAlert, Q as isBearerProfile, R as canonicalClaims, S as MAX_READ_KEYS, T as OIDC_PROFILES, U as claimValues, V as checkPolicy, W as defaultIssuer, X as githubWorkflow, Y as githubReusable, Z as gitlabProject, _ as KEY_NAMING_PROFILES, a as BindingPolicy, b as MAX_CLAIM_BYTES, c as CheckedBinding, d as EVENT_EXPOSURE, et as parseCidr, f as GITHUB_EVENTS, g as GOOGLE_ISSUER, h as GITLAB_PIPELINE_SOURCES, i as BindingInvalid, j as REQUIRED_CLAIMS, k as Preset, l as Cidr, m as GITLAB_ISSUER, n as BearerProfile, nt as workflowRef, o as BindingReads, p as GITHUB_ISSUER, q as fullRef, r as BindingClaims, s as CREDENTIAL_NAME, t as BEARER_PROFILES, tt as policyText, u as ClaimValue, v as MAX_BINDINGS, w as MAX_SOURCES, x as MAX_ISSUER_BYTES, y as MAX_CLAIMS, z as checkBinding } from "./workloads-
|
|
1
|
+
import { $ as parseAddress, A as REPEATING_PROFILES, B as checkFetchUrl, C as MAX_READ_PLACES, D as POLICY_FIELDS, E as POLICY_DEFAULTS, F as WorkloadCaller, G as differingClaims, H as claimAt, I as WorkloadProfile, J as githubEventsAt, K as freezeTarget, L as addressWithin, M as Starts, N as WORKLOAD_PROFILES, O as PROFILE_URNS, P as WorkloadAlert, Q as isBearerProfile, R as canonicalClaims, S as MAX_READ_KEYS, T as OIDC_PROFILES, U as claimValues, V as checkPolicy, W as defaultIssuer, X as githubWorkflow, Y as githubReusable, Z as gitlabProject, _ as KEY_NAMING_PROFILES, a as BindingPolicy, b as MAX_CLAIM_BYTES, c as CheckedBinding, d as EVENT_EXPOSURE, et as parseCidr, f as GITHUB_EVENTS, g as GOOGLE_ISSUER, h as GITLAB_PIPELINE_SOURCES, i as BindingInvalid, j as REQUIRED_CLAIMS, k as Preset, l as Cidr, m as GITLAB_ISSUER, n as BearerProfile, nt as workflowRef, o as BindingReads, p as GITHUB_ISSUER, q as fullRef, r as BindingClaims, s as CREDENTIAL_NAME, t as BEARER_PROFILES, tt as policyText, u as ClaimValue, v as MAX_BINDINGS, w as MAX_SOURCES, x as MAX_ISSUER_BYTES, y as MAX_CLAIMS, z as checkBinding } from "./workloads-Cmup0fzr.js";
|
|
2
2
|
export { BEARER_PROFILES, BearerProfile, BindingClaims, BindingInvalid, BindingPolicy, BindingReads, CREDENTIAL_NAME, CheckedBinding, Cidr, ClaimValue, EVENT_EXPOSURE, GITHUB_EVENTS, GITHUB_ISSUER, GITLAB_ISSUER, GITLAB_PIPELINE_SOURCES, GOOGLE_ISSUER, KEY_NAMING_PROFILES, MAX_BINDINGS, MAX_CLAIMS, MAX_CLAIM_BYTES, MAX_ISSUER_BYTES, MAX_READ_KEYS, MAX_READ_PLACES, MAX_SOURCES, OIDC_PROFILES, POLICY_DEFAULTS, POLICY_FIELDS, PROFILE_URNS, Preset, REPEATING_PROFILES, REQUIRED_CLAIMS, Starts, WORKLOAD_PROFILES, WorkloadAlert, WorkloadCaller, WorkloadProfile, addressWithin, canonicalClaims, checkBinding, checkFetchUrl, checkPolicy, claimAt, claimValues, defaultIssuer, differingClaims, freezeTarget, fullRef, githubEventsAt, githubReusable, githubWorkflow, gitlabProject, isBearerProfile, parseAddress, parseCidr, policyText, workflowRef };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coffre/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "What coffre's packages share: roles, envelopes, identity, the audit chain and the vault's contract.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -83,14 +83,14 @@
|
|
|
83
83
|
"jose": "6.2.3",
|
|
84
84
|
"oauth4webapi": "3.8.8",
|
|
85
85
|
"zod": "4.4.3",
|
|
86
|
-
"@coffre/client": "0.
|
|
86
|
+
"@coffre/client": "0.12.1"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@hegeldev/hegel": "0.4.7",
|
|
90
90
|
"@types/node": "26.1.1",
|
|
91
91
|
"tsdown": "0.23.0",
|
|
92
92
|
"typescript": "5.9.3",
|
|
93
|
-
"@coffre/conformance": "0.
|
|
93
|
+
"@coffre/conformance": "0.12.1"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"build": "tsdown",
|
|
@@ -1017,7 +1017,7 @@ export type WorkloadCaller = {
|
|
|
1017
1017
|
|
|
1018
1018
|
/** What a workload's alert says (section 8.3), to the log and to the deployment's `alert`. */
|
|
1019
1019
|
export type WorkloadAlert = {
|
|
1020
|
-
readonly kind: 'enrolled' | 'contention' | 'limit' | 'expiring' | 'frozen';
|
|
1020
|
+
readonly kind: 'enrolled' | 'contention' | 'limit' | 'expiring' | 'frozen' | 'unknown_key';
|
|
1021
1021
|
readonly service: string;
|
|
1022
1022
|
readonly binding: string | null;
|
|
1023
1023
|
readonly session: string | null;
|