@openvtc/trust-tasks 0.26.16 → 0.26.17
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 +35 -0
- package/dist/_shared/components.d.ts +35 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/keys/act/0.5/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.5/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.5/payload.js +305 -0
- package/dist/rooms/keys/act/0.5/payload.js.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts +304 -0
- package/dist/rooms/keys/key-package/0.2/payload.d.ts.map +1 -0
- package/dist/rooms/keys/key-package/0.2/payload.js +166 -0
- package/dist/rooms/keys/key-package/0.2/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/community-room.d.ts +1 -1
- package/dist/vtc/_shared/0.1/community-room.d.ts.map +1 -1
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts +696 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js +402 -0
- package/dist/vtc/rooms/memberships/list/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +35 -0
- package/src/index.ts +3 -0
- package/src/rooms/keys/act/0.5/payload.ts +380 -0
- package/src/rooms/keys/key-package/0.2/payload.ts +219 -0
- package/src/vtc/_shared/0.1/community-room.ts +1 -1
- package/src/vtc/rooms/memberships/list/0.1/payload.ts +445 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,41 @@ The package versions over **its own API** — what a consumer compiles against
|
|
|
11
11
|
not over `SPEC.md`. Below 1.0 a breaking change bumps the leading non-zero
|
|
12
12
|
component.
|
|
13
13
|
|
|
14
|
+
## 0.26.17 — 2026-10-18
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **vtc/rooms/memberships**: List — every surface shows a member the same rooms, and finishes an acceptance any other began (#813)
|
|
20
|
+
|
|
21
|
+
A member reaches their community from several surfaces (member portal via
|
|
22
|
+
the wallet, a terminal client, a phone). Each could see only the offers
|
|
23
|
+
open now or accepted within the repeat window, so a room taken up in one
|
|
24
|
+
was missing from the others after it; and an acceptance one surface began
|
|
25
|
+
could be finished by no other, because every other minted a different
|
|
26
|
+
KeyPackage and was answered alreadyAccepted.
|
|
27
|
+
|
|
28
|
+
- vtc/rooms/memberships/list 0.1 (new): the community's own record of the
|
|
29
|
+
caller's admissions to rooms it owns — offered, admitted or removed — for
|
|
30
|
+
as long as it keeps the record, with no credentials. repeatAcceptUntil
|
|
31
|
+
says while the Welcome is kept. Defines how a surface combines it with
|
|
32
|
+
rooms/keys/list (custody) so every surface derives the same state, and
|
|
33
|
+
forbids a surface keeping its own record of acceptance.
|
|
34
|
+
- rooms/keys/key-package 0.2: returns the outstanding KeyPackage for the
|
|
35
|
+
same room, member and invitation (alreadyMinted: true, original
|
|
36
|
+
expiresAt) instead of minting another; invitation and expiresAt
|
|
37
|
+
required. Mint, accept and Welcome now each answer a repeat with their
|
|
38
|
+
first answer.
|
|
39
|
+
- rooms/keys/act 0.5: adds vtc/rooms/memberships/list/0.1 to the table
|
|
40
|
+
beside the offer types (act 0.4, #810), on their terms, as "the
|
|
41
|
+
community types"; widens the type pattern to vtc/rooms/memberships/;
|
|
42
|
+
KeyPackages from key-package 0.1 or 0.2. A new version, not an edit to
|
|
43
|
+
0.4: the closed table admits a type 0.4 refuses.
|
|
44
|
+
- vtc/_shared/0.1/community-room: RoomMembership.
|
|
45
|
+
- vtc/rooms/offers/list 0.2, offers/accept 0.1: informative cross-links.
|
|
46
|
+
|
|
47
|
+
Bindings regenerated (Rust, TS, Go, Dart); additive modules only.
|
|
48
|
+
|
|
14
49
|
## 0.26.16 — 2026-10-17
|
|
15
50
|
|
|
16
51
|
|
|
@@ -8134,6 +8134,41 @@ export interface RoomMember {
|
|
|
8134
8134
|
admittedAt?: string;
|
|
8135
8135
|
removedAt?: string;
|
|
8136
8136
|
}
|
|
8137
|
+
/**
|
|
8138
|
+
* What vtc/rooms/memberships/list/0.1 returns: one room the community owns, and where the caller's admission to it stands in the community's own record. Unlike `OfferV2` it carries no credentials — those are collected with vtc/rooms/offers/list while an offer is open — and it is listed in every state, for as long as the community keeps the record, not only while an accept can be repeated. `label` and `description` are the room's as they stand when the record is read.
|
|
8139
|
+
*/
|
|
8140
|
+
export interface RoomMembership {
|
|
8141
|
+
roomId: string;
|
|
8142
|
+
/**
|
|
8143
|
+
* The room's host: this community.
|
|
8144
|
+
*/
|
|
8145
|
+
host: string;
|
|
8146
|
+
label: RoomLabel;
|
|
8147
|
+
/**
|
|
8148
|
+
* Absent when the room has none.
|
|
8149
|
+
*/
|
|
8150
|
+
description?: RoomDescription;
|
|
8151
|
+
visibility: Visibility;
|
|
8152
|
+
actions: MemberActions;
|
|
8153
|
+
/**
|
|
8154
|
+
* When the member's authority credential expires.
|
|
8155
|
+
*/
|
|
8156
|
+
validUntil: string;
|
|
8157
|
+
state: MemberState;
|
|
8158
|
+
offeredAt: string;
|
|
8159
|
+
/**
|
|
8160
|
+
* When the community recorded the admission. Present when `state` is `admitted`, and kept when it becomes `removed`.
|
|
8161
|
+
*/
|
|
8162
|
+
admittedAt?: string;
|
|
8163
|
+
/**
|
|
8164
|
+
* Present exactly when `state` is `removed`.
|
|
8165
|
+
*/
|
|
8166
|
+
removedAt?: string;
|
|
8167
|
+
/**
|
|
8168
|
+
* On an `attributed` or `private` room in state `admitted`: until when the community keeps the Welcome, so that a repeated vtc/rooms/offers/accept carrying the same KeyPackage is answered with it. Absent on an `open` room, in any other state, and once the community no longer keeps it. A surface finding the member admitted but the room absent from its key holder's rooms/keys/list finishes the acceptance before this time, and asks an administrator to re-admit the member after it.
|
|
8169
|
+
*/
|
|
8170
|
+
repeatAcceptUntil?: string;
|
|
8171
|
+
}
|
|
8137
8172
|
/**
|
|
8138
8173
|
* What a room says about itself to its own members: a name and, optionally, a description, short tags and an emoji, so that a member's wallet, portal or CLI can show what each room is rather than a DID.
|
|
8139
8174
|
*
|