@nmshd/app-runtime 2.0.0-beta.2 → 2.0.0-beta.5

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.
Files changed (32) hide show
  1. package/dist/AppRuntime.d.ts +11 -19
  2. package/dist/AppRuntime.js +64 -112
  3. package/dist/AppRuntime.js.map +1 -1
  4. package/dist/AppRuntimeErrors.d.ts +0 -1
  5. package/dist/AppRuntimeErrors.js +0 -3
  6. package/dist/AppRuntimeErrors.js.map +1 -1
  7. package/dist/SessionStorage.d.ts +10 -0
  8. package/dist/SessionStorage.js +31 -0
  9. package/dist/SessionStorage.js.map +1 -0
  10. package/dist/buildInformation.js +5 -5
  11. package/dist/events/index.d.ts +0 -1
  12. package/dist/events/index.js +0 -1
  13. package/dist/events/index.js.map +1 -1
  14. package/dist/modules/appEvents/MailReceivedModule.js +1 -5
  15. package/dist/modules/appEvents/MailReceivedModule.js.map +1 -1
  16. package/dist/modules/appEvents/OnboardingChangeReceivedModule.js +1 -5
  17. package/dist/modules/appEvents/OnboardingChangeReceivedModule.js.map +1 -1
  18. package/dist/modules/appSync/AppSyncModule.js +1 -2
  19. package/dist/modules/appSync/AppSyncModule.js.map +1 -1
  20. package/dist/modules/pushNotifications/PushNotificationModule.d.ts +1 -1
  21. package/dist/modules/pushNotifications/PushNotificationModule.js +18 -34
  22. package/dist/modules/pushNotifications/PushNotificationModule.js.map +1 -1
  23. package/dist/modules/runtimeEvents/MessageReceivedModule.js +2 -10
  24. package/dist/modules/runtimeEvents/MessageReceivedModule.js.map +1 -1
  25. package/dist/modules/runtimeEvents/RelationshipChangedModule.js +10 -13
  26. package/dist/modules/runtimeEvents/RelationshipChangedModule.js.map +1 -1
  27. package/lib-web/nmshd.app-runtime.js +140 -212
  28. package/lib-web/nmshd.app-runtime.min.js +1 -1
  29. package/package.json +3 -4
  30. package/dist/events/RequestReceivedEvent.d.ts +0 -8
  31. package/dist/events/RequestReceivedEvent.js +0 -15
  32. 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-beta.2",
3
+ "version": "2.0.0-beta.5",
4
4
  "description": "The App Runtime",
5
5
  "homepage": "https://enmeshed.eu",
6
6
  "repository": "github:nmshd/cns-app-runtime",
@@ -31,14 +31,13 @@
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
39
  "@js-soft/native-abstractions": "^1.2.0",
41
- "@nmshd/runtime": "2.0.0-beta.10",
40
+ "@nmshd/runtime": "2.0.0-beta.12",
42
41
  "lodash": "^4.17.21"
43
42
  },
44
43
  "devDependencies": {
@@ -50,7 +49,7 @@
50
49
  "@types/lokijs": "^1.5.7",
51
50
  "@types/luxon": "^3.0.0",
52
51
  "@types/mocha": "^9.1.1",
53
- "@types/node": "^18.6.1",
52
+ "@types/node": "^18.6.2",
54
53
  "bt-runner": "^2.0.5",
55
54
  "chai": "^4.3.6",
56
55
  "copy-webpack-plugin": "^11.0.0",
@@ -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"}