asynchronous
versionAndWait

Description

Send a request to get the current version of the installed extension


Usage

await sdk.async.versionAndWait();

Response

request: BaseRequest;
// request structure will vary depending on the type of the request
response: BaseResponse;
// response structure will vary depending on the type of the request
createdAt: number; // unix;
resolvedAt: number; // unix;

Example

let { request, response, createdAt, resolvedAt } = await sdk.async.versionAndWait();
 
console.log(request, response, createdAt, resolvedAt);