@kya-os/checkpoint-shared 1.5.1 → 1.6.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/CHANGELOG.md +217 -0
- package/dist/beacon-nonce/index.d.mts +36 -0
- package/dist/beacon-nonce/index.d.mts.map +1 -0
- package/dist/beacon-nonce/index.d.ts +36 -0
- package/dist/beacon-nonce/index.d.ts.map +1 -0
- package/dist/beacon-nonce/index.js +305 -0
- package/dist/beacon-nonce/index.mjs +294 -0
- package/dist/beacon-nonce/index.mjs.map +1 -0
- package/dist/beacon-types/index.d.mts +40 -0
- package/dist/beacon-types/index.d.mts.map +1 -1
- package/dist/beacon-types/index.d.ts +40 -0
- package/dist/beacon-types/index.d.ts.map +1 -1
- package/dist/beacon-types/index.js +53 -5
- package/dist/beacon-types/index.mjs +49 -6
- package/dist/beacon-types/index.mjs.map +1 -1
- package/dist/browser-posture-BuChqmH5.d.mts +169 -0
- package/dist/browser-posture-BuChqmH5.d.mts.map +1 -0
- package/dist/browser-posture-DIaVLuW3.d.ts +169 -0
- package/dist/browser-posture-DIaVLuW3.d.ts.map +1 -0
- package/dist/browser-posture-cookie.d.mts +4 -2
- package/dist/browser-posture-cookie.d.mts.map +1 -0
- package/dist/browser-posture-cookie.d.ts +4 -2
- package/dist/browser-posture-cookie.d.ts.map +1 -0
- package/dist/browser-posture-cookie.mjs.map +1 -1
- package/dist/browser-posture-proof.d.mts +18 -0
- package/dist/browser-posture-proof.d.mts.map +1 -0
- package/dist/browser-posture-proof.d.ts +18 -0
- package/dist/browser-posture-proof.d.ts.map +1 -0
- package/dist/browser-posture-proof.js +66 -0
- package/dist/browser-posture-proof.mjs +63 -0
- package/dist/browser-posture-proof.mjs.map +1 -0
- package/dist/browser-posture-report.d.mts +59 -2
- package/dist/browser-posture-report.d.mts.map +1 -1
- package/dist/browser-posture-report.d.ts +59 -2
- package/dist/browser-posture-report.d.ts.map +1 -1
- package/dist/browser-posture-report.js +1 -1
- package/dist/browser-posture-report.mjs +1 -1
- package/dist/browser-posture-report.mjs.map +1 -1
- package/dist/browser-posture.d.mts +2 -85
- package/dist/browser-posture.d.ts +2 -85
- package/dist/browser-posture.js +207 -45
- package/dist/browser-posture.mjs +195 -45
- package/dist/browser-posture.mjs.map +1 -1
- package/dist/browser.d.mts +0 -8
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.d.ts +0 -8
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/browser.mjs.map +1 -1
- package/dist/clearance.d.mts +1 -1
- package/dist/clearance.d.ts +1 -1
- package/dist/clearance.js +2 -2
- package/dist/clearance.mjs +2 -2
- package/dist/{client-ip-HOfe6ucV.mjs → client-ip-B2Xeo-GK.mjs} +2 -2
- package/dist/{client-ip-HOfe6ucV.mjs.map → client-ip-B2Xeo-GK.mjs.map} +1 -1
- package/dist/{client-ip-1y2iXAYW.js → client-ip-CW6pRyLf.js} +1 -1
- package/dist/consent-handoff.d.mts +41 -0
- package/dist/consent-handoff.d.mts.map +1 -0
- package/dist/consent-handoff.d.ts +41 -0
- package/dist/consent-handoff.d.ts.map +1 -0
- package/dist/consent-handoff.js +1 -0
- package/dist/consent-handoff.mjs +2 -0
- package/dist/consent-handoff.mjs.map +1 -0
- package/dist/errors/index.d.mts +155 -0
- package/dist/errors/index.d.mts.map +1 -1
- package/dist/errors/index.d.ts +155 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +513 -9
- package/dist/errors/index.mjs +513 -10
- package/dist/errors/index.mjs.map +1 -1
- package/dist/{external-jr_S4iSS.d.ts → external-B7WI9FyQ.d.mts} +2 -2
- package/dist/{external-jr_S4iSS.d.mts.map → external-B7WI9FyQ.d.mts.map} +1 -1
- package/dist/{external-jr_S4iSS.d.mts → external-B7WI9FyQ.d.ts} +2 -2
- package/dist/{external-jr_S4iSS.d.ts.map → external-B7WI9FyQ.d.ts.map} +1 -1
- package/dist/gateway-client-ip.d.mts +1 -1
- package/dist/gateway-client-ip.d.ts +1 -1
- package/dist/gateway-client-ip.js +2 -2
- package/dist/gateway-client-ip.mjs +2 -2
- package/dist/index.d.mts +6375 -1532
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +6375 -1532
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5629 -697
- package/dist/index.mjs +5341 -683
- package/dist/index.mjs.map +1 -1
- package/dist/mcpi/approval-grant/index.d.mts +1 -1
- package/dist/mcpi/approval-grant/index.d.mts.map +1 -1
- package/dist/mcpi/approval-grant/index.d.ts +1 -1
- package/dist/mcpi/approval-grant/index.d.ts.map +1 -1
- package/dist/mcpi/approval-grant/index.js +58 -49
- package/dist/mcpi/approval-grant/index.mjs +58 -49
- package/dist/mcpi/approval-grant/index.mjs.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.mts +3 -2
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.ts +3 -2
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
- package/dist/posture-origins/index.d.mts +41 -0
- package/dist/posture-origins/index.d.mts.map +1 -0
- package/dist/posture-origins/index.d.ts +41 -0
- package/dist/posture-origins/index.d.ts.map +1 -0
- package/dist/posture-origins/index.js +441 -0
- package/dist/posture-origins/index.mjs +430 -0
- package/dist/posture-origins/index.mjs.map +1 -0
- package/dist/posture-origins-LFkX80oF.js +627 -0
- package/dist/posture-origins-Pn-ii-Pp.mjs +533 -0
- package/dist/posture-origins-Pn-ii-Pp.mjs.map +1 -0
- package/dist/{project-verification-key-CgSVX9_m.mjs → project-verification-key-66N4edKn.mjs} +2 -2
- package/dist/{project-verification-key-CgSVX9_m.mjs.map → project-verification-key-66N4edKn.mjs.map} +1 -1
- package/dist/{project-verification-key-C3L5rd8a.js → project-verification-key-BccT12tQ.js} +1 -1
- package/dist/rules.json +0 -1
- package/dist/{schemas-DxY-dk9y.mjs → schemas-7qodsG-Z.mjs} +49 -2
- package/dist/schemas-7qodsG-Z.mjs.map +1 -0
- package/dist/{schemas-BmjNLAE7.js → schemas-YhagYDx_.js} +59 -0
- package/dist/signals/index.d.mts +75 -55
- package/dist/signals/index.d.mts.map +1 -1
- package/dist/signals/index.d.ts +75 -55
- package/dist/signals/index.d.ts.map +1 -1
- package/dist/signals/index.js +246 -2
- package/dist/signals/index.mjs +236 -3
- package/dist/signals/index.mjs.map +1 -1
- package/fixtures/browser-integrity/captured-java-0.2.1-missing-score.json +10 -0
- package/fixtures/browser-integrity/null-score.json +11 -0
- package/fixtures/browser-integrity/numeric-score.json +11 -0
- package/fixtures/browser-posture-claims.json +168 -0
- package/fixtures/browser-posture-headers.json +6 -0
- package/fixtures/cli-registration.v2.json +115 -0
- package/fixtures/detection/reason-codes.json +1 -1
- package/fixtures/kya-http/README.md +34 -25
- package/fixtures/kya-http/consent-handoff.codes.json +34 -0
- package/fixtures/kya-http/protected-resource-metadata.full.json +14 -5
- package/fixtures/kya-http/protected-resource-metadata.invalid-issuer.json +51 -0
- package/fixtures/kya-http/protected-resource-metadata.no-issuer.json +32 -0
- package/fixtures/reviewer-grant-revocation.v1.json +285 -0
- package/fixtures/workbench/a2a-signed-request.v1.json +255 -0
- package/fixtures/workbench/artifact-bindings.v1.json +1003 -0
- package/fixtures/workbench/delegation-management.v1.json +507 -0
- package/fixtures/workbench/didcomm-task-source.v1.json +191 -0
- package/fixtures/workbench/graph-interfaces.v1.json +1887 -0
- package/fixtures/workbench/identity-provisioning.v1.json +643 -0
- package/fixtures/workbench/linear-installation.v1.json +484 -0
- package/fixtures/workbench/management-session.v1.json +716 -0
- package/fixtures/workbench/model-credentials.v1.json +630 -0
- package/fixtures/workbench/source-claim-pooled.v1.json +50 -0
- package/fixtures/workbench/task-grant.v1.json +695 -0
- package/fixtures/workbench/task-status-projection.v1.json +591 -0
- package/fixtures/workbench/workload-enrollment.v1.json +580 -0
- package/package.json +24 -5
- package/src/data/compiled/merged-rules.json +2 -9
- package/src/data/default-rules.json +0 -1
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts +0 -5
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts.map +0 -1
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts +0 -5
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts.map +0 -1
- package/dist/browser-posture.d.mts.map +0 -1
- package/dist/browser-posture.d.ts.map +0 -1
- package/dist/patterns-CkRVOdtV.js +0 -243
- package/dist/patterns-DzkGy_qk.mjs +0 -173
- package/dist/patterns-DzkGy_qk.mjs.map +0 -1
- package/dist/schemas-DxY-dk9y.mjs.map +0 -1
- package/fixtures/kya-http/protected-resource-metadata.global.json +0 -28
|
@@ -924,6 +924,7 @@ const string$1 = (params) => {
|
|
|
924
924
|
const integer = /^-?\d+$/;
|
|
925
925
|
const number$1 = /^-?\d+(?:\.\d+)?$/;
|
|
926
926
|
const boolean$1 = /^(?:true|false)$/i;
|
|
927
|
+
const _null$2 = /^null$/i;
|
|
927
928
|
const lowercase = /^[^A-Z]*$/;
|
|
928
929
|
const uppercase = /^[^a-z]*$/;
|
|
929
930
|
|
|
@@ -1796,6 +1797,22 @@ const $ZodBoolean = /*@__PURE__*/ $constructor("$ZodBoolean", (inst, def) => {
|
|
|
1796
1797
|
return payload;
|
|
1797
1798
|
};
|
|
1798
1799
|
});
|
|
1800
|
+
const $ZodNull = /*@__PURE__*/ $constructor("$ZodNull", (inst, def) => {
|
|
1801
|
+
$ZodType.init(inst, def);
|
|
1802
|
+
inst._zod.pattern = _null$2;
|
|
1803
|
+
inst._zod.values = /* @__PURE__ */ new Set([null]);
|
|
1804
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
1805
|
+
const input = payload.value;
|
|
1806
|
+
if (input === null) return payload;
|
|
1807
|
+
payload.issues.push({
|
|
1808
|
+
expected: "null",
|
|
1809
|
+
code: "invalid_type",
|
|
1810
|
+
input,
|
|
1811
|
+
inst
|
|
1812
|
+
});
|
|
1813
|
+
return payload;
|
|
1814
|
+
};
|
|
1815
|
+
});
|
|
1799
1816
|
const $ZodAny = /*@__PURE__*/ $constructor("$ZodAny", (inst, def) => {
|
|
1800
1817
|
$ZodType.init(inst, def);
|
|
1801
1818
|
inst._zod.parse = (payload) => payload;
|
|
@@ -3434,6 +3451,13 @@ function _coercedBoolean(Class, params) {
|
|
|
3434
3451
|
});
|
|
3435
3452
|
}
|
|
3436
3453
|
// @__NO_SIDE_EFFECTS__
|
|
3454
|
+
function _null$1(Class, params) {
|
|
3455
|
+
return new Class({
|
|
3456
|
+
type: "null",
|
|
3457
|
+
...normalizeParams(params)
|
|
3458
|
+
});
|
|
3459
|
+
}
|
|
3460
|
+
// @__NO_SIDE_EFFECTS__
|
|
3437
3461
|
function _any(Class) {
|
|
3438
3462
|
return new Class({ type: "any" });
|
|
3439
3463
|
}
|
|
@@ -4174,6 +4198,13 @@ const numberProcessor = (schema, ctx, _json, params) => {
|
|
|
4174
4198
|
const booleanProcessor = (_schema, _ctx, json, _params) => {
|
|
4175
4199
|
json.type = "boolean";
|
|
4176
4200
|
};
|
|
4201
|
+
const nullProcessor = (_schema, ctx, json, _params) => {
|
|
4202
|
+
if (ctx.target === "openapi-3.0") {
|
|
4203
|
+
json.type = "string";
|
|
4204
|
+
json.nullable = true;
|
|
4205
|
+
json.enum = [null];
|
|
4206
|
+
} else json.type = "null";
|
|
4207
|
+
};
|
|
4177
4208
|
const neverProcessor = (_schema, _ctx, json, _params) => {
|
|
4178
4209
|
json.not = {};
|
|
4179
4210
|
};
|
|
@@ -5059,6 +5090,14 @@ const ZodBoolean = /*@__PURE__*/ $constructor("ZodBoolean", (inst, def) => {
|
|
|
5059
5090
|
function boolean(params) {
|
|
5060
5091
|
return _boolean(ZodBoolean, params);
|
|
5061
5092
|
}
|
|
5093
|
+
const ZodNull = /*@__PURE__*/ $constructor("ZodNull", (inst, def) => {
|
|
5094
|
+
$ZodNull.init(inst, def);
|
|
5095
|
+
ZodType.init(inst, def);
|
|
5096
|
+
inst._zod.processJSONSchema = (ctx, json, params) => nullProcessor(inst, ctx, json, params);
|
|
5097
|
+
});
|
|
5098
|
+
function _null(params) {
|
|
5099
|
+
return _null$1(ZodNull, params);
|
|
5100
|
+
}
|
|
5062
5101
|
const ZodAny = /*@__PURE__*/ $constructor("ZodAny", (inst, def) => {
|
|
5063
5102
|
$ZodAny.init(inst, def);
|
|
5064
5103
|
ZodType.init(inst, def);
|
|
@@ -5195,6 +5234,14 @@ function object(shape, params) {
|
|
|
5195
5234
|
};
|
|
5196
5235
|
return new ZodObject(def);
|
|
5197
5236
|
}
|
|
5237
|
+
function strictObject(shape, params) {
|
|
5238
|
+
return new ZodObject({
|
|
5239
|
+
type: "object",
|
|
5240
|
+
shape,
|
|
5241
|
+
catchall: never(),
|
|
5242
|
+
...normalizeParams(params)
|
|
5243
|
+
});
|
|
5244
|
+
}
|
|
5198
5245
|
const ZodUnion = /*@__PURE__*/ $constructor("ZodUnion", (inst, def) => {
|
|
5199
5246
|
$ZodUnion.init(inst, def);
|
|
5200
5247
|
ZodType.init(inst, def);
|
|
@@ -5507,5 +5554,5 @@ function _instanceof(cls, params = {}) {
|
|
|
5507
5554
|
}
|
|
5508
5555
|
|
|
5509
5556
|
//#endregion
|
|
5510
|
-
export {
|
|
5511
|
-
//# sourceMappingURL=schemas-
|
|
5557
|
+
export { NEVER as A, string as C, _coercedBoolean as D, ZodError as E, _coercedDate as O, strictObject as S, unknown as T, never as _, _instanceof as a, partialRecord as b, array as c, date as d, discriminatedUnion as f, literal as g, ipv6 as h, _enum as i, _coercedNumber as k, boolean as l, ipv4 as m, ZodDate as n, _null as o, guid as p, ZodNumber as r, any as s, ZodBoolean as t, custom as u, number as v, union as w, record as x, object as y };
|
|
5558
|
+
//# sourceMappingURL=schemas-7qodsG-Z.mjs.map
|