feat(server): adapt doc loader for server native (#9942)

This commit is contained in:
darkskygit committed 2025-02-26 08:05:20 +00:00
1 parent e1fd8f5d80
commit d25b216311
17 files changed
+121 -55

No files matched your search

+2
View File
@@ -18,4 +18,6 @@ export declare function mergeUpdatesInApplyWay(updates: Array<Buffer>): Buffer
export declare function mintChallengeResponse(resource: string, bits?: number | undefined | null): Promise<string>
export declare function parseDoc(filePath: string, doc: Buffer): Promise<{ name: string, chunks: Array<{index: number, content: string}> }>
export declare function verifyChallengeResponse(response: string, bits: number, resource: string): Promise<boolean>