@openvtc/trust-tasks 0.28.3 → 0.28.4
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 +63 -0
- package/dist/_extends.d.ts.map +1 -1
- package/dist/_extends.js +2 -0
- package/dist/_extends.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/peer-check/ask/0.1/payload.d.ts +397 -0
- package/dist/peer-check/ask/0.1/payload.d.ts.map +1 -0
- package/dist/peer-check/ask/0.1/payload.js +235 -0
- package/dist/peer-check/ask/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.1/payload.js +1 -1
- package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.2/payload.js +1 -1
- package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.3/payload.js +1 -1
- package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.4/payload.js +1 -1
- package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.5/payload.js +1 -1
- package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.6/payload.js +1 -1
- package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
- package/dist/rooms/keys/act/0.7/payload.js +1 -1
- package/dist/rooms/keys/act/0.8/payload.d.ts +14 -2
- package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -1
- package/dist/rooms/keys/act/0.8/payload.js +1 -1
- package/dist/rooms/keys/act/0.8/payload.js.map +1 -1
- package/dist/rooms/keys/act/0.9/payload.d.ts +560 -0
- package/dist/rooms/keys/act/0.9/payload.d.ts.map +1 -0
- package/dist/rooms/keys/act/0.9/payload.js +319 -0
- package/dist/rooms/keys/act/0.9/payload.js.map +1 -0
- package/dist/vta/webvh/dids/update/1.0/payload.d.ts +14 -2
- package/dist/vta/webvh/dids/update/1.0/payload.d.ts.map +1 -1
- package/dist/vta/webvh/dids/update/1.0/payload.js +1 -1
- package/dist/vta/webvh/dids/update/1.0/payload.js.map +1 -1
- package/dist/vta/webvh/dids/update/1.1/payload.d.ts +511 -0
- package/dist/vta/webvh/dids/update/1.1/payload.d.ts.map +1 -0
- package/dist/vta/webvh/dids/update/1.1/payload.js +251 -0
- package/dist/vta/webvh/dids/update/1.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_extends.ts +2 -0
- package/src/index.ts +9 -0
- package/src/peer-check/ask/0.1/payload.ts +301 -0
- package/src/rooms/keys/act/0.1/payload.ts +5 -5
- package/src/rooms/keys/act/0.2/payload.ts +5 -5
- package/src/rooms/keys/act/0.3/payload.ts +5 -5
- package/src/rooms/keys/act/0.4/payload.ts +5 -5
- package/src/rooms/keys/act/0.5/payload.ts +5 -5
- package/src/rooms/keys/act/0.6/payload.ts +5 -5
- package/src/rooms/keys/act/0.7/payload.ts +5 -5
- package/src/rooms/keys/act/0.8/payload.ts +15 -3
- package/src/rooms/keys/act/0.9/payload.ts +396 -0
- package/src/vta/webvh/dids/update/1.0/payload.ts +15 -3
- package/src/vta/webvh/dids/update/1.1/payload.ts +351 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,69 @@ 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.28.4 — 2026-10-30
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- **vta/webvh/dids/update**: 1.1 lists or removes an existing log's did:scid alias (#992)
|
|
20
|
+
|
|
21
|
+
* feat(vta/webvh/dids/update): 1.1 lists or removes an existing log's did:scid alias
|
|
22
|
+
|
|
23
|
+
Every did:webvh log is also a did:scid:vh:1 identity, but the two are distinct
|
|
24
|
+
subjects until the did:webvh document lists the did:scid DID URL in
|
|
25
|
+
alsoKnownAs (VTI-KEY-164). create/1.2 lists it in the first entry by default;
|
|
26
|
+
a log created before it, or without it, had no way to get it but sending a
|
|
27
|
+
whole replacement document with a hand-built DID URL — and the src encoding
|
|
28
|
+
(`%3A` for a port, `/` for each `:`) is exactly what a client gets wrong.
|
|
29
|
+
|
|
30
|
+
1.1 adds `scidAlsoKnownAs` (boolean): true lists the DID URL for the log's
|
|
31
|
+
current location (replacing one left from before a move), false removes
|
|
32
|
+
every did:scid entry naming this SCID. The agent derives the DID URL; the
|
|
33
|
+
caller never writes it. The response reports `scidAlsoKnownAs` and
|
|
34
|
+
`scidDidUrl`. New codes: `scidAliasRequired` (removing the alias of an
|
|
35
|
+
identity the agent presents as did:scid, VTI-KEY-166) and `noChange` (an
|
|
36
|
+
entry identical to the latest is not published, so the update key is not
|
|
37
|
+
rotated for nothing).
|
|
38
|
+
|
|
39
|
+
This is the pre-key-role path: vta/dids/update refuses every identity created
|
|
40
|
+
before key roles (notKeyRoleIdentity), which is every did:webvh DID that
|
|
41
|
+
exists today. Only adds, so 1.1 extends 1.0. All four bindings regenerated.
|
|
42
|
+
|
|
43
|
+
- **peer-check**: Peer-check/ask 0.1 — a signed yes or no from a peer's own device (#973)
|
|
44
|
+
|
|
45
|
+
* feat(peer-check): peer-check/ask 0.1 — a signed yes or no from a peer's own device
|
|
46
|
+
|
|
47
|
+
One party asks another a short question, such as "did you just ask me
|
|
48
|
+
for this?", over a channel they already share. The responder's device
|
|
49
|
+
prompts its user and returns a signed answer that echoes the challenge
|
|
50
|
+
and carries the task digest of the request, so the asker can verify it
|
|
51
|
+
against the responder's DID and it cannot be replayed against another
|
|
52
|
+
ask.
|
|
53
|
+
|
|
54
|
+
Draft. Specification, schema, negative examples and the regenerated Rust,
|
|
55
|
+
TypeScript, Go and Dart bindings.
|
|
56
|
+
|
|
57
|
+
- **rooms/keys/act**: 0.9 completes rooms/records/put/0.4 (#990)
|
|
58
|
+
|
|
59
|
+
rooms/records/put/0.4 (#987) lets a record on an open room carry a file,
|
|
60
|
+
its description and random file key in cleartext.file. 0.8's table is
|
|
61
|
+
closed (Recipient item 1) and names records/put at 0.1–0.3 only, so a
|
|
62
|
+
conforming key holder refuses 0.4 with typeNotActable: a member whose keys
|
|
63
|
+
their key holder holds could upload an open room's blob (upload/begin/0.2
|
|
64
|
+
is in the table) but never write the record that names it, and the blob
|
|
65
|
+
would sit unreferenced until collected.
|
|
66
|
+
|
|
67
|
+
0.9 adds rooms/records/put/0.4 to the put row, write, presentation
|
|
68
|
+
inserted, completed exactly as 0.3. The key holder neither mints nor checks
|
|
69
|
+
the file key: the producer mints it (put 0.4 Producer item 7), the host
|
|
70
|
+
checks the record (Host item 12), and the key holder signs what it was
|
|
71
|
+
handed unaltered (Recipient item 6).
|
|
72
|
+
|
|
73
|
+
Schemas are 0.8's and no error code is added; the table only widens, so
|
|
74
|
+
0.9 declares extends: "0.8" and every spec naming 0.8 stays current. All
|
|
75
|
+
four bindings regenerated.
|
|
76
|
+
|
|
14
77
|
## 0.28.3 — 2026-10-30
|
|
15
78
|
|
|
16
79
|
|
package/dist/_extends.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQ/D,CAAC"}
|
package/dist/_extends.js
CHANGED
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
* `extendsChain` follows them transitively.
|
|
7
7
|
*/
|
|
8
8
|
export const EXTENDS_BY_TYPE_URI = Object.freeze({
|
|
9
|
+
"https://trusttasks.org/spec/rooms/keys/act/0.9": "0.8",
|
|
9
10
|
"https://trusttasks.org/spec/rooms/records/put/0.4": "0.3",
|
|
10
11
|
"https://trusttasks.org/spec/vta/did-templates/create/3.2": "3.1",
|
|
11
12
|
"https://trusttasks.org/spec/vta/did-templates/get/3.2": "3.1",
|
|
12
13
|
"https://trusttasks.org/spec/vta/did-templates/list/3.2": "3.1",
|
|
13
14
|
"https://trusttasks.org/spec/vta/did-templates/update/3.2": "3.1",
|
|
15
|
+
"https://trusttasks.org/spec/vta/webvh/dids/update/1.1": "1.0",
|
|
14
16
|
});
|
|
15
17
|
//# sourceMappingURL=_extends.js.map
|
package/dist/_extends.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,gDAAgD,EAAE,KAAK;IACvD,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;CAC/D,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1252,6 +1252,9 @@ export import MessagingQueueStatus_v0_1 = _MessagingQueueStatus_v0_1;
|
|
|
1252
1252
|
import * as _MessagingStatsShow_v0_1 from "./messaging/stats/show/0.1/payload.js";
|
|
1253
1253
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1254
1254
|
export import MessagingStatsShow_v0_1 = _MessagingStatsShow_v0_1;
|
|
1255
|
+
import * as _PeerCheckAsk_v0_1 from "./peer-check/ask/0.1/payload.js";
|
|
1256
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1257
|
+
export import PeerCheckAsk_v0_1 = _PeerCheckAsk_v0_1;
|
|
1255
1258
|
import * as _ContactAnnotationsShared_v0_1 from "./persona/_shared/0.1/contact-annotations.js";
|
|
1256
1259
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1257
1260
|
export import ContactAnnotationsShared_v0_1 = _ContactAnnotationsShared_v0_1;
|
|
@@ -1684,6 +1687,9 @@ export import RoomsKeysAct_v0_7 = _RoomsKeysAct_v0_7;
|
|
|
1684
1687
|
import * as _RoomsKeysAct_v0_8 from "./rooms/keys/act/0.8/payload.js";
|
|
1685
1688
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1686
1689
|
export import RoomsKeysAct_v0_8 = _RoomsKeysAct_v0_8;
|
|
1690
|
+
import * as _RoomsKeysAct_v0_9 from "./rooms/keys/act/0.9/payload.js";
|
|
1691
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1692
|
+
export import RoomsKeysAct_v0_9 = _RoomsKeysAct_v0_9;
|
|
1687
1693
|
import * as _RoomsKeysBackfill_v0_1 from "./rooms/keys/backfill/0.1/payload.js";
|
|
1688
1694
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
1689
1695
|
export import RoomsKeysBackfill_v0_1 = _RoomsKeysBackfill_v0_1;
|
|
@@ -2726,6 +2732,9 @@ export import VtaWebvhDidsRotateKeys_v2_0 = _VtaWebvhDidsRotateKeys_v2_0;
|
|
|
2726
2732
|
import * as _VtaWebvhDidsUpdate_v1_0 from "./vta/webvh/dids/update/1.0/payload.js";
|
|
2727
2733
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2728
2734
|
export import VtaWebvhDidsUpdate_v1_0 = _VtaWebvhDidsUpdate_v1_0;
|
|
2735
|
+
import * as _VtaWebvhDidsUpdate_v1_1 from "./vta/webvh/dids/update/1.1/payload.js";
|
|
2736
|
+
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2737
|
+
export import VtaWebvhDidsUpdate_v1_1 = _VtaWebvhDidsUpdate_v1_1;
|
|
2729
2738
|
import * as _VtaWebvhDidsUpdate_v2_0 from "./vta/webvh/dids/update/2.0/payload.js";
|
|
2730
2739
|
/** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
|
|
2731
2740
|
export import VtaWebvhDidsUpdate_v2_0 = _VtaWebvhDidsUpdate_v2_0;
|