@openinc/parse-server-opendash 3.9.3 → 3.9.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.
@@ -227,6 +227,8 @@ async function getMessages(ticket) {
227
227
  const messages = [];
228
228
  const todos = [];
229
229
  for (const msg of allMessages) {
230
+ if (!msg.data)
231
+ continue;
230
232
  if (msg.data.type !== "todo") {
231
233
  messages.push(msg);
232
234
  continue;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "3.9.3",
3
+ "version": "3.9.5",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
- "packageManager": "pnpm@10.12.4",
5
+ "packageManager": "pnpm@10.13.1",
6
6
  "keywords": [
7
7
  "parse",
8
8
  "opendash"
@@ -61,7 +61,6 @@
61
61
  "dependencies": {
62
62
  "@breejs/later": "^4.2.0",
63
63
  "@breejs/ts-worker": "^2.0.0",
64
- "@ladjs/graceful": "^4.2.0",
65
64
  "@openinc/parse-server-schema": "^1.7.12",
66
65
  "@opentelemetry/api-logs": "^0.202.0",
67
66
  "@opentelemetry/auto-instrumentations-node": "^0.60.1",
@@ -97,7 +96,7 @@
97
96
  "@semantic-release/npm": "^12.0.2",
98
97
  "@semantic-release/release-notes-generator": "^14.0.3",
99
98
  "@types/jsonwebtoken": "^9.0.10",
100
- "@types/node": "^24.0.8",
99
+ "@types/node": "^24.0.10",
101
100
  "@types/nodemailer": "^6.4.17",
102
101
  "@types/nunjucks": "^3.2.6",
103
102
  "@types/parse": "^3.0.9",
@@ -20,26 +20,33 @@
20
20
  },
21
21
  "classLevelPermissions": {
22
22
  "find": {
23
- "requiresAuthentication": true
23
+ "requiresAuthentication": true,
24
+ "role:od-admin": true
24
25
  },
25
26
  "count": {
26
- "requiresAuthentication": true
27
+ "requiresAuthentication": true,
28
+ "role:od-admin": true
27
29
  },
28
30
  "get": {
29
- "requiresAuthentication": true
31
+ "requiresAuthentication": true,
32
+ "role:od-admin": true
30
33
  },
31
34
  "create": {
32
- "requiresAuthentication": true
35
+ "role:od-admin": true
33
36
  },
34
37
  "update": {
35
- "requiresAuthentication": true
38
+ "requiresAuthentication": true,
39
+ "role:od-admin": true
36
40
  },
37
41
  "delete": {
38
- "requiresAuthentication": true
42
+ "requiresAuthentication": true,
43
+ "role:od-admin": true
44
+ },
45
+ "addField": {
46
+ "role:od-admin": true
39
47
  },
40
- "addField": {},
41
48
  "protectedFields": {
42
49
  "*": []
43
50
  }
44
51
  }
45
- }
52
+ }