Add externalVersion and refine API types

Add externalVersion boolean to LoginInitConfig and pass false at initialization; bump appid qua for 9.9.27 entry. Refine several IPC/wrapper typings to use Promise return types, adjust pathIsReadableAndWriteable signature to accept a type and return Promise<number>, and update NodeIKernelNodeMiscService method signatures (styling) while adding getQimei36WithNewSdk(). These changes improve type accuracy for async/native calls and add a new SDK helper.
This commit is contained in:
手瓜一十雪 committed 2026-02-03 15:59:31 +08:00
1 parent 029feaa51a
commit 2fcc5c74d3
5 files changed
+14 -10

No files matched your search

+3 -3
View File
@@ -87,9 +87,9 @@ export interface NodeQQNTWrapperUtil {
fullWordToHalfWord (word: string): unknown;
getNTUserDataInfoConfig (): unknown;
getNTUserDataInfoConfig (): Promise<string>;
pathIsReadableAndWriteable (path: string): unknown; // 直接的猜测
pathIsReadableAndWriteable (path: string, type: number): Promise<number>; // type 2 , result 0 成功
resetUserDataSavePathToDocument (): unknown;
@@ -158,7 +158,7 @@ export interface NodeIQQNTStartupSessionWrapper {
stop (): void;
start (): void;
createWithModuleList (uk: unknown): unknown;
getSessionIdList (): unknown;
getSessionIdList (): Promise<Map<unknown, unknown>>;
}
export interface NodeIQQNTWrapperSession {
getNTWrapperSession (str: string): NodeIQQNTWrapperSession;