Comparing version 1.2.0-exp.47 to 1.2.0-exp.48
@@ -539,3 +539,3 @@ "use strict"; | ||
const adapter = this["~adapter"].handler; | ||
const staticHandler = typeof handle !== "function" ? adapter.createStaticHandler(handle, hooks, this.setHeaders) : void 0; | ||
const staticHandler = typeof handle !== "function" && typeof adapter.createStaticHandler === "function" ? adapter.createStaticHandler(handle, hooks, this.setHeaders) : void 0; | ||
const nativeStaticHandler = typeof handle !== "function" ? adapter.createNativeStaticHandler?.( | ||
@@ -555,3 +555,3 @@ handle, | ||
validator, | ||
handler: handle, | ||
handler: typeof handle !== "function" && typeof adapter.createStaticHandler !== "function" ? () => handle : handle, | ||
allowMeta, | ||
@@ -1899,2 +1899,4 @@ inference, | ||
} | ||
if (typeof this.server?.reload === "function") | ||
this.server.reload(this.server || {}); | ||
this._handle = (0, import_compose.composeGeneralHandler)(this); | ||
@@ -1901,0 +1903,0 @@ return this; |
{ | ||
"name": "elysia", | ||
"description": "Ergonomic Framework for Human", | ||
"version": "1.2.0-exp.47", | ||
"version": "1.2.0-exp.48", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "saltyAom", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1747781
27972