in src/lib/api/inline.preboot.code.ts [89:105]
export function getEventRecorderCode(): string {
const eventRecorderFunctions: string[] = [];
for (const funcName in eventRecorder) {
if (eventRecorder.hasOwnProperty(funcName)) {
const fn = (<any>eventRecorder)[funcName].toString();
const fnCleaned = fn.replace('common_1.', '');
eventRecorderFunctions.push(fnCleaned);
}
}
// this is common function used to get the node key
eventRecorderFunctions.push(getNodeKeyForPreboot.toString());
// add new line characters for readability
return '\n\n' + eventRecorderFunctions.join('\n\n') + '\n\n';
}