<commit_before>import { Buffer } from '@stacks/common';
import 'cross-fetch/polyfill';

import { TokenSigner, SECP256K1Client } from 'jsontokens';
import { makeUUID4, nextMonth, getGlobalObject } from '@stacks/common';
import { makeDIDFromAddress } from './dids';
import {
  encryptECIES,
  decryptECIES,
  makeECPrivateKey,
  publicKeyToAddress,
} from '@stacks/encryption';
import { DEFAULT_SCOPE, AuthScope } from './constants';

const VERSION = '1.3.1';

type AuthMetadata = {
  email?: string;
  profileUrl?: string;
};

/**
 * Generates a ECDSA keypair to
 * use as the ephemeral app transit private key
 * @param {SessionData} session - session object in which key will be stored
 * @return {String} the hex encoded private key
 * @private
 * @ignore
 */<commit_msg>chore: bump payload version<commit_after>import { Buffer } from '@stacks/common';
import 'cross-fetch/polyfill';

import { TokenSigner, SECP256K1Client } from 'jsontokens';
import { makeUUID4, nextMonth, getGlobalObject } from '@stacks/common';
import { makeDIDFromAddress } from './dids';
import {
  encryptECIES,
  decryptECIES,
  makeECPrivateKey,
  publicKeyToAddress,
} from '@stacks/encryption';
import { DEFAULT_SCOPE, AuthScope } from './constants';

const VERSION = '1.4.0';

type AuthMetadata = {
  email?: string;
  profileUrl?: string;
};

/**
 * Generates a ECDSA keypair to
 * use as the ephemeral app transit private key
 * @param {SessionData} session - session object in which key will be stored
 * @return {String} the hex encoded private key
 * @private
 * @ignore
 */
{'fraction_non_alphanumeric': 0.11858974358974358, 'fraction_numerical': 0.010256410256410256, 'mean_word_length': 4.655797101449275, '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': '1438226', 'n_tokens_mistral': 508, 'n_tokens_neox': 497, 'n_words': 153}