diff --git a/bun.lockb b/bun.lockb index 21dca31..e6799f7 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index d0bc79d..d187a26 100644 --- a/package.json +++ b/package.json @@ -62,15 +62,15 @@ "devDependencies": { "@apidevtools/swagger-parser": "^10.1.0", "@types/bun": "1.1.14", - "elysia": ">= 1.2.0", - "eslint": "9.6.0", - "tsup": "^8.1.0", - "typescript": "^5.5.3" + "elysia": "^1.2.10", + "eslint": "9.17.0", + "tsup": "^8.3.5", + "typescript": "^5.7.2" }, "dependencies": { - "@scalar/themes": "^0.9.52", - "@scalar/types": "^0.0.12", + "@scalar/themes": "^0.9.58", + "@scalar/types": "^0.0.25", "openapi-types": "^12.1.3", - "pathe": "^1.1.2" + "pathe": "^2.0.0" } } \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 621270e..185696e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ import type { ElysiaSwaggerConfig } from './types' * * @see https://github.com/elysiajs/elysia-swagger */ -export const swagger = async ( +export const swagger = ( { provider = 'scalar', scalarVersion = 'latest', @@ -87,7 +87,6 @@ export const swagger = async ( }, ...scalarConfig, // so we can showcase the elysia theme - // @ts-expect-error _integration: 'elysiajs' }