decord/source/modules/rpc/native/SocialRpcNetworkConfigManager.tsx

42 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 16586
// Function ID: 129388
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-25 08:10:48 +00:00
// Dependencies: [7, 6, 15, 17, 18, 27, 1922, 1194, 675, 507, 477, 5078, 2]
2026-07-20 16:05:17 +00:00
2026-07-27 11:26:19 +00:00
// Module 16586 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_4 from "_isNativeReflectConstruct";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import { NativeModules } from "get ActivityIndicator";
import closure_9 from "_isNativeReflectConstruct";
import closure_10 from "_isNativeReflectConstruct";
import tmp2 from "AutomaticLifecycleManager";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
function updateSocialRpcNetworkConfig() {
2026-07-23 10:11:24 +00:00
let obj = { "X-Super-Properties": importDefault(675).getSuperPropertiesBase64(), "X-Fingerprint": store.getFingerprint(), "X-Installation-ID": store.getInstallationForTracking(), "X-Discord-Locale": locale.locale };
2026-07-20 16:05:17 +00:00
const NativeCacheModule = NativeModules.NativeCacheModule;
if (null != NativeCacheModule) {
const _JSON = JSON;
2026-07-23 10:11:24 +00:00
obj = { apiBaseUrl: require(507) /* _isNativeReflectConstruct */.getAPIBaseURL() };
2026-07-20 16:05:17 +00:00
obj.headers = obj;
const result = NativeCacheModule.setItem("socialRpcNetworkRequest", JSON.stringify(obj));
2026-07-23 10:11:24 +00:00
const obj4 = require(507) /* _isNativeReflectConstruct */;
2026-07-20 16:05:17 +00:00
}
}
tmp2 = new tmp2();
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/rpc/native/SocialRpcNetworkConfigManager.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;