fix: update index.js & index.d.ts

This commit is contained in:
DecDuck
2025-05-26 17:20:03 +10:00
parent 072a1584a0
commit 4ac19b8be0
3 changed files with 4 additions and 2 deletions

View File

@ -310,9 +310,10 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`)
}
const { hasBackendForPath, callAltThreadFunc, generateManifest, generateRootCa, generateClientCertificate, verifyClientCertificate, signNonce, verifyNonce } = nativeBinding
const { hasBackendForPath, listFiles, callAltThreadFunc, generateManifest, generateRootCa, generateClientCertificate, verifyClientCertificate, signNonce, verifyNonce } = nativeBinding
module.exports.hasBackendForPath = hasBackendForPath
module.exports.listFiles = listFiles
module.exports.callAltThreadFunc = callAltThreadFunc
module.exports.generateManifest = generateManifest
module.exports.generateRootCa = generateRootCa