owebjs 1.4.4 → 1.4.6

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.
@@ -36,7 +36,7 @@ class Oweb extends _FastifyInstance {
36
36
  */
37
37
  async setup() {
38
38
  if (this._options.uWebSocketsEnabled) {
39
- const serverimp = (await import("../uwebsocket/server")).default;
39
+ const serverimp = (await import("../uwebsocket/server.js")).default;
40
40
  const server = await serverimp({});
41
41
  this._options.serverFactory = (handler) => {
42
42
  server.on("request", handler);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owebjs",
3
- "version": "1.4.4",
3
+ "version": "1.4.6",
4
4
  "description": "A flexible and modern web framework built on top of Fastify",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "chalk": "^5.4.1",
46
46
  "fastify": "4.23.2",
47
47
  "path-to-regexp": "^8.2.0",
48
- "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.49.0"
48
+ "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@fastify/multipart": "^8.1.0",