@nmshd/runtime 3.1.0 → 3.1.1
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/dist/buildInformation.js +4 -4
- package/dist/useCases/transport/relationships/GetAttributesForRelationship.js +2 -6
- package/dist/useCases/transport/relationships/GetAttributesForRelationship.js.map +1 -1
- package/lib-web/nmshd.runtime.js +6 -10
- package/lib-web/nmshd.runtime.js.map +1 -1
- package/lib-web/nmshd.runtime.min.js +1 -1
- package/lib-web/nmshd.runtime.min.js.map +1 -1
- package/package.json +1 -1
package/dist/buildInformation.js
CHANGED
|
@@ -7,10 +7,10 @@ const content_1 = require("@nmshd/content");
|
|
|
7
7
|
const crypto_1 = require("@nmshd/crypto");
|
|
8
8
|
const transport_1 = require("@nmshd/transport");
|
|
9
9
|
exports.buildInformation = {
|
|
10
|
-
version: "3.1.
|
|
11
|
-
build: "
|
|
12
|
-
date: "2023-12-
|
|
13
|
-
commit: "
|
|
10
|
+
version: "3.1.1",
|
|
11
|
+
build: "181",
|
|
12
|
+
date: "2023-12-12T15:04:45+00:00",
|
|
13
|
+
commit: "3d55881cb1ce3f6ff4c3567acd54e19f54c2c992",
|
|
14
14
|
dependencies: {"@js-soft/docdb-querytranslator":"1.1.2","@js-soft/logging-abstractions":"1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.7.4","@nmshd/content":"2.8.1","@nmshd/crypto":"2.0.5","@nmshd/transport":"2.1.4","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
|
|
15
15
|
libraries: {
|
|
16
16
|
serval: ts_serval_1.buildInformation,
|
|
@@ -42,12 +42,8 @@ let GetAttributesForRelationshipUseCase = class GetAttributesForRelationshipUseC
|
|
|
42
42
|
}
|
|
43
43
|
const peerAddress = relationship.peer.address.toString();
|
|
44
44
|
const query = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{ [`${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`]: peerAddress },
|
|
48
|
-
// shareInfo.peer
|
|
49
|
-
{ [`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`]: peerAddress }
|
|
50
|
-
]
|
|
45
|
+
// shareInfo.peer
|
|
46
|
+
[`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`]: peerAddress
|
|
51
47
|
};
|
|
52
48
|
const attributes = await this.attributesController.getLocalAttributes(query, request.hideTechnical);
|
|
53
49
|
return ts_utils_1.Result.ok(consumption_2.AttributeMapper.toAttributeDTOList(attributes));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetAttributesForRelationship.js","sourceRoot":"","sources":["../../../../src/useCases/transport/relationships/GetAttributesForRelationship.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAmG;
|
|
1
|
+
{"version":3,"file":"GetAttributesForRelationship.js","sourceRoot":"","sources":["../../../../src/useCases/transport/relationships/GetAttributesForRelationship.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA2C;AAC3C,oDAAmG;AACnG,gDAAiF;AACjF,uDAA0C;AAC1C,mDAAwC;AAExC,yCAA+G;AAC/G,mDAAoD;AASpD,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,wBAAoD;IACxE,YAA2B,gBAAkC;QACzD,KAAK,CAAC,gBAAgB,CAAC,SAAS,CAAC,wBAAwB,CAAC,CAAC,CAAC;IAChE,CAAC;CACJ,CAAA;AAJK,SAAS;IACS,WAAA,uBAAM,CAAA;qCAAmB,yBAAgB;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mCAAuB;QAC1B,kCAAoB;QAChD,SAAS;GAJvB,mCAAmC,CAwB/C"}
|
package/lib-web/nmshd.runtime.js
CHANGED
|
@@ -555,10 +555,10 @@ const content_1 = __webpack_require__(/*! @nmshd/content */ "@nmshd/content");
|
|
|
555
555
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
556
556
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
557
557
|
exports.buildInformation = {
|
|
558
|
-
version: "3.1.
|
|
559
|
-
build: "
|
|
560
|
-
date: "2023-12-
|
|
561
|
-
commit: "
|
|
558
|
+
version: "3.1.1",
|
|
559
|
+
build: "181",
|
|
560
|
+
date: "2023-12-12T15:04:45+00:00",
|
|
561
|
+
commit: "3d55881cb1ce3f6ff4c3567acd54e19f54c2c992",
|
|
562
562
|
dependencies: {"@js-soft/docdb-querytranslator":"1.1.2","@js-soft/logging-abstractions":"1.0.1","@js-soft/ts-serval":"2.0.10","@js-soft/ts-utils":"^2.3.3","@nmshd/consumption":"3.7.4","@nmshd/content":"2.8.1","@nmshd/crypto":"2.0.5","@nmshd/transport":"2.1.4","ajv":"^8.12.0","ajv-errors":"^3.0.0","ajv-formats":"^2.1.1","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qrcode":"1.5.3","reflect-metadata":"0.1.13","ts-simple-nameof":"1.3.1","typescript-ioc":"3.2.2"},
|
|
563
563
|
libraries: {
|
|
564
564
|
serval: ts_serval_1.buildInformation,
|
|
@@ -36209,12 +36209,8 @@ let GetAttributesForRelationshipUseCase = class GetAttributesForRelationshipUseC
|
|
|
36209
36209
|
}
|
|
36210
36210
|
const peerAddress = relationship.peer.address.toString();
|
|
36211
36211
|
const query = {
|
|
36212
|
-
|
|
36213
|
-
|
|
36214
|
-
{ [`${(0, ts_simple_nameof_1.nameof)((x) => x.content)}.${(0, ts_simple_nameof_1.nameof)((x) => x.owner)}`]: peerAddress },
|
|
36215
|
-
// shareInfo.peer
|
|
36216
|
-
{ [`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`]: peerAddress }
|
|
36217
|
-
]
|
|
36212
|
+
// shareInfo.peer
|
|
36213
|
+
[`${(0, ts_simple_nameof_1.nameof)((x) => x.shareInfo)}.${(0, ts_simple_nameof_1.nameof)((x) => x.peer)}`]: peerAddress
|
|
36218
36214
|
};
|
|
36219
36215
|
const attributes = await this.attributesController.getLocalAttributes(query, request.hideTechnical);
|
|
36220
36216
|
return ts_utils_1.Result.ok(consumption_2.AttributeMapper.toAttributeDTOList(attributes));
|