INNER CODE UNIT · TypeScript

shouldSuppressOutput

gommzystudio/device-activity-tracker · src/index.ts:15

const shouldSuppressOutput = (message: string): boolean => {
    return message.includes('Closing session:') ||
           message.includes('SessionEntry') ||
           message.includes('_chains') ||
           message.includes('registrationId') ||
           message.includes('currentRatchet') ||
           message.includes('ephemeralKeyPair') ||
           message.includes('pendingPreKey') ||
           message.includes('indexInfo') ||
           message.includes('baseKey') ||
           message.includes('remoteIdentityKey') ||
           message.includes('lastRemoteEphemeralKey') ||
           message.includes('previousCounter') ||
           message.includes('rootKey') ||
           message.includes('signedKeyId') ||
           message.includes('preKeyId') ||
           message.includes('<Buffer');
};

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…