@nmshd/runtime 1.2.10 → 1.2.14

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 (31) hide show
  1. package/dist/buildInformation.js +5 -5
  2. package/dist/dataViews/DataViewExpander.d.ts +7 -4
  3. package/dist/dataViews/DataViewExpander.js +115 -31
  4. package/dist/dataViews/DataViewExpander.js.map +1 -1
  5. package/dist/dataViews/DataViewTranslateable.js +5 -5
  6. package/dist/dataViews/consumption/MatchedAttributesDVO.d.ts +1 -0
  7. package/dist/dataViews/consumption/StoredAttributeDVO.d.ts +1 -0
  8. package/dist/dataViews/content/MailDVOs.d.ts +3 -4
  9. package/dist/dataViews/content/RequestDVOs.d.ts +23 -1
  10. package/dist/dataViews/transport/IdentityDVO.d.ts +4 -2
  11. package/dist/dataViews/transport/MessageDVO.d.ts +62 -6
  12. package/dist/dataViews/transport/MessageDVO.js +12 -4
  13. package/dist/dataViews/transport/MessageDVO.js.map +1 -1
  14. package/dist/dataViews/transport/RelationshipDVO.d.ts +33 -0
  15. package/dist/dataViews/transport/RelationshipDVO.js +6 -0
  16. package/dist/dataViews/transport/RelationshipDVO.js.map +1 -1
  17. package/dist/useCases/common/RuntimeErrors.d.ts +1 -0
  18. package/dist/useCases/common/RuntimeErrors.js +3 -0
  19. package/dist/useCases/common/RuntimeErrors.js.map +1 -1
  20. package/dist/useCases/common/UseCase.d.ts +1 -1
  21. package/dist/useCases/common/UseCase.js +14 -7
  22. package/dist/useCases/common/UseCase.js.map +1 -1
  23. package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js +1 -1
  24. package/dist/useCases/transport/relationshipTemplates/RelationshipTemplateMapper.js.map +1 -1
  25. package/dist/useCases/transport/relationships/RelationshipMapper.js +4 -2
  26. package/dist/useCases/transport/relationships/RelationshipMapper.js.map +1 -1
  27. package/lib-web/nmshd.runtime.js +222 -60
  28. package/lib-web/nmshd.runtime.js.map +1 -1
  29. package/lib-web/nmshd.runtime.min.js +2 -2
  30. package/lib-web/nmshd.runtime.min.js.map +1 -1
  31. package/package.json +16 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmshd/runtime",
3
- "version": "1.2.10",
3
+ "version": "1.2.14",
4
4
  "description": "The Enmeshed client runtime.",
5
5
  "homepage": "https://enmeshed.eu",
6
6
  "license": "MIT",
@@ -28,7 +28,8 @@
28
28
  "lint:eslint": "eslint --ext .ts ./src ./test",
29
29
  "lint:prettier": "prettier --check .",
30
30
  "lint:tsc": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
31
- "test:ci": "jest -i && USE_LOKIJS=true jest -i",
31
+ "test:ci:lokijs": "USE_LOKIJS=true jest -i",
32
+ "test:ci:mongodb": "CONNECTION_STRING='mongodb://127.0.0.1:27017/?readPreference=primary&appname=runtime&ssl=false' jest -i",
32
33
  "test:local": "npm run test:local:mongodb && npm run test:local:lokijs",
33
34
  "test:local:lokijs": "USE_LOKIJS=true jest",
34
35
  "test:local:mongodb": ". scripts/testSetup.sh && jest",
@@ -49,13 +50,14 @@
49
50
  "@js-soft/ts-serval": "1.0.2",
50
51
  "@js-soft/ts-utils": "^1.1.1",
51
52
  "@nmshd/consumption": "1.0.11",
52
- "@nmshd/content": "1.1.2",
53
- "@nmshd/crypto": "1.0.6",
54
- "@nmshd/transport": "1.1.5",
55
- "ajv": "^8.8.2",
53
+ "@nmshd/content": "1.1.3",
54
+ "@nmshd/crypto": "1.0.7",
55
+ "@nmshd/transport": "1.1.6",
56
+ "ajv": "^8.9.0",
56
57
  "ajv-errors": "^3.0.0",
57
58
  "ajv-formats": "^2.1.1",
58
59
  "fluent-ts-validator": "3.0.2",
60
+ "json-stringify-safe": "^5.0.1",
59
61
  "luxon": "^2.3.0",
60
62
  "qrcode": "1.5.0",
61
63
  "reflect-metadata": "0.1.13",
@@ -65,26 +67,27 @@
65
67
  "devDependencies": {
66
68
  "@alex_neo/jest-expect-message": "^1.0.5",
67
69
  "@js-soft/docdb-access-loki": "1.0.2",
68
- "@js-soft/docdb-access-mongo": "1.0.3",
70
+ "@js-soft/docdb-access-mongo": "1.0.4",
69
71
  "@js-soft/eslint-config-ts": "^1.4.2",
70
72
  "@js-soft/license-check": "1.0.3",
71
73
  "@js-soft/node-logger": "1.0.0",
72
74
  "@types/jest": "^27.4.0",
73
75
  "@types/jest-expect-message": "^1.0.3",
74
- "@types/luxon": "^2.0.8",
75
- "@types/node": "^17.0.7",
76
+ "@types/json-stringify-safe": "^5.0.0",
77
+ "@types/luxon": "^2.0.9",
78
+ "@types/node": "^17.0.9",
76
79
  "@types/qrcode": "^1.4.2",
77
80
  "@types/qs": "^6.9.7",
78
- "eslint": "^8.6.0",
79
- "jest": "^27.4.5",
81
+ "eslint": "^8.7.0",
82
+ "jest": "^27.4.7",
80
83
  "madge": "^5.0.1",
81
84
  "nodemon": "^2.0.15",
82
85
  "prettier": "^2.5.1",
83
- "ts-jest": "^27.1.2",
86
+ "ts-jest": "^27.1.3",
84
87
  "ts-json-schema-generator": "^0.97.0",
85
88
  "tsconfig-paths": "^3.12.0",
86
89
  "typescript": "^4.5.4",
87
- "webpack": "^5.65.0",
90
+ "webpack": "^5.66.0",
88
91
  "webpack-cli": "^4.9.1"
89
92
  },
90
93
  "publishConfig": {