@wvb/node
Webview bundle API for Node.js
Classes
Bundle
A complete bundle including metadata and file data.
BundleBuilder
Builder for creating bundle files.
BundleDescriptor
Bundle metadata including header and index information.
BundleProtocol
Protocol handler for serving files from bundle sources.
BundleSource
Bundle source for managing multiple bundle versions.
Header
Bundle header containing format metadata.
Index
Bundle index mapping file paths to their metadata.
LoadedDescriptor
A descriptor loaded (and cached) by a BundleSource.
LocalProtocol
Protocol handler that proxies requests to localhost servers.
Remote
HTTP client for downloading bundles from a remote server.
Updater
Bundle updater for managing updates from a remote server.
Functions
readBundle
Reads a bundle from a file asynchronously.
readBundleFromBuffer
Reads a bundle from a buffer synchronously.
writeBundle
Writes a bundle to a file asynchronously.
writeBundleIntoBuffer
Writes a bundle to a buffer synchronously.
Interfaces
BuildHeaderOptions
Options for bundle header generation.
BuildIndexOptions
Options for bundle index generation.
BuildOptions
Options for building a bundle.
BundleManifestData
Complete manifest data structure.
BundleManifestEntry
Entry for a single bundle in the manifest.
BundleManifestMetadata
Metadata for a bundle version in the manifest.
BundleSourceConfig
Configuration for creating a bundle source.
BundleSourceVersion
Bundle version with source kind information.
BundleUpdateInfo
Information about a bundle update.
HttpOptions
HttpResponse
IndexEntry
Metadata for a single file in the bundle.
ListBundleItem
Information about a bundle from list operations.
ListRemoteBundleInfo
Bundle information from list operations.
RemoteBundleInfo
Complete bundle information from remote server.
RemoteOnDownloadData
Download progress data.
RemoteOptions
Options for creating a remote client.
SignatureVerifierOptions
Configuration for signature verification.
SignatureVerifyingKeyOptions
Public key configuration for signature verification.
UpdaterOptions
Configuration options for the updater.
Enumerations
Type Aliases
BundleSourceKind
The type of bundle source: builtin or remote.
HttpMethod
IntegrityAlgorithm
Hash algorithm for bundle integrity verification.
IntegrityPolicy
Policy for enforcing integrity verification during bundle operations.
SignatureAlgorithm
Digital signature algorithm for bundle verification.
VerifyingKeyFormat
Format of the public key used for signature verification.