refactor: major package updates

This commit is contained in:
鲁树人 committed 2025-10-16 01:00:38 +09:00
1 parent 2e52c67533
commit a11caaae92
34 files changed
+373 -240

No files matched your search

+3 -3
View File
@@ -18,18 +18,18 @@ export class KuwoMusicDecipher implements DecipherInstance {
for (const [block, offset] of chunkBuffer(audioBuffer)) {
kwm.decrypt(block, offset);
}
return {
return Promise.resolve({
status: Status.OK,
cipherName: this.cipherName,
data: audioBuffer,
};
});
} finally {
kwm?.free();
header?.free();
}
}
public static make() {
public static make(this: void) {
return new KuwoMusicDecipher();
}
}