Class: RemoteWebCache

RemoteWebCache(options)

RemoteWebCache - Fetches a WhatsApp Web version index from a remote server

Constructor

new RemoteWebCache(options)

Parameters:
Name Type Description
options object

options

Properties
Name Type Description
remotePath string

Endpoint that should be used to fetch the version index. Use {version} as a placeholder for the version number.

strict boolean

If true, will throw an error if the requested version can't be fetched. Defaults to true.

integrity Record.<string, {sha256: string, sizeBytes: number}>

Optional immutable artifact manifest.

Source: