@wvb/bridge
WebView bridge
Use @wvb/bridge in your project and browse its exported API.
Installation
Add the package to your project's dependencies:
npm install @wvb/bridgeClasses
Functions
Interfaces
BridgeErrorData
Bridge error data that respond from native.
BundleSourceVersion
Bundle version with the source that provides it.
BundleUpdate
One bundle an update offers.
InvokeParams
ManifestBundleItem
One version of one bundle, as the manifest records it.
ManifestPruneResult
ManifestRemoveData
The versions to remove from one bundle.
ManifestRemoveResult
ManifestSetCurrentVersionResult
ManifestStageData
The version to stage, and what the manifest should record for it.
ManifestStageResult
ManifestVersionData
What the manifest records for one version of a bundle.
RemoteApi
RemoteGetUpdateOptions
RemoteUpdateResponse
SourceApi
SourceListItem
List item of bundles.
Update
The update document the remote server serves.
UpdaterApi
UpdaterDownloadOptions
UpdaterDownloadResult
UpdaterGetUpdateOptions
UpdaterInstallResult
UpdaterInstallTarget
UpdaterRollbackResult
UpdaterRollbackTarget
UpdateSignature
The signature the server sent for an update, parsed from the wvb-signature header.
Type Aliases
ManifestBundleItemStatus
Where a version stands in its bundle's lifecycle.
ManifestRemoveResultKind
ManifestSetCurrentVersionResultKind
ManifestStageResultKind
PlatformType
SourceKind
UpdaterDownloadResultKind
The outcome of downloading one bundle.
UpdaterInstallResultKind
The outcome of installing one staged bundle.
UpdaterRollbackResultKind
The outcome of rolling one bundle back to its previous version.