feat: 更新版本至 0.0.55,增强类型支持,优化登录缓存相关类

This commit is contained in:
2026-02-21 02:24:07 +08:00
parent 885abd8c46
commit 15fd2d3dc8
5 changed files with 16 additions and 22 deletions

View File

@@ -3,7 +3,7 @@ import { LoginNodeCache, StorageNode } from './login-node-cache.ts';
type QueryLoginNodeOptsWithoutCache = Omit<QueryLoginOpts, 'cache'>;
export { StorageNode }
export const cache = new LoginNodeCache();
export class QueryLoginNode extends QueryLogin {
export class QueryLoginNode extends QueryLogin<LoginNodeCache> {
declare storage: StorageNode;
constructor(opts: QueryLoginNodeOptsWithoutCache) {
const baseURL = opts?.query?.baseURL;