@real-life/trust-protocol 0.1.0 → 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 +19 -10
- package/dist/carrier-identity.d.ts +20 -0
- package/dist/carrier-identity.d.ts.map +1 -0
- package/dist/carrier-identity.js +115 -0
- package/dist/carrier-identity.js.map +1 -0
- package/dist/carrier.d.ts +157 -0
- package/dist/carrier.d.ts.map +1 -0
- package/dist/carrier.js +577 -0
- package/dist/carrier.js.map +1 -0
- package/dist/holder.d.ts +42 -0
- package/dist/holder.d.ts.map +1 -0
- package/dist/holder.js +92 -0
- package/dist/holder.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -7
- 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 +1 -2
- package/dist/probe.d.ts.map +1 -1
- package/dist/probe.js +6 -8
- 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 +575 -0
- package/dist/wire.d.ts.map +1 -0
- package/dist/wire.js +2 -0
- package/dist/wire.js.map +1 -0
- package/package.json +8 -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
ADDED
|
@@ -0,0 +1,575 @@
|
|
|
1
|
+
import type { Json } from './core.js';
|
|
2
|
+
/** schemas/access-material.schema.json — RLTP Access key material (Access Layer 0.24 sections 7.1 and 9.5) */
|
|
3
|
+
export type AccessMaterial = ({
|
|
4
|
+
v: "rltp-access-material/0.24" | "rltp-access-keydist/0.24";
|
|
5
|
+
adapter: string;
|
|
6
|
+
epoch: number;
|
|
7
|
+
keys: {
|
|
8
|
+
[k: string]: Json;
|
|
9
|
+
};
|
|
10
|
+
});
|
|
11
|
+
/** schemas/access-operation-envelope.schema.json — RLTP Access Operation Envelope (transcription of Access Layer draft 0.24 section 3.3) */
|
|
12
|
+
export type AccessOperationEnvelope = ({
|
|
13
|
+
v: "rltp-access/0.24";
|
|
14
|
+
op: string;
|
|
15
|
+
group: string;
|
|
16
|
+
epoch: number;
|
|
17
|
+
policyVersion: number;
|
|
18
|
+
prev: string[];
|
|
19
|
+
body: {
|
|
20
|
+
[k: string]: Json;
|
|
21
|
+
};
|
|
22
|
+
crit?: string[];
|
|
23
|
+
id: string;
|
|
24
|
+
author: string;
|
|
25
|
+
proof: ({
|
|
26
|
+
mechanism: "signature-set" | "encounter-presentation" | "composite";
|
|
27
|
+
signatures?: {
|
|
28
|
+
signer: string;
|
|
29
|
+
sig: string;
|
|
30
|
+
}[];
|
|
31
|
+
credentials?: {
|
|
32
|
+
[k: string]: Json;
|
|
33
|
+
}[];
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
/** schemas/access-registration.schema.json — RLTP Service Registration (artifact 0.26, Access Layer section 7.3) */
|
|
37
|
+
export type AccessRegistration = ({
|
|
38
|
+
v: "rltp-access-registration/0.26";
|
|
39
|
+
type: "service-registration";
|
|
40
|
+
group: string;
|
|
41
|
+
genesisDigest: string;
|
|
42
|
+
identity: string;
|
|
43
|
+
service: string;
|
|
44
|
+
m: 1;
|
|
45
|
+
stalenessBound: string;
|
|
46
|
+
terminalRetention: string;
|
|
47
|
+
divergenceQuota: number;
|
|
48
|
+
sig: string;
|
|
49
|
+
attestationKey: string;
|
|
50
|
+
registrationGeneration: number;
|
|
51
|
+
previousRegistration: (null) | (string);
|
|
52
|
+
authorization?: {
|
|
53
|
+
signer: string;
|
|
54
|
+
sig: string;
|
|
55
|
+
}[];
|
|
56
|
+
abandon?: {
|
|
57
|
+
abandonedRoot: string;
|
|
58
|
+
abandonedTipsDigest: string;
|
|
59
|
+
};
|
|
60
|
+
authorizationRoot: (null) | (string);
|
|
61
|
+
});
|
|
62
|
+
/** schemas/access-vouch.schema.json — DTG AdmissionVouch (vouch@2, wire 0.24 family) */
|
|
63
|
+
export type AccessVouch = {
|
|
64
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
65
|
+
type: (Json[]);
|
|
66
|
+
issuer: string;
|
|
67
|
+
validFrom: string;
|
|
68
|
+
credentialSubject: {
|
|
69
|
+
id: string;
|
|
70
|
+
endorsement: {
|
|
71
|
+
type: "AdmissionVouch";
|
|
72
|
+
genesisDigest: string;
|
|
73
|
+
accept: string;
|
|
74
|
+
provenance: "met" | "introduced";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
proof: {
|
|
78
|
+
type: "DataIntegrityProof";
|
|
79
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
80
|
+
created: string;
|
|
81
|
+
verificationMethod: string;
|
|
82
|
+
proofPurpose: "assertionMethod";
|
|
83
|
+
proofValue: string;
|
|
84
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
/** schemas/authorization-view.schema.json — RLTP Authorization View (Access Layer 0.24 section 7.3) */
|
|
88
|
+
export type AuthorizationView = ({
|
|
89
|
+
v: "rltp-access-view/0.24";
|
|
90
|
+
type: "authorization-view";
|
|
91
|
+
group: string;
|
|
92
|
+
genesisDigest: string;
|
|
93
|
+
seq: number;
|
|
94
|
+
epoch: number;
|
|
95
|
+
identities: string[];
|
|
96
|
+
m: (null) | (number);
|
|
97
|
+
terminal: boolean;
|
|
98
|
+
prevView: (null) | (string) | (string[]);
|
|
99
|
+
predecessor?: string;
|
|
100
|
+
issuedAt: string;
|
|
101
|
+
validUntil: string;
|
|
102
|
+
sigs: {
|
|
103
|
+
signer: string;
|
|
104
|
+
sig: string;
|
|
105
|
+
}[];
|
|
106
|
+
});
|
|
107
|
+
/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.79) */
|
|
108
|
+
export type CarrierProof = ({
|
|
109
|
+
v: "rltp-carrier-proof/0.3";
|
|
110
|
+
type: "carrier-registration-proof";
|
|
111
|
+
purpose: "register" | "rebind" | "collect" | "conclude";
|
|
112
|
+
carrier: string;
|
|
113
|
+
principal: string;
|
|
114
|
+
rkid: string;
|
|
115
|
+
generation?: number;
|
|
116
|
+
principalChallenge: string;
|
|
117
|
+
addressChallenge?: string;
|
|
118
|
+
sig: string;
|
|
119
|
+
});
|
|
120
|
+
/** schemas/contact-card-0.25.schema.json — RLTP Contact Card (rltp-encounter@0.29) */
|
|
121
|
+
export type ContactCard025 = {
|
|
122
|
+
version: "rltp-card/0.25";
|
|
123
|
+
anchor: string;
|
|
124
|
+
keyAgreement: string;
|
|
125
|
+
challenge?: {
|
|
126
|
+
value: string;
|
|
127
|
+
issuedAt: string;
|
|
128
|
+
};
|
|
129
|
+
sentTo?: string;
|
|
130
|
+
boundTo?: string;
|
|
131
|
+
name?: string;
|
|
132
|
+
deliveryHints?: string[];
|
|
133
|
+
proof: {
|
|
134
|
+
type: "DataIntegrityProof";
|
|
135
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
136
|
+
created: string;
|
|
137
|
+
verificationMethod: string;
|
|
138
|
+
proofPurpose: "assertionMethod";
|
|
139
|
+
proofValue: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
/** schemas/contact-card.schema.json — RLTP Contact Card (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */
|
|
143
|
+
export type ContactCard = {
|
|
144
|
+
version: "rltp-card/0.25";
|
|
145
|
+
anchor: string;
|
|
146
|
+
keyAgreement: string;
|
|
147
|
+
challenge?: {
|
|
148
|
+
value: string;
|
|
149
|
+
issuedAt: string;
|
|
150
|
+
};
|
|
151
|
+
sentTo?: string;
|
|
152
|
+
boundTo?: string;
|
|
153
|
+
name?: string;
|
|
154
|
+
deliveryHints?: string[];
|
|
155
|
+
proof: {
|
|
156
|
+
type: "DataIntegrityProof";
|
|
157
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
158
|
+
created: string;
|
|
159
|
+
verificationMethod: string;
|
|
160
|
+
proofPurpose: "assertionMethod";
|
|
161
|
+
proofValue: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
/** schemas/encounter-credential-0.25.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) */
|
|
165
|
+
export type EncounterCredential025 = {
|
|
166
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
167
|
+
type: (Json[]);
|
|
168
|
+
issuer: string;
|
|
169
|
+
validFrom: string;
|
|
170
|
+
credentialSubject: {
|
|
171
|
+
id: string;
|
|
172
|
+
format: "rltp-encounter-credential/0.25";
|
|
173
|
+
ceremony: string;
|
|
174
|
+
challenge: string;
|
|
175
|
+
enactmentBinding: string;
|
|
176
|
+
channel?: string;
|
|
177
|
+
commitment?: {
|
|
178
|
+
suite: string;
|
|
179
|
+
value: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
proof: {
|
|
183
|
+
type: "DataIntegrityProof";
|
|
184
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
185
|
+
created: string;
|
|
186
|
+
verificationMethod: string;
|
|
187
|
+
proofPurpose: "assertionMethod";
|
|
188
|
+
proofValue: string;
|
|
189
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** schemas/encounter-credential.schema.json — RLTP Encounter Credential (rltp-encounter@0.29) — mobile $id, carried by the unversioned resource */
|
|
193
|
+
export type EncounterCredential = {
|
|
194
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
195
|
+
type: (Json[]);
|
|
196
|
+
issuer: string;
|
|
197
|
+
validFrom: string;
|
|
198
|
+
credentialSubject: {
|
|
199
|
+
id: string;
|
|
200
|
+
format: "rltp-encounter-credential/0.25";
|
|
201
|
+
ceremony: string;
|
|
202
|
+
challenge: string;
|
|
203
|
+
enactmentBinding: string;
|
|
204
|
+
channel?: string;
|
|
205
|
+
commitment?: {
|
|
206
|
+
suite: string;
|
|
207
|
+
value: string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
proof: {
|
|
211
|
+
type: "DataIntegrityProof";
|
|
212
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
213
|
+
created: string;
|
|
214
|
+
verificationMethod: string;
|
|
215
|
+
proofPurpose: "assertionMethod";
|
|
216
|
+
proofValue: string;
|
|
217
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
/** schemas/member-mapping.schema.json — RLTP member-mapping@1 (rltp-access-member-mapping/0.24) */
|
|
221
|
+
export type MemberMapping = {
|
|
222
|
+
body: {
|
|
223
|
+
type: "member-mapping@1";
|
|
224
|
+
member: string;
|
|
225
|
+
memberOp: string;
|
|
226
|
+
self: string;
|
|
227
|
+
to: string;
|
|
228
|
+
toOp: string;
|
|
229
|
+
card: {
|
|
230
|
+
body: {
|
|
231
|
+
type: "self-card@1";
|
|
232
|
+
anchor: string;
|
|
233
|
+
keyAgreement: string;
|
|
234
|
+
};
|
|
235
|
+
proof: {
|
|
236
|
+
proofValue: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
revision: string;
|
|
240
|
+
issuedAt: string;
|
|
241
|
+
};
|
|
242
|
+
proof: {
|
|
243
|
+
mac1: string;
|
|
244
|
+
mac2: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
/** schemas/payload-access-operation.schema.json — Payload: access-operation/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */
|
|
248
|
+
export type PayloadAccessOperation = ({
|
|
249
|
+
operation: (AccessOperationEnvelope);
|
|
250
|
+
welcome: {
|
|
251
|
+
sealed: SealedEnvelope;
|
|
252
|
+
};
|
|
253
|
+
}) & ({
|
|
254
|
+
operation?: {
|
|
255
|
+
op: "member.add";
|
|
256
|
+
body?: Json;
|
|
257
|
+
};
|
|
258
|
+
}) & ({
|
|
259
|
+
operation?: {
|
|
260
|
+
proof?: {
|
|
261
|
+
signatures?: Json;
|
|
262
|
+
credentials?: Json;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
});
|
|
266
|
+
/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */
|
|
267
|
+
export type PayloadDeliveryAck = {
|
|
268
|
+
ref: string;
|
|
269
|
+
meaning: "received";
|
|
270
|
+
};
|
|
271
|
+
/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.79, target Trust Tasks framework 0.4) */
|
|
272
|
+
export type PayloadEncounterBundle = {
|
|
273
|
+
card: ContactCard;
|
|
274
|
+
credential: EncounterCredential;
|
|
275
|
+
};
|
|
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
|
+
export type PayloadEncounterCredentialDelivery = {
|
|
278
|
+
credential: EncounterCredential;
|
|
279
|
+
};
|
|
280
|
+
/** schemas/payload-key-delivery.schema.json — Payload: key-delivery/0.1 (rltp-access@0.24, target Trust Tasks framework 0.4) */
|
|
281
|
+
export type PayloadKeyDelivery = {
|
|
282
|
+
keyDelivery: ({
|
|
283
|
+
group: string;
|
|
284
|
+
genesisDigest: string;
|
|
285
|
+
epoch: number;
|
|
286
|
+
op: string;
|
|
287
|
+
kind: "keydist" | "re-welcome" | "refresh" | "request";
|
|
288
|
+
sealed?: SealedEnvelope;
|
|
289
|
+
card?: ContactCard;
|
|
290
|
+
});
|
|
291
|
+
};
|
|
292
|
+
/** schemas/payload-membership-accept.schema.json — Payload: membership-accept/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */
|
|
293
|
+
export type PayloadMembershipAccept = {
|
|
294
|
+
accept: {
|
|
295
|
+
group: string;
|
|
296
|
+
subject: string;
|
|
297
|
+
ref: string;
|
|
298
|
+
card: ContactCard;
|
|
299
|
+
candidacy: boolean;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
/** schemas/payload-membership-evidence.schema.json — Payload: membership-evidence/0.1 (rltp-membership@0.16, target Trust Tasks framework 0.4) */
|
|
303
|
+
export type PayloadMembershipEvidence = {
|
|
304
|
+
evidence: {
|
|
305
|
+
invite: (RltpDeliveryDocument) & ({
|
|
306
|
+
type?: "https://real-life.org/trust-tasks/membership-invite/0.2";
|
|
307
|
+
payload?: PayloadMembershipInvite;
|
|
308
|
+
proof?: never;
|
|
309
|
+
});
|
|
310
|
+
accept: (RltpDeliveryDocument) & ({
|
|
311
|
+
type?: "https://real-life.org/trust-tasks/membership-accept/0.2";
|
|
312
|
+
payload?: PayloadMembershipAccept;
|
|
313
|
+
});
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
/** schemas/payload-membership-invite.schema.json — Payload: membership-invite/0.2 (rltp-membership@0.16, target Trust Tasks framework 0.4) */
|
|
317
|
+
export type PayloadMembershipInvite = {
|
|
318
|
+
invite: {
|
|
319
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
320
|
+
type: (Json[]);
|
|
321
|
+
issuer: string;
|
|
322
|
+
credentialSubject: {
|
|
323
|
+
id: string;
|
|
324
|
+
group: string;
|
|
325
|
+
genesisDigest: string;
|
|
326
|
+
card: ContactCard;
|
|
327
|
+
name?: string;
|
|
328
|
+
note?: string;
|
|
329
|
+
};
|
|
330
|
+
validFrom: string;
|
|
331
|
+
validUntil: string;
|
|
332
|
+
taskContext: string;
|
|
333
|
+
proof: {
|
|
334
|
+
type: "DataIntegrityProof";
|
|
335
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
336
|
+
created: string;
|
|
337
|
+
verificationMethod: string;
|
|
338
|
+
proofPurpose: "assertionMethod";
|
|
339
|
+
proofValue: string;
|
|
340
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.79) */
|
|
345
|
+
export type PayloadRegistryDeclaration = {
|
|
346
|
+
declaration: {
|
|
347
|
+
role: string;
|
|
348
|
+
revision: string;
|
|
349
|
+
constants: {
|
|
350
|
+
[k: string]: string;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
/** schemas/payload-removal-notice.schema.json — RLTP Removal Notice (Access Layer 0.24 section 10.2) */
|
|
355
|
+
export type PayloadRemovalNotice = {
|
|
356
|
+
v: "rltp-access-removal-notice/0.24";
|
|
357
|
+
type: "removal-notice";
|
|
358
|
+
group: string;
|
|
359
|
+
genesisDigest: string;
|
|
360
|
+
op: string;
|
|
361
|
+
subject: string;
|
|
362
|
+
epoch: number;
|
|
363
|
+
author: string;
|
|
364
|
+
sig: string;
|
|
365
|
+
};
|
|
366
|
+
/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.79) */
|
|
367
|
+
export type RltpDeliveryDocument = ({
|
|
368
|
+
id: string;
|
|
369
|
+
type: string;
|
|
370
|
+
issuer: string;
|
|
371
|
+
recipient: string;
|
|
372
|
+
threadId: string;
|
|
373
|
+
ceremony?: {
|
|
374
|
+
[k: string]: Json;
|
|
375
|
+
};
|
|
376
|
+
issuedAt: string;
|
|
377
|
+
payload: {
|
|
378
|
+
[k: string]: Json;
|
|
379
|
+
};
|
|
380
|
+
proof?: ({
|
|
381
|
+
type: "DataIntegrityProof";
|
|
382
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
383
|
+
created: string;
|
|
384
|
+
verificationMethod: string;
|
|
385
|
+
proofPurpose: "assertionMethod";
|
|
386
|
+
proofValue: string;
|
|
387
|
+
}) | ({
|
|
388
|
+
mac: string;
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.79) */
|
|
392
|
+
export type SealedEnvelope = {
|
|
393
|
+
rkid: string;
|
|
394
|
+
epk: string;
|
|
395
|
+
nonce: string;
|
|
396
|
+
ciphertext: string;
|
|
397
|
+
};
|
|
398
|
+
/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@2 (rltp-visibility@0.29) */
|
|
399
|
+
export type VisibilityAnchorMapping = {
|
|
400
|
+
body: {
|
|
401
|
+
type: "anchor-mapping@2";
|
|
402
|
+
pair: string;
|
|
403
|
+
self: string;
|
|
404
|
+
to: string;
|
|
405
|
+
card: {
|
|
406
|
+
body: {
|
|
407
|
+
type: "self-card@1";
|
|
408
|
+
anchor: string;
|
|
409
|
+
keyAgreement: string;
|
|
410
|
+
};
|
|
411
|
+
proof: {
|
|
412
|
+
proofValue: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
revision: string;
|
|
416
|
+
issuedAt: string;
|
|
417
|
+
};
|
|
418
|
+
proof: {
|
|
419
|
+
mac1: string;
|
|
420
|
+
mac2: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-visibility@0.29) */
|
|
424
|
+
export type VisibilityContinuityMapping = {
|
|
425
|
+
body: {
|
|
426
|
+
type: "continuity-mapping@1";
|
|
427
|
+
prior: string;
|
|
428
|
+
next: string;
|
|
429
|
+
to: string;
|
|
430
|
+
revision: string;
|
|
431
|
+
issuedAt: string;
|
|
432
|
+
};
|
|
433
|
+
proof: {
|
|
434
|
+
mac1: string;
|
|
435
|
+
mac2: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-visibility@0.29) */
|
|
439
|
+
export type VisibilityContinuityProbe = {
|
|
440
|
+
body: {
|
|
441
|
+
type: "continuity-probe@1";
|
|
442
|
+
probe: string;
|
|
443
|
+
seq: string;
|
|
444
|
+
last: boolean;
|
|
445
|
+
blinded: string[];
|
|
446
|
+
};
|
|
447
|
+
proof: {
|
|
448
|
+
mac: string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
/** schemas/visibility-grade-declaration.schema.json — RLTP grade-declaration@1 (rltp-visibility@0.29) */
|
|
452
|
+
export type VisibilityGradeDeclaration = {
|
|
453
|
+
body: {
|
|
454
|
+
type: "grade-declaration@1";
|
|
455
|
+
subject: string;
|
|
456
|
+
holder: string;
|
|
457
|
+
grade: "count" | "blinded";
|
|
458
|
+
revision: string;
|
|
459
|
+
issuedAt: string;
|
|
460
|
+
};
|
|
461
|
+
proof: {
|
|
462
|
+
mac: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-visibility@0.29) */
|
|
466
|
+
export type VisibilityIntroductionAck = {
|
|
467
|
+
body: {
|
|
468
|
+
type: "introduction-ack@1";
|
|
469
|
+
act: string;
|
|
470
|
+
};
|
|
471
|
+
proof: {
|
|
472
|
+
mac: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-visibility@0.29) */
|
|
476
|
+
export type VisibilityIntroductionReply = {
|
|
477
|
+
body: {
|
|
478
|
+
type: "introduction-reply@1";
|
|
479
|
+
act: string;
|
|
480
|
+
requestDigest: string;
|
|
481
|
+
requesterPair: string;
|
|
482
|
+
cardDigest: string;
|
|
483
|
+
};
|
|
484
|
+
proof: {
|
|
485
|
+
proofValue: string;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-visibility@0.29) */
|
|
489
|
+
export type VisibilityIntroductionRequest = {
|
|
490
|
+
body: {
|
|
491
|
+
type: "introduction-request@1";
|
|
492
|
+
act: string;
|
|
493
|
+
issuedAt: string;
|
|
494
|
+
target: string;
|
|
495
|
+
cardDigest: string;
|
|
496
|
+
profile: {
|
|
497
|
+
displayName?: string;
|
|
498
|
+
note?: string;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
proof: {
|
|
502
|
+
proofValue: string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-visibility@0.29) */
|
|
506
|
+
export type VisibilityIntroductionVoucher = {
|
|
507
|
+
body: {
|
|
508
|
+
type: "introduction-voucher@1";
|
|
509
|
+
act: string;
|
|
510
|
+
requesterPair: string;
|
|
511
|
+
targetPair: string;
|
|
512
|
+
};
|
|
513
|
+
proof: {
|
|
514
|
+
mac: string;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-visibility@0.29) */
|
|
518
|
+
export type VisibilityPayloadIntroductionAck = {
|
|
519
|
+
introduction: VisibilityIntroductionAck;
|
|
520
|
+
};
|
|
521
|
+
/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-visibility@0.29) — byte-identical to the request payload */
|
|
522
|
+
export type VisibilityPayloadIntroductionForward = {
|
|
523
|
+
introduction: VisibilityIntroductionRequest;
|
|
524
|
+
card: ContactCard025;
|
|
525
|
+
};
|
|
526
|
+
/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-visibility@0.29) */
|
|
527
|
+
export type VisibilityPayloadIntroductionReply = {
|
|
528
|
+
introduction: VisibilityIntroductionReply;
|
|
529
|
+
card: ContactCard025;
|
|
530
|
+
};
|
|
531
|
+
/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-visibility@0.29) */
|
|
532
|
+
export type VisibilityPayloadIntroductionRequest = {
|
|
533
|
+
introduction: VisibilityIntroductionRequest;
|
|
534
|
+
card: ContactCard025;
|
|
535
|
+
};
|
|
536
|
+
/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-visibility@0.29) */
|
|
537
|
+
export type VisibilityPayloadIntroductionVoucher = {
|
|
538
|
+
voucher: VisibilityIntroductionVoucher;
|
|
539
|
+
};
|
|
540
|
+
/** schemas/visibility-self-card.schema.json — RLTP self-card@1 (rltp-visibility@0.29) */
|
|
541
|
+
export type VisibilitySelfCard = {
|
|
542
|
+
body: {
|
|
543
|
+
type: "self-card@1";
|
|
544
|
+
anchor: string;
|
|
545
|
+
keyAgreement: string;
|
|
546
|
+
};
|
|
547
|
+
proof: {
|
|
548
|
+
proofValue: string;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
/** schemas/visibility-star.schema.json — RLTP star@1 (rltp-visibility@0.29) */
|
|
552
|
+
export type VisibilityStar = {
|
|
553
|
+
body: {
|
|
554
|
+
type: "star@1";
|
|
555
|
+
salt: string;
|
|
556
|
+
seq: string;
|
|
557
|
+
last: boolean;
|
|
558
|
+
count: string;
|
|
559
|
+
blinded: string[];
|
|
560
|
+
};
|
|
561
|
+
proof: {
|
|
562
|
+
mac: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
/** schemas/welcome.schema.json — RLTP Welcome (rltp-welcome/0.1, rltp-membership@0.16) */
|
|
566
|
+
export type Welcome = {
|
|
567
|
+
v: "rltp-welcome/0.1";
|
|
568
|
+
group: string;
|
|
569
|
+
subject: string;
|
|
570
|
+
accept: string;
|
|
571
|
+
material: (AccessMaterial) & ({
|
|
572
|
+
v?: "rltp-access-material/0.24";
|
|
573
|
+
});
|
|
574
|
+
};
|
|
575
|
+
//# sourceMappingURL=wire.d.ts.map
|
|
@@ -0,0 +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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