Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions overwolf.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -5992,6 +6000,14 @@ declare namespace overwolf.utils {
function getClientInfo(
callback: CallbackFunction<ClientInfoResult>
): void;

/**
* Checks whether an Overwolf client update is available.
* @param callback A callback with the result.
*/
function checkForClientUpdates(
callback: CallbackFunction<ClientUpdateResult>
): void;
}

declare namespace overwolf.settings {
Expand Down