@openvtc/trust-tasks 0.28.22 → 0.28.23
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 +25 -0
- package/dist/vtc/members/rotate/0.1/payload.d.ts +12 -5
- package/dist/vtc/members/rotate/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.js +8 -2
- package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/vtc/members/rotate/0.1/payload.ts +12 -3
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,31 @@ 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.23 — 2026-11-09
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Documentation
|
|
18
|
+
|
|
19
|
+
- **vtc/badges**: Declare the known implementation of every badges task (#1061)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- **vtc/members/rotate**: A rotation onto did:scid or did:webs can be reported (#1064)
|
|
25
|
+
|
|
26
|
+
`vtc/members/rotate/0.1`'s response `method` allowed only `did:key` and
|
|
27
|
+
`did:webvh`, but a community verifies a rotation onto a `did:scid:vh:1`
|
|
28
|
+
identifier (VTI-KEY-161) and, in VTI, onto a `did:webs` (VTI-KEY-003,
|
|
29
|
+
VTI-LNK-052): a successful rotation onto either had no conforming response.
|
|
30
|
+
Appends `did:scid` and `did:webs` to the enum, in place (an appended enum
|
|
31
|
+
value is an additive change), and says what `method` is.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Other
|
|
36
|
+
|
|
37
|
+
- The community issues the badge credential (#1063)
|
|
38
|
+
|
|
14
39
|
## 0.28.22 — 2026-11-08
|
|
15
40
|
|
|
16
41
|
|
|
@@ -22,7 +22,10 @@ export interface VTCMembersRotatePayload {
|
|
|
22
22
|
}
|
|
23
23
|
export interface VTCMembersRotateResponsePayload {
|
|
24
24
|
newDid: string;
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
|
+
* The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.
|
|
27
|
+
*/
|
|
28
|
+
method: "did:key" | "did:webvh" | "did:scid" | "did:webs";
|
|
26
29
|
/**
|
|
27
30
|
* Membership credential re-issued to the new DID (opaque here).
|
|
28
31
|
*/
|
|
@@ -114,7 +117,8 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
114
117
|
};
|
|
115
118
|
readonly method: {
|
|
116
119
|
readonly type: "string";
|
|
117
|
-
readonly
|
|
120
|
+
readonly description: "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.";
|
|
121
|
+
readonly enum: readonly ["did:key", "did:webvh", "did:scid", "did:webs"];
|
|
118
122
|
};
|
|
119
123
|
readonly vmc: {
|
|
120
124
|
readonly type: "object";
|
|
@@ -159,7 +163,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
159
163
|
};
|
|
160
164
|
readonly method: {
|
|
161
165
|
readonly type: "string";
|
|
162
|
-
readonly
|
|
166
|
+
readonly description: "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.";
|
|
167
|
+
readonly enum: readonly ["did:key", "did:webvh", "did:scid", "did:webs"];
|
|
163
168
|
};
|
|
164
169
|
readonly vmc: {
|
|
165
170
|
readonly type: "object";
|
|
@@ -246,7 +251,8 @@ export declare const SPEC: {
|
|
|
246
251
|
};
|
|
247
252
|
readonly method: {
|
|
248
253
|
readonly type: "string";
|
|
249
|
-
readonly
|
|
254
|
+
readonly description: "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.";
|
|
255
|
+
readonly enum: readonly ["did:key", "did:webvh", "did:scid", "did:webs"];
|
|
250
256
|
};
|
|
251
257
|
readonly vmc: {
|
|
252
258
|
readonly type: "object";
|
|
@@ -302,7 +308,8 @@ export declare const RESPONSE_SPEC: {
|
|
|
302
308
|
};
|
|
303
309
|
readonly method: {
|
|
304
310
|
readonly type: "string";
|
|
305
|
-
readonly
|
|
311
|
+
readonly description: "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.";
|
|
312
|
+
readonly enum: readonly ["did:key", "did:webvh", "did:scid", "did:webs"];
|
|
306
313
|
};
|
|
307
314
|
readonly vmc: {
|
|
308
315
|
readonly type: "object";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/rotate/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/rotate/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG7D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -88,9 +88,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
88
88
|
},
|
|
89
89
|
"method": {
|
|
90
90
|
"type": "string",
|
|
91
|
+
"description": "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.",
|
|
91
92
|
"enum": [
|
|
92
93
|
"did:key",
|
|
93
|
-
"did:webvh"
|
|
94
|
+
"did:webvh",
|
|
95
|
+
"did:scid",
|
|
96
|
+
"did:webs"
|
|
94
97
|
]
|
|
95
98
|
},
|
|
96
99
|
"vmc": {
|
|
@@ -141,9 +144,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
141
144
|
},
|
|
142
145
|
"method": {
|
|
143
146
|
"type": "string",
|
|
147
|
+
"description": "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.",
|
|
144
148
|
"enum": [
|
|
145
149
|
"did:key",
|
|
146
|
-
"did:webvh"
|
|
150
|
+
"did:webvh",
|
|
151
|
+
"did:scid",
|
|
152
|
+
"did:webs"
|
|
147
153
|
]
|
|
148
154
|
},
|
|
149
155
|
"vmc": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/rotate/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/rotate/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAEtF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,OAAO,GAAkB,IAAI,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,WAAW,GAAkB,IAAI,CAAC;AAK/C,qEAAqE;AACrE,MAAM,CAAC,MAAM,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AE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -25,7 +25,10 @@ export interface VTCMembersRotatePayload {
|
|
|
25
25
|
}
|
|
26
26
|
export interface VTCMembersRotateResponsePayload {
|
|
27
27
|
newDid: string;
|
|
28
|
-
|
|
28
|
+
/**
|
|
29
|
+
* The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.
|
|
30
|
+
*/
|
|
31
|
+
method: "did:key" | "did:webvh" | "did:scid" | "did:webs";
|
|
29
32
|
/**
|
|
30
33
|
* Membership credential re-issued to the new DID (opaque here).
|
|
31
34
|
*/
|
|
@@ -136,9 +139,12 @@ export const PAYLOAD_SCHEMA = {
|
|
|
136
139
|
},
|
|
137
140
|
"method": {
|
|
138
141
|
"type": "string",
|
|
142
|
+
"description": "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.",
|
|
139
143
|
"enum": [
|
|
140
144
|
"did:key",
|
|
141
|
-
"did:webvh"
|
|
145
|
+
"did:webvh",
|
|
146
|
+
"did:scid",
|
|
147
|
+
"did:webs"
|
|
142
148
|
]
|
|
143
149
|
},
|
|
144
150
|
"vmc": {
|
|
@@ -190,9 +196,12 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
190
196
|
},
|
|
191
197
|
"method": {
|
|
192
198
|
"type": "string",
|
|
199
|
+
"description": "The DID method of `newDid`, as the community verified its signature: `did:scid` for a `did:scid:vh:1` identifier.",
|
|
193
200
|
"enum": [
|
|
194
201
|
"did:key",
|
|
195
|
-
"did:webvh"
|
|
202
|
+
"did:webvh",
|
|
203
|
+
"did:scid",
|
|
204
|
+
"did:webs"
|
|
196
205
|
]
|
|
197
206
|
},
|
|
198
207
|
"vmc": {
|