@openclaw/line 2026.5.31-beta.3 → 2026.6.1-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 +1 -1
- package/dist/{channel-DYPydwSV.js → channel-Dt0_HEcz.js} +2 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-FpOUvxFw.js → channel.runtime-CNymIwoS.js} +1 -1
- package/dist/{monitor-CfWkOzP7.js → monitor-De9o4pM7.js} +8 -1
- package/dist/monitor.runtime-D089PO89.js +2 -0
- package/dist/runtime-api.js +1 -1
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
- package/dist/monitor.runtime-DLo9FpfZ.js +0 -2
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as lineChannelPluginCommon, t as linePlugin } from "./channel-
|
|
1
|
+
import { n as lineChannelPluginCommon, t as linePlugin } from "./channel-Dt0_HEcz.js";
|
|
2
2
|
import { n as lineSetupAdapter, t as lineSetupWizard } from "./setup-surface-CvTRDCEq.js";
|
|
3
3
|
//#region extensions/line/src/channel.setup.ts
|
|
4
4
|
const lineSetupPlugin = {
|
|
@@ -107,7 +107,7 @@ const lineChannelPluginCommon = {
|
|
|
107
107
|
//#endregion
|
|
108
108
|
//#region extensions/line/src/gateway.ts
|
|
109
109
|
const loadLineProbeRuntime$1 = createLazyRuntimeModule(() => import("./probe.runtime-DH_jgr7u.js"));
|
|
110
|
-
const loadLineMonitorRuntime = createLazyRuntimeModule(() => import("./monitor.runtime-
|
|
110
|
+
const loadLineMonitorRuntime = createLazyRuntimeModule(() => import("./monitor.runtime-D089PO89.js"));
|
|
111
111
|
const lineGatewayAdapter = {
|
|
112
112
|
startAccount: async (ctx) => {
|
|
113
113
|
const account = ctx.account;
|
|
@@ -532,7 +532,7 @@ const lineStatusAdapter = createComputedAccountStatusAdapter({
|
|
|
532
532
|
});
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region extensions/line/src/channel.ts
|
|
535
|
-
const loadLineChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
535
|
+
const loadLineChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-CNymIwoS.js"));
|
|
536
536
|
const lineSecurityAdapter = createRestrictSendersChannelSecurity({
|
|
537
537
|
channelKey: "line",
|
|
538
538
|
resolveDmPolicy: (account) => account.config.dmPolicy,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as linePlugin } from "./channel-
|
|
1
|
+
import { t as linePlugin } from "./channel-Dt0_HEcz.js";
|
|
2
2
|
export { linePlugin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { S as pushMessageLine } from "./markdown-to-line-D-1nDsie.js";
|
|
2
|
-
import { t as monitorLineProvider } from "./monitor-
|
|
2
|
+
import { t as monitorLineProvider } from "./monitor-De9o4pM7.js";
|
|
3
3
|
import { t as probeLineBot } from "./probe-CqTNoMdZ.js";
|
|
4
4
|
export { monitorLineProvider, probeLineBot, pushMessageLine };
|
|
@@ -945,7 +945,14 @@ async function handleLineWebhookEvents(events, context) {
|
|
|
945
945
|
firstError ??= err;
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
if (firstError) throw firstError;
|
|
948
|
+
if (firstError) throw toLintErrorObject(firstError, "Non-Error thrown");
|
|
949
|
+
}
|
|
950
|
+
function toLintErrorObject(value, fallbackMessage) {
|
|
951
|
+
if (value instanceof Error) return value;
|
|
952
|
+
if (typeof value === "string") return new Error(value);
|
|
953
|
+
const error = new Error(fallbackMessage, { cause: value });
|
|
954
|
+
if (typeof value === "object" && value !== null || typeof value === "function") Object.assign(error, value);
|
|
955
|
+
return error;
|
|
949
956
|
}
|
|
950
957
|
//#endregion
|
|
951
958
|
//#region extensions/line/src/bot.ts
|
package/dist/runtime-api.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as resolveLineGroupsConfig, a as createMediaPlayerCard, d as setLineR
|
|
|
3
3
|
import { n as createEventCard, r as createReceiptCard, t as createAgendaCard } from "./schedule-cards-Bq74H30B.js";
|
|
4
4
|
import { a as createListCard, i as createInfoCard, n as createCarousel, o as createNotificationBubble, r as createImageCard, t as createActionCard } from "./basic-cards-B1eTkw-f.js";
|
|
5
5
|
import { A as buildTemplateMessageFromPayload, B as createYesNoConfirm, C as pushMessagesLine, D as sendMessageLine, E as replyMessageLine, F as createImageCarousel, G as toFlexMessage, H as messageAction, I as createImageCarouselColumn, L as createLinkMenu, M as createButtonTemplate, N as createCarouselColumn, O as showLoadingAnimation, P as createConfirmTemplate, R as createProductCarousel, S as pushMessageLine, T as pushTextMessageWithQuickReplies, U as postbackAction, V as datetimePickerAction, W as uriAction, _ as getUserDisplayName, a as extractLinks, b as pushImageMessage, c as processLineMessage, d as createFlexMessage, f as createImageMessage, g as createVideoMessage, h as createTextMessageWithQuickReplies, i as extractCodeBlocks, j as createButtonMenu, k as resolveLineChannelAccessToken, l as stripMarkdown, m as createQuickReplyItems, n as convertLinksToFlexBubble, o as extractMarkdownTables, p as createLocationMessage, r as convertTableToFlexBubble, s as hasMarkdownToConvert, t as convertCodeBlockToFlexBubble, u as createAudioMessage, v as getUserProfile, w as pushTemplateMessage, x as pushLocationMessage, y as pushFlexMessage, z as createTemplateCarousel } from "./markdown-to-line-D-1nDsie.js";
|
|
6
|
-
import { a as validateLineSignature, c as normalizeAllowFrom, i as parseLineWebhookBody, n as createLineNodeWebhookHandler, o as downloadLineMedia, r as readLineWebhookRequestBody, s as firstDefined, t as monitorLineProvider } from "./monitor-
|
|
6
|
+
import { a as validateLineSignature, c as normalizeAllowFrom, i as parseLineWebhookBody, n as createLineNodeWebhookHandler, o as downloadLineMedia, r as readLineWebhookRequestBody, s as firstDefined, t as monitorLineProvider } from "./monitor-De9o4pM7.js";
|
|
7
7
|
import { t as probeLineBot } from "./probe-CqTNoMdZ.js";
|
|
8
8
|
import { clearAccountEntryFields } from "openclaw/plugin-sdk/core";
|
|
9
9
|
import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/line",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.6.1-beta.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/line",
|
|
9
|
-
"version": "2026.
|
|
9
|
+
"version": "2026.6.1-beta.1",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@line/bot-sdk": "11.0.1",
|
|
12
12
|
"zod": "4.4.3"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.
|
|
15
|
+
"openclaw": ">=2026.6.1-beta.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/line",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.6.1-beta.1",
|
|
4
4
|
"description": "OpenClaw LINE channel plugin for LINE Bot API chats.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"zod": "4.4.3"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.
|
|
15
|
+
"openclaw": ">=2026.6.1-beta.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"minHostVersion": ">=2026.4.10"
|
|
43
43
|
},
|
|
44
44
|
"compat": {
|
|
45
|
-
"pluginApi": ">=2026.
|
|
45
|
+
"pluginApi": ">=2026.6.1-beta.1"
|
|
46
46
|
},
|
|
47
47
|
"build": {
|
|
48
|
-
"openclawVersion": "2026.
|
|
48
|
+
"openclawVersion": "2026.6.1-beta.1"
|
|
49
49
|
},
|
|
50
50
|
"release": {
|
|
51
51
|
"publishToClawHub": true,
|