Skip to content

Commit

Permalink
chore: small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
shontzu-deriv committed May 15, 2024
1 parent 7430198 commit f49021e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as PromiseUtils from "./promise.utils";
import * as URLUtils from "./url.utils";
import * as WebSocketUtils from "./websocket.utils";
import * as BrandUtils from "./brand.utils";
import * as mobileOSDetectAsync from "./mobileOSDetectAsync.utils";
import * as MobileOSDetectAsync from "./mobileOSDetectAsync.utils";

export {
ImageUtils,
Expand All @@ -17,5 +17,5 @@ export {
URLUtils,
WebSocketUtils,
BrandUtils,
mobileOSDetectAsync,
MobileOSDetectAsync,
};
4 changes: 1 addition & 3 deletions src/utils/mobileOSDetectAsync.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ type HighEntropyValues = {
};

/**
* This function validates Huawei device codes from a string.
* It checks if the input string contains any of the valid Huawei device codes.
*
* @param {string} inputString - The string to check for Huawei device codes.
Expand All @@ -55,8 +54,7 @@ function validateHuaweiCodes(inputString: string) {
}

/**
* This function detects the mobile operating system asynchronously.
* It uses the User-Agent string and the User-Agent Client Hints API to determine the OS.
* It uses the User-Agent string and the User-Agent Client Hints API to detects the mobile operating system asynchronously.
*
* @returns {Promise<string>} Returns a promise that resolves to the name of the detected mobile OS.
*/
Expand Down

0 comments on commit f49021e

Please sign in to comment.