From 75a904b9864a9988e612a8e907f483ba1de98cf9 Mon Sep 17 00:00:00 2001 From: saltyaom Date: Mon, 8 Jan 2024 02:35:53 +0700 Subject: [PATCH] :wrench: fix: reduce bundlesize leftover from scalar api reference fr this time --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/index.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f190dd9..e46e295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.8.3 - 8 Jan 2023 +Bug fix: +- Using local Scalar API reference instead of leftover one (oppsie 👉👈) + # 0.8.2 - 8 Jan 2023 Improvement: - Extract type inference to reduce bundle-size diff --git a/package.json b/package.json index 9ba6e02..d5f1d43 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@elysiajs/swagger", - "version": "0.8.2", + "version": "0.8.3", "description": "Plugin for Elysia to auto-generate Swagger page", "author": { "name": "saltyAom", diff --git a/src/index.ts b/src/index.ts index c9f53cf..20d480c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ import { ScalarRender } from './scalar' import { filterPaths, registerSchemaPath } from './utils' import type { OpenAPIV3 } from 'openapi-types' -import type { ReferenceConfiguration } from '@scalar/api-reference' +import type { ReferenceConfiguration } from './scalar/types' import type { ElysiaSwaggerConfig } from './types' /**