Update balena-sdk to 15.x

Update balena-config-json from 4.0.0 to 4.1.0
Update balena-image-manager from 7.0.1 to 7.0.3
Update balena-preload from 10.2.0 to 10.2.4
Update balena-sdk from 14.8.0 to 15.2.1
Update balena-sync from 11.0.0 to 11.0.2

Change-type: patch
This commit is contained in:
Pagan Gazzard
2020-07-31 16:25:48 +01:00
parent 5c8a5165e0
commit e021ad9af6
11 changed files with 341 additions and 445 deletions

View File

@ -183,6 +183,7 @@ export function getAppWithArch(
});
}
// TODO: Drop this. The sdk now has this baked in application.get().
function getApplication(
applicationName: string,
): Promise<ApplicationWithDeviceType> {
@ -207,10 +208,13 @@ function getApplication(
match[1],
match[0],
extraOptions,
);
) as Promise<ApplicationWithDeviceType>;
}
return balena.models.application.get(applicationName, extraOptions);
return balena.models.application.get(
applicationName,
extraOptions,
) as Promise<ApplicationWithDeviceType>;
}
export const delay = promisify(setTimeout);