<commit_before>import Client from './client';
import { GenericCommand, SessionCommand } from '../proto/message';
import { default as d } from 'debug';
import { version as VERSION } from '../package.json';

const debug = d('LC:IMClient');

export default class IMClient extends Client {
  constructor(...args) {
    super(...args);
  }

  _openSession(appId, isReconnect = false) {
    debug('open sessoin');
    const command = new GenericCommand({
      cmd: 'session',
      op: 'open',
      appId,
      peerId: this.id,
      sessionMessage: new SessionCommand({
        ua: 'js/' + VERSION,
        r: isReconnect,
      }),<commit_msg>chore(package): fix a lint error.<commit_after>import Client from './client';
import { GenericCommand, SessionCommand } from '../proto/message';
import { default as d } from 'debug';
import { version as VERSION } from '../package.json';

const debug = d('LC:IMClient');

export default class IMClient extends Client {
  constructor(...args) {
    super(...args);
  }

  _openSession(appId, isReconnect = false) {
    debug('open sessoin');
    const command = new GenericCommand({
      cmd: 'session',
      op: 'open',
      appId,
      peerId: this.id,
      sessionMessage: new SessionCommand({
        ua: `js/${VERSION}`,
        r: isReconnect,
      }),
{'fraction_non_alphanumeric': 0.14570552147239263, 'fraction_numerical': 0.0, 'mean_word_length': 3.003067484662577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '301211', 'n_tokens_mistral': 387, 'n_tokens_neox': 384, 'n_words': 115}