checkForUpdates

Check server for namespaces with updates available to download.

  • Signature: checkForUpdates(client: Client): Promise<Array<{ Namespace: string; Updates: number }>>

  • Module: @olenbetong/appframe-updater

Parameters

  • client: Appframe data Client instance.

Behavior

  • Posts to /api/ob-deploy/checkForUpdates and returns a compact list of namespaces where updates are pending.

Returns

  • Array of { Namespace, Updates } objects.

Errors

  • Throws on HTTP errors or when the response contains an error field.

Example

Last updated

Was this helpful?