@openvtc/trust-tasks 0.21.15 → 0.22.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 +43 -0
- package/dist/_shared/components.d.ts +14 -14
- 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/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
- package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
- package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
- package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
- package/dist/vetting/request/0.1/payload.d.ts +5 -5
- package/dist/vetting/request/0.1/payload.js +2 -2
- package/dist/vetting/request/0.1/payload.js.map +1 -1
- package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts +281 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts.map +1 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js +157 -0
- package/dist/vta/attestation/mnemonic-status/0.1/payload.js.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts +674 -0
- package/dist/vta/metrics/show/0.1/payload.d.ts.map +1 -0
- package/dist/vta/metrics/show/0.1/payload.js +387 -0
- package/dist/vta/metrics/show/0.1/payload.js.map +1 -0
- package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
- package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
- package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
- package/dist/vtc/auth/recognise/0.2/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/endorsement-types/list/0.1/payload.js +4 -4
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +16 -11
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.js +7 -6
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/issue/0.1/payload.d.ts +42 -42
- package/dist/vtc/endorsements/issue/0.1/payload.js +19 -19
- package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/list/0.1/payload.d.ts +31 -31
- package/dist/vtc/endorsements/list/0.1/payload.js +15 -15
- package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +5 -5
- package/dist/vtc/endorsements/revoke/0.1/payload.js +2 -2
- package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsements/show/0.1/payload.d.ts +28 -28
- package/dist/vtc/endorsements/show/0.1/payload.js +14 -14
- package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts +10 -10
- package/dist/vtc/join-requests/decide/0.1/payload.js +4 -4
- package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +10 -10
- package/dist/vtc/join-requests/manifest/0.2/payload.js +4 -4
- package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -1
- package/dist/vtc/members/credentials/0.1/payload.d.ts +5 -5
- package/dist/vtc/members/credentials/0.1/payload.js +2 -2
- package/dist/vtc/members/credentials/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/list/0.1/payload.js +4 -4
- package/dist/vtc/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/personhood/assert/0.1/payload.js +6 -6
- package/dist/vtc/members/personhood/assert/0.1/payload.js.map +1 -1
- package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +10 -10
- package/dist/vtc/members/personhood/revoke/0.1/payload.js +4 -4
- package/dist/vtc/members/personhood/revoke/0.1/payload.js.map +1 -1
- package/dist/vtc/members/renew/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/renew/0.1/payload.js +6 -6
- package/dist/vtc/members/renew/0.1/payload.js.map +1 -1
- package/dist/vtc/members/rotate/0.1/payload.d.ts +14 -14
- package/dist/vtc/members/rotate/0.1/payload.js +6 -6
- package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
- package/dist/vtc/members/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/show/0.1/payload.js +4 -4
- package/dist/vtc/members/show/0.1/payload.js.map +1 -1
- package/dist/vtc/members/update/0.1/payload.d.ts +8 -8
- package/dist/vtc/members/update/0.1/payload.js +4 -4
- package/dist/vtc/members/update/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/list/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/register/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +8 -8
- package/dist/vtc/schemas/accepts/show/0.1/payload.js +4 -4
- package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/list/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/list/0.1/payload.js +2 -2
- package/dist/vtc/schemas/list/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/register/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/register/0.1/payload.js +2 -2
- package/dist/vtc/schemas/register/0.1/payload.js.map +1 -1
- package/dist/vtc/schemas/show/0.1/payload.d.ts +4 -4
- package/dist/vtc/schemas/show/0.1/payload.js +2 -2
- package/dist/vtc/schemas/show/0.1/payload.js.map +1 -1
- package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts +1385 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js +735 -0
- package/dist/vtc/vetting/hidden/publish/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
- package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
- package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
- package/dist/witness/session/submit/0.1/payload.js +2 -2
- package/dist/witness/session/submit/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +14 -14
- package/src/index.ts +3 -0
- package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
- package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
- package/src/vetting/_shared/0.1/vetting.ts +1 -1
- package/src/vetting/request/0.1/payload.ts +3 -3
- package/src/vta/attestation/mnemonic-status/0.1/payload.ts +203 -0
- package/src/vta/metrics/show/0.1/payload.ts +418 -0
- package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
- package/src/vtc/_shared/0.1/endorsement.ts +1 -1
- package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
- package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
- package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
- package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
- package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
- package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
- package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
- package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
- package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
- package/src/vtc/members/credentials/0.1/payload.ts +3 -3
- package/src/vtc/members/list/0.1/payload.ts +4 -4
- package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
- package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
- package/src/vtc/members/renew/0.1/payload.ts +8 -8
- package/src/vtc/members/rotate/0.1/payload.ts +8 -8
- package/src/vtc/members/show/0.1/payload.ts +4 -4
- package/src/vtc/members/update/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
- package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
- package/src/vtc/schemas/list/0.1/payload.ts +2 -2
- package/src/vtc/schemas/register/0.1/payload.ts +2 -2
- package/src/vtc/schemas/show/0.1/payload.ts +2 -2
- package/src/vtc/vetting/hidden/publish/0.1/payload.ts +905 -0
- package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
- package/src/witness/session/submit/0.1/payload.ts +3 -3
|
@@ -7,7 +7,7 @@ import type { Ext } from "../../../../../_shared/components.js";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
10
|
+
* A community administrator makes a member a vetter. The community issues the member a revocable Verifiable Authority Credential (`AuthorityCredential`) whose `authority` is the action `role:vetter` at the community's DID, delivers it over credential-exchange/issue, and returns the identifiers and validity of the grant. A member who already holds a live grant gets that grant back unchanged.
|
|
11
11
|
*/
|
|
12
12
|
export interface VTCVettingVettersGrantPayload {
|
|
13
13
|
/**
|
|
@@ -25,11 +25,11 @@ export interface VTCVettingVettersGrantPayload {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface VTCVettingVettersGrantResponsePayload {
|
|
27
27
|
/**
|
|
28
|
-
* The community's
|
|
28
|
+
* The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential.
|
|
29
29
|
*/
|
|
30
30
|
endorsementId: string;
|
|
31
31
|
/**
|
|
32
|
-
* The `id` of the role credential, a URI.
|
|
32
|
+
* The `id` of the role credential (the Verifiable Authority Credential), a URI.
|
|
33
33
|
*/
|
|
34
34
|
credentialId: string;
|
|
35
35
|
/**
|
|
@@ -71,7 +71,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
71
71
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
72
72
|
"$id": "https://trusttasks.org/spec/vtc/vetting/vetters/grant/0.1",
|
|
73
73
|
"title": "VTC Vetting — Vetters Grant — payload",
|
|
74
|
-
"description": "A community administrator makes a member a vetter. The community issues the member a revocable `
|
|
74
|
+
"description": "A community administrator makes a member a vetter. The community issues the member a revocable Verifiable Authority Credential (`AuthorityCredential`) whose `authority` is the action `role:vetter` at the community's DID, delivers it over credential-exchange/issue, and returns the identifiers and validity of the grant. A member who already holds a live grant gets that grant back unchanged.",
|
|
75
75
|
"type": "object",
|
|
76
76
|
"additionalProperties": false,
|
|
77
77
|
"required": [
|
|
@@ -111,14 +111,14 @@ export const PAYLOAD_SCHEMA = {
|
|
|
111
111
|
"type": "string",
|
|
112
112
|
"minLength": 1,
|
|
113
113
|
"maxLength": 128,
|
|
114
|
-
"description": "The community's
|
|
114
|
+
"description": "The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential."
|
|
115
115
|
},
|
|
116
116
|
"credentialId": {
|
|
117
117
|
"type": "string",
|
|
118
118
|
"minLength": 1,
|
|
119
119
|
"maxLength": 512,
|
|
120
120
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
121
|
-
"description": "The `id` of the role credential, a URI."
|
|
121
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
122
122
|
},
|
|
123
123
|
"validFrom": {
|
|
124
124
|
"type": "string",
|
|
@@ -170,14 +170,14 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
170
170
|
"type": "string",
|
|
171
171
|
"minLength": 1,
|
|
172
172
|
"maxLength": 128,
|
|
173
|
-
"description": "The community's
|
|
173
|
+
"description": "The community's record of this grant's credential and its status-list slot — the identifier vtc/endorsements/revoke takes to revoke it. The name is kept from when the role credential was an endorsement; the credential is a Verifiable Authority Credential."
|
|
174
174
|
},
|
|
175
175
|
"credentialId": {
|
|
176
176
|
"type": "string",
|
|
177
177
|
"minLength": 1,
|
|
178
178
|
"maxLength": 512,
|
|
179
179
|
"pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:\\S+$",
|
|
180
|
-
"description": "The `id` of the role credential, a URI."
|
|
180
|
+
"description": "The `id` of the role credential (the Verifiable Authority Credential), a URI."
|
|
181
181
|
},
|
|
182
182
|
"validFrom": {
|
|
183
183
|
"type": "string",
|
|
@@ -21,7 +21,7 @@ export interface WitnessSessionSubmitPayload {
|
|
|
21
21
|
*/
|
|
22
22
|
export interface WitnessSessionSubmitResponsePayload {
|
|
23
23
|
/**
|
|
24
|
-
* A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
24
|
+
* A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit.
|
|
25
25
|
*/
|
|
26
26
|
vwc: {};
|
|
27
27
|
/**
|
|
@@ -88,7 +88,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
88
88
|
"properties": {
|
|
89
89
|
"vwc": {
|
|
90
90
|
"type": "object",
|
|
91
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
91
|
+
"description": "A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit."
|
|
92
92
|
},
|
|
93
93
|
"vwcDigestMultibase": {
|
|
94
94
|
"$ref": "#/$defs/DigestMultibase",
|
|
@@ -140,7 +140,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
140
140
|
"properties": {
|
|
141
141
|
"vwc": {
|
|
142
142
|
"type": "object",
|
|
143
|
-
"description": "A signed Verifiable Witness Credential (opaque here; its schema belongs to DTG Core
|
|
143
|
+
"description": "A signed Verifiable Witness Credential: a DTG Verifiable Statement Credential (`type` including `StatementCredential`) under the predicate `https://registry.trustoverip.org/dtg/vsc/witnessed/1` (opaque here; its schema belongs to the DTG Credentials Core Specification). Its issuer is the witness, with `issuerScope` `directed` or `public`; its `credentialSubject.id` is the submitting party, the issuer of the relationship credential the witness observed; and its `credentialSubject.object.digestMultibase` is that credential's digest. Its taskContext MUST equal the id of the witness/session document that opened this session — the innermost exchange that attests the witnessing (SPEC.md §4.9.1) — and its taskDigestMultibase MUST be that document's task digest (SPEC.md §4.9.3). The id locates the session document; the digest binds it, because an id is a name anyone can reuse on a counterfeit."
|
|
144
144
|
},
|
|
145
145
|
"vwcDigestMultibase": {
|
|
146
146
|
"$ref": "#/$defs/DigestMultibase",
|