@openclaw/nextcloud-talk 2026.6.10-beta.2 → 2026.6.11-beta.2
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/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nextcloudTalkPlugin } from "./channel-
|
|
1
|
+
import { t as nextcloudTalkPlugin } from "./channel-Ue-gORdw.js";
|
|
2
2
|
export { nextcloudTalkPlugin };
|
|
@@ -1207,6 +1207,10 @@ const NextcloudTalkWebhookPayloadSchema = z.object({
|
|
|
1207
1207
|
name: z.string()
|
|
1208
1208
|
})
|
|
1209
1209
|
});
|
|
1210
|
+
const NextcloudTalkWebhookEnvelopeSchema = z.object({
|
|
1211
|
+
type: z.string().min(1),
|
|
1212
|
+
object: z.object({ type: z.string().min(1).optional() }).passthrough().optional()
|
|
1213
|
+
});
|
|
1210
1214
|
const WEBHOOK_ERRORS = {
|
|
1211
1215
|
missingSignatureHeaders: "Missing signature headers",
|
|
1212
1216
|
invalidBackend: "Invalid backend",
|
|
@@ -1297,12 +1301,18 @@ function verifyWebhookSignature(params) {
|
|
|
1297
1301
|
return true;
|
|
1298
1302
|
}
|
|
1299
1303
|
function decodeWebhookCreateMessage(params) {
|
|
1304
|
+
const envelope = safeParseJsonWithSchema(NextcloudTalkWebhookEnvelopeSchema, params.body);
|
|
1305
|
+
if (!envelope) {
|
|
1306
|
+
writeWebhookError(params.res, 400, WEBHOOK_ERRORS.invalidPayloadFormat);
|
|
1307
|
+
return { kind: "invalid" };
|
|
1308
|
+
}
|
|
1309
|
+
if (envelope.type !== "Create") return { kind: "ignore" };
|
|
1310
|
+
if (envelope.object?.type && envelope.object.type !== "Note") return { kind: "ignore" };
|
|
1300
1311
|
const payload = parseWebhookPayload(params.body);
|
|
1301
1312
|
if (!payload) {
|
|
1302
1313
|
writeWebhookError(params.res, 400, WEBHOOK_ERRORS.invalidPayloadFormat);
|
|
1303
1314
|
return { kind: "invalid" };
|
|
1304
1315
|
}
|
|
1305
|
-
if (payload.type !== "Create") return { kind: "ignore" };
|
|
1306
1316
|
return {
|
|
1307
1317
|
kind: "message",
|
|
1308
1318
|
message: payloadToInboundMessage(payload)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as nextcloudTalkPlugin } from "./channel-
|
|
1
|
+
import { t as nextcloudTalkPlugin } from "./channel-Ue-gORdw.js";
|
|
2
2
|
export { nextcloudTalkPlugin };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/nextcloud-talk",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.11-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/nextcloud-talk",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.11-beta.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"zod": "4.4.3"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"openclaw": ">=2026.6.
|
|
14
|
+
"openclaw": ">=2026.6.11-beta.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependenciesMeta": {
|
|
17
17
|
"openclaw": {
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/nextcloud-talk",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.11-beta.2",
|
|
4
4
|
"description": "OpenClaw Nextcloud Talk channel plugin for conversations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"openclaw": ">=2026.6.
|
|
11
|
+
"openclaw": ">=2026.6.11-beta.2"
|
|
12
12
|
},
|
|
13
13
|
"peerDependenciesMeta": {
|
|
14
14
|
"openclaw": {
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"minHostVersion": ">=2026.4.10"
|
|
41
41
|
},
|
|
42
42
|
"compat": {
|
|
43
|
-
"pluginApi": ">=2026.6.
|
|
43
|
+
"pluginApi": ">=2026.6.11-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"build": {
|
|
46
|
-
"openclawVersion": "2026.6.
|
|
46
|
+
"openclawVersion": "2026.6.11-beta.2"
|
|
47
47
|
},
|
|
48
48
|
"release": {
|
|
49
49
|
"publishToClawHub": true,
|