@openclaw/line 2026.10.5-beta.1 → 2026.10.5-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/node_modules/@line/bot-sdk/node_modules/@types/node/README.md +2 -2
- package/node_modules/@line/bot-sdk/node_modules/@types/node/async_hooks.d.ts +18 -22
- package/node_modules/@line/bot-sdk/node_modules/@types/node/buffer.buffer.d.ts +10 -5
- package/node_modules/@line/bot-sdk/node_modules/@types/node/buffer.d.ts +7 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/child_process.d.ts +5 -1
- package/node_modules/@line/bot-sdk/node_modules/@types/node/crypto.d.ts +114 -47
- package/node_modules/@line/bot-sdk/node_modules/@types/node/dgram.d.ts +119 -4
- package/node_modules/@line/bot-sdk/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@line/bot-sdk/node_modules/@types/node/dns.d.ts +6 -6
- package/node_modules/@line/bot-sdk/node_modules/@types/node/events.d.ts +13 -22
- package/node_modules/@line/bot-sdk/node_modules/@types/node/fs/promises.d.ts +79 -66
- package/node_modules/@line/bot-sdk/node_modules/@types/node/fs.d.ts +153 -90
- package/node_modules/@line/bot-sdk/node_modules/@types/node/http.d.ts +94 -2
- package/node_modules/@line/bot-sdk/node_modules/@types/node/http2.d.ts +65 -18
- package/node_modules/@line/bot-sdk/node_modules/@types/node/inspector.d.ts +47 -1
- package/node_modules/@line/bot-sdk/node_modules/@types/node/inspector.generated.d.ts +167 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/module.d.ts +1 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/net.d.ts +139 -15
- package/node_modules/@line/bot-sdk/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@line/bot-sdk/node_modules/@types/node/package.json +3 -18
- package/node_modules/@line/bot-sdk/node_modules/@types/node/perf_hooks.d.ts +31 -19
- package/node_modules/@line/bot-sdk/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@line/bot-sdk/node_modules/@types/node/sqlite.d.ts +153 -11
- package/node_modules/@line/bot-sdk/node_modules/@types/node/stream/consumers.d.ts +7 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/stream/web.d.ts +19 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/stream.d.ts +2 -1
- package/node_modules/@line/bot-sdk/node_modules/@types/node/test.d.ts +320 -13
- package/node_modules/@line/bot-sdk/node_modules/@types/node/tls.d.ts +50 -15
- package/node_modules/@line/bot-sdk/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +5 -0
- package/node_modules/@line/bot-sdk/node_modules/@types/node/tty.d.ts +4 -3
- package/node_modules/@line/bot-sdk/node_modules/@types/node/url.d.ts +27 -3
- package/node_modules/@line/bot-sdk/node_modules/@types/node/util.d.ts +42 -2
- package/node_modules/@line/bot-sdk/node_modules/@types/node/v8.d.ts +51 -23
- package/node_modules/@line/bot-sdk/node_modules/@types/node/vm.d.ts +52 -87
- package/node_modules/@line/bot-sdk/node_modules/@types/node/zlib.d.ts +23 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/cache-interceptor.d.ts +6 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/client.d.ts +15 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/connector.d.ts +2 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/dispatcher.d.ts +8 -5
- package/node_modules/@line/bot-sdk/node_modules/undici-types/errors.d.ts +17 -1
- package/node_modules/@line/bot-sdk/node_modules/undici-types/index.d.ts +4 -1
- package/node_modules/@line/bot-sdk/node_modules/undici-types/interceptors.d.ts +7 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/package.json +1 -1
- package/node_modules/@line/bot-sdk/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/webidl.d.ts +6 -0
- package/node_modules/@line/bot-sdk/node_modules/undici-types/websocket.d.ts +2 -0
- package/package.json +4 -4
|
@@ -154,8 +154,24 @@ declare namespace Errors {
|
|
|
154
154
|
code: 'UND_ERR_PRX_TLS'
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
class MaxOriginsReachedError extends UndiciError {
|
|
157
|
+
export class MaxOriginsReachedError extends UndiciError {
|
|
158
158
|
name: 'MaxOriginsReachedError'
|
|
159
159
|
code: 'UND_ERR_MAX_ORIGINS_REACHED'
|
|
160
160
|
}
|
|
161
|
+
|
|
162
|
+
/** SOCKS5 proxy related error. */
|
|
163
|
+
export class Socks5ProxyError extends UndiciError {
|
|
164
|
+
constructor (
|
|
165
|
+
message?: string,
|
|
166
|
+
code?: string
|
|
167
|
+
)
|
|
168
|
+
name: 'Socks5ProxyError'
|
|
169
|
+
code: string
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/** WebSocket decompressed message exceeded maximum size. */
|
|
173
|
+
export class MessageSizeExceededError extends UndiciError {
|
|
174
|
+
name: 'MessageSizeExceededError'
|
|
175
|
+
code: 'UND_ERR_WS_MESSAGE_SIZE_EXCEEDED'
|
|
176
|
+
}
|
|
161
177
|
}
|
|
@@ -18,6 +18,7 @@ import { SnapshotAgent } from './snapshot-agent'
|
|
|
18
18
|
import { MockCallHistory, MockCallHistoryLog } from './mock-call-history'
|
|
19
19
|
import mockErrors from './mock-errors'
|
|
20
20
|
import ProxyAgent from './proxy-agent'
|
|
21
|
+
import Socks5ProxyAgent from './socks5-proxy-agent'
|
|
21
22
|
import EnvHttpProxyAgent from './env-http-proxy-agent'
|
|
22
23
|
import RetryHandler from './retry-handler'
|
|
23
24
|
import RetryAgent from './retry-agent'
|
|
@@ -43,7 +44,7 @@ export { Interceptable } from './mock-interceptor'
|
|
|
43
44
|
|
|
44
45
|
declare function globalThisInstall (): void
|
|
45
46
|
|
|
46
|
-
export { Dispatcher, BalancedPool, RoundRobinPool, Pool, Client, buildConnector, errors, Agent, request, stream, pipeline, connect, upgrade, setGlobalDispatcher, getGlobalDispatcher, setGlobalOrigin, getGlobalOrigin, interceptors, cacheStores, MockClient, MockPool, MockAgent, SnapshotAgent, MockCallHistory, MockCallHistoryLog, mockErrors, ProxyAgent, EnvHttpProxyAgent, RedirectHandler, DecoratorHandler, RetryHandler, RetryAgent, H2CClient, globalThisInstall as install }
|
|
47
|
+
export { Dispatcher, BalancedPool, RoundRobinPool, Pool, Client, buildConnector, errors, Agent, request, stream, pipeline, connect, upgrade, setGlobalDispatcher, getGlobalDispatcher, setGlobalOrigin, getGlobalOrigin, interceptors, cacheStores, MockClient, MockPool, MockAgent, SnapshotAgent, MockCallHistory, MockCallHistoryLog, mockErrors, ProxyAgent, Socks5ProxyAgent, EnvHttpProxyAgent, RedirectHandler, DecoratorHandler, RetryHandler, RetryAgent, H2CClient, globalThisInstall as install }
|
|
47
48
|
export default Undici
|
|
48
49
|
|
|
49
50
|
declare namespace Undici {
|
|
@@ -73,6 +74,8 @@ declare namespace Undici {
|
|
|
73
74
|
const MockCallHistory: typeof import('./mock-call-history').MockCallHistory
|
|
74
75
|
const MockCallHistoryLog: typeof import('./mock-call-history').MockCallHistoryLog
|
|
75
76
|
const mockErrors: typeof import('./mock-errors').default
|
|
77
|
+
const ProxyAgent: typeof import('./proxy-agent').default
|
|
78
|
+
const Socks5ProxyAgent: typeof import('./socks5-proxy-agent').default
|
|
76
79
|
const fetch: typeof import('./fetch').fetch
|
|
77
80
|
const Headers: typeof import('./fetch').Headers
|
|
78
81
|
const Response: typeof import('./fetch').Response
|
|
@@ -60,6 +60,13 @@ declare namespace Interceptors {
|
|
|
60
60
|
* @default []
|
|
61
61
|
*/
|
|
62
62
|
excludeHeaderNames?: string[]
|
|
63
|
+
/**
|
|
64
|
+
* Maximum bytes buffered per paused waiting deduplicated handler.
|
|
65
|
+
* If a waiting handler remains paused and exceeds this threshold,
|
|
66
|
+
* it is failed with an abort error to prevent unbounded memory growth.
|
|
67
|
+
* @default 5 * 1024 * 1024
|
|
68
|
+
*/
|
|
69
|
+
maxBufferSize?: number
|
|
63
70
|
}
|
|
64
71
|
|
|
65
72
|
export function dump (opts?: DumpInterceptorOpts): Dispatcher.DispatcherComposeInterceptor
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Dispatcher from './dispatcher'
|
|
2
|
+
import buildConnector from './connector'
|
|
3
|
+
import { IncomingHttpHeaders } from './header'
|
|
4
|
+
import Pool from './pool'
|
|
5
|
+
|
|
6
|
+
export default Socks5ProxyAgent
|
|
7
|
+
|
|
8
|
+
declare class Socks5ProxyAgent extends Dispatcher {
|
|
9
|
+
constructor (proxyUrl: string | URL, options?: Socks5ProxyAgent.Options)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare namespace Socks5ProxyAgent {
|
|
13
|
+
export interface Options extends Pool.Options {
|
|
14
|
+
/** Additional headers to send with the proxy connection */
|
|
15
|
+
headers?: IncomingHttpHeaders;
|
|
16
|
+
/** SOCKS5 proxy username for authentication */
|
|
17
|
+
username?: string;
|
|
18
|
+
/** SOCKS5 proxy password for authentication */
|
|
19
|
+
password?: string;
|
|
20
|
+
/** Custom connector function for proxy connection */
|
|
21
|
+
connect?: buildConnector.connector;
|
|
22
|
+
/** TLS options for the proxy connection (for SOCKS5 over TLS) */
|
|
23
|
+
proxyTls?: buildConnector.BuildOptions;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// These types are not exported, and are only used internally
|
|
2
|
+
import { BufferSource } from 'node:stream/web'
|
|
2
3
|
import * as undici from './index'
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -93,6 +94,11 @@ interface WebidlUtil {
|
|
|
93
94
|
IsResizableArrayBuffer (V: ArrayBufferLike): boolean
|
|
94
95
|
|
|
95
96
|
HasFlag (flag: number, attributes: number): boolean
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @see https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
|
|
100
|
+
*/
|
|
101
|
+
getCopyOfBytesHeldByBufferSource (bufferSource: BufferSource): Uint8Array
|
|
96
102
|
}
|
|
97
103
|
|
|
98
104
|
interface WebidlConverters {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/line",
|
|
3
|
-
"version": "2026.10.5-beta.
|
|
3
|
+
"version": "2026.10.5-beta.2",
|
|
4
4
|
"description": "OpenClaw LINE channel plugin for LINE Bot API chats.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"zod": "4.6.5"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.10.5-beta.
|
|
16
|
+
"openclaw": ">=2026.10.5-beta.2"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"openclaw": {
|
|
@@ -122,10 +122,10 @@
|
|
|
122
122
|
"minHostVersion": ">=2026.4.10"
|
|
123
123
|
},
|
|
124
124
|
"compat": {
|
|
125
|
-
"pluginApi": ">=2026.10.5-beta.
|
|
125
|
+
"pluginApi": ">=2026.10.5-beta.2"
|
|
126
126
|
},
|
|
127
127
|
"build": {
|
|
128
|
-
"openclawVersion": "2026.10.5-beta.
|
|
128
|
+
"openclawVersion": "2026.10.5-beta.2"
|
|
129
129
|
},
|
|
130
130
|
"release": {
|
|
131
131
|
"publishToClawHub": true,
|