@openclaw/zalo 2026.5.12-beta.8 → 2026.5.14-beta.1

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,4 +1,4 @@
1
- import { t as zaloPlugin } from "./channel-CoWHeuWX.js";
1
+ import { t as zaloPlugin } from "./channel-Cm5LsFn-.js";
2
2
  import { n as zaloDmPolicy, r as zaloSetupAdapter, t as createZaloSetupWizardProxy } from "./setup-core-B-97bdBF.js";
3
3
  import { n as resolveZaloRuntimeGroupPolicy } from "./group-access-B_fAqJAN.js";
4
4
  import { zaloSetupWizard } from "./setup-api.js";
@@ -174,7 +174,7 @@ function normalizeZaloMessagingTarget(raw) {
174
174
  if (!trimmed) return;
175
175
  return trimmed.replace(/^(zalo|zl):/i, "").trim();
176
176
  }
177
- const loadZaloChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-Cvycoekh.js"));
177
+ const loadZaloChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-4Hdh_1my.js"));
178
178
  const zaloSetupWizard = createZaloSetupWizardProxy(async () => (await import("./setup-surface-Cs4_XZXk.js")).zaloSetupWizard);
179
179
  const zaloTextChunkLimit = 2e3;
180
180
  const zaloRawSendResultAdapter = createRawChannelSendResultAdapter({
@@ -1,2 +1,2 @@
1
- import { t as zaloPlugin } from "./channel-CoWHeuWX.js";
1
+ import { t as zaloPlugin } from "./channel-Cm5LsFn-.js";
2
2
  export { zaloPlugin };
@@ -87,7 +87,7 @@ async function startZaloGatewayAccount(ctx) {
87
87
  setStatus: ctx.setStatus
88
88
  });
89
89
  ctx.log?.info(`[${account.accountId}] starting provider${zaloBotLabel} mode=${mode}`);
90
- const { monitorZaloProvider } = await import("./monitor-DaJVBJGD.js");
90
+ const { monitorZaloProvider } = await import("./monitor-DcrZwSax.js");
91
91
  return monitorZaloProvider({
92
92
  token,
93
93
  account,
@@ -377,11 +377,10 @@ async function handleImageMessage(params) {
377
377
  let mediaType;
378
378
  if (photo_url) try {
379
379
  const maxBytes = mediaMaxMb * 1024 * 1024;
380
- const fetched = await core.channel.media.fetchRemoteMedia({
380
+ const saved = await core.channel.media.saveRemoteMedia({
381
381
  url: photo_url,
382
382
  maxBytes
383
383
  });
384
- const saved = await core.channel.media.saveMediaBuffer(fetched.buffer, fetched.contentType, "inbound", maxBytes);
385
384
  mediaPath = saved.path;
386
385
  mediaType = saved.contentType;
387
386
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/zalo",
3
- "version": "2026.5.12-beta.8",
3
+ "version": "2026.5.14-beta.1",
4
4
  "description": "OpenClaw Zalo channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,7 +12,7 @@
12
12
  "openclaw": "workspace:*"
13
13
  },
14
14
  "peerDependencies": {
15
- "openclaw": ">=2026.5.12-beta.8"
15
+ "openclaw": ">=2026.5.14-beta.1"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "openclaw": {
@@ -43,10 +43,10 @@
43
43
  "minHostVersion": ">=2026.4.10"
44
44
  },
45
45
  "compat": {
46
- "pluginApi": ">=2026.5.12-beta.8"
46
+ "pluginApi": ">=2026.5.14-beta.1"
47
47
  },
48
48
  "build": {
49
- "openclawVersion": "2026.5.12-beta.8"
49
+ "openclawVersion": "2026.5.14-beta.1"
50
50
  },
51
51
  "release": {
52
52
  "publishToClawHub": true,