DBLSQD Node.js SDK

Feed

class Feed()

Class for interacting with a DBLSQD Feed.

Arguments:
  • baseUrl (string) – Base URL (i. e. https://feeds.dblsqd.com/:app_token)
  • channel (string) – Feed channel (e. g. “release” or “stable”)
  • arch (string) – Feed processor architecture (e. g. “x86_64”)
  • os (string) – Feed operating system (e. g. “win” or “linux”)
  • type (string) – Artifact type
downloadCallback

This callback provides progress information during the download of a release.

downloadRelease()

Downloads a release to a temporary file.

Arguments:
  • version (string) – version number.
  • progressCallback (Feed~downloadCallback) –
Returns:

Promise.<filename>

getReleases()

Returns all releases from the Feed.

Returns:Array.<Object>
getUpdates()

Returns all releases from the Feed that are newer than version.

Arguments:
  • version (string) – current version
Returns:

Array.<Object>

load()

Loads a feed from the server.

Returns:Promise
setUrl()

Sets feed URL. Calling this method overrides the URL created by the constructor.

Arguments:
  • url (string) – Full Feed URL

Index