|
13 | 13 | [](https://www.npmjs.com/package/%40ndriadev/vite-plugin-universal-api) |
14 | 14 | [](https://opensource.org/licenses/MIT) |
15 | 15 |
|
16 | | - |
17 | | - |
18 | | - |
| 16 | + |
| 17 | + |
| 18 | + |
19 | 19 |  |
20 | 20 |
|
21 | 21 | *Built with:* |
@@ -131,7 +131,7 @@ yarn add -D @ndriadev/vite-plugin-universal-api |
131 | 131 | ### Requirements |
132 | 132 |
|
133 | 133 | - **Node.js**: `^16.0.0 || ^18.0.0 || >=20.0.0` |
134 | | -- **Vite**: `^4.0.0 || ^5.0.0 || ^6.0.0 || >=7.0.0` |
| 134 | +- **Vite**: `^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || >=8.0.0` |
135 | 135 |
|
136 | 136 | --- |
137 | 137 |
|
@@ -1192,7 +1192,7 @@ interface UniversalApiRequest extends IncomingMessage { |
1192 | 1192 | /** Uploaded files (multipart/form-data) */ |
1193 | 1193 | files: Array<{ |
1194 | 1194 | name: string; |
1195 | | - content: Buffer; |
| 1195 | + content: Buffer<ArrayBuffer>; |
1196 | 1196 | contentType: string; |
1197 | 1197 | }> | null; |
1198 | 1198 | } |
@@ -1270,7 +1270,7 @@ interface IWebSocketConnection { |
1270 | 1270 | /** |
1271 | 1271 | * Broadcast to all rooms this connection is in |
1272 | 1272 | */ |
1273 | | - broadcastAllRooms(data: any, includeSelf?: boolean): void; |
| 1273 | + broadcastAllRooms(data: any, includeSelf: boolean): void; |
1274 | 1274 |
|
1275 | 1275 | /** |
1276 | 1276 | * Join a room |
|
0 commit comments