@cap-js-community/event-queue 2.0.3 → 2.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cap-js-community/event-queue",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -47,30 +47,28 @@
47
47
  "node": ">=18"
48
48
  },
49
49
  "dependencies": {
50
- "@cap-js-community/common": "0.3.2",
51
- "@sap/xssec": "^4.11.0",
52
- "cron-parser": "^5.4.0",
50
+ "@cap-js-community/common": "^0.3.4",
51
+ "@sap/xssec": "^4.12.2",
52
+ "cron-parser": "^5.5.0",
53
53
  "verror": "^1.10.1",
54
- "yaml": "^2.7.1"
54
+ "yaml": "^2.8.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@actions/core": "^1.11.1",
58
- "@cap-js/cds-test": "^0.4.0",
59
- "@cap-js/db-service": "^2.6.0",
60
- "@cap-js/hana": "^2.3.4",
61
- "@cap-js/sqlite": "^2.1.0",
57
+ "@actions/core": "^2.0.2",
58
+ "@cap-js/cds-test": "^0.4.1",
59
+ "@cap-js/db-service": "^2.8.1",
60
+ "@cap-js/hana": "^2.5.1",
61
+ "@cap-js/sqlite": "^2.1.2",
62
62
  "@opentelemetry/api": "^1.9.0",
63
- "@sap/cds": "^9.4.5",
64
- "@sap/cds-dk": "^9.4.2",
65
- "eslint": "^8.57.0",
66
- "eslint-config-prettier": "^9.1.0",
67
- "eslint-plugin-jest": "^28.6.0",
63
+ "@sap/cds": "^9.6.4",
64
+ "@sap/cds-dk": "^9.6.1",
65
+ "eslint": "^8.57.1",
66
+ "eslint-config-prettier": "^10.1.8",
67
+ "eslint-plugin-jest": "^29.12.1",
68
68
  "eslint-plugin-node": "^11.1.0",
69
- "express": "^4.21.2",
70
- "hdb": "^2.26.1",
69
+ "express": "^4.22.1",
71
70
  "jest": "^29.7.0",
72
- "prettier": "^2.8.8",
73
- "sqlite3": "^5.1.7"
71
+ "prettier": "^2.8.8"
74
72
  },
75
73
  "homepage": "https://cap-js-community.github.io/event-queue/",
76
74
  "repository": {
@@ -13,7 +13,7 @@ const COMPONENT_NAME = "/eventQueue/admin";
13
13
  module.exports = class AdminService extends cds.ApplicationService {
14
14
  async init() {
15
15
  const { Event: EventService, Lock: LockService } = this.entities;
16
- const { Event: EventDb } = cds.db.entities("sap.eventqueue");
16
+ const { Event: EventDb } = cds.entities("sap.eventqueue");
17
17
  const { publishEvent } = this.actions;
18
18
 
19
19
  this.before("*", (req) => {