decord/source/utils/native/ClientInfoUtils.tsx

25 lines
747 B
TypeScript
Raw Normal View History

// Module ID: 1362
// Function ID: 1363
// Name: ClientInfoUtils
// Dependencies: [1342, 2]
2026-07-20 16:05:17 +00:00
// Exports: getBuildNumberLabel, getConstants
// Module 1362 (ClientInfoUtils)
import NativeClientInfoModuleDefault from "NativeClientInfoModule" /* 1342 */;
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 = "6417";
if (items.includes("6417")) {
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
str = "dev (" + "6417" + ")";
2026-07-20 16:05:17 +00:00
}
return str;
};