elysia-autoload 1.2.0 → 1.2.1

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 +0 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -109,12 +109,6 @@ async function autoload(options = {}) {
109
109
  const url = transformToUrl(filePath);
110
110
  const groupOptions = schema ? schema({ path: filePath, url }) : {};
111
111
  const importedValue = file[importName];
112
- console.log(
113
- importedValue.toString(),
114
- importedValue.length,
115
- typeof importedValue === "function" && !importedValue.length,
116
- importedValue instanceof Elysia
117
- );
118
112
  if (typeof importedValue === "function" && importedValue.length)
119
113
  plugin.group(url, groupOptions, importedValue);
120
114
  if (typeof importedValue === "function" && !importedValue.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elysia-autoload",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "author": "kravetsone",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",