decord/alpha/source/utils/native/ClientInfoUtils.tsx

25 lines
747 B
TypeScript
Raw Normal View History

// Module ID: 1363
// Function ID: 1364
// Name: ClientInfoUtils
// Dependencies: [1343, 2]
2026-07-20 16:05:17 +00:00
// Exports: getBuildNumberLabel, getConstants
// Module 1363 (ClientInfoUtils)
import NativeClientInfoModuleDefault from "NativeClientInfoModule" /* 1343 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const result = size.fileFinishedImporting("utils/native/ClientInfoUtils.tsx");
2026-07-20 16:05:17 +00:00
export const getConstants = function getConstants() {
return NativeClientInfoModuleDefault.getConstants();
2026-07-20 16:05:17 +00:00
};
export const getBuildNumberLabel = function getBuildNumberLabel() {
2026-07-23 10:11:24 +00:00
const items = ["0", "123456", "1234567890"];
let str = "6493";
if (items.includes("6493")) {
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
str = "dev (" + "6493" + ")";
2026-07-20 16:05:17 +00:00
}
return str;
};