T
NativePlatformAddons
Loader helpers for verifying and loading installed addons.
type NativePlatformAddons = { … }Members
evaluateBytecode
(folder: string, bytecodeVersion: number): NativeCompiledPlugin | undefinedEvaluates an installed plugin's bundle compiled for this bytecode version, if its digest matches the manifest.
readSource
(folder: string): string | undefinedReads an installed plugin's source, for one the loader handed over without it, if its signature still holds.
verify
(manifest: string, bundle: string): NativeAddonVerificationChecks a manifest's signature against its bundle.