27 lines
1.3 KiB
React
27 lines
1.3 KiB
React
/* Metro module 911; source: unknown; dependencies: [835] */
|
|
function _fun9789(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1038:6, offset: 0x00d72184, size: 78 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.applySdkMetadata = applySdkMetadata;
|
|
}
|
|
|
|
function applySdkMetadata(a0, a1) { // fn#9790, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1038:110, offset: 0x00d721d2, size: 202 bytes, params: 3, frame: 18
|
|
var object2;
|
|
const r6 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [a1];
|
|
const value = 'npm';
|
|
let r1 = arguments.length > 3 ? arguments[3] === undefined ? value : arguments[3] : value;
|
|
r1 = a0._metadata || ({});
|
|
if (!r1.sdk) {
|
|
object2 = {};
|
|
object2.name = 'sentry.javascript.' + a1;
|
|
object2.packages = r6.map(_fun9791);
|
|
object2.version = (require(835) /* metro dependency 835 */).SDK_VERSION;
|
|
r1.sdk = object2;
|
|
}
|
|
a0._metadata = r1;
|
|
}
|
|
|