@nmshd/connector-tui 0.2.1 → 0.2.3
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.
|
@@ -313,13 +313,22 @@ export function AddSendRequestByMessage(Base) {
|
|
|
313
313
|
type: "toggle",
|
|
314
314
|
name: "value",
|
|
315
315
|
},
|
|
316
|
+
{
|
|
317
|
+
message: "Who will be the owner of the RelationshipAttribute?",
|
|
318
|
+
type: "select",
|
|
319
|
+
name: "owner",
|
|
320
|
+
choices: [
|
|
321
|
+
{ title: "You (Connector)", value: this.connectorAddress },
|
|
322
|
+
{ title: "The other Side", value: "" },
|
|
323
|
+
],
|
|
324
|
+
},
|
|
316
325
|
]);
|
|
317
326
|
const requestItem = {
|
|
318
327
|
"@type": "CreateAttributeRequestItem",
|
|
319
328
|
mustBeAccepted: true,
|
|
320
329
|
attribute: {
|
|
321
330
|
"@type": "RelationshipAttribute",
|
|
322
|
-
owner:
|
|
331
|
+
owner: result.owner,
|
|
323
332
|
key: result.key,
|
|
324
333
|
confidentiality: "public",
|
|
325
334
|
isTechnical: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/connector-tui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"repository": "github:nmshd/connector-tui",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "j&s-soft GmbH",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@nmshd/connector-sdk": "^2.2.2",
|
|
28
28
|
"chalk": "^5.3.0",
|
|
29
29
|
"dotenv": "^16.3.1",
|
|
30
|
-
"luxon": "^3.4.
|
|
30
|
+
"luxon": "^3.4.1",
|
|
31
31
|
"prompts": "^2.4.2",
|
|
32
32
|
"qrcode-terminal": "^0.12.0",
|
|
33
33
|
"yargs": "^17.7.2"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@js-soft/eslint-config-ts": "^1.6.3",
|
|
37
37
|
"@js-soft/license-check": "^1.0.6",
|
|
38
38
|
"@types/luxon": "^3.3.1",
|
|
39
|
-
"@types/node": "^20.5.
|
|
39
|
+
"@types/node": "^20.5.3",
|
|
40
40
|
"@types/prompts": "^2.4.4",
|
|
41
41
|
"@types/qrcode-terminal": "^0.12.0",
|
|
42
42
|
"@types/yargs": "^17.0.24",
|