getAllVersions(numberOfRetries)

Returns the versions of the SignDoc Browser Capture API and the DeviceConnector server component.

Input parameter

Optional

The type is described in the following list:

  • Number Specifies the number of retries in case a general communication error occurs. The maximum number of retries is 10. Default: 2

Returns

An object as Promise.

The object property name and type are described in the following list:

  • client (string): The version of the SignDoc Browser Capture API.
  • server (string): The version of the DeviceConnector server component. If not available, the returned server version is 'n/a'.

Example

deviceConnector.getAllVersions().then(
    (result) => {
        console.log('SignDoc Browser Capture version: ' + result.client);
        console.log('DeviceConnector server version: ' + result.server);
    }
);