@theokit/gateway-line 0.7.1 → 0.7.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/CHANGELOG.md +6 -0
- package/README.md +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ If `botUserId` is unset, the mention guard is disabled (all messages dispatch).
|
|
|
174
174
|
|
|
175
175
|
## Event-type filter (EC-4 absorbed)
|
|
176
176
|
|
|
177
|
-
LINE webhook delivers 9 event types: `message`, `follow`, `unfollow`, `join`, `leave`, `postback`, `beacon`, `accountLink`, `things`. The adapter dispatches **only `message` events of type `text`**. Other event types — including image/audio/video/sticker/location/postback — are filtered before reaching your handler
|
|
177
|
+
LINE webhook delivers 9 event types: `message`, `follow`, `unfollow`, `join`, `leave`, `postback`, `beacon`, `accountLink`, `things`. The adapter dispatches **only `message` events of type `text`**. Other event types — including image/audio/video/sticker/location/postback — are filtered before reaching your handler. No TypeErrors on unexpected events.
|
|
178
178
|
|
|
179
179
|
## Channel-type mapping (D410)
|
|
180
180
|
|
|
@@ -190,15 +190,15 @@ LINE webhook delivers 9 event types: `message`, `follow`, `unfollow`, `join`, `l
|
|
|
190
190
|
|
|
191
191
|
LINE caps text messages at 5000 chars. The adapter splits longer text into surrogate-safe chunks (grapheme-cluster boundaries via `Intl.Segmenter`), each ≤5000 chars. Each chunk is one billable message (Push API after free tier).
|
|
192
192
|
|
|
193
|
-
## What's NOT supported
|
|
193
|
+
## What's NOT supported yet
|
|
194
194
|
|
|
195
195
|
| Feature | Status | Workaround |
|
|
196
196
|
|---|---|---|
|
|
197
|
-
| Flex Message | Deferred
|
|
198
|
-
| Carousel template | Deferred
|
|
197
|
+
| Flex Message | Deferred (D412) | `adapter.getClient().pushMessage(userId, flexMessage)` |
|
|
198
|
+
| Carousel template | Deferred (D412) | Same |
|
|
199
199
|
| Image/audio/video/sticker inbound | Filtered (EC-4) | Read via `event.line.raw` if needed |
|
|
200
|
-
| Quick replies | Deferred
|
|
201
|
-
| Rich menu | Deferred
|
|
200
|
+
| Quick replies | Deferred | — |
|
|
201
|
+
| Rich menu | Deferred | — |
|
|
202
202
|
|
|
203
203
|
## ADRs
|
|
204
204
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theokit/gateway-line",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "LINE Messaging API platform adapter for @theokit/gateway. ADRs D405-D412.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"typescript": "5.9.3",
|
|
60
60
|
"vitest": "^4.1.11",
|
|
61
61
|
"zod": "^4.0.0",
|
|
62
|
-
"@theokit/gateway": "0.
|
|
62
|
+
"@theokit/gateway": "0.27.0"
|
|
63
63
|
},
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public",
|