@real-life/trust-protocol 0.3.2 → 0.5.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 +97 -0
- package/README.md +209 -78
- package/dist/ack.d.ts +84 -0
- package/dist/ack.d.ts.map +1 -0
- package/dist/ack.js +114 -0
- package/dist/ack.js.map +1 -0
- package/dist/adapters/vti-mediator.d.ts +169 -0
- package/dist/adapters/vti-mediator.d.ts.map +1 -0
- package/dist/adapters/vti-mediator.js +659 -0
- package/dist/adapters/vti-mediator.js.map +1 -0
- package/dist/anchor.d.ts +226 -0
- package/dist/anchor.d.ts.map +1 -0
- package/dist/anchor.js +347 -0
- package/dist/anchor.js.map +1 -0
- package/dist/{holder.d.ts → carrier-holder.d.ts} +1 -1
- package/dist/carrier-holder.d.ts.map +1 -0
- package/dist/{holder.js → carrier-holder.js} +5 -4
- package/dist/carrier-holder.js.map +1 -0
- package/dist/carrier-identity.js +4 -4
- package/dist/carrier-identity.js.map +1 -1
- package/dist/carrier.d.ts.map +1 -1
- package/dist/carrier.js +4 -3
- package/dist/carrier.js.map +1 -1
- package/dist/ceremony.d.ts +3 -2
- package/dist/ceremony.d.ts.map +1 -1
- package/dist/ceremony.js +16 -26
- package/dist/ceremony.js.map +1 -1
- package/dist/codec.d.ts +54 -0
- package/dist/codec.d.ts.map +1 -0
- package/dist/codec.js +494 -0
- package/dist/codec.js.map +1 -0
- package/dist/continuity.d.ts +67 -0
- package/dist/continuity.d.ts.map +1 -0
- package/dist/continuity.js +110 -0
- package/dist/continuity.js.map +1 -0
- package/dist/core.d.ts +4 -0
- package/dist/core.d.ts.map +1 -1
- package/dist/core.js.map +1 -1
- package/dist/crypto.d.ts +23 -7
- package/dist/crypto.d.ts.map +1 -1
- package/dist/crypto.js +54 -20
- package/dist/crypto.js.map +1 -1
- package/dist/delivery.d.ts +31 -3
- package/dist/delivery.d.ts.map +1 -1
- package/dist/delivery.js +75 -28
- package/dist/delivery.js.map +1 -1
- package/dist/encounter/ceremony.d.ts +37 -0
- package/dist/encounter/ceremony.d.ts.map +1 -0
- package/dist/encounter/ceremony.js +662 -0
- package/dist/encounter/ceremony.js.map +1 -0
- package/dist/encounter.d.ts +91 -1
- package/dist/encounter.d.ts.map +1 -1
- package/dist/encounter.js +191 -12
- package/dist/encounter.js.map +1 -1
- package/dist/engine.d.ts +303 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +1509 -0
- package/dist/engine.js.map +1 -0
- package/dist/entropy.d.ts +28 -0
- package/dist/entropy.d.ts.map +1 -0
- package/dist/entropy.js +96 -0
- package/dist/entropy.js.map +1 -0
- package/dist/events.d.ts +198 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -0
- package/dist/fixtures.d.ts +30 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +155 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/forge.d.ts +47 -0
- package/dist/forge.d.ts.map +1 -0
- package/dist/forge.js +20 -0
- package/dist/forge.js.map +1 -0
- package/dist/group-star.d.ts +251 -0
- package/dist/group-star.d.ts.map +1 -0
- package/dist/group-star.js +348 -0
- package/dist/group-star.js.map +1 -0
- package/dist/holder-api.d.ts +165 -0
- package/dist/holder-api.d.ts.map +1 -0
- package/dist/holder-api.js +142 -0
- package/dist/holder-api.js.map +1 -0
- package/dist/holder-state-v1.d.ts +801 -0
- package/dist/holder-state-v1.d.ts.map +1 -0
- package/dist/holder-state-v1.js +2 -0
- package/dist/holder-state-v1.js.map +1 -0
- package/dist/holder-state-v2.d.ts +858 -0
- package/dist/holder-state-v2.d.ts.map +1 -0
- package/dist/holder-state-v2.js +2 -0
- package/dist/holder-state-v2.js.map +1 -0
- package/dist/identity-state.d.ts +43 -0
- package/dist/identity-state.d.ts.map +1 -0
- package/dist/identity-state.js +345 -0
- package/dist/identity-state.js.map +1 -0
- package/dist/identity.d.ts +24 -2
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +70 -11
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +81 -29
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +37 -0
- package/dist/internal.d.ts.map +1 -0
- package/dist/internal.js +22 -0
- package/dist/internal.js.map +1 -0
- package/dist/introduction/holder.d.ts +18 -0
- package/dist/introduction/holder.d.ts.map +1 -0
- package/dist/introduction/holder.js +764 -0
- package/dist/introduction/holder.js.map +1 -0
- package/dist/introduction.d.ts +101 -0
- package/dist/introduction.d.ts.map +1 -0
- package/dist/introduction.js +132 -0
- package/dist/introduction.js.map +1 -0
- package/dist/invariants.d.ts +43 -0
- package/dist/invariants.d.ts.map +1 -0
- package/dist/invariants.js +953 -0
- package/dist/invariants.js.map +1 -0
- package/dist/keys-seed.d.ts +7 -0
- package/dist/keys-seed.d.ts.map +1 -0
- package/dist/keys-seed.js +133 -0
- package/dist/keys-seed.js.map +1 -0
- package/dist/log-memory.d.ts +12 -0
- package/dist/log-memory.d.ts.map +1 -0
- package/dist/log-memory.js +101 -0
- package/dist/log-memory.js.map +1 -0
- package/dist/membership/holder.d.ts +33 -0
- package/dist/membership/holder.d.ts.map +1 -0
- package/dist/membership/holder.js +929 -0
- package/dist/membership/holder.js.map +1 -0
- package/dist/membership.d.ts +123 -0
- package/dist/membership.d.ts.map +1 -0
- package/dist/membership.js +180 -0
- package/dist/membership.js.map +1 -0
- package/dist/message/holder.d.ts +49 -0
- package/dist/message/holder.d.ts.map +1 -0
- package/dist/message/holder.js +290 -0
- package/dist/message/holder.js.map +1 -0
- package/dist/message.d.ts +43 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.js +51 -0
- package/dist/message.js.map +1 -0
- package/dist/ports.d.ts +237 -0
- package/dist/ports.d.ts.map +1 -0
- package/dist/ports.js +2 -0
- package/dist/ports.js.map +1 -0
- package/dist/profile.d.ts +56 -0
- package/dist/profile.d.ts.map +1 -0
- package/dist/profile.js +193 -0
- package/dist/profile.js.map +1 -0
- package/dist/prompts.d.ts +14 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +69 -0
- package/dist/prompts.js.map +1 -0
- package/dist/receive.d.ts +134 -0
- package/dist/receive.d.ts.map +1 -0
- package/dist/receive.js +317 -0
- package/dist/receive.js.map +1 -0
- package/dist/results.d.ts +173 -0
- package/dist/results.d.ts.map +1 -0
- package/dist/results.js +21 -0
- package/dist/results.js.map +1 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +45 -38
- package/dist/schemas.js.map +1 -1
- package/dist/sha256.d.ts +3 -0
- package/dist/sha256.d.ts.map +1 -0
- package/dist/sha256.js +69 -0
- package/dist/sha256.js.map +1 -0
- package/dist/star.d.ts +31 -0
- package/dist/star.d.ts.map +1 -0
- package/dist/star.js +56 -0
- package/dist/star.js.map +1 -0
- package/dist/state-builder.d.ts +42 -0
- package/dist/state-builder.d.ts.map +1 -0
- package/dist/state-builder.js +100 -0
- package/dist/state-builder.js.map +1 -0
- package/dist/state.d.ts +914 -0
- package/dist/state.d.ts.map +1 -0
- package/dist/state.js +37 -0
- package/dist/state.js.map +1 -0
- package/dist/store-contract.d.ts +11 -0
- package/dist/store-contract.d.ts.map +1 -0
- package/dist/store-contract.js +189 -0
- package/dist/store-contract.js.map +1 -0
- package/dist/store-memory.d.ts +8 -0
- package/dist/store-memory.d.ts.map +1 -0
- package/dist/store-memory.js +17 -0
- package/dist/store-memory.js.map +1 -0
- package/dist/testing.d.ts +22 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +21 -0
- package/dist/testing.js.map +1 -0
- package/dist/trust/continuity.d.ts +71 -0
- package/dist/trust/continuity.d.ts.map +1 -0
- package/dist/trust/continuity.js +1222 -0
- package/dist/trust/continuity.js.map +1 -0
- package/dist/trust/duties.d.ts +67 -0
- package/dist/trust/duties.d.ts.map +1 -0
- package/dist/trust/duties.js +179 -0
- package/dist/trust/duties.js.map +1 -0
- package/dist/trust/entries.d.ts +139 -0
- package/dist/trust/entries.d.ts.map +1 -0
- package/dist/trust/entries.js +795 -0
- package/dist/trust/entries.js.map +1 -0
- package/dist/trust/group-star.d.ts +43 -0
- package/dist/trust/group-star.d.ts.map +1 -0
- package/dist/trust/group-star.js +188 -0
- package/dist/trust/group-star.js.map +1 -0
- package/dist/trust/mapping.d.ts +56 -0
- package/dist/trust/mapping.d.ts.map +1 -0
- package/dist/trust/mapping.js +584 -0
- package/dist/trust/mapping.js.map +1 -0
- package/dist/trust/profile.d.ts +25 -0
- package/dist/trust/profile.d.ts.map +1 -0
- package/dist/trust/profile.js +249 -0
- package/dist/trust/profile.js.map +1 -0
- package/dist/trust/star.d.ts +208 -0
- package/dist/trust/star.d.ts.map +1 -0
- package/dist/trust/star.js +588 -0
- package/dist/trust/star.js.map +1 -0
- package/dist/trust/state.d.ts +83 -0
- package/dist/trust/state.d.ts.map +1 -0
- package/dist/trust/state.js +154 -0
- package/dist/trust/state.js.map +1 -0
- package/dist/util-freeze.d.ts +3 -0
- package/dist/util-freeze.d.ts.map +1 -0
- package/dist/util-freeze.js +11 -0
- package/dist/util-freeze.js.map +1 -0
- package/dist/views.d.ts +179 -0
- package/dist/views.d.ts.map +1 -0
- package/dist/views.js +286 -0
- package/dist/views.js.map +1 -0
- package/dist/visibility.d.ts +5 -5
- package/dist/visibility.d.ts.map +1 -1
- package/dist/visibility.js +22 -28
- package/dist/visibility.js.map +1 -1
- package/dist/wire.d.ts +218 -83
- package/dist/wire.d.ts.map +1 -1
- package/dist/wire.js.map +1 -1
- package/package.json +60 -10
- package/schemas/holder-state-v1.schema.json +3880 -0
- package/schemas/holder-state-v2.schema.json +4123 -0
- package/dist/holder.d.ts.map +0 -1
- package/dist/holder.js.map +0 -1
- package/dist/probe/acks.d.ts +0 -27
- package/dist/probe/acks.d.ts.map +0 -1
- package/dist/probe/acks.js +0 -152
- package/dist/probe/acks.js.map +0 -1
- package/dist/probe/continuity.d.ts +0 -20
- package/dist/probe/continuity.d.ts.map +0 -1
- package/dist/probe/continuity.js +0 -805
- package/dist/probe/continuity.js.map +0 -1
- package/dist/probe/deps.d.ts +0 -61
- package/dist/probe/deps.d.ts.map +0 -1
- package/dist/probe/deps.js +0 -54
- package/dist/probe/deps.js.map +0 -1
- package/dist/probe/encounter.d.ts +0 -26
- package/dist/probe/encounter.d.ts.map +0 -1
- package/dist/probe/encounter.js +0 -938
- package/dist/probe/encounter.js.map +0 -1
- package/dist/probe/introduce.d.ts +0 -62
- package/dist/probe/introduce.d.ts.map +0 -1
- package/dist/probe/introduce.js +0 -306
- package/dist/probe/introduce.js.map +0 -1
- package/dist/probe/membership.d.ts +0 -96
- package/dist/probe/membership.d.ts.map +0 -1
- package/dist/probe/membership.js +0 -467
- package/dist/probe/membership.js.map +0 -1
- package/dist/probe/trust.d.ts +0 -156
- package/dist/probe/trust.d.ts.map +0 -1
- package/dist/probe/trust.js +0 -1233
- package/dist/probe/trust.js.map +0 -1
- package/dist/probe.d.ts +0 -7
- package/dist/probe.d.ts.map +0 -1
- package/dist/probe.js +0 -42
- package/dist/probe.js.map +0 -1
package/dist/visibility.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibility.js","sourceRoot":"","sources":["../src/visibility.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"visibility.js","sourceRoot":"","sources":["../src/visibility.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,qEAAqE;AACrE,yDAAyD;AACzD,yDAAyD;AACzD,yDAAyD;AACzD,EAAE;AACF,sEAAsE;AACtE,2EAA2E;AAC3E,uEAAuE;AACvE,wEAAwE;AACxE,sEAAsE;AACtE,gEAAgE;AAChE,sEAAsE;AACtE,8CAA8C;AAC9C,sEAAsE;AACtE,gEAAgE;AAChE,EAAE;AACF,uEAAuE;AACvE,wDAAwD;AACxD,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA","sourcesContent":["// @real-life/trust-protocol — visibility: the Trust Layer's wire forms\n// (Trust Layer 0.31 with Identity 0.54 §5.4, on Delivery 0.81), pure\n// builders and verifiers, no state. Byte-compatible with\n// vectors/visibility.json, vectors/anchor-rotation.json,\n// vectors/group-star.json and vectors/delivery-ack.json.\n//\n// anchor self-card@2, anchor-rotation@2 with the pre-rotation\n// binding, the lineage (§6.5), anchor-mapping@4 (§6.1/§6.3,\n// conditions 4a and 4b, condition 8 for a changed self)\n// star star@2 chunks (5.2, 5.2a): the key, blinding, chunking\n// group-star group-star@1 (§5.2b): keys, the sealed group-pair@1,\n// build, assemble, open; entropy from the caller\n// continuity §6a: continuity-probe@1 chunks, continuity-mapping@1\n// (both MACs), the record side\n// ack delivery-ack/0.1 in both classes (Delivery 4.2): the\n// channel ack key, the MAC form, the signed form\n//\n// The stateful acts (the trust act, the reconciled star, the admission\n// layer, the chaining) are the holder's (createHolder).\nexport * from './anchor.js'\nexport * from './star.js'\nexport * from './group-star.js'\nexport * from './continuity.js'\nexport * from './ack.js'\n"]}
|
package/dist/wire.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { Json } from './core.js';
|
|
2
|
-
/** schemas/access-material.schema.json — RLTP Access key material (Access Layer 0.
|
|
2
|
+
/** schemas/access-material.schema.json — RLTP Access key material (Access Layer 0.57 sections 9.4, 9.4.1, 9.4.2) */
|
|
3
3
|
export type AccessMaterial = ({
|
|
4
|
-
v: "rltp-access-material/0.
|
|
5
|
-
adapter:
|
|
4
|
+
v: "rltp-access-material/0.25" | "rltp-access-keydist/0.25";
|
|
5
|
+
adapter: "linear/0.1" | "beekem/0.1";
|
|
6
6
|
epoch: number;
|
|
7
|
+
keyState?: string;
|
|
7
8
|
keys: {
|
|
8
9
|
[k: string]: Json;
|
|
9
10
|
};
|
|
10
11
|
});
|
|
11
|
-
/** schemas/access-operation-envelope.schema.json — RLTP Access Operation Envelope (transcription of Access Layer
|
|
12
|
+
/** schemas/access-operation-envelope.schema.json — RLTP Access Operation Envelope (transcription of Access Layer 0.57 section 3.3, envelope rltp-access/0.25) */
|
|
12
13
|
export type AccessOperationEnvelope = ({
|
|
13
|
-
v: "rltp-access/0.
|
|
14
|
+
v: "rltp-access/0.25";
|
|
14
15
|
op: string;
|
|
15
16
|
group: string;
|
|
16
17
|
epoch: number;
|
|
@@ -33,18 +34,23 @@ export type AccessOperationEnvelope = ({
|
|
|
33
34
|
}[];
|
|
34
35
|
});
|
|
35
36
|
});
|
|
36
|
-
/** schemas/access-registration.schema.json — RLTP Service Registration (artifact 0.
|
|
37
|
+
/** schemas/access-registration.schema.json — RLTP Service Registration (artifact 0.27, Access Layer section 7.3) */
|
|
37
38
|
export type AccessRegistration = ({
|
|
38
|
-
v: "rltp-access-registration/0.
|
|
39
|
+
v: "rltp-access-registration/0.27";
|
|
39
40
|
type: "service-registration";
|
|
40
41
|
group: string;
|
|
41
42
|
genesisDigest: string;
|
|
42
43
|
identity: string;
|
|
43
44
|
service: string;
|
|
44
45
|
m: 1;
|
|
46
|
+
class: "blind" | "view" | "log";
|
|
45
47
|
stalenessBound: string;
|
|
46
48
|
terminalRetention: string;
|
|
47
49
|
divergenceQuota: number;
|
|
50
|
+
intakeBudget?: {
|
|
51
|
+
operations: number;
|
|
52
|
+
bytes: number;
|
|
53
|
+
};
|
|
48
54
|
sig: string;
|
|
49
55
|
attestationKey: string;
|
|
50
56
|
registrationGeneration: number;
|
|
@@ -59,7 +65,7 @@ export type AccessRegistration = ({
|
|
|
59
65
|
};
|
|
60
66
|
authorizationRoot: (null) | (string);
|
|
61
67
|
});
|
|
62
|
-
/** schemas/access-vouch.schema.json — DTG AdmissionVouch (vouch@2,
|
|
68
|
+
/** schemas/access-vouch.schema.json — DTG AdmissionVouch (vouch@2, Access Layer 0.57 section 5.3) */
|
|
63
69
|
export type AccessVouch = {
|
|
64
70
|
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
65
71
|
type: (Json[]);
|
|
@@ -104,7 +110,7 @@ export type AuthorizationView = ({
|
|
|
104
110
|
sig: string;
|
|
105
111
|
}[];
|
|
106
112
|
});
|
|
107
|
-
/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.
|
|
113
|
+
/** schemas/carrier-proof.schema.json — RLTP Carrier Registration Proof (rltp-carrier-proof/0.3, rltp-delivery@0.81) */
|
|
108
114
|
export type CarrierProof = ({
|
|
109
115
|
v: "rltp-carrier-proof/0.3";
|
|
110
116
|
type: "carrier-registration-proof";
|
|
@@ -117,7 +123,7 @@ export type CarrierProof = ({
|
|
|
117
123
|
addressChallenge?: string;
|
|
118
124
|
sig: string;
|
|
119
125
|
});
|
|
120
|
-
/** schemas/contact-card-0.25.schema.json — RLTP Contact Card (rltp-encounter@0.
|
|
126
|
+
/** schemas/contact-card-0.25.schema.json — RLTP Contact Card (rltp-encounter@0.31) */
|
|
121
127
|
export type ContactCard025 = {
|
|
122
128
|
version: "rltp-card/0.25";
|
|
123
129
|
anchor: string;
|
|
@@ -139,7 +145,7 @@ export type ContactCard025 = {
|
|
|
139
145
|
proofValue: string;
|
|
140
146
|
};
|
|
141
147
|
};
|
|
142
|
-
/** schemas/contact-card.schema.json — RLTP Contact Card (rltp-encounter@0.
|
|
148
|
+
/** schemas/contact-card.schema.json — RLTP Contact Card (rltp-encounter@0.31) — mobile $id, carried by the unversioned resource */
|
|
143
149
|
export type ContactCard = {
|
|
144
150
|
version: "rltp-card/0.25";
|
|
145
151
|
anchor: string;
|
|
@@ -161,7 +167,7 @@ export type ContactCard = {
|
|
|
161
167
|
proofValue: string;
|
|
162
168
|
};
|
|
163
169
|
};
|
|
164
|
-
/** schemas/encounter-credential-0.25.schema.json — RLTP Encounter Credential (rltp-encounter@0.
|
|
170
|
+
/** schemas/encounter-credential-0.25.schema.json — RLTP Encounter Credential (rltp-encounter@0.30) */
|
|
165
171
|
export type EncounterCredential025 = {
|
|
166
172
|
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
167
173
|
type: (Json[]);
|
|
@@ -189,15 +195,45 @@ export type EncounterCredential025 = {
|
|
|
189
195
|
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
190
196
|
};
|
|
191
197
|
};
|
|
192
|
-
/** schemas/encounter-credential.schema.json — RLTP Encounter Credential (rltp-encounter@0.
|
|
198
|
+
/** schemas/encounter-credential-0.26.schema.json — RLTP Encounter Credential (rltp-encounter@0.31) */
|
|
199
|
+
export type EncounterCredential026 = {
|
|
200
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://registry.trustoverip.org/dtg/context/v1", "https://real-life.org/rltp/v1"];
|
|
201
|
+
type: (Json[]);
|
|
202
|
+
issuer: string;
|
|
203
|
+
issuerScope: "pairwise";
|
|
204
|
+
validFrom: string;
|
|
205
|
+
credentialSubject: {
|
|
206
|
+
id: string;
|
|
207
|
+
format: "rltp-encounter-credential/0.26";
|
|
208
|
+
ceremony: string;
|
|
209
|
+
challenge: string;
|
|
210
|
+
enactmentBinding: string;
|
|
211
|
+
channel?: string;
|
|
212
|
+
commitment?: {
|
|
213
|
+
suite: string;
|
|
214
|
+
value: string;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
proof: {
|
|
218
|
+
type: "DataIntegrityProof";
|
|
219
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
220
|
+
created: string;
|
|
221
|
+
verificationMethod: string;
|
|
222
|
+
proofPurpose: "assertionMethod";
|
|
223
|
+
proofValue: string;
|
|
224
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://registry.trustoverip.org/dtg/context/v1", "https://real-life.org/rltp/v1"];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
/** schemas/encounter-credential.schema.json — RLTP Encounter Credential (rltp-encounter@0.31) — mobile $id, carried by the unversioned resource */
|
|
193
228
|
export type EncounterCredential = {
|
|
194
|
-
"@context": ["https://www.w3.org/ns/credentials/v2", "https://
|
|
229
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://registry.trustoverip.org/dtg/context/v1", "https://real-life.org/rltp/v1"];
|
|
195
230
|
type: (Json[]);
|
|
196
231
|
issuer: string;
|
|
232
|
+
issuerScope: "pairwise";
|
|
197
233
|
validFrom: string;
|
|
198
234
|
credentialSubject: {
|
|
199
235
|
id: string;
|
|
200
|
-
format: "rltp-encounter-credential/0.
|
|
236
|
+
format: "rltp-encounter-credential/0.26";
|
|
201
237
|
ceremony: string;
|
|
202
238
|
challenge: string;
|
|
203
239
|
enactmentBinding: string;
|
|
@@ -214,42 +250,32 @@ export type EncounterCredential = {
|
|
|
214
250
|
verificationMethod: string;
|
|
215
251
|
proofPurpose: "assertionMethod";
|
|
216
252
|
proofValue: string;
|
|
217
|
-
"@context": ["https://www.w3.org/ns/credentials/v2", "https://
|
|
253
|
+
"@context": ["https://www.w3.org/ns/credentials/v2", "https://registry.trustoverip.org/dtg/context/v1", "https://real-life.org/rltp/v1"];
|
|
218
254
|
};
|
|
219
255
|
};
|
|
220
|
-
/** schemas/
|
|
221
|
-
export type
|
|
256
|
+
/** schemas/message.schema.json — RLTP message@1 (rltp-message@0.1) */
|
|
257
|
+
export type Message = {
|
|
222
258
|
body: {
|
|
223
|
-
type: "
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
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;
|
|
259
|
+
type: "message@1";
|
|
260
|
+
mid: string;
|
|
261
|
+
sentAt: string;
|
|
262
|
+
text: string;
|
|
263
|
+
replyTo?: string;
|
|
241
264
|
};
|
|
242
265
|
proof: {
|
|
243
|
-
|
|
244
|
-
mac2: string;
|
|
266
|
+
mac: string;
|
|
245
267
|
};
|
|
246
268
|
};
|
|
247
|
-
/** schemas/payload-access-operation.schema.json — Payload: access-operation/0.1 (rltp-membership@0.
|
|
269
|
+
/** schemas/payload-access-operation.schema.json — Payload: access-operation/0.1 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
248
270
|
export type PayloadAccessOperation = ({
|
|
249
271
|
operation: (AccessOperationEnvelope);
|
|
250
272
|
welcome: {
|
|
251
273
|
sealed: SealedEnvelope;
|
|
252
274
|
};
|
|
275
|
+
}) & ({
|
|
276
|
+
operation?: {
|
|
277
|
+
v: "rltp-access/0.25";
|
|
278
|
+
};
|
|
253
279
|
}) & ({
|
|
254
280
|
operation?: {
|
|
255
281
|
op: "member.add";
|
|
@@ -263,33 +289,47 @@ export type PayloadAccessOperation = ({
|
|
|
263
289
|
};
|
|
264
290
|
};
|
|
265
291
|
});
|
|
266
|
-
/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.
|
|
292
|
+
/** schemas/payload-delivery-ack.schema.json — Payload: delivery-ack/0.1 (rltp-delivery@0.81, target Trust Tasks framework 0.4) */
|
|
267
293
|
export type PayloadDeliveryAck = {
|
|
268
294
|
ref: string;
|
|
269
295
|
meaning: "received";
|
|
270
296
|
};
|
|
271
|
-
/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.
|
|
297
|
+
/** schemas/payload-encounter-bundle.schema.json — Payload: encounter-bundle/0.1 (rltp-delivery@0.81, target Trust Tasks framework 0.4) */
|
|
272
298
|
export type PayloadEncounterBundle = {
|
|
273
299
|
card: ContactCard;
|
|
274
300
|
credential: EncounterCredential;
|
|
275
301
|
};
|
|
276
|
-
/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.
|
|
302
|
+
/** schemas/payload-encounter-credential-delivery.schema.json — Payload: encounter-credential-delivery/0.1 (rltp-delivery@0.81, target Trust Tasks framework 0.4) */
|
|
277
303
|
export type PayloadEncounterCredentialDelivery = {
|
|
278
304
|
credential: EncounterCredential;
|
|
279
305
|
};
|
|
280
|
-
/** schemas/payload-key-delivery.schema.json — Payload: key-delivery/0.1 (rltp-access@0.
|
|
306
|
+
/** schemas/payload-key-delivery.schema.json — Payload: key-delivery/0.1 (rltp-access@0.57, target Trust Tasks framework 0.4) */
|
|
281
307
|
export type PayloadKeyDelivery = {
|
|
282
308
|
keyDelivery: ({
|
|
283
309
|
group: string;
|
|
284
310
|
genesisDigest: string;
|
|
311
|
+
subject: string;
|
|
285
312
|
epoch: number;
|
|
286
|
-
op
|
|
287
|
-
|
|
313
|
+
op?: string;
|
|
314
|
+
admission?: {
|
|
315
|
+
subject: string;
|
|
316
|
+
acceptDigest: string;
|
|
317
|
+
};
|
|
318
|
+
kind: "keydist" | "re-welcome" | "refresh" | "material" | "request";
|
|
288
319
|
sealed?: SealedEnvelope;
|
|
289
|
-
card?:
|
|
320
|
+
card?: ({
|
|
321
|
+
anchor: string;
|
|
322
|
+
device: string;
|
|
323
|
+
keyAgreement: string;
|
|
324
|
+
serviceIdentity: string;
|
|
325
|
+
proof: {
|
|
326
|
+
signer: string;
|
|
327
|
+
sig: string;
|
|
328
|
+
};
|
|
329
|
+
}) | (ContactCard);
|
|
290
330
|
});
|
|
291
331
|
};
|
|
292
|
-
/** schemas/payload-membership-accept.schema.json — Payload: membership-accept/0.2 (rltp-membership@0.
|
|
332
|
+
/** schemas/payload-membership-accept.schema.json — Payload: membership-accept/0.2 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
293
333
|
export type PayloadMembershipAccept = {
|
|
294
334
|
accept: {
|
|
295
335
|
group: string;
|
|
@@ -299,7 +339,21 @@ export type PayloadMembershipAccept = {
|
|
|
299
339
|
candidacy: boolean;
|
|
300
340
|
};
|
|
301
341
|
};
|
|
302
|
-
/** schemas/payload-membership-evidence.schema.json — Payload: membership-evidence/0.1 (rltp-membership@0.
|
|
342
|
+
/** schemas/payload-membership-evidence-0.1.schema.json — Payload: membership-evidence/0.1 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
343
|
+
export type PayloadMembershipEvidence01 = {
|
|
344
|
+
evidence: {
|
|
345
|
+
invite: (RltpDeliveryDocument) & ({
|
|
346
|
+
type?: "https://real-life.org/trust-tasks/membership-invite/0.2";
|
|
347
|
+
payload?: PayloadMembershipInvite;
|
|
348
|
+
proof?: never;
|
|
349
|
+
});
|
|
350
|
+
accept: (RltpDeliveryDocument) & ({
|
|
351
|
+
type?: "https://real-life.org/trust-tasks/membership-accept/0.2";
|
|
352
|
+
payload?: PayloadMembershipAccept;
|
|
353
|
+
});
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
/** schemas/payload-membership-evidence.schema.json — Payload: membership-evidence/0.2 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
303
357
|
export type PayloadMembershipEvidence = {
|
|
304
358
|
evidence: {
|
|
305
359
|
invite: (RltpDeliveryDocument) & ({
|
|
@@ -311,9 +365,10 @@ export type PayloadMembershipEvidence = {
|
|
|
311
365
|
type?: "https://real-life.org/trust-tasks/membership-accept/0.2";
|
|
312
366
|
payload?: PayloadMembershipAccept;
|
|
313
367
|
});
|
|
368
|
+
vouches?: AccessVouch[];
|
|
314
369
|
};
|
|
315
370
|
};
|
|
316
|
-
/** schemas/payload-membership-invite.schema.json — Payload: membership-invite/0.2 (rltp-membership@0.
|
|
371
|
+
/** schemas/payload-membership-invite.schema.json — Payload: membership-invite/0.2 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
317
372
|
export type PayloadMembershipInvite = {
|
|
318
373
|
invite: {
|
|
319
374
|
"@context": ["https://www.w3.org/ns/credentials/v2", "https://firstperson.network/credentials/dtg/v1", "https://real-life.org/rltp/v1"];
|
|
@@ -341,7 +396,35 @@ export type PayloadMembershipInvite = {
|
|
|
341
396
|
};
|
|
342
397
|
};
|
|
343
398
|
};
|
|
344
|
-
/** schemas/payload-
|
|
399
|
+
/** schemas/payload-membership-prelude-reply.schema.json — Payload: membership-prelude-reply/0.1 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
400
|
+
export type PayloadMembershipPreludeReply = {
|
|
401
|
+
genesisDigest: string;
|
|
402
|
+
card: ContactCard;
|
|
403
|
+
};
|
|
404
|
+
/** schemas/payload-membership-prelude-request.schema.json — Payload: membership-prelude-request/0.1 (rltp-membership@0.20, target Trust Tasks framework 0.4) */
|
|
405
|
+
export type PayloadMembershipPreludeRequest = {
|
|
406
|
+
genesisDigest: string;
|
|
407
|
+
group: string;
|
|
408
|
+
name: string;
|
|
409
|
+
inviter: string;
|
|
410
|
+
binding: {
|
|
411
|
+
type: "membership-inviter@1";
|
|
412
|
+
inviter: string;
|
|
413
|
+
genesisDigest: string;
|
|
414
|
+
threadId: string;
|
|
415
|
+
from: string;
|
|
416
|
+
to: string;
|
|
417
|
+
proof: {
|
|
418
|
+
type: "DataIntegrityProof";
|
|
419
|
+
cryptosuite: "eddsa-jcs-2022";
|
|
420
|
+
created: string;
|
|
421
|
+
verificationMethod: string;
|
|
422
|
+
proofPurpose: "assertionMethod";
|
|
423
|
+
proofValue: string;
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
/** schemas/payload-registry-declaration.schema.json — RLTP payload registry-declaration (rltp-delivery@0.81) */
|
|
345
428
|
export type PayloadRegistryDeclaration = {
|
|
346
429
|
declaration: {
|
|
347
430
|
role: string;
|
|
@@ -351,9 +434,9 @@ export type PayloadRegistryDeclaration = {
|
|
|
351
434
|
};
|
|
352
435
|
};
|
|
353
436
|
};
|
|
354
|
-
/** schemas/payload-removal-notice.schema.json — RLTP Removal Notice (Access Layer 0.
|
|
437
|
+
/** schemas/payload-removal-notice.schema.json — RLTP Removal Notice (Access Layer 0.57 section 10.2) */
|
|
355
438
|
export type PayloadRemovalNotice = {
|
|
356
|
-
v: "rltp-access-removal-notice/0.
|
|
439
|
+
v: "rltp-access-removal-notice/0.25";
|
|
357
440
|
type: "removal-notice";
|
|
358
441
|
group: string;
|
|
359
442
|
genesisDigest: string;
|
|
@@ -361,9 +444,10 @@ export type PayloadRemovalNotice = {
|
|
|
361
444
|
subject: string;
|
|
362
445
|
epoch: number;
|
|
363
446
|
author: string;
|
|
447
|
+
issuer: string;
|
|
364
448
|
sig: string;
|
|
365
449
|
};
|
|
366
|
-
/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.
|
|
450
|
+
/** schemas/rltp-delivery-document.schema.json — RLTP Delivery Document Profile (rltp-delivery@0.81) */
|
|
367
451
|
export type RltpDeliveryDocument = ({
|
|
368
452
|
id: string;
|
|
369
453
|
type: string;
|
|
@@ -388,30 +472,56 @@ export type RltpDeliveryDocument = ({
|
|
|
388
472
|
mac: string;
|
|
389
473
|
});
|
|
390
474
|
});
|
|
391
|
-
/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.
|
|
475
|
+
/** schemas/sealed-envelope.schema.json — RLTP Sealed Envelope (rltp-delivery@0.81) */
|
|
392
476
|
export type SealedEnvelope = {
|
|
393
477
|
rkid: string;
|
|
394
478
|
epk: string;
|
|
395
479
|
nonce: string;
|
|
396
480
|
ciphertext: string;
|
|
397
481
|
};
|
|
398
|
-
/** schemas/
|
|
482
|
+
/** schemas/trust-profile.schema.json — RLTP profile@1 (rltp-trust@0.31) */
|
|
483
|
+
export type TrustProfile = {
|
|
484
|
+
body: {
|
|
485
|
+
type: "profile@1";
|
|
486
|
+
revision: string;
|
|
487
|
+
name: string;
|
|
488
|
+
image?: string;
|
|
489
|
+
text?: string;
|
|
490
|
+
};
|
|
491
|
+
proof: {
|
|
492
|
+
mac: string;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
/** schemas/visibility-anchor-mapping.schema.json — RLTP anchor-mapping@4 (rltp-trust@0.31) */
|
|
399
496
|
export type VisibilityAnchorMapping = {
|
|
400
497
|
body: {
|
|
401
|
-
type: "anchor-mapping@
|
|
498
|
+
type: "anchor-mapping@4";
|
|
402
499
|
pair: string;
|
|
403
500
|
self: string;
|
|
404
501
|
to: string;
|
|
405
502
|
card: {
|
|
406
503
|
body: {
|
|
407
|
-
type: "self-card@
|
|
504
|
+
type: "self-card@2";
|
|
408
505
|
anchor: string;
|
|
409
506
|
keyAgreement: string;
|
|
507
|
+
commit: string;
|
|
410
508
|
};
|
|
411
509
|
proof: {
|
|
412
510
|
proofValue: string;
|
|
413
511
|
};
|
|
414
512
|
};
|
|
513
|
+
lineage: {
|
|
514
|
+
body: {
|
|
515
|
+
type: "anchor-rotation@2";
|
|
516
|
+
prev: string;
|
|
517
|
+
next: string;
|
|
518
|
+
commit: string;
|
|
519
|
+
};
|
|
520
|
+
proof: {
|
|
521
|
+
proofValue: string;
|
|
522
|
+
successorProofValue: string;
|
|
523
|
+
};
|
|
524
|
+
}[];
|
|
415
525
|
revision: string;
|
|
416
526
|
issuedAt: string;
|
|
417
527
|
};
|
|
@@ -420,7 +530,20 @@ export type VisibilityAnchorMapping = {
|
|
|
420
530
|
mac2: string;
|
|
421
531
|
};
|
|
422
532
|
};
|
|
423
|
-
/** schemas/visibility-
|
|
533
|
+
/** schemas/visibility-anchor-rotation.schema.json — RLTP anchor-rotation@2 (rltp-trust@0.31) */
|
|
534
|
+
export type VisibilityAnchorRotation = {
|
|
535
|
+
body: {
|
|
536
|
+
type: "anchor-rotation@2";
|
|
537
|
+
prev: string;
|
|
538
|
+
next: string;
|
|
539
|
+
commit: string;
|
|
540
|
+
};
|
|
541
|
+
proof: {
|
|
542
|
+
proofValue: string;
|
|
543
|
+
successorProofValue: string;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
/** schemas/visibility-continuity-mapping.schema.json — RLTP continuity-mapping@1 (rltp-trust@0.31) */
|
|
424
547
|
export type VisibilityContinuityMapping = {
|
|
425
548
|
body: {
|
|
426
549
|
type: "continuity-mapping@1";
|
|
@@ -435,7 +558,7 @@ export type VisibilityContinuityMapping = {
|
|
|
435
558
|
mac2: string;
|
|
436
559
|
};
|
|
437
560
|
};
|
|
438
|
-
/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-
|
|
561
|
+
/** schemas/visibility-continuity-probe.schema.json — RLTP continuity-probe@1 (rltp-trust@0.31) */
|
|
439
562
|
export type VisibilityContinuityProbe = {
|
|
440
563
|
body: {
|
|
441
564
|
type: "continuity-probe@1";
|
|
@@ -448,21 +571,33 @@ export type VisibilityContinuityProbe = {
|
|
|
448
571
|
mac: string;
|
|
449
572
|
};
|
|
450
573
|
};
|
|
451
|
-
/** schemas/visibility-
|
|
452
|
-
export type
|
|
574
|
+
/** schemas/visibility-group-pair.schema.json — RLTP group-pair@1 (rltp-trust@0.31) */
|
|
575
|
+
export type VisibilityGroupPair = {
|
|
576
|
+
type: "group-pair@1";
|
|
577
|
+
group: string;
|
|
578
|
+
member: string;
|
|
579
|
+
memberOp: string;
|
|
580
|
+
to: string;
|
|
581
|
+
salt: string;
|
|
582
|
+
proof: string;
|
|
583
|
+
};
|
|
584
|
+
/** schemas/visibility-group-star.schema.json — RLTP group-star@1 (rltp-trust@0.31) */
|
|
585
|
+
export type VisibilityGroupStar = {
|
|
453
586
|
body: {
|
|
454
|
-
type: "
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
587
|
+
type: "group-star@1";
|
|
588
|
+
salt: string;
|
|
589
|
+
seq: string;
|
|
590
|
+
last: boolean;
|
|
591
|
+
groups: {
|
|
592
|
+
d: string;
|
|
593
|
+
c: string;
|
|
594
|
+
}[];
|
|
460
595
|
};
|
|
461
596
|
proof: {
|
|
462
597
|
mac: string;
|
|
463
598
|
};
|
|
464
599
|
};
|
|
465
|
-
/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-
|
|
600
|
+
/** schemas/visibility-introduction-ack.schema.json — RLTP introduction-ack@1 (rltp-trust@0.31) */
|
|
466
601
|
export type VisibilityIntroductionAck = {
|
|
467
602
|
body: {
|
|
468
603
|
type: "introduction-ack@1";
|
|
@@ -472,7 +607,7 @@ export type VisibilityIntroductionAck = {
|
|
|
472
607
|
mac: string;
|
|
473
608
|
};
|
|
474
609
|
};
|
|
475
|
-
/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-
|
|
610
|
+
/** schemas/visibility-introduction-reply.schema.json — RLTP introduction-reply@1 (rltp-trust@0.31) */
|
|
476
611
|
export type VisibilityIntroductionReply = {
|
|
477
612
|
body: {
|
|
478
613
|
type: "introduction-reply@1";
|
|
@@ -485,7 +620,7 @@ export type VisibilityIntroductionReply = {
|
|
|
485
620
|
proofValue: string;
|
|
486
621
|
};
|
|
487
622
|
};
|
|
488
|
-
/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-
|
|
623
|
+
/** schemas/visibility-introduction-request.schema.json — RLTP introduction-request@1 (rltp-trust@0.31) */
|
|
489
624
|
export type VisibilityIntroductionRequest = {
|
|
490
625
|
body: {
|
|
491
626
|
type: "introduction-request@1";
|
|
@@ -502,7 +637,7 @@ export type VisibilityIntroductionRequest = {
|
|
|
502
637
|
proofValue: string;
|
|
503
638
|
};
|
|
504
639
|
};
|
|
505
|
-
/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-
|
|
640
|
+
/** schemas/visibility-introduction-voucher.schema.json — RLTP introduction-voucher@1 (rltp-trust@0.31) */
|
|
506
641
|
export type VisibilityIntroductionVoucher = {
|
|
507
642
|
body: {
|
|
508
643
|
type: "introduction-voucher@1";
|
|
@@ -514,62 +649,62 @@ export type VisibilityIntroductionVoucher = {
|
|
|
514
649
|
mac: string;
|
|
515
650
|
};
|
|
516
651
|
};
|
|
517
|
-
/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-
|
|
652
|
+
/** schemas/visibility-payload-introduction-ack.schema.json — RLTP payload introduction-ack (rltp-trust@0.31) */
|
|
518
653
|
export type VisibilityPayloadIntroductionAck = {
|
|
519
654
|
introduction: VisibilityIntroductionAck;
|
|
520
655
|
};
|
|
521
|
-
/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-
|
|
656
|
+
/** schemas/visibility-payload-introduction-forward.schema.json — RLTP payload introduction-forward (rltp-trust@0.31) — byte-identical to the request payload */
|
|
522
657
|
export type VisibilityPayloadIntroductionForward = {
|
|
523
658
|
introduction: VisibilityIntroductionRequest;
|
|
524
659
|
card: ContactCard025;
|
|
525
660
|
};
|
|
526
|
-
/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-
|
|
661
|
+
/** schemas/visibility-payload-introduction-reply.schema.json — RLTP payload introduction-reply (rltp-trust@0.31) */
|
|
527
662
|
export type VisibilityPayloadIntroductionReply = {
|
|
528
663
|
introduction: VisibilityIntroductionReply;
|
|
529
664
|
card: ContactCard025;
|
|
530
665
|
};
|
|
531
|
-
/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-
|
|
666
|
+
/** schemas/visibility-payload-introduction-request.schema.json — RLTP payload introduction-request (rltp-trust@0.31) */
|
|
532
667
|
export type VisibilityPayloadIntroductionRequest = {
|
|
533
668
|
introduction: VisibilityIntroductionRequest;
|
|
534
669
|
card: ContactCard025;
|
|
535
670
|
};
|
|
536
|
-
/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-
|
|
671
|
+
/** schemas/visibility-payload-introduction-voucher.schema.json — RLTP payload introduction-voucher (rltp-trust@0.31) */
|
|
537
672
|
export type VisibilityPayloadIntroductionVoucher = {
|
|
538
673
|
voucher: VisibilityIntroductionVoucher;
|
|
539
674
|
};
|
|
540
|
-
/** schemas/visibility-self-card.schema.json — RLTP self-card@
|
|
675
|
+
/** schemas/visibility-self-card.schema.json — RLTP self-card@2 (rltp-trust@0.31) */
|
|
541
676
|
export type VisibilitySelfCard = {
|
|
542
677
|
body: {
|
|
543
|
-
type: "self-card@
|
|
678
|
+
type: "self-card@2";
|
|
544
679
|
anchor: string;
|
|
545
680
|
keyAgreement: string;
|
|
681
|
+
commit: string;
|
|
546
682
|
};
|
|
547
683
|
proof: {
|
|
548
684
|
proofValue: string;
|
|
549
685
|
};
|
|
550
686
|
};
|
|
551
|
-
/** schemas/visibility-star.schema.json — RLTP star@
|
|
687
|
+
/** schemas/visibility-star.schema.json — RLTP star@2 (rltp-trust@0.31) */
|
|
552
688
|
export type VisibilityStar = {
|
|
553
689
|
body: {
|
|
554
|
-
type: "star@
|
|
690
|
+
type: "star@2";
|
|
555
691
|
salt: string;
|
|
556
692
|
seq: string;
|
|
557
693
|
last: boolean;
|
|
558
|
-
count: string;
|
|
559
694
|
blinded: string[];
|
|
560
695
|
};
|
|
561
696
|
proof: {
|
|
562
697
|
mac: string;
|
|
563
698
|
};
|
|
564
699
|
};
|
|
565
|
-
/** schemas/welcome.schema.json — RLTP Welcome (rltp-welcome/0.1, rltp-membership@0.
|
|
700
|
+
/** schemas/welcome.schema.json — RLTP Welcome (rltp-welcome/0.1, rltp-membership@0.20) */
|
|
566
701
|
export type Welcome = {
|
|
567
702
|
v: "rltp-welcome/0.1";
|
|
568
703
|
group: string;
|
|
569
704
|
subject: string;
|
|
570
705
|
accept: string;
|
|
571
706
|
material: (AccessMaterial) & ({
|
|
572
|
-
v?: "rltp-access-material/0.
|
|
707
|
+
v?: "rltp-access-material/0.25";
|
|
573
708
|
});
|
|
574
709
|
};
|
|
575
710
|
//# sourceMappingURL=wire.d.ts.map
|