@nmshd/app-runtime 2.0.0-alpha.5 → 2.0.0-beta.10
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/AppRuntime.d.ts +13 -22
- package/dist/AppRuntime.js +68 -122
- package/dist/AppRuntime.js.map +1 -1
- package/dist/AppRuntimeErrors.d.ts +0 -1
- package/dist/AppRuntimeErrors.js +0 -3
- package/dist/AppRuntimeErrors.js.map +1 -1
- package/dist/SessionStorage.d.ts +10 -0
- package/dist/SessionStorage.js +31 -0
- package/dist/SessionStorage.js.map +1 -0
- package/dist/buildInformation.js +5 -5
- package/dist/events/index.d.ts +0 -1
- package/dist/events/index.js +0 -1
- package/dist/events/index.js.map +1 -1
- package/dist/modules/AppRuntimeModule.d.ts +1 -1
- package/dist/modules/AppRuntimeModule.js +4 -6
- package/dist/modules/AppRuntimeModule.js.map +1 -1
- package/dist/modules/appEvents/MailReceivedModule.js +1 -5
- package/dist/modules/appEvents/MailReceivedModule.js.map +1 -1
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.js +1 -5
- package/dist/modules/appEvents/OnboardingChangeReceivedModule.js.map +1 -1
- package/dist/modules/appSync/AppSyncModule.js +1 -2
- package/dist/modules/appSync/AppSyncModule.js.map +1 -1
- package/dist/modules/pushNotifications/PushNotificationModule.d.ts +1 -1
- package/dist/modules/pushNotifications/PushNotificationModule.js +18 -34
- package/dist/modules/pushNotifications/PushNotificationModule.js.map +1 -1
- package/dist/modules/runtimeEvents/MessageReceivedModule.js +2 -10
- package/dist/modules/runtimeEvents/MessageReceivedModule.js.map +1 -1
- package/dist/modules/runtimeEvents/RelationshipChangedModule.js +12 -14
- package/dist/modules/runtimeEvents/RelationshipChangedModule.js.map +1 -1
- package/lib-web/nmshd.app-runtime.js +228 -256
- package/lib-web/nmshd.app-runtime.min.js +1 -1
- package/package.json +15 -16
- package/dist/events/RequestReceivedEvent.d.ts +0 -8
- package/dist/events/RequestReceivedEvent.js +0 -15
- package/dist/events/RequestReceivedEvent.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/app-runtime",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-beta.10",
|
|
4
4
|
"description": "The App Runtime",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-app-runtime",
|
|
@@ -31,38 +31,37 @@
|
|
|
31
31
|
"lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
|
|
32
32
|
"test": "npm run test:node && npm run test:web",
|
|
33
33
|
"test:node": "mocha -r ts-node/register -r tsconfig-paths/register ./test/index.ts --project ./test/tsconfig.json --exit",
|
|
34
|
-
"test:single": "mocha -r ts-node/register -r tsconfig-paths/register ./test/index.single.ts --project ./test/tsconfig.json --exit",
|
|
35
34
|
"test:web": "browsertest-runner",
|
|
36
35
|
"test:web:debug": "browsertest-runner-debug"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
38
|
"@js-soft/docdb-access-loki": "^1.0.3",
|
|
40
|
-
"@js-soft/native-abstractions": "^1.
|
|
41
|
-
"@nmshd/runtime": "2.0.0-
|
|
39
|
+
"@js-soft/native-abstractions": "^1.2.0",
|
|
40
|
+
"@nmshd/runtime": "2.0.0-beta.20",
|
|
42
41
|
"lodash": "^4.17.21"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@js-soft/eslint-config-ts": "^1.
|
|
44
|
+
"@js-soft/eslint-config-ts": "^1.6.0",
|
|
46
45
|
"@js-soft/license-check": "^1.0.4",
|
|
47
|
-
"@js-soft/web-logger": "^1.0.
|
|
48
|
-
"@types/chai": "^4.3.
|
|
49
|
-
"@types/lodash": "^4.14.
|
|
46
|
+
"@js-soft/web-logger": "^1.0.2",
|
|
47
|
+
"@types/chai": "^4.3.3",
|
|
48
|
+
"@types/lodash": "^4.14.184",
|
|
50
49
|
"@types/lokijs": "^1.5.7",
|
|
51
|
-
"@types/luxon": "^
|
|
50
|
+
"@types/luxon": "^3.0.0",
|
|
52
51
|
"@types/mocha": "^9.1.1",
|
|
53
|
-
"@types/node": "^18.
|
|
54
|
-
"bt-runner": "^
|
|
52
|
+
"@types/node": "^18.7.13",
|
|
53
|
+
"bt-runner": "^3.1.0",
|
|
55
54
|
"chai": "^4.3.6",
|
|
56
55
|
"copy-webpack-plugin": "^11.0.0",
|
|
57
|
-
"eslint": "^8.
|
|
56
|
+
"eslint": "^8.22.0",
|
|
58
57
|
"madge": "^5.0.1",
|
|
59
58
|
"mocha": "^10.0.0",
|
|
60
59
|
"prettier": "^2.7.1",
|
|
61
|
-
"terser-webpack-plugin": "5.3.
|
|
62
|
-
"ts-node": "^10.
|
|
63
|
-
"tsconfig-paths": "^4.
|
|
60
|
+
"terser-webpack-plugin": "5.3.5",
|
|
61
|
+
"ts-node": "^10.9.1",
|
|
62
|
+
"tsconfig-paths": "^4.1.0",
|
|
64
63
|
"typescript": "^4.7.4",
|
|
65
|
-
"webpack": "^5.
|
|
64
|
+
"webpack": "^5.74.0",
|
|
66
65
|
"webpack-cli": "^4.10.0"
|
|
67
66
|
},
|
|
68
67
|
"publishConfig": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DataEvent, LocalRequestDVO, RequestMessageDVO } from "@nmshd/runtime";
|
|
2
|
-
export declare class RequestReceivedEvent extends DataEvent<{
|
|
3
|
-
request: LocalRequestDVO;
|
|
4
|
-
message: RequestMessageDVO;
|
|
5
|
-
}> {
|
|
6
|
-
static readonly namespace: string;
|
|
7
|
-
constructor(address: string, request: LocalRequestDVO, message: RequestMessageDVO);
|
|
8
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RequestReceivedEvent = void 0;
|
|
4
|
-
const runtime_1 = require("@nmshd/runtime");
|
|
5
|
-
class RequestReceivedEvent extends runtime_1.DataEvent {
|
|
6
|
-
constructor(address, request, message) {
|
|
7
|
-
super(RequestReceivedEvent.namespace, address, {
|
|
8
|
-
request,
|
|
9
|
-
message
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.RequestReceivedEvent = RequestReceivedEvent;
|
|
14
|
-
RequestReceivedEvent.namespace = "app.requestReceived";
|
|
15
|
-
//# sourceMappingURL=RequestReceivedEvent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestReceivedEvent.js","sourceRoot":"","sources":["../../src/events/RequestReceivedEvent.ts"],"names":[],"mappings":";;;AAAA,4CAA8E;AAE9E,MAAa,oBAAqB,SAAQ,mBAGxC;IAGE,YAAmB,OAAe,EAAE,OAAwB,EAAE,OAA0B;QACpF,KAAK,CAAC,oBAAoB,CAAC,SAAS,EAAE,OAAO,EAAE;YAC3C,OAAO;YACP,OAAO;SACV,CAAC,CAAA;IACN,CAAC;;AAXL,oDAYC;AAR0B,8BAAS,GAAW,qBAAqB,CAAA"}
|