@openvtc/trust-tasks 0.19.19 → 0.19.20
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 +2 -0
- package/dist/persona/binding/set/1.0/payload.d.ts +6 -6
- package/dist/persona/binding/set/1.0/payload.d.ts.map +1 -1
- package/dist/persona/binding/set/1.0/payload.js +2 -3
- package/dist/persona/binding/set/1.0/payload.js.map +1 -1
- package/dist/persona/profile/compose/1.0/payload.d.ts +20 -6
- package/dist/persona/profile/compose/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/compose/1.0/payload.js +7 -2
- package/dist/persona/profile/compose/1.0/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/persona/binding/set/1.0/payload.ts +4 -5
- package/src/persona/profile/compose/1.0/payload.ts +13 -4
package/CHANGELOG.md
CHANGED
|
@@ -12,9 +12,9 @@ export interface PersonaBindingSetPayload {
|
|
|
12
12
|
*/
|
|
13
13
|
contextId: string;
|
|
14
14
|
/**
|
|
15
|
-
* The persona being bound.
|
|
15
|
+
* The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used.
|
|
16
16
|
*/
|
|
17
|
-
personaDid
|
|
17
|
+
personaDid?: string;
|
|
18
18
|
/**
|
|
19
19
|
* The profile to bind, or null to clear. Null is a first-class value and not an omission: a persona with no profile is a legitimate, common state — a throwaway identity that presents nothing — and the schema says so rather than leaving a consumer to infer it from an absent member.
|
|
20
20
|
*/
|
|
@@ -91,7 +91,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
91
91
|
readonly description: "Assign a profile to a persona DID within a context, or clear the assignment. This is the step that pushes a composition across the context boundary: the maintainer materialises the profile into the context, and a context never reaches back the other way.";
|
|
92
92
|
readonly type: "object";
|
|
93
93
|
readonly additionalProperties: false;
|
|
94
|
-
readonly required: readonly ["contextId"
|
|
94
|
+
readonly required: readonly ["contextId"];
|
|
95
95
|
readonly properties: {
|
|
96
96
|
readonly contextId: {
|
|
97
97
|
readonly type: "string";
|
|
@@ -102,7 +102,7 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
102
102
|
readonly type: "string";
|
|
103
103
|
readonly minLength: 1;
|
|
104
104
|
readonly maxLength: 2048;
|
|
105
|
-
readonly description: "The persona being bound.";
|
|
105
|
+
readonly description: "The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used.";
|
|
106
106
|
};
|
|
107
107
|
readonly profileId: {
|
|
108
108
|
readonly oneOf: readonly [{
|
|
@@ -347,7 +347,7 @@ export declare const SPEC: {
|
|
|
347
347
|
readonly description: "Assign a profile to a persona DID within a context, or clear the assignment. This is the step that pushes a composition across the context boundary: the maintainer materialises the profile into the context, and a context never reaches back the other way.";
|
|
348
348
|
readonly type: "object";
|
|
349
349
|
readonly additionalProperties: false;
|
|
350
|
-
readonly required: readonly ["contextId"
|
|
350
|
+
readonly required: readonly ["contextId"];
|
|
351
351
|
readonly properties: {
|
|
352
352
|
readonly contextId: {
|
|
353
353
|
readonly type: "string";
|
|
@@ -358,7 +358,7 @@ export declare const SPEC: {
|
|
|
358
358
|
readonly type: "string";
|
|
359
359
|
readonly minLength: 1;
|
|
360
360
|
readonly maxLength: 2048;
|
|
361
|
-
readonly description: "The persona being bound.";
|
|
361
|
+
readonly description: "The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used.";
|
|
362
362
|
};
|
|
363
363
|
readonly profileId: {
|
|
364
364
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAGnJ;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,2BAA2B,IAAI,eAAe,EAAE,GAAG,EAAE,IAAI,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAGnJ;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -23,8 +23,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
23
23
|
"type": "object",
|
|
24
24
|
"additionalProperties": false,
|
|
25
25
|
"required": [
|
|
26
|
-
"contextId"
|
|
27
|
-
"personaDid"
|
|
26
|
+
"contextId"
|
|
28
27
|
],
|
|
29
28
|
"properties": {
|
|
30
29
|
"contextId": {
|
|
@@ -36,7 +35,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
36
35
|
"type": "string",
|
|
37
36
|
"minLength": 1,
|
|
38
37
|
"maxLength": 2048,
|
|
39
|
-
"description": "The persona being bound."
|
|
38
|
+
"description": "The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used."
|
|
40
39
|
},
|
|
41
40
|
"profileId": {
|
|
42
41
|
"oneOf": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,gQAAgQ;IAC/Q,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/binding/set/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,gQAAgQ;IAC/Q,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,0GAA0G;SAC1H;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,2cAA2c;SAC3d;QACD,WAAW,EAAE;YACX,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,cAAc;iBACvB;gBACD;oBACE,MAAM,EAAE,MAAM;iBACf;aACF;YACD,aAAa,EAAE,yRAAyR;SACzS;QACD,eAAe,EAAE;YACf,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,EAAE;YACd,OAAO,EAAE;gBACP,MAAM,EAAE,cAAc;aACvB;YACD,aAAa,EAAE,4WAA4W;SAC5X;QACD,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE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AClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,SAAS,EAAE;YACT,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,gGAAgG;YAC/G,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;QACD,MAAM,EAAE;YACN,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,waAAwa;YACvb,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,0BAA0B;SACtC;QACD,iBAAiB,EAAE;YACjB,OAAO,EAAE,iBAAiB;YAC1B,aAAa,EAAE,uMAAuM;YACtN,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;SACb;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"}
|
|
@@ -31,11 +31,15 @@ export interface PersonaProfileComposePayload {
|
|
|
31
31
|
*/
|
|
32
32
|
personaDid?: string;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead.
|
|
35
|
+
*/
|
|
36
|
+
wear?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it.
|
|
35
39
|
*/
|
|
36
40
|
label?: string;
|
|
37
41
|
/**
|
|
38
|
-
* When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
42
|
+
* When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`).
|
|
39
43
|
*/
|
|
40
44
|
until?: string;
|
|
41
45
|
ext?: Ext;
|
|
@@ -157,16 +161,21 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
157
161
|
readonly maxLength: 2048;
|
|
158
162
|
readonly description: "Wear the new face as this persona in `contextId`, in the same act. Omit to compose without wearing it.";
|
|
159
163
|
};
|
|
164
|
+
readonly wear: {
|
|
165
|
+
readonly type: "boolean";
|
|
166
|
+
readonly default: false;
|
|
167
|
+
readonly description: "Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead.";
|
|
168
|
+
};
|
|
160
169
|
readonly label: {
|
|
161
170
|
readonly type: "string";
|
|
162
171
|
readonly minLength: 1;
|
|
163
172
|
readonly maxLength: 128;
|
|
164
|
-
readonly description: "What the context may call the face, as on persona/binding/set. Meaningful only
|
|
173
|
+
readonly description: "What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it.";
|
|
165
174
|
};
|
|
166
175
|
readonly until: {
|
|
167
176
|
readonly type: "string";
|
|
168
177
|
readonly format: "date-time";
|
|
169
|
-
readonly description: "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
178
|
+
readonly description: "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`).";
|
|
170
179
|
};
|
|
171
180
|
readonly ext: {
|
|
172
181
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -577,16 +586,21 @@ export declare const SPEC: {
|
|
|
577
586
|
readonly maxLength: 2048;
|
|
578
587
|
readonly description: "Wear the new face as this persona in `contextId`, in the same act. Omit to compose without wearing it.";
|
|
579
588
|
};
|
|
589
|
+
readonly wear: {
|
|
590
|
+
readonly type: "boolean";
|
|
591
|
+
readonly default: false;
|
|
592
|
+
readonly description: "Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead.";
|
|
593
|
+
};
|
|
580
594
|
readonly label: {
|
|
581
595
|
readonly type: "string";
|
|
582
596
|
readonly minLength: 1;
|
|
583
597
|
readonly maxLength: 128;
|
|
584
|
-
readonly description: "What the context may call the face, as on persona/binding/set. Meaningful only
|
|
598
|
+
readonly description: "What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it.";
|
|
585
599
|
};
|
|
586
600
|
readonly until: {
|
|
587
601
|
readonly type: "string";
|
|
588
602
|
readonly format: "date-time";
|
|
589
|
-
readonly description: "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
603
|
+
readonly description: "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`).";
|
|
590
604
|
};
|
|
591
605
|
readonly ext: {
|
|
592
606
|
readonly $ref: "#/$defs/Ext";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/profile/compose/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAG/H;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,EAAE,CAAC,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,KAAK,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M,cAAc
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/profile/compose/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,mBAAmB,IAAI,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAG/H;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,EAAE,CAAC,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,IAAI,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACnD,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE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AM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwN1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -54,16 +54,21 @@ export const PAYLOAD_SCHEMA = {
|
|
|
54
54
|
"maxLength": 2048,
|
|
55
55
|
"description": "Wear the new face as this persona in `contextId`, in the same act. Omit to compose without wearing it."
|
|
56
56
|
},
|
|
57
|
+
"wear": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"default": false,
|
|
60
|
+
"description": "Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead."
|
|
61
|
+
},
|
|
57
62
|
"label": {
|
|
58
63
|
"type": "string",
|
|
59
64
|
"minLength": 1,
|
|
60
65
|
"maxLength": 128,
|
|
61
|
-
"description": "What the context may call the face, as on persona/binding/set. Meaningful only
|
|
66
|
+
"description": "What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it."
|
|
62
67
|
},
|
|
63
68
|
"until": {
|
|
64
69
|
"type": "string",
|
|
65
70
|
"format": "date-time",
|
|
66
|
-
"description": "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
71
|
+
"description": "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`)."
|
|
67
72
|
},
|
|
68
73
|
"ext": {
|
|
69
74
|
"$ref": "#/$defs/Ext"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/profile/compose/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/profile/compose/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkHH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,yDAAkE,CAAC;AAK3F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kEAA2E,CAAC;AAK7G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,yDAAyD;IAChE,OAAO,EAAE,mCAAmC;I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,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
|
@@ -15,9 +15,9 @@ export interface PersonaBindingSetPayload {
|
|
|
15
15
|
*/
|
|
16
16
|
contextId: string;
|
|
17
17
|
/**
|
|
18
|
-
* The persona being bound.
|
|
18
|
+
* The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used.
|
|
19
19
|
*/
|
|
20
|
-
personaDid
|
|
20
|
+
personaDid?: string;
|
|
21
21
|
/**
|
|
22
22
|
* The profile to bind, or null to clear. Null is a first-class value and not an omission: a persona with no profile is a legitimate, common state — a throwaway identity that presents nothing — and the schema says so rather than leaving a consumer to infer it from an absent member.
|
|
23
23
|
*/
|
|
@@ -101,8 +101,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
101
101
|
"type": "object",
|
|
102
102
|
"additionalProperties": false,
|
|
103
103
|
"required": [
|
|
104
|
-
"contextId"
|
|
105
|
-
"personaDid"
|
|
104
|
+
"contextId"
|
|
106
105
|
],
|
|
107
106
|
"properties": {
|
|
108
107
|
"contextId": {
|
|
@@ -114,7 +113,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
114
113
|
"type": "string",
|
|
115
114
|
"minLength": 1,
|
|
116
115
|
"maxLength": 2048,
|
|
117
|
-
"description": "The persona being bound."
|
|
116
|
+
"description": "The persona being bound. Omit to use the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. The response names the persona used."
|
|
118
117
|
},
|
|
119
118
|
"profileId": {
|
|
120
119
|
"oneOf": [
|
|
@@ -35,11 +35,15 @@ export interface PersonaProfileComposePayload {
|
|
|
35
35
|
*/
|
|
36
36
|
personaDid?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead.
|
|
39
|
+
*/
|
|
40
|
+
wear?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it.
|
|
39
43
|
*/
|
|
40
44
|
label?: string;
|
|
41
45
|
/**
|
|
42
|
-
* When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
46
|
+
* When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`).
|
|
43
47
|
*/
|
|
44
48
|
until?: string;
|
|
45
49
|
ext?: Ext;
|
|
@@ -171,16 +175,21 @@ export const PAYLOAD_SCHEMA = {
|
|
|
171
175
|
"maxLength": 2048,
|
|
172
176
|
"description": "Wear the new face as this persona in `contextId`, in the same act. Omit to compose without wearing it."
|
|
173
177
|
},
|
|
178
|
+
"wear": {
|
|
179
|
+
"type": "boolean",
|
|
180
|
+
"default": false,
|
|
181
|
+
"description": "Wear the new face in `contextId` as the persona the holder already uses in `contextId` — the one DID with a binding there, current or cleared. None is refused (`noPersonaHere`): a persona is minted on its own, through the DID-template path, never as a side effect of wearing a face. Several are refused (`personaAmbiguous`, naming them): picking one for the holder would decide which of their identities a context sees. Not with `personaDid`, which names the persona instead."
|
|
182
|
+
},
|
|
174
183
|
"label": {
|
|
175
184
|
"type": "string",
|
|
176
185
|
"minLength": 1,
|
|
177
186
|
"maxLength": 128,
|
|
178
|
-
"description": "What the context may call the face, as on persona/binding/set. Meaningful only
|
|
187
|
+
"description": "What the context may call the face, as on persona/binding/set. Meaningful only when the face is worn (`personaDid` or `wear`); a maintainer MUST refuse it otherwise rather than drop it."
|
|
179
188
|
},
|
|
180
189
|
"until": {
|
|
181
190
|
"type": "string",
|
|
182
191
|
"format": "date-time",
|
|
183
|
-
"description": "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only
|
|
192
|
+
"description": "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only when the face is worn (`personaDid` or `wear`), and refused otherwise or in the past (`untilNotFuture`)."
|
|
184
193
|
},
|
|
185
194
|
"ext": {
|
|
186
195
|
"$ref": "#/$defs/Ext"
|