@nmshd/runtime 2.9.1 → 2.10.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/dist/buildInformation.js +5 -5
- package/dist/useCases/common/QRCode.js +2 -2
- package/dist/useCases/common/Schemas.js +7 -0
- package/dist/useCases/common/Schemas.js.map +1 -1
- package/dist/useCases/consumption/requests/GetIncomingRequests.js.map +1 -1
- package/dist/useCases/consumption/requests/GetOutgoingRequests.js.map +1 -1
- package/dist/useCases/transport/account/RegisterPushNotificationToken.d.ts +1 -0
- package/dist/useCases/transport/account/RegisterPushNotificationToken.js +2 -1
- package/dist/useCases/transport/account/RegisterPushNotificationToken.js.map +1 -1
- package/lib-web/nmshd.runtime.js +580 -233
- package/lib-web/nmshd.runtime.js.map +1 -1
- package/lib-web/nmshd.runtime.min.js +3 -3
- package/lib-web/nmshd.runtime.min.js.map +1 -1
- package/package.json +21 -21
package/dist/buildInformation.js
CHANGED
|
@@ -7,11 +7,11 @@ 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: "2.
|
|
11
|
-
build: "
|
|
12
|
-
date: "2023-11-
|
|
13
|
-
commit: "
|
|
14
|
-
dependencies: {"@js-soft/docdb-querytranslator":"1.1.
|
|
10
|
+
version: "2.10.0",
|
|
11
|
+
build: "175",
|
|
12
|
+
date: "2023-11-20T15:34:30+00:00",
|
|
13
|
+
commit: "b24d6bb0b3751226ba30efc81dad0e9adab6e97f",
|
|
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.4.3","@nmshd/content":"2.7.4","@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,
|
|
17
17
|
consumption: consumption_1.buildInformation,
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.QRCode = void 0;
|
|
27
|
-
const
|
|
27
|
+
const qrcodeLibrary = __importStar(require("qrcode"));
|
|
28
28
|
class QRCode {
|
|
29
29
|
constructor(base64) {
|
|
30
30
|
this.base64 = base64;
|
|
@@ -33,7 +33,7 @@ class QRCode {
|
|
|
33
33
|
return this.base64;
|
|
34
34
|
}
|
|
35
35
|
static async from(content, prefix) {
|
|
36
|
-
const dataUrl = await
|
|
36
|
+
const dataUrl = await qrcodeLibrary.toDataURL(`nmshd://${prefix}#${content}`);
|
|
37
37
|
const base64 = dataUrl.split(",")[1];
|
|
38
38
|
return new QRCode(base64);
|
|
39
39
|
}
|
|
@@ -23503,6 +23503,13 @@ exports.RegisterPushNotificationTokenRequest = {
|
|
|
23503
23503
|
},
|
|
23504
23504
|
"appId": {
|
|
23505
23505
|
"type": "string"
|
|
23506
|
+
},
|
|
23507
|
+
"environment": {
|
|
23508
|
+
"type": "string",
|
|
23509
|
+
"enum": [
|
|
23510
|
+
"Development",
|
|
23511
|
+
"Production"
|
|
23512
|
+
]
|
|
23506
23513
|
}
|
|
23507
23514
|
},
|
|
23508
23515
|
"required": [
|