36 lines
1.9 KiB
JavaScript
36 lines
1.9 KiB
JavaScript
/* Metro module 7439; source: unknown; dependencies: [7371] */
|
|
import * as SDK_VERSIONModule from './module-07371-SDK_VERSION.js'; /* Metro dependency 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 object;
|
|
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) {
|
|
object = {};
|
|
object.name = 'sentry.javascript.' + a1;
|
|
object.packages = r6.map(_fun60043);
|
|
object.version = (require(7371) /* metro dependency 7371 */).SDK_VERSION;
|
|
r1.sdk = object;
|
|
}
|
|
a0._metadata = r1;
|
|
function _fun60043(a0) { // fn#60043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7617:336, offset: 0x00d7229c, size: 83 bytes, params: 2, frame: 16
|
|
const object = {};
|
|
object.name = '' + env0_0 + ':@sentry/' + a0;
|
|
const SDK_VERSION = (SDK_VERSIONModule).SDK_VERSION;
|
|
object.version = SDK_VERSION;
|
|
return object;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun60041, 7439, [7371]) /* metro module 7439, dependencies: [7371] */;
|