@real-life/trust-protocol 0.1.1 → 0.2.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 +14 -10
- package/dist/carrier-identity.d.ts +9 -0
- package/dist/carrier-identity.d.ts.map +1 -1
- package/dist/carrier-identity.js +32 -2
- package/dist/carrier-identity.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/probe/acks.d.ts +27 -0
- package/dist/probe/acks.d.ts.map +1 -0
- package/dist/probe/acks.js +119 -0
- package/dist/probe/acks.js.map +1 -0
- package/dist/probe/continuity.d.ts +3 -82
- package/dist/probe/continuity.d.ts.map +1 -1
- package/dist/probe/continuity.js +627 -147
- package/dist/probe/continuity.js.map +1 -1
- package/dist/probe/trust.d.ts +114 -74
- package/dist/probe/trust.d.ts.map +1 -1
- package/dist/probe/trust.js +1090 -232
- package/dist/probe/trust.js.map +1 -1
- package/dist/probe.d.ts +0 -2
- package/dist/probe.d.ts.map +1 -1
- package/dist/probe.js +5 -7
- package/dist/probe.js.map +1 -1
- package/dist/schemas.js +22 -22
- package/dist/schemas.js.map +1 -1
- package/dist/visibility.d.ts +6 -0
- package/dist/visibility.d.ts.map +1 -0
- package/dist/visibility.js +30 -0
- package/dist/visibility.js.map +1 -0
- package/dist/wire.d.ts +28 -26
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { Person } from './probe/deps.js';
|
|
2
|
+
export { COMMUNITY_GENESIS } from './probe/deps.js';
|
|
3
|
+
export * as trust from './probe/trust.js';
|
|
4
|
+
export * as continuity from './probe/continuity.js';
|
|
5
|
+
export * as acks from './probe/acks.js';
|
|
6
|
+
//# sourceMappingURL=visibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibility.d.ts","sourceRoot":"","sources":["../src/visibility.ts"],"names":[],"mappings":"AA0BA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// @real-life/trust-protocol — visibility: the GRADUATED Network
|
|
2
|
+
// Visibility layer.
|
|
3
|
+
//
|
|
4
|
+
// Graduated 04.09.2026 after a 39-round adversarial conformance loop
|
|
5
|
+
// (design/probe-nachzug-konvergenz-2026-09.md): these modules implement
|
|
6
|
+
// the NORMATIVE wire forms of Network Visibility 0.29 carried by the
|
|
7
|
+
// Delivery Contract 0.79 —
|
|
8
|
+
//
|
|
9
|
+
// trust the explicit trust act (anchor-mapping@2 · grade-
|
|
10
|
+
// declaration@1), the blinded star (star@1 with 5.2a
|
|
11
|
+
// chunks), the admission layer (Section 2), the 5.4
|
|
12
|
+
// reconciliation automaton, issuance discipline
|
|
13
|
+
// continuity §6a: continuity-probe@1 / continuity-mapping@1 — the
|
|
14
|
+
// re-recognition of a relationship after a fresh
|
|
15
|
+
// enactment; chains instead of duplicates
|
|
16
|
+
// acks the deniable delivery-ack/0.1 under the channel ack
|
|
17
|
+
// key (Delivery 4.2 class rule)
|
|
18
|
+
//
|
|
19
|
+
// Wire forms and keys are byte-compatible with vectors/visibility.json
|
|
20
|
+
// and vectors/delivery-ack.json. The modules operate on the probe WORLD
|
|
21
|
+
// (a `Person` holding contexts, contacts, groups — DOM-free and storage-
|
|
22
|
+
// free); the host decides where bytes live.
|
|
23
|
+
//
|
|
24
|
+
// Not in this module: transport adapters and their policies, storage,
|
|
25
|
+
// the Encounter layer's ceremony flows (those remain `@probe`).
|
|
26
|
+
export { COMMUNITY_GENESIS } from './probe/deps.js';
|
|
27
|
+
export * as trust from './probe/trust.js';
|
|
28
|
+
export * as continuity from './probe/continuity.js';
|
|
29
|
+
export * as acks from './probe/acks.js';
|
|
30
|
+
//# sourceMappingURL=visibility.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visibility.js","sourceRoot":"","sources":["../src/visibility.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,oBAAoB;AACpB,EAAE;AACF,qEAAqE;AACrE,wEAAwE;AACxE,qEAAqE;AACrE,2BAA2B;AAC3B,EAAE;AACF,mEAAmE;AACnE,oEAAoE;AACpE,mEAAmE;AACnE,+DAA+D;AAC/D,sEAAsE;AACtE,gEAAgE;AAChE,yDAAyD;AACzD,qEAAqE;AACrE,+CAA+C;AAC/C,EAAE;AACF,uEAAuE;AACvE,wEAAwE;AACxE,yEAAyE;AACzE,4CAA4C;AAC5C,EAAE;AACF,sEAAsE;AACtE,gEAAgE;AAGhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA","sourcesContent":["// @real-life/trust-protocol — visibility: the GRADUATED Network\n// Visibility layer.\n//\n// Graduated 04.09.2026 after a 39-round adversarial conformance loop\n// (design/probe-nachzug-konvergenz-2026-09.md): these modules implement\n// the NORMATIVE wire forms of Network Visibility 0.29 carried by the\n// Delivery Contract 0.79 —\n//\n// trust the explicit trust act (anchor-mapping@2 · grade-\n// declaration@1), the blinded star (star@1 with 5.2a\n// chunks), the admission layer (Section 2), the 5.4\n// reconciliation automaton, issuance discipline\n// continuity §6a: continuity-probe@1 / continuity-mapping@1 — the\n// re-recognition of a relationship after a fresh\n// enactment; chains instead of duplicates\n// acks the deniable delivery-ack/0.1 under the channel ack\n// key (Delivery 4.2 class rule)\n//\n// Wire forms and keys are byte-compatible with vectors/visibility.json\n// and vectors/delivery-ack.json. The modules operate on the probe WORLD\n// (a `Person` holding contexts, contacts, groups — DOM-free and storage-\n// free); the host decides where bytes live.\n//\n// Not in this module: transport adapters and their policies, storage,\n// the Encounter layer's ceremony flows (those remain `@probe`).\n\nexport type { Person } from './probe/deps.js'\nexport { COMMUNITY_GENESIS } from './probe/deps.js'\nexport * as trust from './probe/trust.js'\nexport * as continuity from './probe/continuity.js'\nexport * as acks from './probe/acks.js'\n"]}
|
package/dist/wire.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export type AuthorizationView = ({
|
|
|
104
104
|
sig: string;
|
|
105
105
|
}[];
|
|
106
106
|
});
|
|
107
|
-
/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.
|
|
107
|
+
/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.79) */
|
|
108
108
|
export type CarrierProof = ({
|
|
109
109
|
v: "rltp-carrier-proof/0.3";
|
|
110
110
|
type: "carrier-registration-proof";
|
|
@@ -263,17 +263,17 @@ export type PayloadAccessOperation = ({
|
|
|
263
263
|
};
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
|
-
/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.
|
|
266
|
+
/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */
|
|
267
267
|
export type PayloadDeliveryAck = {
|
|
268
268
|
ref: string;
|
|
269
269
|
meaning: "received";
|
|
270
270
|
};
|
|
271
|
-
/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.
|
|
271
|
+
/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */
|
|
272
272
|
export type PayloadEncounterBundle = {
|
|
273
273
|
card: ContactCard;
|
|
274
274
|
credential: EncounterCredential;
|
|
275
275
|
};
|
|
276
|
-
/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.
|
|
276
|
+
/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */
|
|
277
277
|
export type PayloadEncounterCredentialDelivery = {
|
|
278
278
|
credential: EncounterCredential;
|
|
279
279
|
};
|
|
@@ -341,7 +341,7 @@ export type PayloadMembershipInvite = {
|
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
|
-
/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.
|
|
344
|
+
/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.79) */
|
|
345
345
|
export type PayloadRegistryDeclaration = {
|
|
346
346
|
declaration: {
|
|
347
347
|
role: string;
|
|
@@ -363,8 +363,8 @@ export type PayloadRemovalNotice = {
|
|
|
363
363
|
author: string;
|
|
364
364
|
sig: string;
|
|
365
365
|
};
|
|
366
|
-
/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.
|
|
367
|
-
export type RltpDeliveryDocument = {
|
|
366
|
+
/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.79) */
|
|
367
|
+
export type RltpDeliveryDocument = ({
|
|
368
368
|
id: string;
|
|
369
369
|
type: string;
|
|
370
370
|
issuer: string;
|
|
@@ -377,23 +377,25 @@ export type RltpDeliveryDocument = {
|
|
|
377
377
|
payload: {
|
|
378
378
|
[k: string]: Json;
|
|
379
379
|
};
|
|
380
|
-
proof?: {
|
|
380
|
+
proof?: ({
|
|
381
381
|
type: "DataIntegrityProof";
|
|
382
382
|
cryptosuite: "eddsa-jcs-2022";
|
|
383
383
|
created: string;
|
|
384
384
|
verificationMethod: string;
|
|
385
385
|
proofPurpose: "assertionMethod";
|
|
386
386
|
proofValue: string;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
|
|
387
|
+
}) | ({
|
|
388
|
+
mac: string;
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.79) */
|
|
390
392
|
export type SealedEnvelope = {
|
|
391
393
|
rkid: string;
|
|
392
394
|
epk: string;
|
|
393
395
|
nonce: string;
|
|
394
396
|
ciphertext: string;
|
|
395
397
|
};
|
|
396
|
-
/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@2 (rltp-visibility@0.
|
|
398
|
+
/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@2 (rltp-visibility@0.29) */
|
|
397
399
|
export type VisibilityAnchorMapping = {
|
|
398
400
|
body: {
|
|
399
401
|
type: "anchor-mapping@2";
|
|
@@ -418,7 +420,7 @@ export type VisibilityAnchorMapping = {
|
|
|
418
420
|
mac2: string;
|
|
419
421
|
};
|
|
420
422
|
};
|
|
421
|
-
/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-visibility@0.
|
|
423
|
+
/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-visibility@0.29) */
|
|
422
424
|
export type VisibilityContinuityMapping = {
|
|
423
425
|
body: {
|
|
424
426
|
type: "continuity-mapping@1";
|
|
@@ -433,7 +435,7 @@ export type VisibilityContinuityMapping = {
|
|
|
433
435
|
mac2: string;
|
|
434
436
|
};
|
|
435
437
|
};
|
|
436
|
-
/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-visibility@0.
|
|
438
|
+
/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-visibility@0.29) */
|
|
437
439
|
export type VisibilityContinuityProbe = {
|
|
438
440
|
body: {
|
|
439
441
|
type: "continuity-probe@1";
|
|
@@ -446,7 +448,7 @@ export type VisibilityContinuityProbe = {
|
|
|
446
448
|
mac: string;
|
|
447
449
|
};
|
|
448
450
|
};
|
|
449
|
-
/** schemas/visibility-grade-declaration.schema.json — RLTP grade-declaration@1 (rltp-visibility@0.
|
|
451
|
+
/** schemas/visibility-grade-declaration.schema.json — RLTP grade-declaration@1 (rltp-visibility@0.29) */
|
|
450
452
|
export type VisibilityGradeDeclaration = {
|
|
451
453
|
body: {
|
|
452
454
|
type: "grade-declaration@1";
|
|
@@ -460,7 +462,7 @@ export type VisibilityGradeDeclaration = {
|
|
|
460
462
|
mac: string;
|
|
461
463
|
};
|
|
462
464
|
};
|
|
463
|
-
/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-visibility@0.
|
|
465
|
+
/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-visibility@0.29) */
|
|
464
466
|
export type VisibilityIntroductionAck = {
|
|
465
467
|
body: {
|
|
466
468
|
type: "introduction-ack@1";
|
|
@@ -470,7 +472,7 @@ export type VisibilityIntroductionAck = {
|
|
|
470
472
|
mac: string;
|
|
471
473
|
};
|
|
472
474
|
};
|
|
473
|
-
/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-visibility@0.
|
|
475
|
+
/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-visibility@0.29) */
|
|
474
476
|
export type VisibilityIntroductionReply = {
|
|
475
477
|
body: {
|
|
476
478
|
type: "introduction-reply@1";
|
|
@@ -483,7 +485,7 @@ export type VisibilityIntroductionReply = {
|
|
|
483
485
|
proofValue: string;
|
|
484
486
|
};
|
|
485
487
|
};
|
|
486
|
-
/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-visibility@0.
|
|
488
|
+
/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-visibility@0.29) */
|
|
487
489
|
export type VisibilityIntroductionRequest = {
|
|
488
490
|
body: {
|
|
489
491
|
type: "introduction-request@1";
|
|
@@ -500,7 +502,7 @@ export type VisibilityIntroductionRequest = {
|
|
|
500
502
|
proofValue: string;
|
|
501
503
|
};
|
|
502
504
|
};
|
|
503
|
-
/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-visibility@0.
|
|
505
|
+
/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-visibility@0.29) */
|
|
504
506
|
export type VisibilityIntroductionVoucher = {
|
|
505
507
|
body: {
|
|
506
508
|
type: "introduction-voucher@1";
|
|
@@ -512,30 +514,30 @@ export type VisibilityIntroductionVoucher = {
|
|
|
512
514
|
mac: string;
|
|
513
515
|
};
|
|
514
516
|
};
|
|
515
|
-
/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-visibility@0.
|
|
517
|
+
/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-visibility@0.29) */
|
|
516
518
|
export type VisibilityPayloadIntroductionAck = {
|
|
517
519
|
introduction: VisibilityIntroductionAck;
|
|
518
520
|
};
|
|
519
|
-
/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-visibility@0.
|
|
521
|
+
/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-visibility@0.29) — byte-identical to the request payload */
|
|
520
522
|
export type VisibilityPayloadIntroductionForward = {
|
|
521
523
|
introduction: VisibilityIntroductionRequest;
|
|
522
524
|
card: ContactCard025;
|
|
523
525
|
};
|
|
524
|
-
/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-visibility@0.
|
|
526
|
+
/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-visibility@0.29) */
|
|
525
527
|
export type VisibilityPayloadIntroductionReply = {
|
|
526
528
|
introduction: VisibilityIntroductionReply;
|
|
527
529
|
card: ContactCard025;
|
|
528
530
|
};
|
|
529
|
-
/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-visibility@0.
|
|
531
|
+
/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-visibility@0.29) */
|
|
530
532
|
export type VisibilityPayloadIntroductionRequest = {
|
|
531
533
|
introduction: VisibilityIntroductionRequest;
|
|
532
534
|
card: ContactCard025;
|
|
533
535
|
};
|
|
534
|
-
/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-visibility@0.
|
|
536
|
+
/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-visibility@0.29) */
|
|
535
537
|
export type VisibilityPayloadIntroductionVoucher = {
|
|
536
538
|
voucher: VisibilityIntroductionVoucher;
|
|
537
539
|
};
|
|
538
|
-
/** schemas/visibility-self-card.schema.json — RLTP self-card@1 (rltp-visibility@0.
|
|
540
|
+
/** schemas/visibility-self-card.schema.json — RLTP self-card@1 (rltp-visibility@0.29) */
|
|
539
541
|
export type VisibilitySelfCard = {
|
|
540
542
|
body: {
|
|
541
543
|
type: "self-card@1";
|
|
@@ -546,7 +548,7 @@ export type VisibilitySelfCard = {
|
|
|
546
548
|
proofValue: string;
|
|
547
549
|
};
|
|
548
550
|
};
|
|
549
|
-
/** schemas/visibility-star.schema.json — RLTP star@1 (rltp-visibility@0.
|
|
551
|
+
/** schemas/visibility-star.schema.json — RLTP star@1 (rltp-visibility@0.29) */
|
|
550
552
|
export type VisibilityStar = {
|
|
551
553
|
body: {
|
|
552
554
|
type: "star@1";
|
package/dist/wire.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,8GAA8G;AAC9G,MAAM,MAAM,cAAc,GAAG,CAAC;IAC5B,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAA;IAC3D,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CA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A;IACzC,IAAI,EAAE,cAAc,CAAA;CACrB,CAAA;AAED,6HAA6H;AAC7H,MAAM,MAAM,oCAAoC,GAAG;IACjD,YAAY,EAAE,6BAA6B,CAAA;IAC3C,IAAI,EAAE,cAAc,CAAA;CACrB,CAAA;AAED,6HAA6H;AAC7H,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,EAAE,6BAA6B,CAAA;CACvC,CAAA;AAED,yFAAyF;AACzF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE;QACJ,IAAI,EAAE,aAAa,CAAA;QACnB,MAAM,EAAE,MAAM,CAAA;QACd,YAAY,EAAE,MAAM,CAAA;KACrB,CAAA;IACD,KAAK,EAAE;QACL,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAA;AAED,+EAA+E;AAC/E,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE;QACJ,IAAI,EAAE,QAAQ,CAAA;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,OAAO,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,EAAE,CAAA;KAClB,CAAA;IACD,KAAK,EAAE;QACL,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;CACF,CAAA;AAED,0FAA0F;AAC1F,MAAM,MAAM,OAAO,GAAG;IACpB,CAAC,EAAE,kBAAkB,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC;QAC5B,CAAC,CAAC,EAAE,2BAA2B,CAAA;KAChC,CAAC,CAAA;CACH,CAAA"}
|
package/dist/wire.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.js","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"","sourcesContent":["// GENERATED by scripts/build-wire-types.mjs — DO NOT EDIT.\n// Source of truth: schemas/*.json. scripts/validate.mjs enforces freshness.\n//\n// These are the STRUCTURAL PROJECTIONS of the wire schemas: shape,\n// requiredness, literals, tuples, unions. Patterns, length bounds,\n// if/then/else, `not`, `contains`, `dependentRequired` and uniqueItems\n// are NOT expressible here and remain normative in the schemas alone —\n// satisfying a type is necessary for conformance, never sufficient.\n// Validate against SCHEMAS before treating any value as a wire artifact.\nimport type { Json } from './core.js'\n\n/** schemas/access-material.schema.json — RLTP Access key material (Access Layer 0.24 sections 7.1 and 9.5) */\nexport type AccessMaterial = ({\n v: \"rltp-access-material/0.24\" | \"rltp-access-keydist/0.24\"\n adapter: string\n epoch: number\n keys: { [k: string]: Json }\n})\n\n/** schemas/access-operation-envelope.schema.json — RLTP Access Operation Envelope (transcription of Access Layer draft 0.24 section 3.3) */\nexport type AccessOperationEnvelope = ({\n v: \"rltp-access/0.24\"\n op: string\n group: string\n epoch: number\n policyVersion: number\n prev: string[]\n body: { [k: string]: Json }\n crit?: string[]\n id: string\n author: string\n proof: ({\n mechanism: \"signature-set\" | \"encounter-presentation\" | \"composite\"\n signatures?: {\n signer: string\n sig: string\n }[]\n credentials?: { [k: string]: Json }[]\n })\n})\n\n/** schemas/access-registration.schema.json — RLTP Service Registration (artifact 0.26, Access Layer section 7.3) */\nexport type AccessRegistration = ({\n v: \"rltp-access-registration/0.26\"\n type: \"service-registration\"\n group: string\n genesisDigest: string\n identity: string\n service: string\n m: 1\n stalenessBound: string\n terminalRetention: string\n divergenceQuota: number\n sig: string\n attestationKey: string\n registrationGeneration: number\n previousRegistration: (null) | (string)\n authorization?: {\n signer: string\n sig: string\n }[]\n abandon?: {\n abandonedRoot: string\n abandonedTipsDigest: string\n }\n authorizationRoot: (null) | (string)\n})\n\n/** schemas/access-vouch.schema.json — DTG AdmissionVouch (vouch@2, wire 0.24 family) */\nexport type AccessVouch = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n endorsement: {\n type: \"AdmissionVouch\"\n genesisDigest: string\n accept: string\n provenance: \"met\" | \"introduced\"\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/authorization-view.schema.json — RLTP Authorization View (Access Layer 0.24 section 7.3) */\nexport type AuthorizationView = ({\n v: \"rltp-access-view/0.24\"\n type: \"authorization-view\"\n group: string\n genesisDigest: string\n seq: number\n epoch: number\n identities: string[]\n m: (null) | (number)\n terminal: boolean\n prevView: (null) | (string) | (string[])\n predecessor?: string\n issuedAt: string\n validUntil: string\n sigs: {\n signer: string\n sig: string\n }[]\n})\n\n/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.69) */\nexport type CarrierProof = ({\n v: \"rltp-carrier-proof/0.3\"\n type: \"carrier-registration-proof\"\n purpose: \"register\" | \"rebind\" | \"collect\" | \"conclude\"\n carrier: string\n principal: string\n rkid: string\n generation?: number\n principalChallenge: string\n addressChallenge?: string\n sig: string\n})\n\n/** schemas/contact-card-0.25.schema.json — RLTP Contact Card (rltp-encounter@0.29) */\nexport type ContactCard025 = {\n version: \"rltp-card/0.25\"\n anchor: string\n keyAgreement: string\n challenge?: {\n value: string\n issuedAt: string\n }\n sentTo?: string\n boundTo?: string\n name?: string\n deliveryHints?: string[]\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }\n}\n\n/** schemas/contact-card.schema.json — RLTP Contact Card (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */\nexport type ContactCard = {\n version: \"rltp-card/0.25\"\n anchor: string\n keyAgreement: string\n challenge?: {\n value: string\n issuedAt: string\n }\n sentTo?: string\n boundTo?: string\n name?: string\n deliveryHints?: string[]\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }\n}\n\n/** schemas/encounter-credential-0.25.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) */\nexport type EncounterCredential025 = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n format: \"rltp-encounter-credential/0.25\"\n ceremony: string\n challenge: string\n enactmentBinding: string\n channel?: string\n commitment?: {\n suite: string\n value: string\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/encounter-credential.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */\nexport type EncounterCredential = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n format: \"rltp-encounter-credential/0.25\"\n ceremony: string\n challenge: string\n enactmentBinding: string\n channel?: string\n commitment?: {\n suite: string\n value: string\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/member-mapping.schema.json — RLTP member-mapping@1 (rltp-access-member-mapping/0.24) */\nexport type MemberMapping = {\n body: {\n type: \"member-mapping@1\"\n member: string\n memberOp: string\n self: string\n to: string\n toOp: string\n card: {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n }\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/payload-access-operation.schema.json — Payload: access-operation/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadAccessOperation = ({\n operation: (AccessOperationEnvelope)\n welcome: {\n sealed: SealedEnvelope\n }\n}) & ({\n operation?: {\n op: \"member.add\"\n body?: Json\n }\n}) & ({\n operation?: {\n proof?: {\n signatures?: Json\n credentials?: Json\n }\n }\n})\n\n/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.69, target Trust Tasks framework 0.4) */\nexport type PayloadDeliveryAck = {\n ref: string\n meaning: \"received\"\n}\n\n/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.69, target Trust Tasks framework 0.4) */\nexport type PayloadEncounterBundle = {\n card: ContactCard\n credential: EncounterCredential\n}\n\n/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.69, target Trust Tasks framework 0.4) */\nexport type PayloadEncounterCredentialDelivery = {\n credential: EncounterCredential\n}\n\n/** schemas/payload-key-delivery.schema.json — Payload: key-delivery/0.1 (rltp-access@0.24, target Trust Tasks framework 0.4) */\nexport type PayloadKeyDelivery = {\n keyDelivery: ({\n group: string\n genesisDigest: string\n epoch: number\n op: string\n kind: \"keydist\" | \"re-welcome\" | \"refresh\" | \"request\"\n sealed?: SealedEnvelope\n card?: ContactCard\n })\n}\n\n/** schemas/payload-membership-accept.schema.json — Payload: membership-accept/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipAccept = {\n accept: {\n group: string\n subject: string\n ref: string\n card: ContactCard\n candidacy: boolean\n }\n}\n\n/** schemas/payload-membership-evidence.schema.json — Payload: membership-evidence/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipEvidence = {\n evidence: {\n invite: (RltpDeliveryDocument) & ({\n type?: \"https://real-life.org/trust-tasks/membership-invite/0.2\"\n payload?: PayloadMembershipInvite\n proof?: never\n })\n accept: (RltpDeliveryDocument) & ({\n type?: \"https://real-life.org/trust-tasks/membership-accept/0.2\"\n payload?: PayloadMembershipAccept\n })\n }\n}\n\n/** schemas/payload-membership-invite.schema.json — Payload: membership-invite/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipInvite = {\n invite: {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n credentialSubject: {\n id: string\n group: string\n genesisDigest: string\n card: ContactCard\n name?: string\n note?: string\n }\n validFrom: string\n validUntil: string\n taskContext: string\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n }\n}\n\n/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.69) */\nexport type PayloadRegistryDeclaration = {\n declaration: {\n role: string\n revision: string\n constants: { [k: string]: string }\n }\n}\n\n/** schemas/payload-removal-notice.schema.json — RLTP Removal Notice (Access Layer 0.24 section 10.2) */\nexport type PayloadRemovalNotice = {\n v: \"rltp-access-removal-notice/0.24\"\n type: \"removal-notice\"\n group: string\n genesisDigest: string\n op: string\n subject: string\n epoch: number\n author: string\n sig: string\n}\n\n/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.69) */\nexport type RltpDeliveryDocument = {\n id: string\n type: string\n issuer: string\n recipient: string\n threadId: string\n ceremony?: { [k: string]: Json }\n issuedAt: string\n payload: { [k: string]: Json }\n proof?: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }\n}\n\n/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.69) */\nexport type SealedEnvelope = {\n rkid: string\n epk: string\n nonce: string\n ciphertext: string\n}\n\n/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@2 (rltp-visibility@0.16) */\nexport type VisibilityAnchorMapping = {\n body: {\n type: \"anchor-mapping@2\"\n pair: string\n self: string\n to: string\n card: {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n }\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-visibility@0.16) */\nexport type VisibilityContinuityMapping = {\n body: {\n type: \"continuity-mapping@1\"\n prior: string\n next: string\n to: string\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-visibility@0.16) */\nexport type VisibilityContinuityProbe = {\n body: {\n type: \"continuity-probe@1\"\n probe: string\n seq: string\n last: boolean\n blinded: string[]\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-grade-declaration.schema.json — RLTP grade-declaration@1 (rltp-visibility@0.16) */\nexport type VisibilityGradeDeclaration = {\n body: {\n type: \"grade-declaration@1\"\n subject: string\n holder: string\n grade: \"count\" | \"blinded\"\n revision: string\n issuedAt: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-visibility@0.16) */\nexport type VisibilityIntroductionAck = {\n body: {\n type: \"introduction-ack@1\"\n act: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-visibility@0.16) */\nexport type VisibilityIntroductionReply = {\n body: {\n type: \"introduction-reply@1\"\n act: string\n requestDigest: string\n requesterPair: string\n cardDigest: string\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-visibility@0.16) */\nexport type VisibilityIntroductionRequest = {\n body: {\n type: \"introduction-request@1\"\n act: string\n issuedAt: string\n target: string\n cardDigest: string\n profile: {\n displayName?: string\n note?: string\n }\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-visibility@0.16) */\nexport type VisibilityIntroductionVoucher = {\n body: {\n type: \"introduction-voucher@1\"\n act: string\n requesterPair: string\n targetPair: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-visibility@0.16) */\nexport type VisibilityPayloadIntroductionAck = {\n introduction: VisibilityIntroductionAck\n}\n\n/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-visibility@0.16) — byte-identical to the request payload */\nexport type VisibilityPayloadIntroductionForward = {\n introduction: VisibilityIntroductionRequest\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-visibility@0.16) */\nexport type VisibilityPayloadIntroductionReply = {\n introduction: VisibilityIntroductionReply\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-visibility@0.16) */\nexport type VisibilityPayloadIntroductionRequest = {\n introduction: VisibilityIntroductionRequest\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-visibility@0.16) */\nexport type VisibilityPayloadIntroductionVoucher = {\n voucher: VisibilityIntroductionVoucher\n}\n\n/** schemas/visibility-self-card.schema.json — RLTP self-card@1 (rltp-visibility@0.16) */\nexport type VisibilitySelfCard = {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-star.schema.json — RLTP star@1 (rltp-visibility@0.16) */\nexport type VisibilityStar = {\n body: {\n type: \"star@1\"\n salt: string\n seq: string\n last: boolean\n count: string\n blinded: string[]\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/welcome.schema.json — RLTP Welcome (rltp-welcome/0.1, rltp-membership@0.16) */\nexport type Welcome = {\n v: \"rltp-welcome/0.1\"\n group: string\n subject: string\n accept: string\n material: (AccessMaterial) & ({\n v?: \"rltp-access-material/0.24\"\n })\n}\n"]}
|
|
1
|
+
{"version":3,"file":"wire.js","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"","sourcesContent":["// GENERATED by scripts/build-wire-types.mjs — DO NOT EDIT.\n// Source of truth: schemas/*.json. scripts/validate.mjs enforces freshness.\n//\n// These are the STRUCTURAL PROJECTIONS of the wire schemas: shape,\n// requiredness, literals, tuples, unions. Patterns, length bounds,\n// if/then/else, `not`, `contains`, `dependentRequired` and uniqueItems\n// are NOT expressible here and remain normative in the schemas alone —\n// satisfying a type is necessary for conformance, never sufficient.\n// Validate against SCHEMAS before treating any value as a wire artifact.\nimport type { Json } from './core.js'\n\n/** schemas/access-material.schema.json — RLTP Access key material (Access Layer 0.24 sections 7.1 and 9.5) */\nexport type AccessMaterial = ({\n v: \"rltp-access-material/0.24\" | \"rltp-access-keydist/0.24\"\n adapter: string\n epoch: number\n keys: { [k: string]: Json }\n})\n\n/** schemas/access-operation-envelope.schema.json — RLTP Access Operation Envelope (transcription of Access Layer draft 0.24 section 3.3) */\nexport type AccessOperationEnvelope = ({\n v: \"rltp-access/0.24\"\n op: string\n group: string\n epoch: number\n policyVersion: number\n prev: string[]\n body: { [k: string]: Json }\n crit?: string[]\n id: string\n author: string\n proof: ({\n mechanism: \"signature-set\" | \"encounter-presentation\" | \"composite\"\n signatures?: {\n signer: string\n sig: string\n }[]\n credentials?: { [k: string]: Json }[]\n })\n})\n\n/** schemas/access-registration.schema.json — RLTP Service Registration (artifact 0.26, Access Layer section 7.3) */\nexport type AccessRegistration = ({\n v: \"rltp-access-registration/0.26\"\n type: \"service-registration\"\n group: string\n genesisDigest: string\n identity: string\n service: string\n m: 1\n stalenessBound: string\n terminalRetention: string\n divergenceQuota: number\n sig: string\n attestationKey: string\n registrationGeneration: number\n previousRegistration: (null) | (string)\n authorization?: {\n signer: string\n sig: string\n }[]\n abandon?: {\n abandonedRoot: string\n abandonedTipsDigest: string\n }\n authorizationRoot: (null) | (string)\n})\n\n/** schemas/access-vouch.schema.json — DTG AdmissionVouch (vouch@2, wire 0.24 family) */\nexport type AccessVouch = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n endorsement: {\n type: \"AdmissionVouch\"\n genesisDigest: string\n accept: string\n provenance: \"met\" | \"introduced\"\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/authorization-view.schema.json — RLTP Authorization View (Access Layer 0.24 section 7.3) */\nexport type AuthorizationView = ({\n v: \"rltp-access-view/0.24\"\n type: \"authorization-view\"\n group: string\n genesisDigest: string\n seq: number\n epoch: number\n identities: string[]\n m: (null) | (number)\n terminal: boolean\n prevView: (null) | (string) | (string[])\n predecessor?: string\n issuedAt: string\n validUntil: string\n sigs: {\n signer: string\n sig: string\n }[]\n})\n\n/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.79) */\nexport type CarrierProof = ({\n v: \"rltp-carrier-proof/0.3\"\n type: \"carrier-registration-proof\"\n purpose: \"register\" | \"rebind\" | \"collect\" | \"conclude\"\n carrier: string\n principal: string\n rkid: string\n generation?: number\n principalChallenge: string\n addressChallenge?: string\n sig: string\n})\n\n/** schemas/contact-card-0.25.schema.json — RLTP Contact Card (rltp-encounter@0.29) */\nexport type ContactCard025 = {\n version: \"rltp-card/0.25\"\n anchor: string\n keyAgreement: string\n challenge?: {\n value: string\n issuedAt: string\n }\n sentTo?: string\n boundTo?: string\n name?: string\n deliveryHints?: string[]\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }\n}\n\n/** schemas/contact-card.schema.json — RLTP Contact Card (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */\nexport type ContactCard = {\n version: \"rltp-card/0.25\"\n anchor: string\n keyAgreement: string\n challenge?: {\n value: string\n issuedAt: string\n }\n sentTo?: string\n boundTo?: string\n name?: string\n deliveryHints?: string[]\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }\n}\n\n/** schemas/encounter-credential-0.25.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) */\nexport type EncounterCredential025 = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n format: \"rltp-encounter-credential/0.25\"\n ceremony: string\n challenge: string\n enactmentBinding: string\n channel?: string\n commitment?: {\n suite: string\n value: string\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/encounter-credential.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */\nexport type EncounterCredential = {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n validFrom: string\n credentialSubject: {\n id: string\n format: \"rltp-encounter-credential/0.25\"\n ceremony: string\n challenge: string\n enactmentBinding: string\n channel?: string\n commitment?: {\n suite: string\n value: string\n }\n }\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n}\n\n/** schemas/member-mapping.schema.json — RLTP member-mapping@1 (rltp-access-member-mapping/0.24) */\nexport type MemberMapping = {\n body: {\n type: \"member-mapping@1\"\n member: string\n memberOp: string\n self: string\n to: string\n toOp: string\n card: {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n }\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/payload-access-operation.schema.json — Payload: access-operation/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadAccessOperation = ({\n operation: (AccessOperationEnvelope)\n welcome: {\n sealed: SealedEnvelope\n }\n}) & ({\n operation?: {\n op: \"member.add\"\n body?: Json\n }\n}) & ({\n operation?: {\n proof?: {\n signatures?: Json\n credentials?: Json\n }\n }\n})\n\n/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */\nexport type PayloadDeliveryAck = {\n ref: string\n meaning: \"received\"\n}\n\n/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */\nexport type PayloadEncounterBundle = {\n card: ContactCard\n credential: EncounterCredential\n}\n\n/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */\nexport type PayloadEncounterCredentialDelivery = {\n credential: EncounterCredential\n}\n\n/** schemas/payload-key-delivery.schema.json — Payload: key-delivery/0.1 (rltp-access@0.24, target Trust Tasks framework 0.4) */\nexport type PayloadKeyDelivery = {\n keyDelivery: ({\n group: string\n genesisDigest: string\n epoch: number\n op: string\n kind: \"keydist\" | \"re-welcome\" | \"refresh\" | \"request\"\n sealed?: SealedEnvelope\n card?: ContactCard\n })\n}\n\n/** schemas/payload-membership-accept.schema.json — Payload: membership-accept/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipAccept = {\n accept: {\n group: string\n subject: string\n ref: string\n card: ContactCard\n candidacy: boolean\n }\n}\n\n/** schemas/payload-membership-evidence.schema.json — Payload: membership-evidence/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipEvidence = {\n evidence: {\n invite: (RltpDeliveryDocument) & ({\n type?: \"https://real-life.org/trust-tasks/membership-invite/0.2\"\n payload?: PayloadMembershipInvite\n proof?: never\n })\n accept: (RltpDeliveryDocument) & ({\n type?: \"https://real-life.org/trust-tasks/membership-accept/0.2\"\n payload?: PayloadMembershipAccept\n })\n }\n}\n\n/** schemas/payload-membership-invite.schema.json — Payload: membership-invite/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */\nexport type PayloadMembershipInvite = {\n invite: {\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n type: (Json[])\n issuer: string\n credentialSubject: {\n id: string\n group: string\n genesisDigest: string\n card: ContactCard\n name?: string\n note?: string\n }\n validFrom: string\n validUntil: string\n taskContext: string\n proof: {\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n \"@context\": [\"https://www.w3.org/ns/credentials/v2\", \"https://firstperson.network/credentials/dtg/v1\", \"https://real-life.org/rltp/v1\"]\n }\n }\n}\n\n/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.79) */\nexport type PayloadRegistryDeclaration = {\n declaration: {\n role: string\n revision: string\n constants: { [k: string]: string }\n }\n}\n\n/** schemas/payload-removal-notice.schema.json — RLTP Removal Notice (Access Layer 0.24 section 10.2) */\nexport type PayloadRemovalNotice = {\n v: \"rltp-access-removal-notice/0.24\"\n type: \"removal-notice\"\n group: string\n genesisDigest: string\n op: string\n subject: string\n epoch: number\n author: string\n sig: string\n}\n\n/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.79) */\nexport type RltpDeliveryDocument = ({\n id: string\n type: string\n issuer: string\n recipient: string\n threadId: string\n ceremony?: { [k: string]: Json }\n issuedAt: string\n payload: { [k: string]: Json }\n proof?: ({\n type: \"DataIntegrityProof\"\n cryptosuite: \"eddsa-jcs-2022\"\n created: string\n verificationMethod: string\n proofPurpose: \"assertionMethod\"\n proofValue: string\n }) | ({\n mac: string\n })\n})\n\n/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.79) */\nexport type SealedEnvelope = {\n rkid: string\n epk: string\n nonce: string\n ciphertext: string\n}\n\n/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@2 (rltp-visibility@0.29) */\nexport type VisibilityAnchorMapping = {\n body: {\n type: \"anchor-mapping@2\"\n pair: string\n self: string\n to: string\n card: {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n }\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-visibility@0.29) */\nexport type VisibilityContinuityMapping = {\n body: {\n type: \"continuity-mapping@1\"\n prior: string\n next: string\n to: string\n revision: string\n issuedAt: string\n }\n proof: {\n mac1: string\n mac2: string\n }\n}\n\n/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-visibility@0.29) */\nexport type VisibilityContinuityProbe = {\n body: {\n type: \"continuity-probe@1\"\n probe: string\n seq: string\n last: boolean\n blinded: string[]\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-grade-declaration.schema.json — RLTP grade-declaration@1 (rltp-visibility@0.29) */\nexport type VisibilityGradeDeclaration = {\n body: {\n type: \"grade-declaration@1\"\n subject: string\n holder: string\n grade: \"count\" | \"blinded\"\n revision: string\n issuedAt: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-visibility@0.29) */\nexport type VisibilityIntroductionAck = {\n body: {\n type: \"introduction-ack@1\"\n act: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-visibility@0.29) */\nexport type VisibilityIntroductionReply = {\n body: {\n type: \"introduction-reply@1\"\n act: string\n requestDigest: string\n requesterPair: string\n cardDigest: string\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-visibility@0.29) */\nexport type VisibilityIntroductionRequest = {\n body: {\n type: \"introduction-request@1\"\n act: string\n issuedAt: string\n target: string\n cardDigest: string\n profile: {\n displayName?: string\n note?: string\n }\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-visibility@0.29) */\nexport type VisibilityIntroductionVoucher = {\n body: {\n type: \"introduction-voucher@1\"\n act: string\n requesterPair: string\n targetPair: string\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-visibility@0.29) */\nexport type VisibilityPayloadIntroductionAck = {\n introduction: VisibilityIntroductionAck\n}\n\n/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-visibility@0.29) — byte-identical to the request payload */\nexport type VisibilityPayloadIntroductionForward = {\n introduction: VisibilityIntroductionRequest\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-visibility@0.29) */\nexport type VisibilityPayloadIntroductionReply = {\n introduction: VisibilityIntroductionReply\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-visibility@0.29) */\nexport type VisibilityPayloadIntroductionRequest = {\n introduction: VisibilityIntroductionRequest\n card: ContactCard025\n}\n\n/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-visibility@0.29) */\nexport type VisibilityPayloadIntroductionVoucher = {\n voucher: VisibilityIntroductionVoucher\n}\n\n/** schemas/visibility-self-card.schema.json — RLTP self-card@1 (rltp-visibility@0.29) */\nexport type VisibilitySelfCard = {\n body: {\n type: \"self-card@1\"\n anchor: string\n keyAgreement: string\n }\n proof: {\n proofValue: string\n }\n}\n\n/** schemas/visibility-star.schema.json — RLTP star@1 (rltp-visibility@0.29) */\nexport type VisibilityStar = {\n body: {\n type: \"star@1\"\n salt: string\n seq: string\n last: boolean\n count: string\n blinded: string[]\n }\n proof: {\n mac: string\n }\n}\n\n/** schemas/welcome.schema.json — RLTP Welcome (rltp-welcome/0.1, rltp-membership@0.16) */\nexport type Welcome = {\n v: \"rltp-welcome/0.1\"\n group: string\n subject: string\n accept: string\n material: (AccessMaterial) & ({\n v?: \"rltp-access-material/0.24\"\n })\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@real-life/trust-protocol",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "The Real Life Trust Protocol (RLTP)
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "The Real Life Trust Protocol (RLTP) \u2014 the executable form of the specification: encounters, introductions, trust disclosure, groups, continuity, and the delivery channel. Zero dependencies, WebCrypto only.",
|
|
5
5
|
"license": "CC-BY-4.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"dist/index.*",
|
|
10
10
|
"dist/probe.*",
|
|
11
11
|
"dist/probe/",
|
|
12
|
+
"dist/visibility.*",
|
|
12
13
|
"dist/core.*",
|
|
13
14
|
"dist/crypto.*",
|
|
14
15
|
"dist/identity.*",
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"build": "tsc -p tsconfig.json",
|
|
37
|
-
"test": "node --test test/vectors.test.mjs test/vectors2.test.mjs test/vectors3.test.mjs test/probe.test.mjs test/carrier.test.mjs test/loopback.test.mjs",
|
|
38
|
+
"test": "node --test test/vectors.test.mjs test/vectors2.test.mjs test/vectors3.test.mjs test/vectors4.test.mjs test/probe.test.mjs test/carrier.test.mjs test/loopback.test.mjs test/adapter-mediator.test.mjs",
|
|
38
39
|
"prepack": "npm run build && npm test"
|
|
39
40
|
},
|
|
40
41
|
"keywords": [
|