diff --git a/overwolf.d.ts b/overwolf.d.ts index 778e9f2..2ac7f11 100644 --- a/overwolf.d.ts +++ b/overwolf.d.ts @@ -5808,6 +5808,14 @@ declare namespace overwolf.utils { filePrefix: string; } + interface ClientUpdateResult extends Result { + channel: string; + currentVersion: string; + hasUpdate: boolean; + newVersion: string; + updatesDisabled: boolean; + } + /** * Copies the given string to the clipboard. * @param data The string to be copied to the clipboard. @@ -5992,6 +6000,14 @@ declare namespace overwolf.utils { function getClientInfo( callback: CallbackFunction ): void; + + /** + * Checks whether an Overwolf client update is available. + * @param callback A callback with the result. + */ + function checkForClientUpdates( + callback: CallbackFunction + ): void; } declare namespace overwolf.settings {