@openvtc/trust-tasks 0.26.15 → 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 +104 -0
- package/dist/_shared/components.d.ts +35 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/keys/act/0.4/payload.d.ts +546 -0
- package/dist/rooms/keys/act/0.4/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.4/payload.js +305 -0
- package/dist/rooms/keys/act/0.4/payload.js.map +1 -0
- 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/community/theme/show/0.1/payload.d.ts +238 -0
- package/dist/vtc/community/theme/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/theme/show/0.1/payload.js +135 -0
- package/dist/vtc/community/theme/show/0.1/payload.js.map +1 -0
- package/dist/vtc/community/theme/update/0.1/payload.d.ts +286 -0
- package/dist/vtc/community/theme/update/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/community/theme/update/0.1/payload.js +157 -0
- package/dist/vtc/community/theme/update/0.1/payload.js.map +1 -0
- 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 +6 -0
- package/src/rooms/keys/act/0.4/payload.ts +380 -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/community/theme/show/0.1/payload.ts +170 -0
- package/src/vtc/community/theme/update/0.1/payload.ts +204 -0
- package/src/vtc/rooms/memberships/list/0.1/payload.ts +445 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,110 @@ 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
|
+
|
|
49
|
+
## 0.26.16 — 2026-10-17
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
|
|
54
|
+
- **vtc/community/theme**: Show and update — a community's own stylesheet for its console and member portal (#811)
|
|
55
|
+
|
|
56
|
+
* feat(vtc/community/theme): show and update — a community's own stylesheet for its console and member portal
|
|
57
|
+
|
|
58
|
+
A community could set an accent colour and a logo (vtc/community/branding),
|
|
59
|
+
and nothing else about how its pages look. Administrators want to restyle
|
|
60
|
+
their console and member portal at run time, without the operator-only
|
|
61
|
+
admin_ui directory mode.
|
|
62
|
+
|
|
63
|
+
vtc/community/theme/update/0.1 (new, draft):
|
|
64
|
+
- An administrator replaces one stylesheet; the empty string removes it.
|
|
65
|
+
Proof and issuedAt REQUIRED; audited by digest, never by text.
|
|
66
|
+
- `dryRun: true` checks and answers with what would be stored, storing
|
|
67
|
+
nothing, so a client can preview a theme exactly as stored.
|
|
68
|
+
- The theme profile (P1-P8): design tokens on :root (light/dark), plus a
|
|
69
|
+
small set of cosmetic properties on ordinary elements — colours,
|
|
70
|
+
gradients, bounded borders/radius, font family/weight. No url()/@import/
|
|
71
|
+
@font-face (a theme loads nothing), no !important, no escapes or `<`, and
|
|
72
|
+
nothing that can move, size, hide, overlay or add content.
|
|
73
|
+
`outsideProfile` names the line, column and profile item broken.
|
|
74
|
+
- maxDocumentBytes 48 KiB both ways, for a 32 KiB stylesheet.
|
|
75
|
+
|
|
76
|
+
vtc/community/theme/show/0.1 (new, draft):
|
|
77
|
+
- Proof OPTIONAL and answerable to an unidentified caller: sign-in pages
|
|
78
|
+
draw the theme before the visitor holds any identity.
|
|
79
|
+
- Client requirements: re-check the profile before applying; render every
|
|
80
|
+
surface where a person decides, approves, consents, signs or is warned
|
|
81
|
+
in structural isolation from the theme; mark that a custom theme is on.
|
|
82
|
+
|
|
83
|
+
Why no second-administrator consent: the profile and the isolation
|
|
84
|
+
together mean a theme cannot change what another administrator is asked
|
|
85
|
+
to approve, so it stays an ordinary configuration write.
|
|
86
|
+
|
|
87
|
+
Bindings regenerated (Rust, TS, Go, Dart).
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Specifications
|
|
92
|
+
|
|
93
|
+
- **rooms/keys**: Act 0.4 — a member lists their offers at vtc/rooms/offers/list 0.2, and sees what each room is for (#810)
|
|
94
|
+
|
|
95
|
+
rooms/keys/act/0.3's closed table admits vtc/rooms/offers/list/0.1 but not
|
|
96
|
+
vtc/rooms/offers/list/0.2 (#805), which shows each offered room's current
|
|
97
|
+
label and description (never its tags). A key holder conforming to act 0.3
|
|
98
|
+
refuses a 0.2 listing with typeNotActable, so a surface that reads offers
|
|
99
|
+
through act — pnm, the browser wallet — cannot use 0.2, and a member never
|
|
100
|
+
sees a room's description before accepting.
|
|
101
|
+
|
|
102
|
+
act 0.4:
|
|
103
|
+
- The table's offers/list row lists vtc/rooms/offers/list/0.1 and
|
|
104
|
+
vtc/rooms/offers/list/0.2 on the same terms: no presentation inserted,
|
|
105
|
+
issuer REQUIRED and the DID the offer is addressed to (Producer item 2),
|
|
106
|
+
resolved without a room credential (Recipient item 2b, which now names
|
|
107
|
+
list/0.2 too).
|
|
108
|
+
- New "What changed from 0.3" note; a request example completing a
|
|
109
|
+
list/0.2 as the member.
|
|
110
|
+
- Schemas otherwise identical to 0.3 (the type pattern already admits
|
|
111
|
+
vtc/rooms/offers/); no error code added. vtc/rooms/offers/accept has only
|
|
112
|
+
0.1, so nothing changes for it.
|
|
113
|
+
|
|
114
|
+
vtc/rooms/offers/list/0.2, in place: its "Signing as the member" paragraph
|
|
115
|
+
pointed at act "0.3 or later", which does not list it; it now points at
|
|
116
|
+
act 0.4. Prose only; its wire is unchanged (SPEC §5.2 editorial, as #797).
|
|
117
|
+
|
|
14
118
|
## 0.26.15 — 2026-10-17
|
|
15
119
|
|
|
16
120
|
|
|
@@ -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
|
*
|