25 lines
1.3 KiB
React
25 lines
1.3 KiB
React
/* Metro module 7439; source: unknown; dependencies: [7371] */
|
|
function _fun60041(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7617:6, offset: 0x016f98e1, size: 66 bytes, params: 8, frame: 16
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.applySdkMetadata = applySdkMetadata_60042;
|
|
}
|
|
|
|
function applySdkMetadata_60042(a0, a1) { // fn#60042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7617:98, offset: 0x016f9923, 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(_fun60043);
|
|
object2.version = (require(7371) /* metro dependency 7371 */).SDK_VERSION;
|
|
r1.sdk = object2;
|
|
}
|
|
a0._metadata = r1;
|
|
}
|
|
|