@townco/fly 0.1.33 → 0.1.46

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.
@@ -56,6 +56,8 @@ export const createSseClient = ({ onRequest, onSseError, onSseEvent, responseTra
56
56
  if (done)
57
57
  break;
58
58
  buffer += value;
59
+ // Normalize line endings: CRLF -> LF, then CR -> LF
60
+ buffer = buffer.replace(/\r\n/g, '\n').replace(/\r/g, '\n');
59
61
  const chunks = buffer.split('\n\n');
60
62
  buffer = chunks.pop() ?? '';
61
63
  for (const chunk of chunks) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@townco/fly",
3
3
  "type": "module",
4
- "version": "0.1.33",
4
+ "version": "0.1.46",
5
5
  "description": "flyapi",
6
6
  "license": "UNLICENSED",
7
7
  "main": "./dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "devDependencies": {
20
20
  "@biomejs/biome": "^2.3.8",
21
21
  "@hey-api/openapi-ts": "^0.88.0",
22
- "@townco/tsconfig": "0.1.80",
22
+ "@townco/tsconfig": "0.1.93",
23
23
  "@types/node": "^24.10.1",
24
24
  "@typescript/native-preview": "^7.0.0-dev.20251207.1"
25
25
  },
@@ -31,6 +31,6 @@
31
31
  "gen:api": "openapi-ts"
32
32
  },
33
33
  "dependencies": {
34
- "@townco/env": "0.1.33"
34
+ "@townco/env": "0.1.46"
35
35
  }
36
36
  }