Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/* Metro module 1023; source: unknown; dependencies: [826] */
|
||||
function _fun10677(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10677, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1150:6, offset: 0x00d935b7, size: 76 bytes, params: 8, frame: 16
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.DEFAULT_BREADCRUMB_LEVEL = 'info';
|
||||
exports.breadcrumbFromObject = breadcrumbFromObject;
|
||||
}
|
||||
|
||||
function breadcrumbFromObject(a0) { // fn#10678, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1150:149, offset: 0x00d93603, size: 279 bytes, params: 2, frame: 14
|
||||
var value;
|
||||
var Date;
|
||||
const object2 = {};
|
||||
if (typeof a0.type === 'string') {
|
||||
object2.type = a0.type;
|
||||
}
|
||||
if (typeof a0.level === 'string') {
|
||||
value = require(826) /* metro dependency 826 */;
|
||||
object2.level = value.severityLevelFromString(a0.level);
|
||||
}
|
||||
if (typeof a0.event_id === 'string') {
|
||||
object2.event_id = a0.event_id;
|
||||
}
|
||||
if (typeof a0.category === 'string') {
|
||||
object2.category = a0.category;
|
||||
}
|
||||
if (typeof a0.message === 'string') {
|
||||
object2.message = a0.message;
|
||||
}
|
||||
if (typeof a0.data === 'object' && a0.data !== null) {
|
||||
object2.data = a0.data;
|
||||
}
|
||||
if (typeof a0.timestamp === 'string') {
|
||||
Date = global.Date;
|
||||
value = Date.parse(a0.timestamp);
|
||||
value /= 1000;
|
||||
if (!global.isNaN(value)) {
|
||||
object2.timestamp = value;
|
||||
}
|
||||
}
|
||||
return object2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user