@mulmobridge/line 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ async function downloadLineImage(messageId) {
51
51
  // serves the original sender format (PNG, GIF, …). Trust the
52
52
  // Content-Type header so the photo-EXIF hook (#1222 PR-A) can
53
53
  // tell HEIC apart from JPEG and surface the right sidecar.
54
- const mimeType = res.headers.get("content-type")?.split(";")[0].trim() || "image/jpeg";
54
+ const mimeType = res.headers.get("content-type")?.split(";")[0]?.trim() || "image/jpeg";
55
55
  const arrayBuffer = await res.arrayBuffer();
56
56
  return { bytes: Buffer.from(arrayBuffer), mimeType };
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mulmobridge/line",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "LINE bridge for MulmoBridge — connect a LINE bot to MulmoClaude",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "license": "MIT",
23
23
  "author": "Receptron Team",
24
24
  "dependencies": {
25
- "@mulmobridge/client": "^1.0.1",
25
+ "@mulmobridge/client": "^1.0.2",
26
26
  "@mulmobridge/protocol": "^1.0.1",
27
27
  "@mulmobridge/webhook-runtime": "^1.0.3",
28
28
  "dotenv": "^17.0.0",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@types/express": "^5.0.0",
34
34
  "@types/node": "^26.1.2",
35
- "tsx": "^4.23.1",
35
+ "tsx": "^4.23.4",
36
36
  "typescript": "^6.0.3"
37
37
  },
38
38
  "homepage": "https://github.com/receptron/mulmoclaude/tree/main/packages/bridges/line#readme",