@wvb/deno

Installation and API reference for @wvb/deno.

Use @wvb/deno in your project and browse its exported API.

Installation

Add the JSR package to your project:

deno add jsr:@wvb/deno

Download the native library for the platform you run on:

deno run --allow-net --allow-read --allow-write @wvb/deno/install

The library is saved under .wvb/lib. For runtime permissions and packaging, see the Deno Desktop guide.

Classes

Functions

Interfaces

Type Aliases

BundleBuilderOptions

Options for BundleBuilder.build.

BundleHeader

A bundle's header: format metadata read from the first bytes of a .wvb file.

BundleIndex

A bundle index: file path → its IndexEntry metadata.

BundleSourceVersion

Bundle version with the source (builtin/remote) that provides it.

BundleUpdate

One bundle advertised by an update document.

ChecksumReadOptions

How a bundle section's xxHash checksum is verified when that section is read.

ChecksumWriteOptions

The seed an xxHash checksum is written with.

DataReadOptions

How each entry's data is read out of a bundle's data section.

ErrorCode

The stable code every WebviewBundleError carries.

HeaderReadOptions

How a bundle's header is read.

HeaderWriterOptions

How a bundle's header section is written.

HostnameSegment

Which hostname segment names the bundle.

HttpMethod

HTTP method accepted by a protocol handler (case-insensitive on the wire).

HttpOptions

HTTP client options for a remote.

IndexEntry

Metadata for a single file in a bundle's index.

IndexReadOptions

How a bundle's index is read.

IndexWriterOptions

How a bundle's index section is written.

IntegrityAlgorithm

IntegrityPolicy

How a bundle's integrity metadata is treated when the integrity check runs.

ManifestBundleItem

ManifestBundleItemStatus

Where a version stands in its bundle's lifecycle.

ManifestPruneResult

ManifestRemoveData

ManifestRemoveResult

ManifestRemoveResultKind

ManifestSetCurrentVersionResult

ManifestSetCurrentVersionResultKind

ManifestStageData

ManifestStageResult

ManifestStageResultKind

ManifestVersion

The format version of a manifest.json.

ManifestVersionData

What the manifest records for one version of a bundle.

RemoteConfig

@wvb/node's RemoteConfig minus onDownload: Deno FFI cannot call back into JS from the worker thread a nonblocking symbol runs on, so download progress is not…

RemoteUpdateResponse

A successful update response returned by the remote service.

SignatureAlgorithm

Digital signature algorithm for bundle verification.

SignatureKeyFormat

Format of the public key used for signature verification.

SourceConfig

SourceIntegrityCheckMode

Which bundles are checked against the integrity recorded for them in the manifest when they are loaded from disk.

SourceIntegrityOptions

SourceKind

The type of bundle source: builtin or remote.

SourceListItem

SourceOptions

Update

An atomically published set of bundle updates.

UpdaterDownloadOptions

UpdaterDownloadResultKind

The outcome of downloading one bundle.

UpdaterGetUpdateOptions

UpdaterInstallResultKind

The outcome of installing one staged bundle.

UpdaterInstallTarget

UpdaterIntegrityOptions

UpdaterRollbackResultKind

The outcome of rolling one bundle back to its previous version.

UpdaterRollbackTarget

UpdateSignature

Signature metadata returned with an update document.

UriBundleResolver

How the bundle name is resolved from the request uri.

UriPathResolver

How the file path in the bundle is resolved from the request uri.

Version

The .wvb bundle format version.

Variables

On this page