@openclaw/synology-chat 2026.5.28-beta.3 → 2026.5.28-beta.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/dist/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-BxFQ9DgT.js";
1
+ import { n as setSynologyRuntime, t as synologyChatPlugin } from "./channel-QhDg_L89.js";
2
2
  import { t as collectSynologyChatSecurityAuditFindings } from "./security-audit-DIsaxIaB.js";
3
3
  export { collectSynologyChatSecurityAuditFindings, setSynologyRuntime, synologyChatPlugin };
@@ -8,6 +8,7 @@ import { composeWarningCollectors, createConditionalWarningCollector, projectAcc
8
8
  import { createEmptyChannelDirectoryAdapter } from "openclaw/plugin-sdk/directory-runtime";
9
9
  import { normalizeLowercaseStringOrEmpty, normalizeStringEntriesLower } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/account-resolution";
11
+ import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
11
12
  import { createResolvedApproverActionAuthAdapter, resolveApprovalApprovers } from "openclaw/plugin-sdk/approval-auth-runtime";
12
13
  import * as http from "node:http";
13
14
  import * as https from "node:https";
@@ -206,10 +207,7 @@ function buildWebhookBody(payload, userId) {
206
207
  function parseNumericUserId(userId) {
207
208
  if (userId === void 0) return;
208
209
  if (typeof userId === "number") return Number.isSafeInteger(userId) ? userId : void 0;
209
- const trimmed = userId.trim();
210
- if (!/^\d+$/.test(trimmed)) return;
211
- const numericId = Number(trimmed);
212
- return Number.isSafeInteger(numericId) ? numericId : void 0;
210
+ return parseStrictNonNegativeInteger(userId);
213
211
  }
214
212
  function doPost(url, body, allowInsecureSsl = false) {
215
213
  return new Promise((resolve, reject) => {
@@ -1,2 +1,2 @@
1
- import { t as synologyChatPlugin } from "./channel-BxFQ9DgT.js";
1
+ import { t as synologyChatPlugin } from "./channel-QhDg_L89.js";
2
2
  export { synologyChatPlugin };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.28-beta.3",
3
+ "version": "2026.5.28-beta.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/synology-chat",
9
- "version": "2026.5.28-beta.3",
9
+ "version": "2026.5.28-beta.4",
10
10
  "dependencies": {
11
11
  "zod": "4.4.3"
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/synology-chat",
3
- "version": "2026.5.28-beta.3",
3
+ "version": "2026.5.28-beta.4",
4
4
  "description": "Synology Chat channel plugin for OpenClaw channels and direct messages.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,10 +27,10 @@
27
27
  "minHostVersion": ">=2026.4.10"
28
28
  },
29
29
  "compat": {
30
- "pluginApi": ">=2026.5.28-beta.3"
30
+ "pluginApi": ">=2026.5.28-beta.4"
31
31
  },
32
32
  "build": {
33
- "openclawVersion": "2026.5.28-beta.3"
33
+ "openclawVersion": "2026.5.28-beta.4"
34
34
  },
35
35
  "release": {
36
36
  "publishToClawHub": true,
@@ -50,7 +50,7 @@
50
50
  "npm-shrinkwrap.json"
51
51
  ],
52
52
  "peerDependencies": {
53
- "openclaw": ">=2026.5.28-beta.3"
53
+ "openclaw": ">=2026.5.28-beta.4"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "openclaw": {