@wvb/deno-desktop
API reference for @wvb/deno-desktop.
Functions
appDataDir
The OS application-data base directory where downloaded bundles persist: macOS ~/Library/Application Support, Windows %APPDATA%, Linux $XDG_DATA_HOME (or ~/.…
bundleProtocol
Serve a builtin bundle (named scheme) at the HTTP root.
bundleSource
dispatch
Run one @wvb/bridge command and return its JSON-serializable result envelope (never throws).
localProtocol
Proxy to a local dev server (hot reload), mapping scheme host → URL.
registerBindings
Register the @wvb/bridge transport on a Deno desktop window: a single wvbInvoke(name, params) binding that dispatches to wvb.
remote
webviewBundle
Interfaces
BridgeErrorData
Error payload returned to @wvb/bridge (becomes a BridgeError there, preserving code).
BundleProtocolConfig
DenoBrowserWindow
A Deno.BrowserWindow (only the binding methods we use; the full type ships with Deno desktop).