SYMBOL INDEX (1856 symbols across 416 files) FILE: app/App.tsx constant TURNKEY_CALLBACKS (line 46) | const TURNKEY_CALLBACKS: TurnkeyCallbacks = { constant TURNKEY_CONFIG (line 65) | const TURNKEY_CONFIG: TurnkeyProviderConfig = { function App (line 90) | function App(): React.JSX.Element { FILE: app/android/app/src/main/java/com/proofofpassportapp/CameraActivityPackage.java class CameraActivityPackage (line 15) | public class CameraActivityPackage implements ReactPackage { method createViewManagers (line 17) | @Override method createNativeModules (line 24) | @Override FILE: app/android/app/src/main/java/com/proofofpassportapp/PhotoPickerActivity.java class PhotoPickerActivity (line 16) | public class PhotoPickerActivity extends AppCompatActivity { method onCreate (line 24) | @Override method launchPhotoPicker (line 37) | private void launchPhotoPicker() { method handlePhotoPickerResult (line 54) | private void handlePhotoPickerResult(Uri selectedUri) { method finishWithResult (line 64) | private void finishWithResult(Uri selectedUri) { method finishWithError (line 71) | private void finishWithError(String errorMessage) { FILE: app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerModule.java class QRCodeScannerModule (line 30) | public class QRCodeScannerModule extends ReactContextBaseJavaModule impl... method onActivityResult (line 40) | @Override method QRCodeScannerModule (line 79) | public QRCodeScannerModule(ReactApplicationContext reactContext) { method getName (line 86) | @NonNull method scanQRCode (line 92) | @ReactMethod method scanQRCodeFromPhotoLibrary (line 112) | @ReactMethod method startQRScanner (line 153) | private void startQRScanner(Activity activity) { method processImageForQRCode (line 158) | private void processImageForQRCode(Uri imageUri) { method onRequestPermissionsResult (line 217) | public void onRequestPermissionsResult(int requestCode, String[] permi... method onHostResume (line 234) | @Override method onHostPause (line 238) | @Override method onHostDestroy (line 242) | @Override FILE: app/android/app/src/main/java/com/proofofpassportapp/QRCodeScannerPackage.java class QRCodeScannerPackage (line 14) | public class QRCodeScannerPackage implements ReactPackage { method createViewManagers (line 15) | @Override method createNativeModules (line 22) | @Override FILE: app/android/app/src/release/java/com/awesomeproject/ReactNativeFlipper.java class ReactNativeFlipper (line 16) | public class ReactNativeFlipper { method initializeFlipper (line 17) | public static void initializeFlipper(Context context, ReactInstanceMan... FILE: app/babel.config.cjs function rewriteDunderRequire (line 9) | function rewriteDunderRequire() { FILE: app/docs/examples/tree-shaking/granular-circuits-example.ts function exampleCircuitUsage (line 11) | function exampleCircuitUsage(passportData: PassportData) { FILE: app/docs/examples/tree-shaking/level2-optimal-example.ts function optimalLevel2Example (line 18) | function optimalLevel2Example(data: PassportData) { FILE: app/docs/examples/tree-shaking/level3-migration-guide.ts function certificateParserOptimalImports (line 55) | function certificateParserOptimalImports() { function circuitWorkerOptimalImports (line 68) | function circuitWorkerOptimalImports() { function frontendOptimalImports (line 82) | function frontendOptimalImports() { function mockDataOptimalImports (line 94) | function mockDataOptimalImports() { FILE: app/docs/examples/tree-shaking/level3-optimal-example.ts function optimalLevel3Example (line 27) | function optimalLevel3Example(data: PassportData, secret: string) { FILE: app/docs/examples/tree-shaking/optimal-pattern-example.ts function processPassportData (line 17) | function processPassportData(passportData: PassportData): { FILE: app/env.ts constant DEFAULT_DOB (line 5) | const DEFAULT_DOB = undefined; constant DEFAULT_DOE (line 7) | const DEFAULT_DOE = undefined; constant DEFAULT_PNUMBER (line 9) | const DEFAULT_PNUMBER = undefined; constant ENABLE_DEBUG_LOGS (line 11) | const ENABLE_DEBUG_LOGS = process.env.ENABLE_DEBUG_LOGS === 'true'; constant GOOGLE_SIGNIN_ANDROID_CLIENT_ID (line 13) | const GOOGLE_SIGNIN_ANDROID_CLIENT_ID = constant GOOGLE_SIGNIN_IOS_CLIENT_ID (line 16) | const GOOGLE_SIGNIN_IOS_CLIENT_ID = constant GOOGLE_SIGNIN_WEB_CLIENT_ID (line 19) | const GOOGLE_SIGNIN_WEB_CLIENT_ID = constant GRAFANA_LOKI_PASSWORD (line 22) | const GRAFANA_LOKI_PASSWORD = process.env.GRAFANA_LOKI_PASSWORD; constant GRAFANA_LOKI_URL (line 23) | const GRAFANA_LOKI_URL = process.env.GRAFANA_LOKI_URL; constant GRAFANA_LOKI_USERNAME (line 24) | const GRAFANA_LOKI_USERNAME = process.env.GRAFANA_LOKI_USERNAME; constant IS_TEST_BUILD (line 29) | const IS_TEST_BUILD = process.env.IS_TEST_BUILD === 'true'; constant KYC_TEE_URL (line 31) | const KYC_TEE_URL = process.env.KYC_TEE_URL || 'http://localhost:8080'; constant MIXPANEL_NFC_PROJECT_TOKEN (line 32) | const MIXPANEL_NFC_PROJECT_TOKEN = undefined; constant SEGMENT_KEY (line 33) | const SEGMENT_KEY = process.env.SEGMENT_KEY; constant SENTRY_DSN (line 34) | const SENTRY_DSN = process.env.SENTRY_DSN; constant TURNKEY_AUTH_PROXY_CONFIG_ID (line 36) | const TURNKEY_AUTH_PROXY_CONFIG_ID = constant TURNKEY_GOOGLE_CLIENT_ID (line 38) | const TURNKEY_GOOGLE_CLIENT_ID = process.env.TURNKEY_GOOGLE_CLIENT_ID; constant TURNKEY_ORGANIZATION_ID (line 39) | const TURNKEY_ORGANIZATION_ID = process.env.TURNKEY_ORGANIZATION_ID; FILE: app/fastlane/helpers.rb type Fastlane (line 18) | module Fastlane type Helpers (line 19) | module Helpers FILE: app/fastlane/helpers/android.rb type Fastlane (line 3) | module Fastlane type Helpers (line 4) | module Helpers type Android (line 5) | module Android function set_permissions (line 8) | def self.set_permissions(value) function android_create_keystore (line 13) | def android_create_keystore(path) function android_create_play_store_key (line 22) | def android_create_play_store_key(path) function android_verify_version_code (line 36) | def android_verify_version_code(gradle_file) function android_increment_version_code (line 71) | def android_increment_version_code(gradle_file) FILE: app/fastlane/helpers/common.rb type Fastlane (line 3) | module Fastlane type Helpers (line 4) | module Helpers type Common (line 5) | module Common function is_ci_environment? (line 7) | def is_ci_environment? function dev_load_dotenv_secrets (line 12) | def dev_load_dotenv_secrets function report_error (line 20) | def report_error(message, suggestion = nil, abort_message = nil) function report_success (line 27) | def report_success(message) function verify_env_vars (line 32) | def verify_env_vars(required_vars) function should_upload_app (line 46) | def should_upload_app(platform) function with_retry (line 52) | def with_retry(max_retries: 3, delay: 5) function log_keychain_diagnostics (line 80) | def log_keychain_diagnostics(certificate_name) FILE: app/fastlane/helpers/ios.rb type Fastlane (line 3) | module Fastlane type Helpers (line 4) | module Helpers type IOS (line 5) | module IOS function ios_verify_app_store_build_number (line 7) | def ios_verify_app_store_build_number(xcodeproj) function ios_ensure_generic_versioning (line 38) | def ios_ensure_generic_versioning(xcodeproj) function ios_connect_api_key (line 52) | def ios_connect_api_key function ios_increment_build_number (line 62) | def ios_increment_build_number(xcodeproj) function ios_dev_setup_certificate (line 82) | def ios_dev_setup_certificate function ios_dev_setup_connect_api_key (line 99) | def ios_dev_setup_connect_api_key(path) function ios_dev_setup_provisioning_profile (line 112) | def ios_dev_setup_provisioning_profile(dir) function ios_verify_provisioning_profile (line 140) | def ios_verify_provisioning_profile FILE: app/fastlane/helpers/slack.rb type Fastlane (line 3) | module Fastlane type Helpers (line 4) | module Helpers type Slack (line 5) | module Slack function upload_file_to_slack (line 7) | def upload_file_to_slack(file_path:, channel_id:, initial_comment:... function request_upload_url (line 30) | def request_upload_url(slack_token, file_name, file_size) function upload_file_content (line 56) | def upload_file_content(upload_url, file_path, file_size) function complete_upload (line 76) | def complete_upload(slack_token, file_id, file_title, channel_id, ... FILE: app/fastlane/helpers/version_manager.rb type Fastlane (line 6) | module Fastlane type Helpers (line 7) | module Helpers type VersionManager (line 8) | module VersionManager function read_version_file (line 13) | def read_version_file function write_version_file (line 23) | def write_version_file(data) function get_current_version (line 30) | def get_current_version function get_ios_build_number (line 37) | def get_ios_build_number function get_android_build_number (line 42) | def get_android_build_number function bump_local_build_number (line 47) | def bump_local_build_number(platform) function verify_ci_version_match (line 61) | def verify_ci_version_match function update_deployment_timestamp (line 110) | def update_deployment_timestamp(platform) function sync_build_numbers_to_native (line 124) | def sync_build_numbers_to_native FILE: app/fastlane/test/app_name_test.rb class AppNameTest (line 9) | class AppNameTest < Minitest::Test method setup (line 10) | def setup method teardown (line 15) | def teardown method write_app_json (line 21) | def write_app_json(content) method evaluate_app_name (line 25) | def evaluate_app_name method test_env_variable_precedence (line 38) | def test_env_variable_precedence method test_display_name_from_app_json (line 43) | def test_display_name_from_app_json method test_default_when_app_json_missing_or_malformed (line 49) | def test_default_when_app_json_missing_or_malformed FILE: app/fastlane/test/helpers_test.rb class HelpersTest (line 6) | class HelpersTest < Minitest::Test method setup (line 7) | def setup method teardown (line 18) | def teardown method test_android_increment_version_code (line 26) | def test_android_increment_version_code method test_should_upload_app (line 32) | def test_should_upload_app method test_should_upload_app_with_ci (line 45) | def test_should_upload_app_with_ci method test_should_upload_app_with_act_or_is_pr (line 53) | def test_should_upload_app_with_act_or_is_pr method test_should_upload_app_with_invalid_platform (line 62) | def test_should_upload_app_with_invalid_platform method test_is_ci_environment_true_conditions (line 68) | def test_is_ci_environment_true_conditions method test_is_ci_environment_false_with_act (line 74) | def test_is_ci_environment_false_with_act method test_is_ci_environment_false_without_ci (line 80) | def test_is_ci_environment_false_without_ci method test_is_ci_environment_false_with_ci_false (line 86) | def test_is_ci_environment_false_with_ci_false method test_android_create_keystore_success (line 93) | def test_android_create_keystore_success method test_android_create_keystore_missing_env (line 107) | def test_android_create_keystore_missing_env method test_android_create_keystore_creates_directory (line 113) | def test_android_create_keystore_creates_directory method test_android_create_play_store_key_success (line 127) | def test_android_create_play_store_key_success method test_android_create_play_store_key_missing_env (line 141) | def test_android_create_play_store_key_missing_env method test_android_increment_version_code_different_formats (line 148) | def test_android_increment_version_code_different_formats method test_android_increment_version_code_no_permissions (line 173) | def test_android_increment_version_code_no_permissions method test_android_increment_version_code_missing_file (line 185) | def test_android_increment_version_code_missing_file method test_android_verify_version_code_parsing_logic (line 195) | def test_android_verify_version_code_parsing_logic method test_android_verify_version_code_missing_version_code_line (line 221) | def test_android_verify_version_code_missing_version_code_line method test_android_verify_version_code_invalid_format (line 234) | def test_android_verify_version_code_invalid_format method test_with_retry_success_first_attempt (line 260) | def test_with_retry_success_first_attempt method test_with_retry_success_after_failures (line 271) | def test_with_retry_success_after_failures method test_with_retry_max_retries_exceeded (line 283) | def test_with_retry_max_retries_exceeded method test_with_retry_custom_parameters (line 295) | def test_with_retry_custom_parameters method test_verify_env_vars_all_present (line 309) | def test_verify_env_vars_all_present method test_verify_env_vars_some_missing (line 320) | def test_verify_env_vars_some_missing method test_upload_file_to_slack_missing_channel (line 333) | def test_upload_file_to_slack_missing_channel method test_upload_file_to_slack_missing_token (line 347) | def test_upload_file_to_slack_missing_token method test_slack_deploy_source_messages (line 360) | def test_slack_deploy_source_messages method clear_test_env_vars (line 386) | def clear_test_env_vars FILE: app/jest.setup.js method NativeModules (line 99) | get NativeModules() { function MockNativeEventEmitter (line 497) | function MockNativeEventEmitter(nativeModule) { method constructor (line 772) | constructor() { method readAsArrayBuffer (line 775) | readAsArrayBuffer() { method constructor (line 827) | constructor() {} class MockUploader (line 1025) | class MockUploader { method setData (line 1026) | setData() { method setDataMimeType (line 1029) | setDataMimeType() { method setRequestBody (line 1032) | setRequestBody() { class MockFiles (line 1038) | class MockFiles { method newMultipartUploader (line 1039) | newMultipartUploader() { class GDrive (line 1047) | class GDrive { class MockReactNativeBiometrics (line 1232) | class MockReactNativeBiometrics { method constructor (line 1233) | constructor(options) { FILE: app/scripts/alias-imports.cjs function determineAliasStrategy (line 8) | function determineAliasStrategy(dir, abs, baseDir, baseAlias) { function transformProjectToAliasImports (line 13) | function transformProjectToAliasImports(project, appRootPath) { function runAliasImportsTransform (line 199) | function runAliasImportsTransform(options = {}) { FILE: app/scripts/analyze-tree-shaking.cjs function formatBytes (line 10) | function formatBytes(bytes) { function analyzeWebBundle (line 17) | function analyzeWebBundle() { function analyzeReactNativeBundle (line 131) | function analyzeReactNativeBundle(platform) { function categorizeImports (line 163) | function categorizeImports(imports) { function compareImportPatterns (line 260) | function compareImportPatterns() { function main (line 586) | function main() { FILE: app/scripts/bundle-analyze-ci.cjs constant BUNDLE_THRESHOLDS_MB (line 18) | const BUNDLE_THRESHOLDS_MB = { function formatBytes (line 23) | function formatBytes(bytes) { function checkBundleSize (line 30) | function checkBundleSize(bundleSize, targetPlatform) { FILE: app/scripts/capture-ios-crash-artifacts.cjs constant APP_NAME (line 10) | const APP_NAME = process.env.IOS_CRASH_CAPTURE_APP_NAME || 'OpenPassport'; constant WINDOW_MINUTES (line 11) | const WINDOW_MINUTES = process.env.IOS_CRASH_CAPTURE_WINDOW_MINUTES || '5'; constant OUTPUT_ROOT (line 12) | const OUTPUT_ROOT = constant DERIVED_DATA_ROOT (line 15) | const DERIVED_DATA_ROOT = path.join( constant DIAGNOSTIC_REPORTS_DIR (line 22) | const DIAGNOSTIC_REPORTS_DIR = path.join( function timestamp (line 29) | function timestamp() { function ensureDir (line 33) | function ensureDir(directory) { function runCommand (line 37) | function runCommand(command, args, options = {}) { function writeFile (line 44) | function writeFile(filePath, contents) { function copyFileIfPresent (line 48) | function copyFileIfPresent(sourcePath, destinationPath) { function getLatestLaunchResult (line 54) | function getLatestLaunchResult() { function getRecentDiagnosticReports (line 107) | function getRecentDiagnosticReports() { function captureUnifiedLog (line 133) | function captureUnifiedLog(outputDir) { function captureDiagnosticReports (line 152) | function captureDiagnosticReports(outputDir) { function captureLatestLaunchResult (line 168) | function captureLatestLaunchResult(outputDir) { function main (line 198) | function main() { FILE: app/scripts/check-test-requires.cjs constant TESTS_DIR (line 16) | const TESTS_DIR = path.join(__dirname, '..', 'tests'); constant FORBIDDEN_PATTERNS (line 17) | const FORBIDDEN_PATTERNS = [ function findTestFiles (line 33) | function findTestFiles(dir, files = []) { function checkFile (line 65) | function checkFile(filePath) { function main (line 92) | function main() { FILE: app/scripts/cleanup-private-modules.cjs function cleanupPrivateModules (line 11) | function cleanupPrivateModules() { FILE: app/scripts/find-type-import-issues.mjs constant PATTERNS (line 23) | const PATTERNS = { constant SCAN_DIRS (line 41) | const SCAN_DIRS = ['src', 'tests/src', 'scripts']; constant SCAN_EXTENSIONS (line 44) | const SCAN_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs']; constant IGNORE_DIRS (line 47) | const IGNORE_DIRS = [ constant IGNORE_FILES (line 58) | const IGNORE_FILES = [ function shouldIgnoreFile (line 62) | function shouldIgnoreFile(filePath) { function shouldIgnoreFileByName (line 66) | function shouldIgnoreFileByName(filePath) { function shouldScanFile (line 70) | function shouldScanFile(filePath) { function findIssuesInFile (line 75) | function findIssuesInFile(filePath) { function scanDirectory (line 98) | function scanDirectory(dirPath) { function formatResults (line 133) | function formatResults(results) { function main (line 168) | function main() { FILE: app/scripts/mobile-deploy-confirm.cjs constant DEPLOYMENT_METHODS (line 10) | const DEPLOYMENT_METHODS = { constant PLATFORMS (line 15) | const PLATFORMS = { constant SUPPORTED_PLATFORMS (line 21) | const SUPPORTED_PLATFORMS = Object.values(PLATFORMS); constant FILE_PATHS (line 23) | const FILE_PATHS = { constant CONSOLE_SYMBOLS (line 31) | const CONSOLE_SYMBOLS = { constant REGEX_PATTERNS (line 48) | const REGEX_PATTERNS = { function safeReadFile (line 64) | function safeReadFile(filePath, description) { function safeExecSync (line 79) | function safeExecSync(command, description) { function validatePlatform (line 107) | function validatePlatform(platform) { function displayUsageAndExit (line 114) | function displayUsageAndExit() { function getDeploymentMethod (line 158) | function getDeploymentMethod() { function getMainVersion (line 178) | function getMainVersion() { function getIOSVersion (line 193) | function getIOSVersion() { function getAndroidVersion (line 224) | function getAndroidVersion() { function getVersionJsonData (line 249) | function getVersionJsonData() { function getTimeAgo (line 265) | function getTimeAgo(timestamp) { function getCurrentVersions (line 287) | function getCurrentVersions() { function getCurrentBranch (line 304) | function getCurrentBranch() { function hasUncommittedChanges (line 315) | function hasUncommittedChanges() { function displayDeploymentHeader (line 326) | function displayDeploymentHeader(platform) { function displayDeploymentMethod (line 336) | function displayDeploymentMethod(deploymentMethod) { function displayPlatformVersions (line 351) | function displayPlatformVersions(platform, versions) { function displayWarningsAndGitStatus (line 419) | function displayWarningsAndGitStatus() { function displayFullConfirmation (line 441) | function displayFullConfirmation(platform, versions, deploymentMethod) { function promptConfirmation (line 460) | function promptConfirmation() { function performYarnReinstall (line 481) | function performYarnReinstall() { function getFastlaneCommands (line 499) | function getFastlaneCommands(platform) { function executeLocalFastlaneDeployment (line 547) | async function executeLocalFastlaneDeployment(platform) { function executeGithubRunnerDeployment (line 601) | async function executeGithubRunnerDeployment(platform) { function executeDeployment (line 639) | async function executeDeployment(platform, deploymentMethod) { function main (line 652) | async function main() { FILE: app/scripts/run-ios-simulator.cjs constant APP_ROOT (line 8) | const APP_ROOT = path.resolve(__dirname, '..'); constant DEVICE_PRIORITY (line 10) | const DEVICE_PRIORITY = [ function normalizeRuntimeVersion (line 17) | function normalizeRuntimeVersion(runtime) { function extractRuntimeVersion (line 21) | function extractRuntimeVersion(runtime) { function compareRuntimeVersions (line 31) | function compareRuntimeVersions(left, right) { function selectDevice (line 48) | function selectDevice(devicesJson) { function runCommand (line 119) | function runCommand(command, args, options = {}) { function sleep (line 127) | function sleep(milliseconds) { function main (line 131) | function main() { FILE: app/scripts/setup-private-modules.cjs constant SCRIPT_DIR (line 10) | const SCRIPT_DIR = __dirname; constant APP_DIR (line 11) | const APP_DIR = path.dirname(SCRIPT_DIR); constant ANDROID_DIR (line 12) | const ANDROID_DIR = path.join(APP_DIR, 'android'); constant GITHUB_ORG (line 14) | const GITHUB_ORG = 'selfxyz'; constant BRANCH (line 15) | const BRANCH = 'main'; constant PRIVATE_MODULES (line 17) | const PRIVATE_MODULES = [ function shouldSetupAndroidModule (line 39) | function shouldSetupAndroidModule() { function log (line 69) | function log(message, type = 'info') { function runCommand (line 82) | function runCommand(command, options = {}) { function sanitizeCommandForLogging (line 108) | function sanitizeCommandForLogging(command) { function removeExistingModule (line 116) | function removeExistingModule(modulePath, repoName) { function usingHTTPSGitAuth (line 134) | function usingHTTPSGitAuth() { function clonePrivateRepo (line 150) | function clonePrivateRepo(repoName, localPath, commit) { function validateSetup (line 233) | function validateSetup(modulePath, validationFiles, repoName) { function isExistingModuleReusable (line 244) | function isExistingModuleReusable(module) { function setupPrivateModule (line 343) | function setupPrivateModule(module) { function setupAndroidPassportReader (line 378) | function setupAndroidPassportReader() { function scrubGitRemoteUrl (line 417) | function scrubGitRemoteUrl(modulePath, repoName) { FILE: app/scripts/tag.cjs function getVersion (line 11) | function getVersion() { function isWorkingDirectoryClean (line 19) | function isWorkingDirectoryClean() { function createEmptyCommit (line 30) | function createEmptyCommit(version) { function createTag (line 41) | function createTag(version) { function pushTag (line 52) | function pushTag(version) { function removeTag (line 63) | function removeTag(version) { function main (line 75) | function main() { FILE: app/scripts/test-tree-shaking.cjs constant TEST_CONFIGS (line 19) | const TEST_CONFIGS = [ function formatBytes (line 56) | function formatBytes(bytes) { function createTestApp (line 63) | function createTestApp(config, testDir, commonPackagePath) { function createWebpackConfig (line 93) | function createWebpackConfig(appDir) { function runTest (line 128) | function runTest(config, testDir, commonPackagePath) { function generateReport (line 175) | function generateReport(results) { function main (line 250) | async function main() { FILE: app/scripts/tests/aliasImports.test.cjs function createTempDir (line 24) | function createTempDir() { function writeFileEnsured (line 29) | function writeFileEnsured(filePath, content) { FILE: app/scripts/tests/cleanupIosBuild.test.cjs constant SCRIPT (line 13) | const SCRIPT = resolve(__dirname, '../cleanup-ios-build.sh'); FILE: app/scripts/tests/mobileDeployConfirm.test.cjs constant MOCK_IOS_INFO_PLIST (line 10) | const MOCK_IOS_INFO_PLIST = ` constant MOCK_IOS_PROJECT_FILE (line 21) | const MOCK_IOS_PROJECT_FILE = `// !$*UTF8*$! constant MOCK_ANDROID_BUILD_GRADLE (line 36) | const MOCK_ANDROID_BUILD_GRADLE = `android { constant REGEX_PATTERNS (line 50) | const REGEX_PATTERNS = { function extractIOSVersion (line 59) | function extractIOSVersion(infoPlistContent) { function extractIOSBuild (line 65) | function extractIOSBuild(projectFileContent) { function extractAndroidVersion (line 71) | function extractAndroidVersion(buildGradleContent) { function extractAndroidVersionCode (line 77) | function extractAndroidVersionCode(buildGradleContent) { FILE: app/scripts/upload_to_play_store.py function get_credentials (line 24) | def get_credentials(): function should_hold_for_manual_review (line 70) | def should_hold_for_manual_review(track): function upload_to_internal_app_sharing (line 82) | def upload_to_internal_app_sharing(aab_path, package_name, credentials): function upload_to_play_store (line 132) | def upload_to_play_store(aab_path, package_name, track, credentials): function main (line 209) | def main(): FILE: app/scripts/version-manager.cjs constant APP_DIR (line 30) | const APP_DIR = path.resolve(__dirname, '..'); constant VERSION_MANAGED_RELATIVE_PATHS (line 31) | const VERSION_MANAGED_RELATIVE_PATHS = [ constant PACKAGE_JSON_PATH (line 43) | const PACKAGE_JSON_PATH = path.join(APP_DIR, PACKAGE_JSON_REL_PATH); constant VERSION_JSON_PATH (line 44) | const VERSION_JSON_PATH = path.join(APP_DIR, VERSION_JSON_REL_PATH); constant ANDROID_GRADLE_PATH (line 45) | const ANDROID_GRADLE_PATH = path.join(APP_DIR, ANDROID_GRADLE_REL_PATH); constant IOS_PBXPROJ_PATH (line 46) | const IOS_PBXPROJ_PATH = path.join(APP_DIR, IOS_PBXPROJ_REL_PATH); function getVersionManagedFiles (line 51) | function getVersionManagedFiles() { function readPackageJson (line 58) | function readPackageJson() { function readVersionJson (line 73) | function readVersionJson() { function writePackageJson (line 88) | function writePackageJson(data) { function writeVersionJson (line 99) | function writeVersionJson(data) { function updateFileWithRegex (line 110) | function updateFileWithRegex(filePath, regex, replacement) { function getVersionInfo (line 134) | function getVersionInfo() { function bumpSemanticVersion (line 150) | function bumpSemanticVersion(currentVersion, bumpType) { function bumpVersion (line 190) | function bumpVersion(bumpType, platform = 'both') { function applyVersions (line 258) | function applyVersions( function main (line 382) | function main() { FILE: app/scripts/version-manager.test.cjs function setupMocks (line 48) | function setupMocks() { function restoreMocks (line 72) | function restoreMocks() { FILE: app/scripts/version.cjs constant VERSION_FILE (line 9) | const VERSION_FILE = join(__dirname, '..', 'version.json'); constant PACKAGE_JSON (line 10) | const PACKAGE_JSON = join(__dirname, '..', 'package.json'); function readVersionFile (line 12) | function readVersionFile() { function writeVersionFile (line 22) | function writeVersionFile(data) { function getPackageVersion (line 31) | function getPackageVersion() { function bumpBuild (line 41) | function bumpBuild(platform = 'both') { function setDeploymentTime (line 67) | function setDeploymentTime(platform) { function getCurrentInfo (line 91) | function getCurrentInfo() { FILE: app/src/components/AlertModal.tsx type AlertModalParams (line 33) | interface AlertModalParams { type AlertModalProps (line 45) | interface AlertModalProps { FILE: app/src/components/Disclosures.tsx type DisclosureProps (line 18) | interface DisclosureProps { function Disclosures (line 22) | function Disclosures({ disclosures }: DisclosureProps) { type DisclosureItemProps (line 45) | interface DisclosureItemProps { FILE: app/src/components/ErrorBoundary.tsx type Props (line 12) | interface Props { type State (line 16) | interface State { class ErrorBoundary (line 20) | class ErrorBoundary extends Component { method constructor (line 21) | constructor(props: Props) { method getDerivedStateFromError (line 26) | static getDerivedStateFromError(_: Error): State { method componentDidCatch (line 30) | componentDidCatch(error: Error, info: ErrorInfo) { method render (line 43) | render() { FILE: app/src/components/FeedbackModal.tsx type FeedbackModalProps (line 20) | interface FeedbackModalProps { FILE: app/src/components/InputField.tsx type InputFieldProps (line 29) | interface InputFieldProps { type InputFieldType (line 39) | type InputFieldType = 'alphanumeric' | 'date-of-birth' | 'expiry-date'; FILE: app/src/components/LoadingUI.tsx type LoadingUIProps (line 26) | interface LoadingUIProps { FILE: app/src/components/Mnemonic.tsx type MnemonicProps (line 22) | interface MnemonicProps { type WordPill (line 26) | interface WordPill { constant REDACTED (line 51) | const REDACTED = new Array(24) FILE: app/src/components/PointHistoryList.tsx type Section (line 33) | type Section = { type PointHistoryListProps (line 38) | type PointHistoryListProps = { constant TIME_PERIODS (line 46) | const TIME_PERIODS = { FILE: app/src/components/SystemBars.tsx type SystemBarsProps (line 11) | type SystemBarsProps = React.ComponentProps; FILE: app/src/components/Tips.tsx type TipProps (line 11) | interface TipProps { function Tip (line 17) | function Tip({ title, body, icon }: TipProps) { function Tips (line 54) | function Tips({ items }: { items: TipProps[] }) { FILE: app/src/components/WebViewFooter.tsx type WebViewFooterProps (line 13) | interface WebViewFooterProps { FILE: app/src/components/documents/IDSelectorItem.tsx type IDSelectorItemProps (line 20) | interface IDSelectorItemProps { type IDSelectorState (line 29) | type IDSelectorState = 'active' | 'verified' | 'expired' | 'mock'; function getSubtitleText (line 31) | function getSubtitleText(state: IDSelectorState): string { function getSubtitleColor (line 44) | function getSubtitleColor(state: IDSelectorState): string { function isDisabledState (line 136) | function isDisabledState(state: IDSelectorState): boolean { FILE: app/src/components/documents/IDSelectorSheet.tsx type IDSelectorDocument (line 22) | interface IDSelectorDocument { type IDSelectorSheetProps (line 28) | interface IDSelectorSheetProps { FILE: app/src/components/homescreen/CardBottomContent.tsx type Badge (line 14) | interface Badge { type CardBottomContentProps (line 20) | interface CardBottomContentProps { FILE: app/src/components/homescreen/CardHeader.tsx type CardHeaderProps (line 21) | interface CardHeaderProps { FILE: app/src/components/homescreen/EmptyIdCard.tsx type EmptyIdCardProps (line 25) | interface EmptyIdCardProps { FILE: app/src/components/homescreen/IdAttribute.tsx type IdAttributeProps (line 13) | interface IdAttributeProps { FILE: app/src/components/homescreen/IdCard.tsx constant CARD_BACKGROUNDS (line 51) | const CARD_BACKGROUNDS = [ constant DEV_LOGO_BG (line 61) | const DEV_LOGO_BG = '#52525B'; constant DEV_BODY_COLOR (line 62) | const DEV_BODY_COLOR = '#1E1B4B'; type IdCardLayoutAttributes (line 64) | interface IdCardLayoutAttributes { FILE: app/src/components/homescreen/IdCardRevealed.tsx type IdCardRevealedProps (line 52) | interface IdCardRevealedProps { FILE: app/src/components/homescreen/KycIdCard.tsx type KycIdCardProps (line 36) | interface KycIdCardProps { function getKycDocTitle (line 46) | function getKycDocTitle(idType: string): string { function formatKycDate (line 61) | function formatKycDate(date: string): string { FILE: app/src/components/homescreen/PendingIdCard.tsx type PendingIdCardProps (line 27) | interface PendingIdCardProps { FILE: app/src/components/homescreen/SvgXmlWrapper.native.tsx type Props (line 9) | type Props = ComponentProps; FILE: app/src/components/homescreen/SvgXmlWrapper.web.tsx type Props (line 13) | type Props = { FILE: app/src/components/homescreen/UnregisteredIdCard.tsx type UnregisteredIdCardProps (line 24) | interface UnregisteredIdCardProps { FILE: app/src/components/homescreen/cardSecurityBadge.ts type SecurityLevel (line 9) | type SecurityLevel = 'HI-SECURITY' | 'LOW-SECURITY' | 'STANDARD'; function getSecurityLevel (line 20) | function getSecurityLevel( FILE: app/src/components/native/PassportCamera.tsx type NativePassportOCRViewProps (line 14) | interface NativePassportOCRViewProps { type PassportCameraProps (line 49) | interface PassportCameraProps { FILE: app/src/components/native/PassportCamera.web.tsx type PassportCameraProps (line 12) | interface PassportCameraProps { FILE: app/src/components/native/QRCodeScanner.tsx type QRCodeScannerViewProps (line 13) | interface QRCodeScannerViewProps { FILE: app/src/components/native/QRCodeScanner.web.tsx type QRCodeScannerViewProps (line 8) | interface QRCodeScannerViewProps { function QRCodeScannerView (line 13) | function QRCodeScannerView({ FILE: app/src/components/native/RCTFragment.tsx type FragmentProps (line 12) | interface FragmentProps { type RCTFragmentViewManagerProps (line 16) | interface RCTFragmentViewManagerProps { function dispatchCommand (line 33) | function dispatchCommand( FILE: app/src/components/navbar/BaseNavBar.tsx type NavBarProps (line 20) | interface NavBarProps extends ViewProps { type LeftActionProps (line 25) | interface LeftActionProps extends ViewProps { type RightActionProps (line 30) | interface RightActionProps extends ViewProps { type NavBarTitleProps (line 34) | interface NavBarTitleProps extends React.ComponentProps { FILE: app/src/components/navbar/WebViewNavBar.tsx type WebViewNavBarProps (line 16) | interface WebViewNavBarProps { FILE: app/src/components/proof-request/BottomActionBar.tsx type BottomActionBarProps (line 20) | interface BottomActionBarProps { FILE: app/src/components/proof-request/BottomVerifyBar.tsx type BottomVerifyBarProps (line 13) | interface BottomVerifyBarProps { FILE: app/src/components/proof-request/ConnectedWalletBadge.tsx type ConnectedWalletBadgeProps (line 14) | interface ConnectedWalletBadgeProps { function truncateAddress (line 96) | function truncateAddress( FILE: app/src/components/proof-request/DisclosureItem.tsx type DisclosureItemProps (line 17) | interface DisclosureItemProps { FILE: app/src/components/proof-request/ProofMetadataBar.tsx type ProofMetadataBarProps (line 13) | interface ProofMetadataBarProps { function formatTimestamp (line 81) | function formatTimestamp(date: Date): string { FILE: app/src/components/proof-request/ProofRequestCard.tsx type ProofRequestCardProps (line 28) | interface ProofRequestCardProps { FILE: app/src/components/proof-request/ProofRequestHeader.tsx type ProofRequestHeaderProps (line 17) | interface ProofRequestHeaderProps { FILE: app/src/components/proof-request/WalletAddressModal.tsx type WalletAddressModalProps (line 15) | interface WalletAddressModalProps { FILE: app/src/components/proof-request/icons.tsx type IconProps (line 8) | interface IconProps { FILE: app/src/components/referral/CopyReferralButton.tsx type CopyReferralButtonProps (line 20) | interface CopyReferralButtonProps { FILE: app/src/components/referral/ReferralHeader.tsx type ReferralHeaderProps (line 15) | interface ReferralHeaderProps { FILE: app/src/components/referral/ReferralInfo.tsx type ReferralInfoProps (line 16) | interface ReferralInfoProps { FILE: app/src/components/referral/ShareButton.tsx type ShareButtonProps (line 12) | interface ShareButtonProps { FILE: app/src/components/starfall/StarfallPIN.tsx type StarfallPINProps (line 11) | interface StarfallPINProps { FILE: app/src/components/support/SupportUuidRow.tsx type SupportUuidRowProps (line 19) | interface SupportUuidRowProps { FILE: app/src/config/remoteConfig.shared.ts type FeatureFlagInfo (line 5) | interface FeatureFlagInfo { type FeatureFlagValue (line 15) | type FeatureFlagValue = string | boolean | number; type LocalOverride (line 17) | interface LocalOverride { type RemoteConfigBackend (line 21) | interface RemoteConfigBackend { type RemoteConfigValue (line 29) | interface RemoteConfigValue { type StorageBackend (line 36) | interface StorageBackend { constant LOCAL_OVERRIDES_KEY (line 42) | const LOCAL_OVERRIDES_KEY = 'feature_flag_overrides'; FILE: app/src/config/remoteConfig.web.ts class MockFirebaseRemoteConfig (line 40) | class MockFirebaseRemoteConfig implements RemoteConfigBackend { method setDefaults (line 44) | setDefaults(defaults: Record) { method setConfigSettings (line 48) | setConfigSettings(settings: Record) { method fetchAndActivate (line 52) | async fetchAndActivate(): Promise { method getValue (line 58) | getValue(key: string) { method getAll (line 84) | getAll(): Record { FILE: app/src/config/segment.ts class DisableTrackingPlugin (line 19) | class DisableTrackingPlugin extends EventPlugin { method execute (line 22) | execute(event: SegmentEvent): SegmentEvent { FILE: app/src/config/sentry.ts constant ALLOWED_TAG_KEYS (line 28) | const ALLOWED_TAG_KEYS = new Set([ method beforeSend (line 211) | beforeSend(event) { type LogLevel (line 286) | type LogLevel = 'info' | 'warn' | 'error'; type LogCategory (line 287) | type LogCategory = 'proof' | 'nfc'; FILE: app/src/config/sentry.web.ts type BaseContext (line 18) | interface BaseContext { constant ALLOWED_TAG_KEYS (line 26) | const ALLOWED_TAG_KEYS = new Set([ type NFCScanContext (line 92) | interface NFCScanContext extends BaseContext, Record { type ProofContext (line 96) | interface ProofContext extends BaseContext, Record { method beforeSend (line 168) | beforeSend(event) { type LogLevel (line 254) | type LogLevel = 'info' | 'warn' | 'error'; type LogCategory (line 255) | type LogCategory = 'proof' | 'nfc'; FILE: app/src/consts/recoveryPrompts.ts type RecoveryPromptAllowedRoute (line 5) | type RecoveryPromptAllowedRoute = constant RECOVERY_PROMPT_ALLOWED_ROUTES (line 8) | const RECOVERY_PROMPT_ALLOWED_ROUTES = ['Home'] as const; FILE: app/src/devtools/mocks/index.ts constant TURNKEY_OAUTH_REDIRECT_URI_ANDROID (line 11) | const TURNKEY_OAUTH_REDIRECT_URI_ANDROID = constant TURNKEY_OAUTH_REDIRECT_URI_IOS (line 14) | const TURNKEY_OAUTH_REDIRECT_URI_IOS = turnkeyOAuthRedirectIosUri; FILE: app/src/devtools/mocks/react-native-community-blur.ts type BlurViewProps (line 8) | type BlurViewProps = React.HTMLAttributes & { FILE: app/src/devtools/mocks/react-native-safe-area-context.js function SafeAreaProvider (line 17) | function SafeAreaProvider({ children }) { function SafeAreaView (line 21) | function SafeAreaView(props) { function useSafeAreaFrame (line 40) | function useSafeAreaFrame() { function useSafeAreaInsets (line 44) | function useSafeAreaInsets() { FILE: app/src/devtools/testing/utils.ts function clearDocumentCatalogForMigrationTesting (line 15) | async function clearDocumentCatalogForMigrationTesting(): Promise { FILE: app/src/hooks/useCardDimensions.ts constant CARD_WIDTH_FACTOR (line 7) | const CARD_WIDTH_FACTOR = 0.95; constant CARD_HORIZONTAL_OFFSET (line 8) | const CARD_HORIZONTAL_OFFSET = 16; constant FIGMA_CARD_WIDTH (line 11) | const FIGMA_CARD_WIDTH = 353; constant FIGMA_CARD_HEIGHT (line 12) | const FIGMA_CARD_HEIGHT = 224; constant FIGMA_HEADER_HEIGHT (line 13) | const FIGMA_HEADER_HEIGHT = 67; constant FIGMA_PADDING (line 14) | const FIGMA_PADDING = 14; constant FIGMA_LOGO_SIZE (line 15) | const FIGMA_LOGO_SIZE = 32; constant FIGMA_HEADER_GAP (line 16) | const FIGMA_HEADER_GAP = 12; constant FIGMA_HEADER_FONT_SIZE (line 17) | const FIGMA_HEADER_FONT_SIZE = 20; constant FIGMA_SUBTITLE_FONT_SIZE (line 18) | const FIGMA_SUBTITLE_FONT_SIZE = 7; constant FIGMA_BADGE_FONT_SIZE (line 19) | const FIGMA_BADGE_FONT_SIZE = 10; constant FIGMA_BOTTOM_LABEL_FONT_SIZE (line 20) | const FIGMA_BOTTOM_LABEL_FONT_SIZE = 15; constant FIGMA_BOTTOM_ID_FONT_SIZE (line 21) | const FIGMA_BOTTOM_ID_FONT_SIZE = 10; constant FIGMA_BUTTON_FONT_SIZE (line 22) | const FIGMA_BUTTON_FONT_SIZE = 16; constant FIGMA_BORDER_RADIUS (line 23) | const FIGMA_BORDER_RADIUS = 12; type CardDimensions (line 25) | interface CardDimensions { type CardFontSizes (line 39) | interface CardFontSizes { function useCardDimensions (line 48) | function useCardDimensions(selected = true): CardDimensions { FILE: app/src/hooks/useConnectionModal.ts function useConnectionModal (line 34) | function useConnectionModal() { FILE: app/src/hooks/useEarnPointsFlow.ts type UseEarnPointsFlowParams (line 22) | type UseEarnPointsFlowParams = { FILE: app/src/hooks/useErrorInjection.ts function useErrorInjection (line 15) | function useErrorInjection() { FILE: app/src/hooks/useFeedbackModal.ts type FeedbackType (line 15) | type FeedbackType = 'button' | 'widget' | 'custom'; FILE: app/src/hooks/useHapticNavigation.ts type NavigationAction (line 16) | type NavigationAction = 'default' | 'cancel' | 'confirm'; type ExtendedNavigation (line 18) | type ExtendedNavigation = NavigationProp & { FILE: app/src/hooks/useKycLauncher.ts type UseKycLauncherOptions (line 19) | interface UseKycLauncherOptions { FILE: app/src/hooks/useKycWebSocket.ts type UseKycWebSocketOptions (line 20) | interface UseKycWebSocketOptions { function useKycWebSocket (line 32) | function useKycWebSocket(options: UseKycWebSocketOptions = {}) { FILE: app/src/hooks/useMnemonic.ts function useMnemonic (line 10) | function useMnemonic() { FILE: app/src/hooks/useNetInfo.web.ts function useNetInfo (line 5) | function useNetInfo() { FILE: app/src/hooks/usePendingKycRecovery.ts type RecoveryVerification (line 11) | type RecoveryVerification = { function getRecoveryIdentifier (line 19) | function getRecoveryIdentifier(verification: RecoveryVerification) { function usePendingKycRecovery (line 36) | function usePendingKycRecovery() { FILE: app/src/hooks/useProofDisclosureStalenessCheck.ts function useProofDisclosureStalenessCheck (line 20) | function useProofDisclosureStalenessCheck( FILE: app/src/hooks/useRecoveryPrompts.ts constant DEFAULT_ALLOWED_ROUTES (line 15) | const DEFAULT_ALLOWED_ROUTES = RECOVERY_PROMPT_ALLOWED_ROUTES; type UseRecoveryPromptsOptions (line 17) | type UseRecoveryPromptsOptions = { function useRecoveryPrompts (line 21) | function useRecoveryPrompts({ FILE: app/src/hooks/useReferralConfirmation.ts type UseReferralConfirmationParams (line 13) | type UseReferralConfirmationParams = { FILE: app/src/hooks/useReferralMessage.ts type ReferralMessageResult (line 11) | interface ReferralMessageResult { FILE: app/src/hooks/useSelfAppData.ts function useSelfAppData (line 18) | function useSelfAppData(selfApp: SelfApp | null) { FILE: app/src/hooks/useSupportUuid.ts type UseSupportUuidResult (line 15) | interface UseSupportUuidResult { function useSupportUuid (line 24) | function useSupportUuid(): UseSupportUuidResult { FILE: app/src/hooks/useTestReferralFlow.ts constant TEST_REFERRER (line 10) | const TEST_REFERRER = '0x1234567890123456789012345678901234567890'; FILE: app/src/integrations/keychain/index.ts type AdaptiveSecurityConfig (line 19) | interface AdaptiveSecurityConfig { type GetSecureOptions (line 25) | interface GetSecureOptions { type SecurityCapabilities (line 35) | interface SecurityCapabilities { function checkBiometricsAvailable (line 45) | async function checkBiometricsAvailable(): Promise { function checkPasscodeAvailable (line 62) | async function checkPasscodeAvailable(): Promise { function createKeychainOptions (line 82) | async function createKeychainOptions( function detectSecurityCapabilities (line 121) | async function detectSecurityCapabilities(): Promise { function logSecurityConfig (line 209) | function logSecurityConfig( FILE: app/src/integrations/kyc/kycService.ts type KycLaunchConfig (line 13) | interface KycLaunchConfig { constant FETCH_TIMEOUT_MS (line 18) | const FETCH_TIMEOUT_MS = 30000; FILE: app/src/integrations/kyc/types.ts type ApplicantInfoSerialized (line 5) | interface ApplicantInfoSerialized { type KycVerificationResult (line 11) | interface KycVerificationResult { type SessionResponse (line 26) | interface SessionResponse { FILE: app/src/integrations/nfc/nfcScanner.ts type Inputs (line 18) | interface Inputs { type DataGroupHash (line 33) | interface DataGroupHash { FILE: app/src/integrations/nfc/passportReader.ts type ScanOptions (line 7) | type ScanOptions = { type AndroidScanResponse (line 22) | interface AndroidScanResponse { type AndroidPassportReaderModule (line 39) | type AndroidPassportReaderModule = { type IOSPassportReaderModule (line 49) | type IOSPassportReaderModule = { type PassportReaderModule (line 69) | type PassportReaderModule = FILE: app/src/integrations/qrScanner.ts type QRScannerBridge (line 5) | interface QRScannerBridge { FILE: app/src/integrations/turnkey.ts function useTurnkeyUtils (line 11) | function useTurnkeyUtils() { FILE: app/src/layouts/AppLayout.tsx type ConnectedAppLayoutProps (line 9) | type ConnectedAppLayoutProps = PropsWithChildren; function ConnectedAppLayout (line 11) | function ConnectedAppLayout({ FILE: app/src/layouts/SimpleScrolledTitleLayout.tsx type DetailListProps (line 19) | type DetailListProps = PropsWithChildren<{ function SimpleScrolledTitleLayout (line 28) | function SimpleScrolledTitleLayout({ FILE: app/src/navigation/deeplinks.ts constant VALIDATION_PATTERNS (line 18) | const VALIDATION_PATTERNS = { type ValidatedParams (line 30) | type ValidatedParams = { type MockDataDeepLinkRawParams (line 43) | type MockDataDeepLinkRawParams = { FILE: app/src/navigation/index.tsx type BaseRootStackParamList (line 57) | type BaseRootStackParamList = StaticParamList; type RootStackParamList (line 61) | type RootStackParamList = Omit< type RootStackScreenProps (line 67) | type RootStackScreenProps = type RootParamList (line 78) | interface RootParamList extends RootStackParamList {} FILE: app/src/navigation/shared.ts type ScreenName (line 16) | type ScreenName = keyof SharedRoutesParamList; type ScreenConfig (line 18) | type ScreenConfig = { FILE: app/src/navigation/types.ts type AadhaarRoutesParamList (line 15) | type AadhaarRoutesParamList = { type AccountRoutesParamList (line 29) | type AccountRoutesParamList = { type AppRoutesParamList (line 56) | type AppRoutesParamList = { type DevRoutesParamList (line 73) | type DevRoutesParamList = { type DocumentRoutesParamList (line 83) | type DocumentRoutesParamList = { type ExplicitRouteParams (line 123) | type ExplicitRouteParams = AadhaarRoutesParamList & type HomeRoutesParamList (line 137) | type HomeRoutesParamList = { type OmittedRouteKeys (line 154) | type OmittedRouteKeys = keyof ExplicitRouteParams; type OnboardingRoutesParamList (line 159) | type OnboardingRoutesParamList = { type RegistrationRoutesParamList (line 185) | type RegistrationRoutesParamList = { type SharedRoutesParamList (line 197) | type SharedRoutesParamList = { type VerificationRoutesParamList (line 208) | type VerificationRoutesParamList = { FILE: app/src/providers/authProvider.tsx constant SERVICE_NAME (line 35) | const SERVICE_NAME = 'secret'; type SignedPayload (line 37) | type SignedPayload = { signature: string; data: T }; type KeychainOptions (line 38) | type KeychainOptions = { function checkBiometricsAvailable (line 110) | async function checkBiometricsAvailable(): Promise { function restoreFromMnemonic (line 126) | async function restoreFromMnemonic( function loadOrCreateMnemonic (line 160) | async function loadOrCreateMnemonic( type AuthProviderProps (line 262) | interface AuthProviderProps extends PropsWithChildren { type IAuthContext (line 265) | interface IAuthContext { function _generateAddressFromMnemonic (line 382) | function _generateAddressFromMnemonic(mnemonic: string, index: number): ... function generateAndStorePointsAddress (line 391) | async function generateAndStorePointsAddress( function getOrGeneratePointsAddress (line 405) | async function getOrGeneratePointsAddress( function getPrivateKeyFromMnemonic (line 431) | function getPrivateKeyFromMnemonic(mnemonic: string) { function hasSecretStored (line 436) | async function hasSecretStored() { function migrateToSecureKeychain (line 447) | async function migrateToSecureKeychain(): Promise { function setKeychainCryptoFailureCallback (line 501) | function setKeychainCryptoFailureCallback( function unsafe_clearSecrets (line 507) | async function unsafe_clearSecrets() { function unsafe_getPointsPrivateKey (line 517) | async function unsafe_getPointsPrivateKey( function unsafe_getPrivateKey (line 539) | async function unsafe_getPrivateKey(keychainOptions?: KeychainOptions) { FILE: app/src/providers/authProvider.web.tsx type SignedPayload (line 24) | type SignedPayload = { signature: string; data: T }; type AndroidBridge (line 27) | interface AndroidBridge { type Window (line 32) | interface Window { function checkBiometricsAvailable (line 119) | async function checkBiometricsAvailable(): Promise { function restoreFromMnemonic (line 126) | async function restoreFromMnemonic(_mnemonic: string): Promise { type AuthProviderProps (line 141) | interface AuthProviderProps extends PropsWithChildren { type IAuthContext (line 145) | interface IAuthContext { function hasSecretStored (line 266) | async function hasSecretStored() { function migrateToSecureKeychain (line 271) | async function migrateToSecureKeychain(): Promise { function unsafe_clearSecrets (line 276) | async function unsafe_clearSecrets() { function unsafe_getPrivateKey (line 287) | async function unsafe_getPrivateKey() { FILE: app/src/providers/feedbackProvider.tsx type FeedbackContextType (line 14) | interface FeedbackContextType { type FeedbackProviderProps (line 64) | interface FeedbackProviderProps { FILE: app/src/providers/loggerProvider.tsx type LoggerContextType (line 24) | type LoggerContextType = { FILE: app/src/providers/passportDataProvider.tsx function setPassportKeychainErrorCallback (line 83) | function setPassportKeychainErrorCallback( function notifyKeychainFailure (line 89) | function notifyKeychainFailure(type: KeychainErrorType) { function handleKeychainReadError (line 95) | function handleKeychainReadError({ type DocumentChangeCallback (line 164) | type DocumentChangeCallback = (isMock: boolean) => void; function __resetPassportProviderTestState (line 191) | function __resetPassportProviderTestState() { function checkAndUpdateRegistrationStates (line 312) | async function checkAndUpdateRegistrationStates( function checkIfAnyDocumentsNeedMigration (line 321) | async function checkIfAnyDocumentsNeedMigration(): Promise { function clearDocumentCatalogForMigrationTesting (line 331) | async function clearDocumentCatalogForMigrationTesting() { function clearSpecificPassportData (line 360) | async function clearSpecificPassportData(documentType: string) { function deleteDocumentDirectlyFromKeychain (line 371) | async function deleteDocumentDirectlyFromKeychain( function deleteDocument (line 377) | async function deleteDocument(documentId: string): Promise { function getAvailableDocumentTypes (line 402) | async function getAvailableDocumentTypes(): Promise { function getCurrentDocumentType (line 408) | async function getCurrentDocumentType(): Promise { function getServiceNameForDocumentType (line 420) | function getServiceNameForDocumentType(documentType: string): string { function initializeNativeModules (line 440) | async function initializeNativeModules( function loadAllPassportData (line 483) | async function loadAllPassportData(selfClient: SelfClient): Promise<{ function loadDocumentByIdDirectlyFromKeychain (line 498) | async function loadDocumentByIdDirectlyFromKeychain( function loadDocumentCatalogDirectlyFromKeychain (line 533) | async function loadDocumentCatalogDirectlyFromKeychain(): Promise { function loadSelectedPassportDataAndSecret (line 683) | async function loadSelectedPassportDataAndSecret() { type PassportProviderProps (line 695) | interface PassportProviderProps extends PropsWithChildren { type IPassportContext (line 698) | interface IPassportContext { function migrateFromLegacyStorage (line 740) | async function migrateFromLegacyStorage(): Promise { function reStorePassportDataWithRightCSCA (line 775) | async function reStorePassportDataWithRightCSCA( function saveDocumentCatalogDirectlyToKeychain (line 819) | async function saveDocumentCatalogDirectlyToKeychain( function setDefaultDocumentTypeIfNeeded (line 830) | async function setDefaultDocumentTypeIfNeeded() { function setSelectedDocument (line 838) | async function setSelectedDocument(documentId: string): Promise { function storeDocumentDirectlyToKeychain (line 850) | async function storeDocumentDirectlyToKeychain( function storeDocumentWithDeduplication (line 863) | async function storeDocumentWithDeduplication( function storePassportData (line 934) | async function storePassportData(passportData: IDDocument) { function updateDocumentRegistrationState (line 938) | async function updateDocumentRegistrationState( FILE: app/src/providers/remoteConfigProvider.tsx type RemoteConfigContextValue (line 10) | interface RemoteConfigContextValue { FILE: app/src/providers/selfClientProvider.tsx type GlobalCrypto (line 49) | type GlobalCrypto = { crypto?: { subtle?: Crypto['subtle'] } }; function navigateIfReady (line 58) | function navigateIfReady( method hash (line 145) | async hash( method sign (line 160) | async sign(_data: Uint8Array, _keyRef: string): Promise { method generateKey (line 165) | async generateKey(_keyRef: string): Promise<{ keyRef: string }> { method getPublicKey (line 170) | async getPublicKey(_keyRef: string): Promise { function disableKeychainErrorModal (line 465) | function disableKeychainErrorModal() { function enableKeychainErrorModal (line 472) | function enableKeychainErrorModal() { function showKeychainErrorModal (line 477) | function showKeychainErrorModal( FILE: app/src/proving/loadingScreenStateText.ts type LoadingScreenText (line 10) | interface LoadingScreenText { function getLoadingScreenText (line 17) | function getLoadingScreenText( function getProvingTimeEstimate (line 156) | function getProvingTimeEstimate( FILE: app/src/proving/validateDocument.ts function checkAndUpdateRegistrationStates (line 35) | async function checkAndUpdateRegistrationStates( function getAlternativeCSCA (line 201) | function getAlternativeCSCA( type MigratedPassportData (line 219) | type MigratedPassportData = Omit = { method getCommitmentTree (line 124) | getCommitmentTree(docCategory) { method getAltCSCA (line 127) | getAltCSCA(docCategory) { FILE: app/src/screens/account/settings/CloudBackupScreen.tsx type NextScreen (line 38) | type NextScreen = keyof Pick; type CloudBackupScreenProps (line 40) | type CloudBackupScreenProps = StaticScreenProps< type BackupMethod (line 48) | type BackupMethod = 'icloud' | 'turnkey' | null; function BottomButton (line 357) | function BottomButton({ FILE: app/src/screens/account/settings/SecurityAndBackupScreen.tsx type MinimalRootStackParamList (line 27) | type MinimalRootStackParamList = Record; type MenuButtonProps (line 29) | interface MenuButtonProps extends PropsWithChildren { FILE: app/src/screens/account/settings/SettingsScreen.tsx type MinimalRootStackParamList (line 54) | type MinimalRootStackParamList = Record; type MenuButtonProps (line 56) | interface MenuButtonProps extends PropsWithChildren { type SocialButtonProps (line 60) | interface SocialButtonProps { constant CURRENT_PLATFORM (line 73) | const CURRENT_PLATFORM: SettingsPlatform = constant ROUTE_ICONS (line 76) | const ROUTE_ICONS: Record> = { FILE: app/src/screens/account/settings/ShowRecoveryPhraseScreen.tsx function useCopyRecoveryPhrase (line 21) | function useCopyRecoveryPhrase(mnemonic: string[] | undefined) { FILE: app/src/screens/account/settings/settingsMenu.ts type SettingsEntry (line 5) | type SettingsEntry = { type SettingsGatingContext (line 10) | type SettingsGatingContext = { type SettingsPlatform (line 17) | type SettingsPlatform = 'ios' | 'android' | 'web'; type SettingsRouteKey (line 19) | type SettingsRouteKey = constant DEBUG_SETTINGS_ENTRY (line 28) | const DEBUG_SETTINGS_ENTRY: SettingsEntry = { constant SETTINGS_ENTRIES_NATIVE (line 33) | const SETTINGS_ENTRIES_NATIVE: readonly SettingsEntry[] = [ constant SETTINGS_ENTRIES_WEB (line 41) | const SETTINGS_ENTRIES_WEB: readonly SettingsEntry[] = [ constant TROUBLESHOOTING_ENTRY (line 47) | const TROUBLESHOOTING_ENTRY: SettingsEntry = { FILE: app/src/screens/app/GratificationScreen.tsx type GratificationScreenProps (line 34) | type GratificationScreenProps = StaticScreenProps<{ FILE: app/src/screens/app/LoadingScreen.tsx type LoadingScreenParams (line 34) | type LoadingScreenParams = { type LoadingScreenProps (line 40) | type LoadingScreenProps = StaticScreenProps; FILE: app/src/screens/app/ModalScreen.tsx type ModalNavigationParams (line 38) | interface ModalNavigationParams extends Omit< type ModalParams (line 45) | interface ModalParams extends Record { type ModalScreenProps (line 55) | type ModalScreenProps = StaticScreenProps; FILE: app/src/screens/app/SplashScreen.tsx constant INIT_TIMEOUT_MS (line 48) | const INIT_TIMEOUT_MS = 30_000; FILE: app/src/screens/app/startupRouting.ts type StartupNavigationTarget (line 7) | type StartupNavigationTarget = { type StartupRoutingParams (line 12) | type StartupRoutingParams = { function getStartupNavigationTarget (line 19) | function getStartupNavigationTarget( function hasStartupRecoverySignal (line 51) | function hasStartupRecoverySignal(params: { FILE: app/src/screens/dev/CreateMockScreen.tsx type FormSectionProps (line 132) | type FormSectionProps = { FILE: app/src/screens/dev/DevFeatureFlagsScreen.tsx type FeatureFlag (line 26) | interface FeatureFlag { FILE: app/src/screens/dev/SocialLoginDemoScreen.tsx type SocialUser (line 31) | type SocialUser = { FILE: app/src/screens/dev/components/LogLevelSelector.tsx type LogLevelSelectorProps (line 23) | interface LogLevelSelectorProps { FILE: app/src/screens/dev/components/ParameterSection.tsx type ParameterSectionProps (line 22) | interface ParameterSectionProps extends PropsWithChildren { function ParameterSection (line 31) | function ParameterSection({ FILE: app/src/screens/dev/components/TopicToggleButton.tsx type TopicToggleButtonProps (line 16) | interface TopicToggleButtonProps { FILE: app/src/screens/dev/sections/DangerZoneSection.tsx type DangerZoneSectionProps (line 19) | interface DangerZoneSectionProps { FILE: app/src/screens/dev/sections/DebugShortcutsSection.tsx type DebugShortcutsSectionProps (line 21) | interface DebugShortcutsSectionProps { type ShortcutRowProps (line 25) | interface ShortcutRowProps { FILE: app/src/screens/dev/sections/DevTogglesSection.tsx type DevTogglesSectionProps (line 12) | interface DevTogglesSectionProps { FILE: app/src/screens/dev/sections/PushNotificationsSection.tsx type PushNotificationsSectionProps (line 12) | interface PushNotificationsSectionProps { FILE: app/src/screens/documents/aadhaar/AadhaarUploadErrorScreen.tsx type AadhaarUploadErrorRouteParams (line 36) | type AadhaarUploadErrorRouteParams = { type AadhaarUploadErrorRoute (line 40) | type AadhaarUploadErrorRoute = RouteProp< FILE: app/src/screens/documents/management/DocumentDataInfoScreen.tsx type DocumentMetadata (line 24) | type DocumentMetadata = FILE: app/src/screens/documents/scanning/DataConfirmationScreen.tsx type DocumentData (line 35) | interface DocumentData { FILE: app/src/screens/documents/scanning/DocumentNFCMethodSelectionScreen.tsx type NFCParams (line 26) | type NFCParams = { constant NFC_METHODS (line 35) | const NFC_METHODS = [ FILE: app/src/screens/documents/scanning/DocumentNFCScanScreen.tsx type DocumentNFCScanRouteParams (line 96) | type DocumentNFCScanRouteParams = { type DocumentNFCScanRoute (line 106) | type DocumentNFCScanRoute = RouteProp< FILE: app/src/screens/documents/scanning/RegistrationFallbackMRZScreen.tsx type RegistrationFallbackMRZRouteParams (line 39) | type RegistrationFallbackMRZRouteParams = { type RegistrationFallbackMRZRoute (line 43) | type RegistrationFallbackMRZRoute = RouteProp< FILE: app/src/screens/documents/scanning/RegistrationFallbackNFCScreen.tsx type RegistrationFallbackNFCRouteParams (line 41) | type RegistrationFallbackNFCRouteParams = { type RegistrationFallbackNFCRoute (line 45) | type RegistrationFallbackNFCRoute = RouteProp< FILE: app/src/screens/documents/selection/ConfirmBelongingScreen.tsx type ConfirmBelongingScreenProps (line 20) | type ConfirmBelongingScreenProps = StaticScreenProps; FILE: app/src/screens/documents/selection/LogoConfirmationScreen.tsx type LogoConfirmationScreenRouteProp (line 41) | type LogoConfirmationScreenRouteProp = RouteProp< FILE: app/src/screens/home/PointsInfoScreen.tsx type PointsInfoScreenProps (line 30) | type PointsInfoScreenProps = StaticScreenProps< type EarnPointsItemProps (line 38) | interface EarnPointsItemProps { constant EARN_POINTS_ITEMS (line 68) | const EARN_POINTS_ITEMS = [ FILE: app/src/screens/home/ProofHistoryDetailScreen.tsx type ProofHistoryDetailScreenProps (line 32) | type ProofHistoryDetailScreenProps = { type DisclosureType (line 40) | enum DisclosureType { FILE: app/src/screens/home/ProofHistoryList.tsx type Section (line 37) | type Section = { constant TIME_PERIODS (line 42) | const TIME_PERIODS = { type ProofHistoryListProps (line 52) | interface ProofHistoryListProps { FILE: app/src/screens/home/ProofHistoryScreen.tsx type Section (line 38) | type Section = { constant TIME_PERIODS (line 43) | const TIME_PERIODS = { FILE: app/src/screens/kyc/KycFailureScreen.tsx type KycFailureRouteParams (line 29) | type KycFailureRouteParams = { type KycFailureRoute (line 34) | type KycFailureRoute = RouteProp, ... FILE: app/src/screens/kyc/KycSuccessScreen.tsx type KycSuccessRouteParams (line 35) | type KycSuccessRouteParams = StaticScreenProps< FILE: app/src/screens/shared/ComingSoonScreen.tsx type ComingSoonScreenProps (line 36) | type ComingSoonScreenProps = NativeStackScreenProps< FILE: app/src/screens/shared/WebViewScreen.tsx type WebViewScreenParams (line 40) | interface WebViewScreenParams { type WebViewScreenProps (line 48) | type WebViewScreenProps = NativeStackScreenProps< FILE: app/src/screens/starfall/StarfallPushCodeScreen.tsx constant DASH_CODE (line 31) | const DASH_CODE = '----'; FILE: app/src/screens/verification/DocumentSelectorForProvingScreen.tsx function getDocumentDisplayName (line 52) | function getDocumentDisplayName( function determineDocumentState (line 92) | function determineDocumentState( FILE: app/src/screens/verification/ProofRequestStatusScreen.tsx constant PREREQ_CHECK_TIMEOUT_MS (line 48) | const PREREQ_CHECK_TIMEOUT_MS = 3000; constant PROVING_STALL_TIMEOUT_MS (line 52) | const PROVING_STALL_TIMEOUT_MS = 90_000; constant PROOF_TIMEOUT_ERROR_CODE (line 53) | const PROOF_TIMEOUT_ERROR_CODE = 'proof_timeout'; constant PROOF_TIMEOUT_REASON (line 54) | const PROOF_TIMEOUT_REASON = 'timed_out_after_90s'; constant STALL_TIMEOUT_STATES (line 55) | const STALL_TIMEOUT_STATES = new Set([ function cancelDeeplinkCallbackRedirect (line 193) | function cancelDeeplinkCallbackRedirect() { function cancelCountdown (line 197) | function cancelCountdown() { function getTitle (line 458) | function getTitle(currentState: string) { function getUserFacingErrorMessage (line 472) | function getUserFacingErrorMessage( function Info (line 497) | function Info({ FILE: app/src/screens/verification/ProveScreen.tsx function onVerify (line 405) | function onVerify() { FILE: app/src/services/analytics.ts constant MIXPANEL_AUTO_FLUSH_THRESHOLD (line 20) | const MIXPANEL_AUTO_FLUSH_THRESHOLD = 5; constant MAX_EVENT_QUEUE_SIZE (line 21) | const MAX_EVENT_QUEUE_SIZE = 100; function coerceToJsonValue (line 43) | function coerceToJsonValue( function cleanParams (line 82) | function cleanParams(params: Record): JsonMap { function validateParams (line 95) | function validateParams( function withSupportUuid (line 115) | function withSupportUuid( function _track (line 135) | function _track( FILE: app/src/services/cloud-backup/google.ts function createGDrive (line 39) | async function createGDrive() { function googleSignIn (line 50) | async function googleSignIn(): Promise { FILE: app/src/services/cloud-backup/helpers.ts constant ENCRYPTED_FILE_PATH (line 12) | const ENCRYPTED_FILE_PATH = `/${folder}/encrypted-private-key`; constant FILE_NAME (line 13) | const FILE_NAME = 'encrypted-private-key'; constant FOLDER (line 14) | const FOLDER = folder; FILE: app/src/services/cloud-backup/index.ts constant STORAGE_NAME (line 23) | const STORAGE_NAME = Platform.OS === 'ios' ? 'iCloud' : 'Google Drive'; function isDriveFile (line 25) | function isDriveFile(file: unknown): file is { id: string } { function disableBackup (line 33) | async function disableBackup() { function download (line 59) | async function download() { function upload (line 92) | async function upload(mnemonic: Mnemonic) { function useBackupMnemonic (line 116) | function useBackupMnemonic() { FILE: app/src/services/cloud-backup/ios.ts function disableBackup (line 12) | async function disableBackup() { function download (line 16) | async function download() { function upload (line 35) | async function upload(mnemonic: Mnemonic) { FILE: app/src/services/logging/index.ts type RootLogger (line 42) | type RootLogger = typeof Logger; type LoggerExtension (line 43) | type LoggerExtension = ReturnType; FILE: app/src/services/logging/logger/consoleInterceptor.ts type LoggerMethods (line 14) | type LoggerMethods = { FILE: app/src/services/logging/logger/lokiTransport.ts type LokiLogEntry (line 19) | interface LokiLogEntry { type LokiStream (line 25) | interface LokiStream { type LokiPayload (line 30) | interface LokiPayload { constant BATCH_SIZE (line 40) | const BATCH_SIZE = 100; constant BATCH_TIMEOUT (line 41) | const BATCH_TIMEOUT = 5000; type LokiTransportOptions (line 172) | type LokiTransportOptions = Record; FILE: app/src/services/logging/logger/nativeLoggerBridge.ts type NativeLogEvent (line 12) | interface NativeLogEvent { FILE: app/src/services/notifications/notificationService.shared.ts type DeviceTokenRegistration (line 7) | interface DeviceTokenRegistration { type RemoteMessage (line 13) | interface RemoteMessage { constant API_URL (line 23) | const API_URL = notificationApiUrl; constant API_URL_STAGING (line 25) | const API_URL_STAGING = notificationApiStagingUrl; FILE: app/src/services/notifications/notificationService.ts constant SELF_UUID_NAMESPACE (line 17) | const SELF_UUID_NAMESPACE = '00000000-0000-8000-8000-531f00000000'; constant REGISTER_TOKEN_TIMEOUT_MS (line 19) | const REGISTER_TOKEN_TIMEOUT_MS = 10000; constant REGISTER_TOKEN_MAX_ATTEMPTS (line 20) | const REGISTER_TOKEN_MAX_ATTEMPTS = 3; constant REGISTER_TOKEN_BACKOFF_MS (line 21) | const REGISTER_TOKEN_BACKOFF_MS = 500; function fetchRegisterToken (line 27) | async function fetchRegisterToken( function getFCMToken (line 77) | async function getFCMToken(): Promise { function isNotificationSystemReady (line 101) | async function isNotificationSystemReady(): Promise<{ function isTopicSubscribed (line 152) | async function isTopicSubscribed(topic: string): Promise { function registerDeviceToken (line 165) | async function registerDeviceToken( function requestNotificationPermission (line 214) | async function requestNotificationPermission(): Promise { function setupNotifications (line 241) | function setupNotifications(): () => void { function subscribeToTopics (line 266) | async function subscribeToTopics(topics: string[]): Promise<{ function unsubscribeFromTopics (line 329) | async function unsubscribeFromTopics(topics: string[]): Promise<{ FILE: app/src/services/notifications/notificationService.web.ts function getFCMToken (line 12) | async function getFCMToken(): Promise { function isNotificationSystemReady (line 45) | async function isNotificationSystemReady(): Promise<{ function registerDeviceToken (line 85) | async function registerDeviceToken( function requestNotificationPermission (line 146) | async function requestNotificationPermission(): Promise { function setupNotifications (line 174) | function setupNotifications(): () => void { function subscribeToTopics (line 197) | async function subscribeToTopics(topics: string[]): Promise<{ function unsubscribeFromTopics (line 221) | async function unsubscribeFromTopics(topics: string[]): Promise<{ FILE: app/src/services/points/api.ts type ApiResponse (line 14) | type ApiResponse = { type SignatureData (line 21) | interface SignatureData { constant SUCCESSFUL_STATUS_CODES (line 29) | const SUCCESSFUL_STATUS_CODES = [200, 202] as const; FILE: app/src/services/points/constants.ts constant POINTS_API_BASE_URL (line 7) | const POINTS_API_BASE_URL = pointsApiBaseUrl; constant POINTS_API_ROUTES (line 8) | const POINTS_API_ROUTES = { constant POINTS_SELF_APP_ENDPOINT (line 19) | const POINTS_SELF_APP_ENDPOINT = constant POINTS_SELF_APP_NAME (line 21) | const POINTS_SELF_APP_NAME = '✨ Self Points'; constant POINTS_SELF_APP_SCOPE (line 22) | const POINTS_SELF_APP_SCOPE = 'minimal-disclosure-quest'; constant POINTS_TOKEN_CONTRACT_ADDRESS (line 23) | const POINTS_TOKEN_CONTRACT_ADDRESS = FILE: app/src/services/points/eventPolling.ts function pollEventProcessingStatus (line 12) | async function pollEventProcessingStatus( function sleep (line 42) | function sleep(ms: number): Promise { FILE: app/src/services/points/jobStatus.ts type JobStatusResponse (line 10) | type JobStatusResponse = { function checkEventProcessingStatus (line 15) | async function checkEventProcessingStatus( FILE: app/src/services/points/registerEvents.ts type VerifyActionResponse (line 8) | type VerifyActionResponse = { FILE: app/src/services/points/types.ts type IncomingPoints (line 5) | type IncomingPoints = { type PointEvent (line 10) | type PointEvent = { type PointEventStatus (line 19) | type PointEventStatus = 'pending' | 'completed' | 'failed'; type PointEventType (line 21) | type PointEventType = 'refer' | 'notification' | 'backup' | 'disclosure'; constant POINT_VALUES (line 23) | const POINT_VALUES = { FILE: app/src/services/points/utils.ts type WhitelistedContract (line 20) | type WhitelistedContract = { constant NULLIFIER_ALREADY_USED_ERROR_PREFIX (line 26) | const NULLIFIER_ALREADY_USED_ERROR_PREFIX = '0xdc215c0a'; FILE: app/src/services/starfall/pushCodeService.ts constant REQUEST_TIMEOUT_MS (line 10) | const REQUEST_TIMEOUT_MS = 30000; function fetchPushCode (line 20) | async function fetchPushCode(walletAddress: string): Promise { FILE: app/src/services/support.ts constant SUPPORT_FORM_BUTTON_TEXT (line 11) | const SUPPORT_FORM_BUTTON_TEXT = 'Send feedback'; constant SUPPORT_FORM_COMING_SOON_BUTTON_TEXT (line 13) | const SUPPORT_FORM_COMING_SOON_BUTTON_TEXT = 'Let us know'; constant SUPPORT_FORM_COMING_SOON_MESSAGE (line 15) | const SUPPORT_FORM_COMING_SOON_MESSAGE = constant SUPPORT_FORM_MESSAGE (line 18) | const SUPPORT_FORM_MESSAGE = 'Have feedback? Please fill out our form.'; constant SUPPORT_FORM_TIP_MESSAGE (line 20) | const SUPPORT_FORM_TIP_MESSAGE = 'Have feedback? Let us know.'; FILE: app/src/stores/database.ts constant PAGE_SIZE (line 10) | const PAGE_SIZE = 20; constant DB_NAME (line 11) | const DB_NAME = 'proof_history.db'; constant TABLE_NAME (line 12) | const TABLE_NAME = 'proof_history'; constant STALE_PROOF_TIMEOUT_MS (line 13) | const STALE_PROOF_TIMEOUT_MS = 10 * 60 * 1000; function openDatabase (line 20) | async function openDatabase() { method insertProof (line 109) | async insertProof(proof: Omit) { method updateProofStatus (line 201) | async updateProofStatus( function addDocumentIdColumn (line 217) | async function addDocumentIdColumn() { function addEndpointColumn (line 224) | async function addEndpointColumn() { FILE: app/src/stores/database.web.ts constant DB_NAME (line 8) | const DB_NAME = 'proof_history_db'; constant STORE_NAME (line 9) | const STORE_NAME = 'proof_history'; constant DB_VERSION (line 10) | const DB_VERSION = 1; constant PAGE_SIZE (line 11) | const PAGE_SIZE = 20; class IndexedDBDatabase (line 13) | class IndexedDBDatabase implements ProofDB { method openDatabase (line 16) | private async openDatabase(): Promise { method updateStaleProofs (line 49) | async updateStaleProofs( method getPendingProofs (line 83) | async getPendingProofs(): Promise { method getHistory (line 99) | async getHistory(page: number = 1): Promise { method init (line 152) | async init(): Promise { method insertProof (line 157) | async insertProof( method updateProofStatus (line 216) | async updateProofStatus( FILE: app/src/stores/errorInjectionStore.ts type InjectedErrorType (line 11) | type InjectedErrorType = constant ERROR_GROUPS (line 24) | const ERROR_GROUPS = { constant ERROR_LABELS (line 37) | const ERROR_LABELS: Record = { type ErrorInjectionState (line 51) | interface ErrorInjectionState { FILE: app/src/stores/pendingKycStore.ts constant VERIFICATION_TIMEOUT_MS (line 14) | const VERIFICATION_TIMEOUT_MS = 48 * 60 * 60 * 1000; type PendingKycState (line 16) | interface PendingKycState { FILE: app/src/stores/pointEventStore.ts type PointEventState (line 21) | interface PointEventState { constant STORAGE_KEY (line 49) | const STORAGE_KEY = '@point_events'; constant DESIRED_EVENT_TYPES (line 51) | const DESIRED_EVENT_TYPES = ['refer', 'notification', 'backup', 'disclos... FILE: app/src/stores/proofHistoryStore.ts type ProofHistoryState (line 14) | interface ProofHistoryState { constant SYNC_THROTTLE_MS (line 33) | const SYNC_THROTTLE_MS = 30 * 1000; FILE: app/src/stores/proofTypes.ts type ProofDB (line 7) | interface ProofDB { type ProofDBResult (line 25) | interface ProofDBResult { type ProofHistory (line 32) | interface ProofHistory { type ProofStatus (line 49) | enum ProofStatus { FILE: app/src/stores/settingStore.ts type LoggingSeverity (line 9) | type LoggingSeverity = 'debug' | 'info' | 'warn' | 'error'; type PersistedSettingsState (line 11) | interface PersistedSettingsState { type NonPersistedSettingsState (line 52) | interface NonPersistedSettingsState { type SettingsState (line 63) | type SettingsState = PersistedSettingsState & NonPersistedSettingsState; constant SETTING_STORE_VERSION (line 65) | const SETTING_STORE_VERSION = 1; function waitForSettingStoreHydration (line 223) | function waitForSettingStoreHydration(): Promise { FILE: app/src/stores/userStore.ts type UserState (line 9) | interface UserState { FILE: app/src/types/mnemonic.ts type Mnemonic (line 5) | interface Mnemonic { FILE: app/src/types/react-native-keychain.d.ts type ExtendedSetOptions (line 11) | type ExtendedSetOptions = SetOptions & { FILE: app/src/types/reactNativePassportReader.d.ts type ScanOptions (line 6) | interface ScanOptions { type PassportReader (line 17) | interface PassportReader { FILE: app/src/types/vite-env.d.ts type ImportMetaEnv (line 5) | interface ImportMetaEnv { type ImportMeta (line 13) | interface ImportMeta { FILE: app/src/utils/cameraPermission.ts constant CAMERA_PERMISSION (line 14) | const CAMERA_PERMISSION = function safeCheck (line 17) | async function safeCheck(): Promise { function safeRequest (line 25) | async function safeRequest(): Promise { function openAppSettings (line 33) | function openAppSettings(): void { function showBlockedAlert (line 39) | function showBlockedAlert(onFallback?: () => void): void { function showUnavailableAlert (line 61) | function showUnavailableAlert(onFallback?: () => void): void { function ensureCameraForPassportScan (line 80) | async function ensureCameraForPassportScan(opts?: { FILE: app/src/utils/cardBackgroundSelector.ts constant BACKGROUND_COUNT (line 13) | const BACKGROUND_COUNT = 6; function getBackgroundIndex (line 20) | function getBackgroundIndex(document: IDDocument): number { FILE: app/src/utils/countryDemonyms.ts constant COUNTRY_DEMONYMS (line 6) | const COUNTRY_DEMONYMS: Record = { constant COUNTRY_ADJECTIVES (line 232) | const COUNTRY_ADJECTIVES: Record = { FILE: app/src/utils/crypto/ethers.ts function randomBytes (line 12) | function randomBytes(length: number): Uint8Array { function computeHmac (line 19) | function computeHmac( function pbkdf2 (line 28) | function pbkdf2( function sha256 (line 39) | function sha256(data: Uint8Array): Uint8Array { function sha512 (line 43) | function sha512(data: Uint8Array): Uint8Array { FILE: app/src/utils/crypto/mnemonic.ts function getRecoveryPhraseWarningMessage (line 15) | function getRecoveryPhraseWarningMessage(): string { function isMnemonic (line 25) | function isMnemonic(obj: unknown): obj is Mnemonic { function parseMnemonic (line 48) | function parseMnemonic(mnemonicString: string): Mnemonic { FILE: app/src/utils/devUtils.ts constant IS_DEV_MODE (line 19) | const IS_DEV_MODE = typeof __DEV__ !== 'undefined' && __DEV__; constant IS_EUCLID_ENABLED (line 20) | const IS_EUCLID_ENABLED = false; constant TEST_DOCUMENTS (line 27) | const TEST_DOCUMENTS = [ function clearAllDocuments (line 83) | async function clearAllDocuments(): Promise { function generateTestDocuments (line 103) | async function generateTestDocuments(): Promise { FILE: app/src/utils/diffCalculator.ts type FirstDifference (line 5) | interface FirstDifference { function calculateFirstDifference (line 10) | function calculateFirstDifference( FILE: app/src/utils/disclosureUtils.ts function listToString (line 9) | function listToString(list: string[]): string { function countriesToSentence (line 18) | function countriesToSentence(countries: Country3LetterCode[]): string { constant ORDERED_DISCLOSURE_KEYS (line 22) | const ORDERED_DISCLOSURE_KEYS: Array = [ function getDisclosureItems (line 35) | function getDisclosureItems( function getDisclosureText (line 59) | function getDisclosureText( FILE: app/src/utils/documentAttributes.ts type DocumentAttributes (line 24) | interface DocumentAttributes { function checkDocumentExpiration (line 43) | function checkDocumentExpiration(dateOfExpiry: string): boolean { function formatDateFromYYMMDD (line 75) | function formatDateFromYYMMDD( function getDocumentAttributes (line 102) | function getDocumentAttributes( function getKycAttributes (line 130) | function getKycAttributes(document: KycData): DocumentAttributes { function getAadhaarAttributes (line 225) | function getAadhaarAttributes(document: AadhaarData): DocumentAttributes { function getPassportAttributes (line 265) | function getPassportAttributes( function getDocumentScanPrompt (line 324) | function getDocumentScanPrompt( function getDocumentTypeName (line 331) | function getDocumentTypeName(documentType: string | undefined): string { function getNameAndSurname (line 348) | function getNameAndSurname(nameSlice: string): { FILE: app/src/utils/documentUtils.ts function getDocumentTypeName (line 9) | function getDocumentTypeName( FILE: app/src/utils/formatUserId.ts function formatUserId (line 11) | function formatUserId( FILE: app/src/utils/jsonUtils.ts function safeJsonParse (line 13) | function safeJsonParse( function safeJsonStringify (line 37) | function safeJsonStringify( FILE: app/src/utils/keychainErrors.ts type KeychainErrorIdentity (line 5) | type KeychainErrorIdentity = { type KeychainError (line 10) | type KeychainError = { type KeychainErrorType (line 16) | type KeychainErrorType = 'user_cancelled' | 'crypto_failed'; function getKeychainErrorIdentity (line 18) | function getKeychainErrorIdentity( function isKeychainCryptoError (line 25) | function isKeychainCryptoError(error: unknown): boolean { function isUserCancellation (line 39) | function isUserCancellation(error: unknown): boolean { FILE: app/src/utils/modalCallbackRegistry.ts type ModalCallbacks (line 5) | type ModalCallbacks = { function getModalCallbacks (line 13) | function getModalCallbacks(id: number): ModalCallbacks | undefined { function registerModalCallbacks (line 17) | function registerModalCallbacks(callbacks: ModalCallbacks): number { function unregisterModalCallbacks (line 23) | function unregisterModalCallbacks(id: number): void { FILE: app/src/utils/retry.ts function withRetries (line 15) | async function withRetries( FILE: app/src/utils/styleUtils.ts function normalizeBorderWidth (line 20) | function normalizeBorderWidth(borderWidth: unknown): number | undefined { FILE: app/src/utils/webview.ts type WebViewRequestWithIosProps (line 11) | interface WebViewRequestWithIosProps { constant ALWAYS_OPEN_EXTERNALLY (line 26) | const ALWAYS_OPEN_EXTERNALLY = Object.freeze([ constant DISALLOWED_SCHEMES (line 35) | const DISALLOWED_SCHEMES = Object.freeze([ constant TRUSTED_DOMAINS (line 59) | const TRUSTED_DOMAINS = Object.freeze([ FILE: app/src/utils/yymmdd.ts constant MONTHS (line 5) | const MONTHS = [ FILE: app/tamagui.config.ts function makeFont (line 48) | function makeFont(family: string, weight: Record) { type AppConfig (line 72) | type AppConfig = typeof appConfig; type TamaguiCustomConfig (line 80) | interface TamaguiCustomConfig extends AppConfig {} FILE: app/tests/__setup__/@env.js constant DEFAULT_DOB (line 5) | const DEFAULT_DOB = undefined; constant DEFAULT_DOE (line 7) | const DEFAULT_DOE = undefined; constant DEFAULT_PNUMBER (line 9) | const DEFAULT_PNUMBER = undefined; constant ENABLE_DEBUG_LOGS (line 11) | const ENABLE_DEBUG_LOGS = false; constant GOOGLE_SIGNIN_ANDROID_CLIENT_ID (line 13) | const GOOGLE_SIGNIN_ANDROID_CLIENT_ID = 'mock-google-client-id'; constant GOOGLE_SIGNIN_IOS_CLIENT_ID (line 15) | const GOOGLE_SIGNIN_IOS_CLIENT_ID = 'mock-google-ios-client-id'; constant GOOGLE_SIGNIN_WEB_CLIENT_ID (line 17) | const GOOGLE_SIGNIN_WEB_CLIENT_ID = 'mock-google-web-client-id'; constant IS_TEST_BUILD (line 19) | const IS_TEST_BUILD = false; constant MIXPANEL_NFC_PROJECT_TOKEN (line 20) | const MIXPANEL_NFC_PROJECT_TOKEN = undefined; constant SEGMENT_KEY (line 21) | const SEGMENT_KEY = 'mock-segment-key'; constant SENTRY_DSN (line 22) | const SENTRY_DSN = 'mock-sentry-dsn'; FILE: app/tests/src/integrations/nfc/nfcScanner.test.ts method OS (line 27) | get OS() { FILE: app/tests/src/providers/selfClientProvider.test.tsx class MockSocket (line 128) | class MockSocket { method constructor (line 130) | constructor(url: string) { method addEventListener (line 133) | addEventListener() {} method send (line 134) | send() {} method close (line 135) | close() {} FILE: app/tests/src/proving/validateDocument.test.ts function buildModuleState (line 121) | function buildModuleState(alternative: Record = {}) { function buildState (line 130) | function buildState(params?: { FILE: app/tests/src/screens/WebViewScreen.test.tsx type IntrinsicElements (line 24) | interface IntrinsicElements { FILE: app/tests/src/screens/account/recovery/RecoverWithPhraseScreen.test.tsx type IntrinsicElements (line 12) | interface IntrinsicElements { FILE: app/tests/src/screens/documents/management/ManageDocumentsScreen.test.tsx type IntrinsicElements (line 14) | interface IntrinsicElements { FILE: app/tests/src/screens/documents/scanning/DataConfirmationScreen.test.tsx function changeDocumentNumber (line 128) | function changeDocumentNumber(value: string) { FILE: app/tests/src/screens/verification/DocumentSelectorForProvingScreen.test.tsx type MockDocumentEntry (line 79) | type MockDocumentEntry = { FILE: app/tests/src/screens/verification/ProofRequestStatusScreen.test.tsx type IntrinsicElements (line 20) | interface IntrinsicElements { FILE: app/tests/src/screens/verification/ProvingScreenRouter.test.tsx type MockDocumentEntry (line 70) | type MockDocumentEntry = { FILE: app/tests/src/services/cloud-backup.test.ts type SupportedPlatforms (line 14) | type SupportedPlatforms = 'ios' | 'android'; FILE: app/tests/src/services/logging/lokiTransport.test.ts method supportUuidEnabled (line 39) | get supportUuidEnabled() { method supportUuid (line 42) | get supportUuid() { FILE: app/tests/src/services/supportUuid.test.ts method supportUuidEnabled (line 36) | get supportUuidEnabled() { method supportUuid (line 39) | get supportUuid() { FILE: app/tests/src/utils/cardBackgroundSelector.test.ts constant BACKGROUND_COUNT (line 10) | const BACKGROUND_COUNT = 6; function createKycDocument (line 12) | function createKycDocument(serializedApplicantInfo: string): IDDocument { FILE: app/vite.config.ts method transform (line 68) | transform(code, id) { FILE: circuits/circuits/gcp_jwt_verifier/prepare.ts constant MAX_CERT_LENGTH (line 18) | const MAX_CERT_LENGTH = 2048; constant MAX_EAT_NONCE_B64_LENGTH (line 19) | const MAX_EAT_NONCE_B64_LENGTH = 99; constant MAX_IMAGE_DIGEST_LENGTH (line 20) | const MAX_IMAGE_DIGEST_LENGTH = 71; type CertificateInfo (line 22) | interface CertificateInfo { function parseCertificate (line 34) | function parseCertificate(certDer: Buffer): CertificateInfo { function pubkeyToChunks (line 124) | function pubkeyToChunks(publicKey: forge.pki.rsa.PublicKey): string[] { function signatureToChunks (line 145) | function signatureToChunks(signature: Buffer): string[] { function rechunkSignatureToK35 (line 165) | function rechunkSignatureToK35(signatureChunks: string[]): string[] { function bufferToByteArray (line 190) | function bufferToByteArray(buffer: Buffer, maxLength: number): string[] { function getCurrentDateDigitsYYMMDDHHMMSS (line 198) | function getCurrentDateDigitsYYMMDDHHMMSS(): string[] { function main (line 210) | async function main() { FILE: circuits/src/index.ts constant CIRCUITS_VERSION (line 5) | const CIRCUITS_VERSION = '0.0.1'; constant SUPPORTED_SIGNATURE_ALGORITHMS (line 8) | const SUPPORTED_SIGNATURE_ALGORITHMS = [ type SupportedSignatureAlgorithm (line 21) | type SupportedSignatureAlgorithm = (typeof SUPPORTED_SIGNATURE_ALGORITHM... FILE: circuits/tests/disclose/vc_and_disclose_aadhaar.test.ts function createAadhaarDoc (line 48) | function createAadhaarDoc(opts?: { function getPackedRevealData (line 93) | function getPackedRevealData(revealedData: any): string[] { FILE: circuits/tests/other_circuits/is_older_than.test.ts function generateRandomDate (line 40) | function generateRandomDate(yearStart, yearEnd) { function genDateStr (line 158) | function genDateStr(currentDate: { year: number; month: number; day: num... function getAgeFromDates (line 165) | function getAgeFromDates( FILE: circuits/tests/other_circuits/is_valid.test.ts function generateRandomDate (line 31) | function generateRandomDate(yearStart, yearEnd) { function genDateStr (line 152) | function genDateStr(currentDate: { year: number; month: number; day: num... function getAgeFromDates (line 159) | function getAgeFromDates( FILE: circuits/tests/register/register_aadhaar.test.ts function createAadhaarDoc (line 33) | function createAadhaarDoc(opts?: { FILE: circuits/tests/register/test_cases.ts type TestCase (line 2) | interface TestCase { FILE: circuits/tests/register_id/test_cases.ts type TestCase (line 2) | interface TestCase { FILE: circuits/tests/utils/aadhaar/utils.ts function stringToAsciiArray (line 1) | function stringToAsciiArray(str: string) { FILE: circuits/tests/utils/ecdsa.test.ts function sign (line 258) | function sign(message: Uint8Array, curve: string, hash: string, n: numbe... function signOverflow (line 285) | function signOverflow( FILE: common/scripts/certificates/concatCertificates.ts function readFile (line 16) | function readFile(dir: string, filename: string): string | null { FILE: common/scripts/postBuild.mjs constant DIST (line 8) | const DIST = path.resolve(__dirname, '..', 'dist'); function createShim (line 39) | function createShim(shimPath, targetPath, name) { FILE: common/scripts/testExports.js constant BUILD_DIR (line 16) | const BUILD_DIR = join(__dirname, '..', 'dist', 'esm'); function verifyBuildDirectory (line 27) | function verifyBuildDirectory() { function safeImport (line 38) | async function safeImport(modulePath, description) { function testExport (line 55) | async function testExport(modulePath, exportName, description) { function testModuleExports (line 78) | async function testModuleExports(modulePath, description) { function testDirectoryExports (line 110) | async function testDirectoryExports(dirPath, categoryName) { function testReExports (line 134) | async function testReExports() { FILE: common/scripts/validateExports.js constant BUILD_DIR (line 16) | const BUILD_DIR = join(__dirname, '..', 'dist', 'esm'); constant PACKAGE_JSON_PATH (line 17) | const PACKAGE_JSON_PATH = join(__dirname, '..', 'package.json'); function loadPackageExports (line 29) | function loadPackageExports() { function getAvailableModules (line 40) | function getAvailableModules() { function validatePackageExports (line 66) | function validatePackageExports() { function findMissingExports (line 100) | function findMissingExports() { function generateExportSuggestions (line 145) | function generateExportSuggestions() { function runValidation (line 153) | async function runValidation() { FILE: common/src/constants/constants.ts type Country3LetterCode (line 1) | type Country3LetterCode = keyof typeof countryCodes; type document_type (line 2) | type document_type = 'passport' | 'id_card'; type hashAlgosTypes (line 3) | type hashAlgosTypes = 'sha512' | 'sha384' | 'sha256' | 'sha224' | 'sha1'; constant AADHAAR_ATTESTATION_ID (line 4) | const AADHAAR_ATTESTATION_ID = '3'; constant API_URL (line 5) | const API_URL = 'https://api.self.xyz'; constant API_URL_STAGING (line 6) | const API_URL_STAGING = 'https://api.staging.self.xyz'; constant CHAIN_NAME (line 8) | const CHAIN_NAME = 'celo'; constant CIRCUIT_CONSTANTS (line 11) | const CIRCUIT_CONSTANTS = { constant CIRCUIT_TYPES (line 32) | const CIRCUIT_TYPES = ['dsc', 'register', 'vc_and_disclose']; constant COMMITMENT_TREE_DEPTH (line 34) | const COMMITMENT_TREE_DEPTH = 33; constant CSCA_TREE_DEPTH (line 36) | const CSCA_TREE_DEPTH = 12; constant CSCA_TREE_URL (line 38) | const CSCA_TREE_URL = 'https://tree.self.xyz/csca'; constant CSCA_TREE_URL_ID_CARD (line 40) | const CSCA_TREE_URL_ID_CARD = 'https://tree.self.xyz/csca-id'; constant CSCA_TREE_URL_STAGING (line 42) | const CSCA_TREE_URL_STAGING = 'https://tree.staging.self.xyz/csca'; constant CSCA_TREE_URL_STAGING_ID_CARD (line 44) | const CSCA_TREE_URL_STAGING_ID_CARD = 'https://tree.staging.self.xyz/csc... constant KYC_ATTESTATION_ID (line 46) | const KYC_ATTESTATION_ID = '4'; constant DEFAULT_MAJORITY (line 49) | const DEFAULT_MAJORITY = '18'; constant DEFAULT_RPC_URL (line 51) | const DEFAULT_RPC_URL = 'https://mainnet.optimism.io'; constant DEFAULT_USER_ID_TYPE (line 53) | const DEFAULT_USER_ID_TYPE = 'uuid'; constant DEVELOPMENT_MODE (line 55) | const DEVELOPMENT_MODE = true; constant DSC_TREE_DEPTH (line 57) | const DSC_TREE_DEPTH = 21; constant DSC_TREE_URL (line 59) | const DSC_TREE_URL = 'https://tree.self.xyz/dsc'; constant DSC_TREE_URL_ID_CARD (line 61) | const DSC_TREE_URL_ID_CARD = 'https://tree.self.xyz/dsc-id'; constant DSC_TREE_URL_STAGING (line 63) | const DSC_TREE_URL_STAGING = 'https://tree.staging.self.xyz/dsc'; constant DSC_TREE_URL_STAGING_ID_CARD (line 65) | const DSC_TREE_URL_STAGING_ID_CARD = 'https://tree.staging.self.xyz/dsc-... type DscVerifierId (line 67) | enum DscVerifierId { constant ECDSA_K_LENGTH_FACTOR (line 90) | const ECDSA_K_LENGTH_FACTOR = 2; constant IDENTITY_TREE_URL (line 92) | const IDENTITY_TREE_URL = 'https://tree.self.xyz/identity'; constant IDENTITY_TREE_URL_ID_CARD (line 95) | const IDENTITY_TREE_URL_ID_CARD = 'https://tree.self.xyz/identity-id'; constant IDENTITY_TREE_URL_STAGING (line 97) | const IDENTITY_TREE_URL_STAGING = 'https://tree.staging.self.xyz/identity'; constant IDENTITY_TREE_URL_STAGING_ID_CARD (line 99) | const IDENTITY_TREE_URL_STAGING_ID_CARD = 'https://tree.staging.self.xyz... constant IDENTITY_VERIFICATION_HUB_ADDRESS (line 101) | const IDENTITY_VERIFICATION_HUB_ADDRESS = '0xe57F4773bd9c9d8b6Cd70431117... constant IDENTITY_VERIFICATION_HUB_ADDRESS_STAGING (line 103) | const IDENTITY_VERIFICATION_HUB_ADDRESS_STAGING = constant ID_CARD_ATTESTATION_ID (line 106) | const ID_CARD_ATTESTATION_ID = '2'; constant MAX_BYTES_IN_FIELD (line 108) | const MAX_BYTES_IN_FIELD = 31; constant MAX_CERT_BYTES (line 110) | const MAX_CERT_BYTES: Partial = { constant SKI_PEM_DEV (line 524) | const SKI_PEM_DEV: Record = { FILE: common/src/mock_certificates/aadhaar/mockAadhaarCert.ts constant AADHAAR_MOCK_PRIVATE_KEY_PEM (line 4) | const AADHAAR_MOCK_PRIVATE_KEY_PEM = `-----BEGIN PRIVATE KEY----- constant AADHAAR_MOCK_PUBLIC_KEY_PEM (line 34) | const AADHAAR_MOCK_PUBLIC_KEY_PEM = `-----BEGIN CERTIFICATE----- FILE: common/src/polyfills/crypto.ts function createHash (line 18) | function createHash(algorithm: string) { function createHmac (line 78) | function createHmac(algorithm: string, key: string | Uint8Array) { function randomBytes (line 143) | function randomBytes(size: number): Uint8Array | Buffer { function pbkdf2Sync (line 159) | function pbkdf2Sync( FILE: common/src/scripts/addCertificatesInTs.py function read_certificate_content (line 4) | def read_certificate_content(file_path): function read_private_key_content (line 26) | def read_private_key_content(file_path): function format_variable_name (line 52) | def format_variable_name(dir_name): function generate_typescript_file (line 60) | def generate_typescript_file(): FILE: common/src/scripts/addSkiPemToTs.py function read_json_file (line 5) | def read_json_file(json_path: str) -> dict: function generate_typescript_from_ski_json (line 15) | def generate_typescript_from_ski_json(): FILE: common/src/utils/aadhaar/build_aadhaar_ofac_smt.ts function build_aadhaar_ofac_smt (line 5) | async function build_aadhaar_ofac_smt() { FILE: common/src/utils/aadhaar/constants.ts constant MAX_FIELD_BYTE_SIZE (line 2) | const MAX_FIELD_BYTE_SIZE = 31; constant NAME_MAX_LENGTH (line 3) | const NAME_MAX_LENGTH = 2 * MAX_FIELD_BYTE_SIZE; constant TOTAL_REVEAL_DATA_LENGTH (line 4) | const TOTAL_REVEAL_DATA_LENGTH = 119; constant AADHAAR_PUBLIC_SIGNAL_INDICES (line 7) | const AADHAAR_PUBLIC_SIGNAL_INDICES = { type AadhaarPublicSignal (line 42) | type AadhaarPublicSignal = keyof typeof AADHAAR_PUBLIC_SIGNAL_INDICES; function getPublicSignalValue (line 44) | function getPublicSignalValue( function getRevealDataPackedChunks (line 55) | function getRevealDataPackedChunks(publicSignals: string[]): string[] { function getForbiddenCountriesListPackedChunks (line 62) | function getForbiddenCountriesListPackedChunks(publicSignals: string[]):... constant FIELD_LENGTHS (line 70) | const FIELD_LENGTHS = { constant REVEAL_DATA_INDICES (line 85) | const REVEAL_DATA_INDICES = { constant REVEAL_DATA_END_INDICES (line 103) | const REVEAL_DATA_END_INDICES = { constant REVEAL_DATA_RANGES (line 123) | const REVEAL_DATA_RANGES = { constant SELECTOR_BITS (line 163) | const SELECTOR_BITS = { type AadhaarField (line 179) | type AadhaarField = keyof typeof FIELD_LENGTHS; function extractField (line 187) | function extractField(unpackedData: string[], field: AadhaarField): stri... function createSelector (line 211) | function createSelector(fieldsToReveal: AadhaarField[]): bigint { constant COMMON_FIELD_COMBINATIONS (line 237) | const COMMON_FIELD_COMBINATIONS = { FILE: common/src/utils/aadhaar/mockData.ts function computePaddedName (line 37) | function computePaddedName(name: string): number[] { function computeUppercasePaddedName (line 44) | function computeUppercasePaddedName(name: string): number[] { function computeCommitment (line 53) | function computeCommitment( function computePackedCommitment (line 64) | function computePackedCommitment( function convertByteArrayToBigInt (line 77) | function convertByteArrayToBigInt(byteArray: Uint8Array | number[]): big... type SharedQRData (line 85) | interface SharedQRData { function nullifierHash (line 98) | function nullifierHash(extractedFields: ReturnType) { method build (line 124) | build(): SelfApp { function getUniversalLink (line 129) | function getUniversalLink(selfApp: SelfApp): string { FILE: common/src/utils/arrays.ts function arraysAreEqual (line 1) | function arraysAreEqual(array1: number[], array2: number[]) { function findSubarrayIndex (line 5) | function findSubarrayIndex(arr: number[], subArr: number[]): number { FILE: common/src/utils/attest.ts constant GCP_ROOT_CERT (line 6) | const GCP_ROOT_CERT = ` function base64UrlDecodeToBytes (line 46) | function base64UrlDecodeToBytes(input: string): string { function base64UrlDecodeToString (line 52) | function base64UrlDecodeToString(input: string): string { type PKICertificates (line 58) | type PKICertificates = { function extractCertificates (line 64) | function extractCertificates(x5c: string[]): PKICertificates { function compareCertificates (line 75) | function compareCertificates(cert1: forge.pki.Certificate, cert2: forge.... function verifyCertificateChain (line 89) | function verifyCertificateChain({ leaf, intermediate, root }: PKICertifi... function checkPCR0Mapping (line 111) | async function checkPCR0Mapping(imageHashHex: string): Promise { function validatePKIToken (line 140) | function validatePKIToken( FILE: common/src/utils/bytes.ts function bigIntToChunkedBytes (line 3) | function bigIntToChunkedBytes( function bytesToBigDecimal (line 16) | function bytesToBigDecimal(arr: number[]): string { function computeIntChunkLength (line 24) | function computeIntChunkLength(byteLength: number) { function derToBytes (line 34) | function derToBytes(derValue: string) { function hexStringToSignedIntArray (line 42) | function hexStringToSignedIntArray(hexString: string) { function hexToBin (line 51) | function hexToBin(n: string): string { function hexToDecimal (line 59) | function hexToDecimal(hex: string): string { function hexToSignedBytes (line 63) | function hexToSignedBytes(hexString: string): number[] { function num2Bits (line 72) | function num2Bits(n: number, inValue: bigint): bigint[] { function packBytes (line 94) | function packBytes(unpacked: number[]) { function packBytesArray (line 110) | function packBytesArray(unpacked: number[]) { function splitToWords (line 140) | function splitToWords(number: bigint, wordsize: number, numberElement: n... function toSigned (line 160) | function toSigned(byte: number) { function toUnsigned (line 163) | function toUnsigned(byte: number) { function toUnsignedByte (line 166) | function toUnsignedByte(signedByte: number) { FILE: common/src/utils/certificate_parsing/curves.ts type StandardCurve (line 1) | interface StandardCurve { function getCurveForElliptic (line 11) | function getCurveForElliptic(curveName: string): string { function getECDSACurveBits (line 30) | function getECDSACurveBits(curveName: string): string { function identifyCurve (line 48) | function identifyCurve(params: any): string { function normalizeHex (line 74) | function normalizeHex(hex: string): string { FILE: common/src/utils/certificate_parsing/dataStructure.ts type CertificateData (line 3) | interface CertificateData { type PublicKeyDetailsECDSA (line 26) | interface PublicKeyDetailsECDSA { type PublicKeyDetailsRSA (line 34) | interface PublicKeyDetailsRSA { type PublicKeyDetailsRSAPSS (line 40) | interface PublicKeyDetailsRSAPSS extends PublicKeyDetailsRSA { FILE: common/src/utils/certificate_parsing/elliptic.ts function initElliptic (line 4) | function initElliptic(): typeof elliptic { FILE: common/src/utils/certificate_parsing/oids.ts function extractHashFunction (line 1) | function extractHashFunction(friendlyName: string): string { function getFriendlyName (line 19) | function getFriendlyName(oid: string): string { function getSecpFromNist (line 23) | function getSecpFromNist(nist: string): string { function getFriendlyNameSecpCurves (line 37) | function getFriendlyNameSecpCurves(friendlyName: string): string { FILE: common/src/utils/certificate_parsing/parseCertificate.ts function parseCertificate (line 4) | async function parseCertificate(pem: string, fileName: string): Promise<... FILE: common/src/utils/certificate_parsing/parseCertificateNode.ts function addOpenSslInfo (line 6) | function addOpenSslInfo( FILE: common/src/utils/certificate_parsing/parseCertificateSimple.ts function getParamsRSA (line 44) | function getParamsRSA(cert: Certificate): PublicKeyDetailsRSA { function getParamsRSAPSS (line 59) | function getParamsRSAPSS(cert: Certificate): PublicKeyDetailsRSAPSS { function getCertificateFromPem (line 93) | function getCertificateFromPem(pemContent: string): Certificate { function getHashAlgorithm (line 161) | function getHashAlgorithm(rawSignatureAlgorithm: string) { function getParamsECDSA (line 176) | function getParamsECDSA(cert: Certificate): PublicKeyDetailsECDSA { function getTBSBytesForge (line 297) | function getTBSBytesForge(certificate: Certificate): number[] { function parseCertificateSimple (line 301) | function parseCertificateSimple(pem: string): CertificateData { FILE: common/src/utils/certificate_parsing/utils.ts function getIssuerCountryCode (line 27) | function getIssuerCountryCode(cert: Certificate): string { FILE: common/src/utils/circuits/circuitsName.ts function getCircuitNameFromPassportData (line 3) | function getCircuitNameFromPassportData( function getDSCircuitNameFromPassportData (line 14) | function getDSCircuitNameFromPassportData(passportData: IDDocument) { function getRegisterNameFromPassportData (line 87) | function getRegisterNameFromPassportData(passportData: IDDocument) { FILE: common/src/utils/circuits/formatInputs.ts function formatCountriesList (line 12) | function formatCountriesList(countries: string[]) { function reverseBytes (line 54) | function reverseBytes(input: string): string { function reverseCountryBytes (line 64) | function reverseCountryBytes(input: string): string { FILE: common/src/utils/circuits/formatOutputs.ts function formatAndUnpackForbiddenCountriesList (line 4) | function formatAndUnpackForbiddenCountriesList( function trimu0000 (line 26) | function trimu0000(unpackedReveal: string[]): string[] { function formatAndUnpackReveal (line 30) | function formatAndUnpackReveal( function formatForbiddenCountriesListFromCircuitOutput (line 54) | function formatForbiddenCountriesListFromCircuitOutput( function getAttributeFromUnpackedReveal (line 71) | function getAttributeFromUnpackedReveal( function getOlderThanFromCircuitOutput (line 87) | function getOlderThanFromCircuitOutput(olderThan: string[]): number { function revealBitmapFromAttributes (line 93) | function revealBitmapFromAttributes( function revealBitmapFromMapping (line 109) | function revealBitmapFromMapping(attributeToReveal: { [key: string]: str... function unpackReveal (line 121) | function unpackReveal( FILE: common/src/utils/circuits/generateInputs.ts function findIndexInTree (line 45) | function findIndexInTree(tree: LeanIMT, commitment: bigint): number { function formatInput (line 58) | function formatInput(input: any) { function generateCircuitInputsCountryVerifier (line 80) | function generateCircuitInputsCountryVerifier( function generateCircuitInputsDSC (line 98) | function generateCircuitInputsDSC( function generateCircuitInputsOfac (line 152) | function generateCircuitInputsOfac( function generateCircuitInputsRegister (line 204) | function generateCircuitInputsRegister( function generateCircuitInputsRegisterForTests (line 276) | function generateCircuitInputsRegisterForTests( function generateCircuitInputsVCandDisclose (line 348) | function generateCircuitInputsVCandDisclose( FILE: common/src/utils/circuits/registerInputs.ts function generateTEEInputsAadhaarDisclose (line 39) | function generateTEEInputsAadhaarDisclose( function generateTEEInputsAadhaarRegister (line 98) | async function generateTEEInputsAadhaarRegister( function generateTEEInputsDSC (line 120) | function generateTEEInputsDSC( function generateTEEInputsDiscloseStateless (line 132) | function generateTEEInputsDiscloseStateless( function getSelectorDg1 (line 223) | function getSelectorDg1(document: DocumentCategory, disclosures: SelfApp... function getSelectorDg1Passport (line 232) | function getSelectorDg1Passport(disclosures: SelfAppDisclosureConfig) { function getSelectorDg1IdCard (line 246) | function getSelectorDg1IdCard(disclosures: SelfAppDisclosureConfig) { function generateTEEInputsKycDisclose (line 260) | function generateTEEInputsKycDisclose( function generateTEEInputsRegister (line 326) | async function generateTEEInputsRegister( FILE: common/src/utils/circuits/uuid.ts type UserIdType (line 1) | type UserIdType = 'hex' | 'uuid'; function hexToBigInt (line 3) | function hexToBigInt(hex: string): bigint { function checkBigInt (line 7) | function checkBigInt(bigInt: bigint) { function uuidToBigInt (line 14) | function uuidToBigInt(uuid: string): bigint { function bigIntToHex (line 20) | function bigIntToHex(bigInt: bigint): string { function castFromScope (line 24) | function castFromScope(scope: string): string { function castFromUUID (line 29) | function castFromUUID(uuid: string): string { function castToAddress (line 35) | function castToAddress(bigInt: bigint): string { function castToScope (line 39) | function castToScope(num: bigint): string { function castToUUID (line 45) | function castToUUID(bigInt: bigint): string { function checkStringLength (line 51) | function checkStringLength(str: string) { function stringToBigInt (line 57) | function stringToBigInt(str: string): bigint { function castToUserIdentifier (line 66) | function castToUserIdentifier(bigInt: bigint, user_identifier_type: User... function hexToUUID (line 75) | function hexToUUID(hex: string): string { function stringToAsciiBigIntArray (line 79) | function stringToAsciiBigIntArray(str: string): bigint[] { function validateUserId (line 87) | function validateUserId(userId: string, type: UserIdType): boolean { FILE: common/src/utils/contracts/forbiddenCountries.ts function getPackedForbiddenCountries (line 4) | function getPackedForbiddenCountries( FILE: common/src/utils/contracts/formatCallData.ts function formatCallData_disclose (line 1) | function formatCallData_disclose(parsedCallData: any[]) { function formatCallData_dsc (line 22) | function formatCallData_dsc(parsedCallData: any[]) { function formatCallData_register (line 32) | function formatCallData_register(parsedCallData: any[]) { function formatProof (line 44) | function formatProof(proof: any, publicSignals: any) { function packForbiddenCountriesList (line 56) | function packForbiddenCountriesList(forbiddenCountries: string[]) { FILE: common/src/utils/cose.ts constant AWS_ROOT_PEM (line 58) | const AWS_ROOT_PEM = ` FILE: common/src/utils/csca.ts function findOIDPosition (line 4) | function findOIDPosition( function findStartIndex (line 73) | function findStartIndex(modulus: string, messagePaddedNumber: number[]):... function findStartIndexEC (line 102) | function findStartIndexEC(point: string, messagePadded: number[]): [numb... function getCSCAFromSKI (line 124) | function getCSCAFromSKI(ski: string, skiPem: any = null): string { function getSKIPEM (line 153) | async function getSKIPEM( FILE: common/src/utils/date.ts function getCurrentDateYYMMDD (line 1) | function getCurrentDateYYMMDD(dayDiff: number = 0): number[] { function getTimestampBytesFromYearFraction (line 15) | function getTimestampBytesFromYearFraction(yearFraction: number): number... function unixTimestampToYYMMDD (line 41) | function unixTimestampToYYMMDD(timestamp: number): string { function yearFractionToYYMMDD (line 58) | function yearFractionToYYMMDD(yearFraction: number): string { function yymmddToByteArray (line 77) | function yymmddToByteArray(yymmdd: string): number[] { FILE: common/src/utils/hash.ts function calculateUserIdentifierHash (line 28) | function calculateUserIdentifierHash( function customHasher (line 44) | function customHasher(pubKeyFormatted: string[]) { function flexiblePoseidon (line 69) | function flexiblePoseidon(inputs: bigint[]): bigint { function getHashLen (line 108) | function getHashLen(hashFunction: string) { function getSolidityPackedUserContextData (line 126) | function getSolidityPackedUserContextData( function hash (line 144) | function hash( function packBytesAndPoseidon (line 185) | function packBytesAndPoseidon(unpacked: number[]) { FILE: common/src/utils/kyc/api.ts function deserializeApplicantInfo (line 34) | function deserializeApplicantInfo( function deserializeSignature (line 94) | function deserializeSignature(signature: string): { R: Point; s:... FILE: common/src/utils/kyc/constants.ts constant KYC_COUNTRY_INDEX (line 4) | const KYC_COUNTRY_INDEX = 0; constant KYC_COUNTRY_LENGTH (line 5) | const KYC_COUNTRY_LENGTH = 3; constant KYC_ID_TYPE_INDEX (line 7) | const KYC_ID_TYPE_INDEX = KYC_COUNTRY_INDEX + KYC_COUNTRY_LENGTH; constant KYC_ID_TYPE_LENGTH (line 8) | const KYC_ID_TYPE_LENGTH = 27; constant KYC_ID_NUMBER_INDEX (line 10) | const KYC_ID_NUMBER_INDEX = KYC_ID_TYPE_INDEX + KYC_ID_TYPE_LENGTH; constant KYC_ID_NUMBER_LENGTH (line 11) | const KYC_ID_NUMBER_LENGTH = 32; constant KYC_ISSUANCE_DATE_INDEX (line 13) | const KYC_ISSUANCE_DATE_INDEX = KYC_ID_NUMBER_INDEX + KYC_ID_NUMBER_LENGTH; constant KYC_ISSUANCE_DATE_LENGTH (line 14) | const KYC_ISSUANCE_DATE_LENGTH = 8; constant KYC_EXPIRY_DATE_INDEX (line 16) | const KYC_EXPIRY_DATE_INDEX = KYC_ISSUANCE_DATE_INDEX + KYC_ISSUANCE_DAT... constant KYC_EXPIRY_DATE_LENGTH (line 17) | const KYC_EXPIRY_DATE_LENGTH = 8; constant KYC_FULL_NAME_INDEX (line 19) | const KYC_FULL_NAME_INDEX = KYC_EXPIRY_DATE_INDEX + KYC_EXPIRY_DATE_LENGTH; constant KYC_FULL_NAME_LENGTH (line 20) | const KYC_FULL_NAME_LENGTH = 64; constant KYC_DOB_INDEX (line 22) | const KYC_DOB_INDEX = KYC_FULL_NAME_INDEX + KYC_FULL_NAME_LENGTH; constant KYC_DOB_LENGTH (line 23) | const KYC_DOB_LENGTH = 8; constant KYC_PHOTO_HASH_INDEX (line 25) | const KYC_PHOTO_HASH_INDEX = KYC_DOB_INDEX + KYC_DOB_LENGTH; constant KYC_PHOTO_HASH_LENGTH (line 26) | const KYC_PHOTO_HASH_LENGTH = 32; constant KYC_PHONE_NUMBER_INDEX (line 28) | const KYC_PHONE_NUMBER_INDEX = KYC_PHOTO_HASH_INDEX + KYC_PHOTO_HASH_LEN... constant KYC_PHONE_NUMBER_LENGTH (line 29) | const KYC_PHONE_NUMBER_LENGTH = 12; constant KYC_GENDER_INDEX (line 31) | const KYC_GENDER_INDEX = KYC_PHONE_NUMBER_INDEX + KYC_PHONE_NUMBER_LENGTH; constant KYC_GENDER_LENGTH (line 32) | const KYC_GENDER_LENGTH = 1; constant KYC_ADDRESS_INDEX (line 34) | const KYC_ADDRESS_INDEX = KYC_GENDER_INDEX + KYC_GENDER_LENGTH; constant KYC_ADDRESS_LENGTH (line 35) | const KYC_ADDRESS_LENGTH = 100; constant KYC_MAX_LENGTH (line 37) | const KYC_MAX_LENGTH = KYC_ADDRESS_INDEX + KYC_ADDRESS_LENGTH; constant KYC_FIELD_LENGTHS (line 42) | const KYC_FIELD_LENGTHS = { type KycField (line 56) | type KycField = keyof typeof KYC_FIELD_LENGTHS; constant KYC_REVEAL_DATA_INDICES (line 61) | const KYC_REVEAL_DATA_INDICES = { constant KYC_SELECTOR_BITS (line 78) | const KYC_SELECTOR_BITS = { constant KYC_PUBLIC_SIGNALS_ATTESTATION_ID (line 122) | const KYC_PUBLIC_SIGNALS_ATTESTATION_ID = 0; constant KYC_PUBLIC_SIGNALS_REVEALED_DATA_PACKED (line 123) | const KYC_PUBLIC_SIGNALS_REVEALED_DATA_PACKED = 1; constant KYC_PUBLIC_SIGNALS_REVEALED_DATA_PACKED_LENGTH (line 124) | const KYC_PUBLIC_SIGNALS_REVEALED_DATA_PACKED_LENGTH = 9; constant KYC_PUBLIC_SIGNALS_FORBIDDEN_COUNTRIES_PACKED (line 125) | const KYC_PUBLIC_SIGNALS_FORBIDDEN_COUNTRIES_PACKED = 10; constant KYC_PUBLIC_SIGNALS_FORBIDDEN_COUNTRIES_PACKED_LENGTH (line 126) | const KYC_PUBLIC_SIGNALS_FORBIDDEN_COUNTRIES_PACKED_LENGTH = 4; constant KYC_PUBLIC_SIGNALS_NULLIFIER (line 127) | const KYC_PUBLIC_SIGNALS_NULLIFIER = 14; constant KYC_PUBLIC_SIGNALS_SCOPE (line 128) | const KYC_PUBLIC_SIGNALS_SCOPE = 15; constant KYC_PUBLIC_SIGNALS_USER_IDENTIFIER (line 129) | const KYC_PUBLIC_SIGNALS_USER_IDENTIFIER = 16; constant KYC_PUBLIC_SIGNALS_CURRENT_DATE (line 130) | const KYC_PUBLIC_SIGNALS_CURRENT_DATE = 17; constant KYC_PUBLIC_SIGNALS_CURRENT_DATE_LENGTH (line 131) | const KYC_PUBLIC_SIGNALS_CURRENT_DATE_LENGTH = 8; constant KYC_PUBLIC_SIGNALS_OFAC_NAME_DOB_SMT_ROOT (line 132) | const KYC_PUBLIC_SIGNALS_OFAC_NAME_DOB_SMT_ROOT = 25; constant KYC_PUBLIC_SIGNALS_OFAC_NAME_YOB_SMT_ROOT (line 133) | const KYC_PUBLIC_SIGNALS_OFAC_NAME_YOB_SMT_ROOT = 26; function createKycSelector (line 139) | function createKycSelector(fieldsToReveal: KycField[]): [bigint, bigint] { FILE: common/src/utils/kyc/ecdsa/ecdsa.ts function buffer2bits (line 9) | function buffer2bits(buff) { function signEdDSA (line 23) | function signEdDSA(key: bigint, msg: number[]): [Signature, Point =... function generateMockDSC (line 167) | async function generateMockDSC( function generateRandomName (line 188) | function generateRandomName(): string { function generateRandomBytes (line 203) | function generateRandomBytes(length: number): number[] { function generateDataGroupHashes (line 208) | function generateDataGroupHashes(mrzHash: number[], hashLen: number): [n... function sign (line 226) | function sign( FILE: common/src/utils/passports/genMockPassportData.ts function generateRandomBytes (line 18) | function generateRandomBytes(length: number): number[] { function generateDataGroupHashes (line 23) | function generateDataGroupHashes(mrzHash: number[], hashLen: number): [n... function genAndInitMockPassportData (line 42) | function genAndInitMockPassportData( function genMockPassportData (line 68) | function genMockPassportData( function sign (line 143) | function sign( FILE: common/src/utils/passports/getMockDSC.ts function getMockDSC (line 4) | function getMockDSC(signatureType: SignatureAlgorithm) { FILE: common/src/utils/passports/passport.ts function calculateContentHash (line 46) | function calculateContentHash(passportData: IDDocument): string { function extractRSFromSignature (line 73) | function extractRSFromSignature(signatureBytes: number[]): { r: string; ... function extractSignatureFromDSC (line 91) | function extractSignatureFromDSC(dscCertificate: string) { function findStartPubKeyIndex (line 97) | function findStartPubKeyIndex( function formatCertificatePubKeyDSC (line 117) | function formatCertificatePubKeyDSC( function formatSignatureDSCCircuit (line 137) | function formatSignatureDSCCircuit( function generateCommitment (line 159) | function generateCommitment( function getPassportSignature (line 190) | function getPassportSignature(passportData: PassportData, n: number, k: ... function generateNullifier (line 206) | function generateNullifier(passportData: IDDocument) { function getCertificatePubKey (line 238) | function getCertificatePubKey( function getNAndK (line 261) | function getNAndK(sigAlg: SignatureAlgorithm) { function getNAndKCSCA (line 302) | function getNAndKCSCA(sigAlg: 'rsa' | 'ecdsa' | 'rsapss') { function getPassportSignatureInfos (line 310) | function getPassportSignatureInfos(passportData: PassportData) { function getSignatureAlgorithmFullName (line 332) | function getSignatureAlgorithmFullName( function inferDocumentCategory (line 346) | function inferDocumentCategory(documentType: string): DocumentCategory { function initPassportDataParsing (line 360) | function initPassportDataParsing(passportData: PassportData, skiPem: any... function pad (line 372) | function pad(hashFunction: (typeof hashAlgos)[number]) { function padWithZeroes (line 378) | function padWithZeroes(bytes: number[], length: number) { FILE: common/src/utils/passports/passport_parsing/brutForceDscSignature.ts function brutforceSignatureAlgorithmDsc (line 14) | function brutforceSignatureAlgorithmDsc(dsc: CertificateData, csca: Cert... function brutforceHashAlgorithmDsc (line 45) | function brutforceHashAlgorithmDsc( function verifySignature (line 61) | function verifySignature( function verifyECDSA (line 78) | function verifyECDSA(dsc: CertificateData, csca: CertificateData, hashAl... function verifyRSA (line 106) | function verifyRSA(dsc: CertificateData, csca: CertificateData, hashAlgo... function verifyRSAPSS (line 133) | function verifyRSAPSS( function getTBSHash (line 169) | function getTBSHash( FILE: common/src/utils/passports/passport_parsing/brutForcePassportSignature.ts function brutforceSignatureAlgorithm (line 13) | function brutforceSignatureAlgorithm(passportData: PassportData) { function brutforceHashAlgorithm (line 53) | function brutforceHashAlgorithm( function verifySignature (line 66) | function verifySignature( function verifyECDSA (line 82) | function verifyECDSA(passportData: PassportData, hashAlgorithm: string) { function verifyRSA (line 104) | function verifyRSA(passportData: PassportData, hashAlgorithm: string) { function verifyRSAPSS (line 117) | function verifyRSAPSS(passportData: PassportData, hashAlgorithm: string,... FILE: common/src/utils/passports/passport_parsing/parseDscCertificateData.ts type DscCertificateMetaData (line 7) | interface DscCertificateMetaData { function parseDscCertificateData (line 19) | function parseDscCertificateData( FILE: common/src/utils/passports/passport_parsing/parsePassportData.ts type PassportMetadata (line 16) | interface PassportMetadata { function findHashSizeOfEContent (line 43) | function findHashSizeOfEContent(eContent: number[], signedAttr: number[]) { function findDG1HashInEContent (line 54) | function findDG1HashInEContent( function getDgPaddingBytes (line 71) | function getDgPaddingBytes(passportData: PassportData, dg1HashFunction: ... function getCountryCodeFromMrz (line 82) | function getCountryCodeFromMrz(mrz: string): string { function getCurveOrExponent (line 86) | function getCurveOrExponent(certData: CertificateData): string { function parsePassportData (line 93) | function parsePassportData( FILE: common/src/utils/passports/validate.ts type AlternativeCSCA (line 40) | type AlternativeCSCA = Record; function validateRegistrationCircuit (line 42) | function validateRegistrationCircuit( function validateDscCircuit (line 60) | function validateDscCircuit( type PassportSupportStatus (line 72) | type PassportSupportStatus = function checkDocumentSupported (line 79) | async function checkDocumentSupported( function checkIfPassportDscIsInTree (line 132) | async function checkIfPassportDscIsInTree( type AadhaarPublicKeys (line 146) | type AadhaarPublicKeys = null | Array; function generateCommitmentInApp (line 148) | function generateCommitmentInApp( function generateCommitmentInAppAadhaar (line 197) | function generateCommitmentInAppAadhaar( function isDocumentNullified (line 240) | async function isDocumentNullified(passportData: IDDocument) { function isUserRegistered (line 278) | async function isUserRegistered( function isUserRegisteredWithAlternativeCSCA (line 319) | async function isUserRegisteredWithAlternativeCSCA( function formatCSCAPem (line 406) | function formatCSCAPem(cscaPem: string): string { FILE: common/src/utils/proving.ts type TEEPayload (line 11) | type TEEPayload = TEEPayloadBase & { type TEEPayloadBase (line 16) | type TEEPayloadBase = { type TEEPayloadDisclose (line 23) | type TEEPayloadDisclose = TEEPayloadBase & { type RegisterSuffixes (line 37) | type RegisterSuffixes = '' | '_id' | '_aadhaar' | '_kyc'; type DscSuffixes (line 38) | type DscSuffixes = '' | '_id'; type DiscloseSuffixes (line 39) | type DiscloseSuffixes = '' | '_id' | '_aadhaar' | '_kyc'; type ProofTypes (line 40) | type ProofTypes = 'register' | 'dsc' | 'disclose'; type RegisterProofType (line 41) | type RegisterProofType = `${Extract}${RegisterSu... type DscProofType (line 42) | type DscProofType = `${Extract}${DscSuffixes}`; type DiscloseProofType (line 43) | type DiscloseProofType = `${Extract}${DiscloseSu... function encryptAES256GCM (line 47) | function encryptAES256GCM(plaintext: string, key: forge.util.ByteStringB... function bigIntReplacer (line 62) | function bigIntReplacer(_key: string, value: unknown): unknown { function getPayload (line 66) | function getPayload( function getWSDbRelayerUrl (line 119) | function getWSDbRelayerUrl(endpointType: EndpointType) { FILE: common/src/utils/scope.ts function bigIntToString (line 5) | function bigIntToString(bigInt: bigint): string { function formatEndpoint (line 20) | function formatEndpoint(endpoint: string): string { function hashEndpointWithScope (line 30) | function hashEndpointWithScope(endpoint: string, scope: string): string { function stringToBigInt (line 48) | function stringToBigInt(str: string): bigint { FILE: common/src/utils/selfAttestation.ts type SelfVerificationResult (line 3) | interface SelfVerificationResult { function parsePublicSignalsDisclose (line 39) | function parsePublicSignalsDisclose(publicSignals) { FILE: common/src/utils/shaPad.ts function assert (line 1) | function assert(cond: boolean, errorMessage: string) { function int64toBytes (line 8) | function int64toBytes(num: number): Uint8Array { function int128toBytes (line 16) | function int128toBytes(x: number): Uint8Array { function int8toBytes (line 29) | function int8toBytes(num: number): Uint8Array { function mergeUInt8Arrays (line 36) | function mergeUInt8Arrays(a1: Uint8Array, a2: Uint8Array): Uint8Array { function sha384_512Pad (line 44) | function sha384_512Pad( function shaPad (line 86) | function shaPad(prehash_prepad_m_array: number[], maxShaBytes: number): ... FILE: common/src/utils/trees.ts function buildAadhaarSMT (line 45) | function buildAadhaarSMT(field: any[], treetype: string): [number, numbe... function buildSMT (line 93) | function buildSMT(field: any[], treetype: string): [number, number, SMT] { function formatRoot (line 153) | function formatRoot(root: string): string { function generateMerkleProof (line 158) | function generateMerkleProof(imt: LeanIMT, _index: number, maxleaf_depth... function generateSMTProof (line 176) | function generateSMTProof(smt: SMT, leaf: bigint) { function getCountryLeaf (line 227) | function getCountryLeaf( function getCscaTreeInclusionProof (line 244) | function getCscaTreeInclusionProof(leaf: string, _serialized_csca_tree: ... function getCscaTreeRoot (line 259) | function getCscaTreeRoot(serialized_csca_tree: any[][]) { function getDobLeaf (line 265) | function getDobLeaf(dobMrz: (bigint | number)[], i?: number): bigint { function getDscTreeInclusionProof (line 278) | function getDscTreeInclusionProof( function getLeaf (line 293) | function getLeaf(parsed: CertificateData, type: 'dsc' | 'csca'): string { function buildKycSMT (line 314) | function buildKycSMT(field: any[], treetype: string): [number, number, S... function processPassportNoAndNationality (line 360) | function processPassportNoAndNationality( function generateSmallKey (line 413) | function generateSmallKey(input: bigint): bigint { function processNameAndDob (line 417) | function processNameAndDob(entry: any, i: number, docType: 'passport' | ... function processNameAndYob (line 437) | function processNameAndYob(entry: any, i: number, docType: 'passport' | ... function processYear (line 455) | function processYear(year: string, i: number): bigint { function getYearLeaf (line 465) | function getYearLeaf(yearArr: (bigint | number)[]): bigint { function processName (line 478) | function processName( function processDob (line 517) | function processDob(day: string, month: string, year: string, i: number)... function processCountry (line 556) | function processCountry(country1: string, country2: string, i: number) { function getLeafCscaTree (line 568) | function getLeafCscaTree(csca_parsed: CertificateData): string { function getLeafDscTree (line 572) | function getLeafDscTree(dsc_parsed: CertificateData, csca_parsed: Certif... function getLeafDscTreeFromDscCertificateMetadata (line 578) | function getLeafDscTreeFromDscCertificateMetadata( function getLeafDscTreeFromParsedDsc (line 587) | function getLeafDscTreeFromParsedDsc(dscParsed: CertificateData): string { function getNameDobLeaf (line 591) | function getNameDobLeaf( function getNameLeaf (line 692) | function getNameLeaf(nameMrz: (bigint | number)[], i?: number): bigint { function getNameYobLeaf (line 727) | function getNameYobLeaf( function getPassportNumberAndNationalityLeaf (line 821) | function getPassportNumberAndNationalityLeaf( FILE: common/src/utils/types.ts type BaseIDData (line 7) | interface BaseIDData { type AadhaarData (line 16) | interface AadhaarData extends BaseIDData { type DeployedCircuits (line 25) | type DeployedCircuits = { type DocumentCatalog (line 34) | interface DocumentCatalog { type DocumentCategory (line 39) | type DocumentCategory = 'passport' | 'id_card' | 'aadhaar' | 'kyc'; type DocumentMetadata (line 41) | interface DocumentMetadata { type DocumentType (line 53) | type DocumentType = type Environment (line 62) | type Environment = 'prod' | 'stg'; type IDDocument (line 64) | type IDDocument = AadhaarData | KycData | PassportData; type KycData (line 66) | interface KycData extends BaseIDData { type OfacTree (line 73) | type OfacTree = { type PassportData (line 80) | interface PassportData extends BaseIDData { type PendingKycStatus (line 96) | type PendingKycStatus = 'pending' | 'processing' | 'failed'; type PendingKycVerification (line 98) | interface PendingKycVerification { type Proof (line 107) | type Proof = { type SignatureAlgorithm (line 117) | type SignatureAlgorithm = type AttestationIdHex (line 173) | enum AttestationIdHex { function castCSCAProof (line 181) | function castCSCAProof(proof: any): Proof { function isAadhaarDocument (line 192) | function isAadhaarDocument(passportData: IDDocument): passportData is Aa... function isKycDocument (line 196) | function isKycDocument(passportData: IDDocument): passportData is KycData { function isMRZDocument (line 200) | function isMRZDocument(passportData: IDDocument): passportData is Passpo... FILE: common/tests/genMockPassportData.test.ts function verify (line 32) | function verify( FILE: contracts/hardhat.config.ts constant DUMMY_PRIVATE_KEY (line 15) | const DUMMY_PRIVATE_KEY = "0x0000000000000000000000000000000000000000000... constant PRIVATE_KEY (line 16) | const PRIVATE_KEY = process.env.PRIVATE_KEY || DUMMY_PRIVATE_KEY; FILE: contracts/ignition/modules/hub/deployHub.ts function getHubInitializeData (line 6) | function getHubInitializeData() { FILE: contracts/ignition/modules/hub/deployHubV2.ts function getHubImplV2InitializeData (line 10) | function getHubImplV2InitializeData() { FILE: contracts/ignition/modules/hub/updateRegistries.ts function updateHubRegistries (line 30) | function updateHubRegistries(m: IgnitionModuleBuilder, hubAddress: strin... FILE: contracts/ignition/modules/hub/updateVerifiers.ts function updateHubVerifiers (line 56) | function updateHubVerifiers(m: IgnitionModuleBuilder, hubAddress: string... FILE: contracts/ignition/modules/registry/deployAadhaarRegistry.ts function getRegistryInitializeData (line 40) | function getRegistryInitializeData() { FILE: contracts/ignition/modules/registry/deployIdCardRegistry.ts function getRegistryInitializeData (line 26) | function getRegistryInitializeData() { FILE: contracts/ignition/modules/registry/deployRegistry.ts function getRegistryInitializeData (line 40) | function getRegistryInitializeData() { FILE: contracts/ignition/modules/registry/updateRegistries.ts function getImplementationName (line 49) | function getImplementationName(registryModule: string): string { function handleRegistryDeployment (line 69) | function handleRegistryDeployment( FILE: contracts/ignition/modules/upgrade/deployNewHubAndUpgrade.ts function getHubImplV2InitializeData (line 7) | function getHubImplV2InitializeData() { FILE: contracts/ignition/modules/upgrade/deployNewRegistryAndUpgrade.ts function getTestRegistryInitializeData (line 7) | function getTestRegistryInitializeData() { FILE: contracts/ignition/modules/verifiers/deployAllVerifiers.ts type CircuitName (line 4) | type CircuitName = FILE: contracts/scripts/constants.ts constant ATTESTATION_ID (line 4) | const ATTESTATION_ID = { constant ATTESTATION_TO_REGISTRY (line 9) | const ATTESTATION_TO_REGISTRY = { constant NETWORK_TO_CHAIN_ID (line 14) | const NETWORK_TO_CHAIN_ID: Record = { constant CHAIN_ID_TO_SAVED_REPO (line 23) | const CHAIN_ID_TO_SAVED_REPO: Record = { function getContractAddress (line 48) | function getContractAddress(exactName: string, deployedAddresses: any): ... FILE: contracts/scripts/deleteDscKeyCommitment.ts function initializeTree (line 43) | function initializeTree() { function main (line 52) | async function main() { FILE: contracts/scripts/findErrorSelectors.ts type CustomError (line 5) | interface CustomError { type CliOptions (line 13) | interface CliOptions { type SelectorCollision (line 18) | interface SelectorCollision { function findSolidityFiles (line 33) | function findSolidityFiles(dir: string): string[] { constant ABI_PRIMITIVE_RE (line 58) | const ABI_PRIMITIVE_RE = function canonicalizeType (line 66) | function canonicalizeType(sourceType: string): string { function extractCustomErrors (line 84) | function extractCustomErrors(filePath: string): CustomError[] { function buildSelectorMap (line 123) | function buildSelectorMap(errors: CustomError[]) { function parseCliArgs (line 150) | function parseCliArgs(argv: string[]): CliOptions { function writeGeneratedJson (line 167) | function writeGeneratedJson(filePath: string, data: unknown, check: bool... function findAllErrorSelectors (line 191) | async function findAllErrorSelectors({ check, targetSelector }: CliOptio... FILE: contracts/scripts/setDscKeyCommitment.ts function getContractAddressByPartialName (line 16) | function getContractAddressByPartialName(partialName: string): string | ... function main (line 25) | async function main() { FILE: contracts/scripts/setHubV2.ts constant NETWORK (line 19) | const NETWORK = process.env.NETWORK; constant RPC_URL (line 20) | const RPC_URL = process.env.RPC_URL; constant PRIVATE_KEY (line 21) | const PRIVATE_KEY = process.env.PRIVATE_KEY; function main (line 37) | async function main() { FILE: contracts/scripts/setRegistry.ts constant NETWORK (line 11) | const NETWORK = process.env.NETWORK || "localhost"; constant RPC_URL_KEY (line 12) | const RPC_URL_KEY = NETWORK === "celo" ? "CELO_RPC_URL" : "CELO_SEPOLIA_... constant PRIVATE_KEY (line 13) | const PRIVATE_KEY = process.env.PRIVATE_KEY; constant SKIP_CSCA_UPDATE (line 14) | const SKIP_CSCA_UPDATE = process.env.SKIP_CSCA_UPDATE === "true"; constant CSCA_ROOT (line 15) | const CSCA_ROOT = process.env.CSCA_ROOT; constant NETWORK_TO_CHAIN_ID (line 18) | const NETWORK_TO_CHAIN_ID: Record = { constant CHAIN_ID (line 29) | const CHAIN_ID = getChainId(NETWORK); function getContractAddressByExactName (line 59) | function getContractAddressByExactName(exactName: string): string | unkn... function main (line 66) | async function main() { FILE: contracts/scripts/setRegistryId.ts constant NETWORK (line 11) | const NETWORK = process.env.NETWORK || "localhost"; constant RPC_URL_KEY (line 12) | const RPC_URL_KEY = NETWORK === "celo" ? "CELO_RPC_URL" : "CELO_SEPOLIA_... constant PRIVATE_KEY (line 13) | const PRIVATE_KEY = process.env.PRIVATE_KEY; constant SKIP_CSCA_UPDATE (line 14) | const SKIP_CSCA_UPDATE = process.env.SKIP_CSCA_UPDATE === "true"; constant CSCA_ROOT (line 15) | const CSCA_ROOT = process.env.CSCA_ROOT; constant NETWORK_TO_CHAIN_ID (line 18) | const NETWORK_TO_CHAIN_ID: Record = { constant CHAIN_ID (line 29) | const CHAIN_ID = getChainId(NETWORK); function getContractAddressByExactName (line 59) | function getContractAddressByExactName(exactName: string): string | unkn... function main (line 66) | async function main() { FILE: contracts/scripts/setVerifiers.ts function getContractAddressByPartialName (line 41) | function getContractAddressByPartialName(partialName: string): string | ... function main (line 50) | async function main() { FILE: contracts/scripts/setVerifiersV2.ts constant NETWORK (line 24) | const NETWORK = process.env.NETWORK; constant RPC_URL (line 25) | const RPC_URL = process.env.RPC_URL; constant PRIVATE_KEY (line 26) | const PRIVATE_KEY = process.env.PRIVATE_KEY; function getContractAddressByPartialName (line 41) | function getContractAddressByPartialName(partialName: string): string | ... function main (line 54) | async function main() { FILE: contracts/scripts/showRegistryAddresses.ts function showRegistryAddresses (line 4) | async function showRegistryAddresses() { FILE: contracts/scripts/updateRegistryOfacRoot.ts constant NETWORK (line 20) | const NETWORK = process.env.NETWORK; constant RPC_URL (line 21) | const RPC_URL = process.env.RPC_URL; constant PRIVATE_KEY (line 22) | const PRIVATE_KEY = process.env.PRIVATE_KEY; function main (line 37) | async function main() { FILE: contracts/tasks/upgrade/history.ts type HistoryTaskArgs (line 11) | interface HistoryTaskArgs { FILE: contracts/tasks/upgrade/prepare.ts type PrepareTaskArgs (line 41) | interface PrepareTaskArgs { FILE: contracts/tasks/upgrade/propose.ts function getChainPrefix (line 27) | function getChainPrefix(network: SupportedNetwork): string { type ProposeTaskArgs (line 37) | interface ProposeTaskArgs { FILE: contracts/tasks/upgrade/status.ts type StatusTaskArgs (line 20) | interface StatusTaskArgs { FILE: contracts/tasks/upgrade/types.ts constant SUPPORTED_NETWORKS (line 5) | const SUPPORTED_NETWORKS = ["celo", "celo-sepolia", "sepolia", "localhos... type SupportedNetwork (line 6) | type SupportedNetwork = (typeof SUPPORTED_NETWORKS)[number]; constant CONTRACT_IDS (line 9) | const CONTRACT_IDS = [ type ContractId (line 19) | type ContractId = (typeof CONTRACT_IDS)[number]; FILE: contracts/tasks/upgrade/upgrade.ts function promptYesNo (line 49) | async function promptYesNo(question: string): Promise { constant CHAIN_CONFIG (line 66) | const CHAIN_CONFIG: Record { FILE: contracts/test/utils/example/balance-tree.ts class BalanceTree (line 5) | class BalanceTree { method constructor (line 7) | constructor(balances: { account: string; amount: bigint }[]) { method verifyProof (line 15) | public static verifyProof( method toNode (line 31) | public static toNode(index: number | bigint, account: string, amount: ... method getHexRoot (line 38) | public getHexRoot(): string { method getProof (line 43) | public getProof(index: number | bigint, account: string, amount: bigin... FILE: contracts/test/utils/example/merkle-tree.ts class MerkleTree (line 3) | class MerkleTree { method constructor (line 8) | constructor(elements: Buffer[]) { method getLayers (line 24) | getLayers(elements: Buffer[]): Buffer[][] { method getNextLayer (line 40) | getNextLayer(elements: Buffer[]): Buffer[] { method combinedHash (line 51) | static combinedHash(first: Buffer, second: Buffer): Buffer { method getRoot (line 62) | getRoot(): Buffer { method getHexRoot (line 66) | getHexRoot(): string { method getProof (line 70) | getProof(el: Buffer) { method getHexProof (line 90) | getHexProof(el: Buffer): string[] { method getPairElement (line 96) | private static getPairElement(idx: number, layer: Buffer[]): Buffer | ... method bufDedup (line 106) | private static bufDedup(elements: Buffer[]): Buffer[] { method bufArrToHexArr (line 112) | private static bufArrToHexArr(arr: Buffer[]): string[] { method sortAndConcat (line 120) | private static sortAndConcat(...args: Buffer[]): Buffer { FILE: contracts/test/utils/formatter.ts class Formatter (line 1) | class Formatter { method formatName (line 4) | static formatName(input: string): [string, string] { method formatDate (line 31) | static formatDate(date: string): string { method numAsciiToUint (line 59) | static numAsciiToUint(numAscii: number): number { method fieldElementsToBytes (line 66) | static fieldElementsToBytes(publicSignals: [bigint, bigint, bigint]): ... method bytesToHexString (line 82) | static bytesToHexString(bytes: Uint8Array): string { method extractForbiddenCountriesFromPacked (line 91) | static extractForbiddenCountriesFromPacked( method proofDateToUnixTimestamp (line 112) | static proofDateToUnixTimestamp(dateNum: number[]): number { method dateToUnixTimestamp (line 123) | static dateToUnixTimestamp(date: string): number { method substring (line 136) | static substring(str: string, startIndex: number, endIndex: number): s... method parseDatePart (line 140) | static parseDatePart(value: string): number { method toTimestamp (line 152) | static toTimestamp(year: number, month: number, day: number): number { method isLeapYear (line 166) | static isLeapYear(year: number): boolean { class CircuitAttributeHandler (line 179) | class CircuitAttributeHandler { method getIssuingState (line 199) | static getIssuingState(input: string | Uint8Array): string { method getName (line 204) | static getName(input: string | Uint8Array): [string, string] { method getPassportNumber (line 210) | static getPassportNumber(input: string | Uint8Array): string { method getNationality (line 215) | static getNationality(input: string | Uint8Array): string { method getDateOfBirth (line 220) | static getDateOfBirth(input: string | Uint8Array): string { method getGender (line 226) | static getGender(input: string | Uint8Array): string { method getExpiryDate (line 231) | static getExpiryDate(input: string | Uint8Array): string { method getOlderThan (line 237) | static getOlderThan(input: string | Uint8Array): number { method getPassportNoOfac (line 244) | static getPassportNoOfac(input: string | Uint8Array): number { method getNameAndDobOfac (line 249) | static getNameAndDobOfac(input: string | Uint8Array): number { method getNameAndYobOfac (line 254) | static getNameAndYobOfac(input: string | Uint8Array): number { method compareOlderThan (line 259) | static compareOlderThan(input: string | Uint8Array, olderThan: number)... method compareOfac (line 274) | static compareOfac( method normalizeInput (line 288) | private static normalizeInput(input: string | Uint8Array): Uint8Array { method extractStringAttribute (line 303) | static extractStringAttribute(input: string | Uint8Array, start: numbe... FILE: contracts/test/utils/generateProof.ts function generateRegisterProof (line 93) | async function generateRegisterProof(secret: string, passportData: Passp... function generateRegisterIdProof (line 126) | async function generateRegisterIdProof( function generateRegisterAadhaarProof (line 177) | async function generateRegisterAadhaarProof( function generateRegisterKycProof (line 205) | async function generateRegisterKycProof( function generateDscProof (line 233) | async function generateDscProof(passportData: PassportData): Promise(rawCallData: string, _type: T): T { function getSMTs (line 574) | function getSMTs() { function importSMTFromJsonFile (line 604) | function importSMTFromJsonFile(filePath?: string): typeof SMT | null { FILE: contracts/test/utils/types.ts type PassportProof (line 42) | type PassportProof = IIdentityVerificationHubV1.PassportProofStruct; type RegisterCircuitProof (line 43) | type RegisterCircuitProof = IRegisterCircuitVerifier.RegisterCircuitProo... type RegisterAadhaarCircuitProof (line 44) | type RegisterAadhaarCircuitProof = IRegisterCircuitVerifier.RegisterAadh... type DscCircuitProof (line 45) | type DscCircuitProof = IDscCircuitVerifier.DscCircuitProofStruct; type VcAndDiscloseHubProof (line 46) | type VcAndDiscloseHubProof = IIdentityVerificationHubV1.VcAndDiscloseHub... type VcAndDiscloseProof (line 47) | type VcAndDiscloseProof = IVcAndDiscloseCircuitVerifier.VcAndDisclosePro... type VcAndDiscloseVerifier (line 50) | type VcAndDiscloseVerifier = typeof process.env.TEST_ENV extends "local"... type VcAndDiscloseIdVerifier (line 51) | type VcAndDiscloseIdVerifier = typeof process.env.TEST_ENV extends "local" type RegisterVerifier (line 54) | type RegisterVerifier = typeof process.env.TEST_ENV extends "local" type IdCardRegisterVerifier (line 57) | type IdCardRegisterVerifier = typeof process.env.TEST_ENV extends "local" type DscVerifier (line 60) | type DscVerifier = typeof process.env.TEST_ENV extends "local" ? LocalDs... type DeployedActors (line 62) | interface DeployedActors { type DeployedActorsV2 (line 76) | interface DeployedActorsV2 { type CircuitArtifacts (line 120) | type CircuitArtifacts = { FILE: contracts/test/utils/utils.ts function generateRandomFieldElement (line 3) | function generateRandomFieldElement(): string { function getStartOfDayTimestamp (line 11) | function getStartOfDayTimestamp(timestamp: number): number { function splitHexFromBack (line 16) | function splitHexFromBack(hexString: string, bytesPerChunk: number = 31)... FILE: contracts/test/v2/discloseId.test.ts function calculateUserIdentifierHash (line 18) | function calculateUserIdentifierHash(userContextData: string): string { FILE: contracts/test/v2/discloseKyc.test.ts constant KYC_CURRENT_DATE_INDEX (line 20) | const KYC_CURRENT_DATE_INDEX = 21; FILE: contracts/test/v2/disclosePassport.test.ts function formatDateForPassport (line 17) | function formatDateForPassport(date: Date): string { function calculateUserIdentifierHash (line 40) | function calculateUserIdentifierHash(userContextData: string): string { FILE: contracts/test/v2/ofacProofUpdate.test.ts function getCurrentDateDigitsYYMMDDHHMMSS (line 6) | function getCurrentDateDigitsYYMMDDHHMMSS(hoursOffset: number = 0): bigi... function packUint256ToHexFields (line 25) | function packUint256ToHexFields(value: bigint): [bigint, bigint, bigint] { function computeRootsHash (line 50) | function computeRootsHash(roots: bigint[]): string { function buildPubSignals (line 129) | function buildPubSignals(roots: bigint[], hoursOffset = 0): bigint[] { FILE: contracts/test/v2/ofacRollingWindow.test.ts function deployRegistries (line 8) | async function deployRegistries() { FILE: contracts/test/v2/ofacUpgradePath.test.ts constant GCP_ROOT_CA_PUBKEY_HASH (line 20) | const GCP_ROOT_CA_PUBKEY_HASH = 2110750378176961105178592146283213342181... function packUint256ToHexFields (line 22) | function packUint256ToHexFields(value: bigint): [bigint, bigint, bigint] { function getCurrentDateDigitsYYMMDDHHMMSS (line 34) | function getCurrentDateDigitsYYMMDDHHMMSS(): bigint[] { FILE: contracts/test/v2/registerKyc.test.ts function getCurrentDateDigitsYYMMDDHHMMSS (line 9) | function getCurrentDateDigitsYYMMDDHHMMSS(hoursOffset: number = 0): bigi... function packUint256ToHexFields (line 28) | function packUint256ToHexFields(value: bigint): [bigint, bigint, bigint] { FILE: new-common/src/app/builder.ts class SelfAppBuilder (line 8) | class SelfAppBuilder { method constructor (line 11) | constructor(config: Partial) { method build (line 78) | build(): SelfApp { function getUniversalLink (line 83) | function getUniversalLink(selfApp: SelfApp): string { FILE: new-common/src/attestation/gcp.ts constant GCP_ROOT_CERT (line 7) | const GCP_ROOT_CERT = ` function base64UrlDecodeToBytes (line 47) | function base64UrlDecodeToBytes(input: string): string { function base64UrlDecodeToString (line 53) | function base64UrlDecodeToString(input: string): string { type PKICertificates (line 59) | type PKICertificates = { function extractCertificates (line 65) | function extractCertificates(x5c: string[]): PKICertificates { function compareCertificates (line 76) | function compareCertificates(cert1: forge.pki.Certificate, cert2: forge.... function verifyCertificateChain (line 90) | function verifyCertificateChain({ leaf, intermediate, root }: PKICertifi... function checkPCR0Mapping (line 106) | async function checkPCR0Mapping(imageHashHex: string): Promise { function validatePKIToken (line 129) | function validatePKIToken( FILE: new-common/src/blockchain/forbiddenCountries.ts function getPackedForbiddenCountries (line 4) | function getPackedForbiddenCountries( FILE: new-common/src/blockchain/formatCallData.ts function formatCallData_disclose (line 1) | function formatCallData_disclose(parsedCallData: any[]) { function formatCallData_dsc (line 23) | function formatCallData_dsc(parsedCallData: any[]) { function formatCallData_register (line 33) | function formatCallData_register(parsedCallData: any[]) { function formatProof (line 45) | function formatProof(proof: any, publicSignals: any) { function packForbiddenCountriesList (line 57) | function packForbiddenCountriesList(forbiddenCountries: string[]) { FILE: new-common/src/blockchain/ofac.ts type OfacVariant (line 4) | type OfacVariant = 'passport' | 'id_card'; FILE: new-common/src/blockchain/proving.ts function bigIntReplacer (line 19) | function bigIntReplacer(_key: string, value: unknown): unknown { function getPayload (line 23) | function getPayload( function getWSDbRelayerUrl (line 70) | function getWSDbRelayerUrl(endpointType: EndpointType) { FILE: new-common/src/certificates/csca.ts function getCSCAFromSKI (line 4) | function getCSCAFromSKI(ski: string, skiPem: Record | nu... function getSKIPEM (line 22) | async function getSKIPEM( FILE: new-common/src/certificates/factory.ts class SimpleCertificateParser (line 8) | class SimpleCertificateParser implements ICertificateParser { method parse (line 9) | parse(pem: string): CertificateData { method getCertificateFromPem (line 13) | getCertificateFromPem(pem: string): Certificate { method getAuthorityKeyIdentifier (line 17) | getAuthorityKeyIdentifier(cert: Certificate): string { function createCertificateParser (line 22) | function createCertificateParser(): ICertificateParser { FILE: new-common/src/certificates/parsing/bruteForceSignature.ts function bruteForceSignatureAlgorithmDsc (line 11) | function bruteForceSignatureAlgorithmDsc(dsc: CertificateData, csca: Cer... function bruteForceHashAlgorithmDsc (line 41) | function bruteForceHashAlgorithmDsc( function verifySignature (line 55) | function verifySignature( function verifyECDSA (line 73) | function verifyECDSA(dsc: CertificateData, csca: CertificateData, hashAl... function verifyRSA (line 102) | function verifyRSA(dsc: CertificateData, csca: CertificateData, hashAlgo... function verifyRSAPSS (line 129) | function verifyRSAPSS( function getTBSHash (line 165) | function getTBSHash( FILE: new-common/src/certificates/parsing/curves.ts function getCurveForElliptic (line 3) | function getCurveForElliptic(curveName: string): string { function getECDSACurveBits (line 22) | function getECDSACurveBits(curveName: string): string { function identifyCurve (line 40) | function identifyCurve(params: StandardCurve): string { function normalizeHex (line 66) | function normalizeHex(hex: string): string { FILE: new-common/src/certificates/parsing/elliptic.ts function initElliptic (line 4) | function initElliptic(): typeof elliptic { FILE: new-common/src/certificates/parsing/oids.ts function extractHashFunction (line 1) | function extractHashFunction(friendlyName: string): string { function getFriendlyName (line 17) | function getFriendlyName(oid: string): string { function getSecpFromNist (line 21) | function getSecpFromNist(nist: string): string { function getFriendlyNameSecpCurves (line 35) | function getFriendlyNameSecpCurves(friendlyName: string): string { FILE: new-common/src/certificates/parsing/parseCertificateSimple.ts function getCertificateFromPem (line 22) | function getCertificateFromPem(pemContent: string): Certificate { function getHashAlgorithm (line 76) | function getHashAlgorithm(rawSignatureAlgorithm: string) { function getParamsRSA (line 90) | function getParamsRSA(cert: Certificate): PublicKeyDetailsRSA { function getParamsRSAPSS (line 105) | function getParamsRSAPSS(cert: Certificate): PublicKeyDetailsRSAPSS { function getParamsECDSA (line 136) | function getParamsECDSA(cert: Certificate): PublicKeyDetailsECDSA { function getTBSBytesForge (line 243) | function getTBSBytesForge(certificate: Certificate): number[] { function parseCertificateSimple (line 247) | function parseCertificateSimple(pem: string): CertificateData { FILE: new-common/src/certificates/parsing/parseDscCertificateData.ts type DscCertificateMetaData (line 10) | interface DscCertificateMetaData { function getCurveOrExponent (line 22) | function getCurveOrExponent(certData: CertificateData): string { function parseDscCertificateData (line 29) | function parseDscCertificateData( FILE: new-common/src/certificates/parsing/utils.ts function getIssuerCountryCode (line 27) | function getIssuerCountryCode(cert: Certificate): string { FILE: new-common/src/certificates/pubkey.ts function getCertificatePubKey (line 10) | function getCertificatePubKey( function formatCertificatePubKeyDSC (line 33) | function formatCertificatePubKeyDSC( function findStartPubKeyIndex (line 48) | function findStartPubKeyIndex( function findStartIndex (line 65) | function findStartIndex(modulus: string, messagePaddedNumber: number[]):... function findStartIndexEC (line 89) | function findStartIndexEC(point: string, messagePadded: number[]): [numb... function findOIDPosition (line 111) | function findOIDPosition( FILE: new-common/src/certificates/signature.ts function formatInputToStrings (line 24) | function formatInputToStrings(input: string[]): string[] { function extractRSFromSignature (line 28) | function extractRSFromSignature(signatureBytes: number[]): { r: string; ... function extractSignatureFromDSC (line 46) | function extractSignatureFromDSC(dscCertificate: string) { function formatSignatureDSCCircuit (line 52) | function formatSignatureDSCCircuit( function getSignatureAlgorithmFullName (line 74) | function getSignatureAlgorithmFullName( function getNAndK (line 88) | function getNAndK(sigAlg: SignatureAlgorithm) { function getNAndKCSCA (line 129) | function getNAndKCSCA(sigAlg: 'rsa' | 'ecdsa' | 'rsapss') { FILE: new-common/src/certificates/types.ts type ICertificateParser (line 5) | interface ICertificateParser { FILE: new-common/src/circuits/circuitName.ts function isKycDocument (line 3) | function isKycDocument(doc: IDDocument): doc is KycData { function getCircuitNameFromPassportData (line 7) | function getCircuitNameFromPassportData( function getDSCircuitNameFromPassportData (line 18) | function getDSCircuitNameFromPassportData(passportData: IDDocument) { function getRegisterNameFromPassportData (line 59) | function getRegisterNameFromPassportData(passportData: IDDocument) { FILE: new-common/src/circuits/generator.ts function assertPassport (line 26) | function assertPassport(doc: IDocument): PassportDocument { function assertAadhaar (line 33) | function assertAadhaar(doc: IDocument): AadhaarDocument { function assertKyc (line 40) | function assertKyc(doc: IDocument): KycDocument { function assertExhaustive (line 47) | function assertExhaustive(category: never): never { class CircuitInputGenerator (line 51) | class CircuitInputGenerator implements ICircuitInputGenerator { method generateRegisterInputs (line 52) | generateRegisterInputs( method generateDscInputs (line 91) | generateDscInputs(doc: T, serializedCscaTree: str... method generateDiscloseInputs (line 109) | generateDiscloseInputs( function createCircuitInputGenerator (line 158) | function createCircuitInputGenerator(): ICircuitInputGenerator { FILE: new-common/src/circuits/inputs/disclose-aadhaar.ts type AadhaarDiscloseInputOpts (line 16) | interface AadhaarDiscloseInputOpts { function computeNullifier (line 28) | function computeNullifier(fields: { function computePackedCommitment (line 48) | function computePackedCommitment(fields: { function generateAadhaarDiscloseInputs (line 64) | function generateAadhaarDiscloseInputs( FILE: new-common/src/circuits/inputs/disclose-kyc.ts type KycDiscloseInputOpts (line 20) | interface KycDiscloseInputOpts { function generateOfacProof (line 32) | function generateOfacProof(data: KycData, smt: SMT, proofLevel: number) { function buildKycDiscloseSelector (line 48) | function buildKycDiscloseSelector(fieldsToReveal: KycField[]): string[] { function generateKycDiscloseInputs (line 53) | function generateKycDiscloseInputs( function generateKycDiscloseInputFromDummy (line 135) | function generateKycDiscloseInputFromDummy( FILE: new-common/src/circuits/inputs/disclose.ts function findIndexInTree (line 18) | function findIndexInTree(tree: LeanIMT, commitment: bigint): number { function generatePassportDiscloseInputs (line 29) | function generatePassportDiscloseInputs( FILE: new-common/src/circuits/inputs/dsc.ts function generatePassportDscInputs (line 11) | function generatePassportDscInputs( FILE: new-common/src/circuits/inputs/format.ts function formatInput (line 3) | function formatInput(input: any) { function formatCountriesList (line 20) | function formatCountriesList(countries: string[]) { function reverseBytes (line 46) | function reverseBytes(input: string): string { function reverseCountryBytes (line 52) | function reverseCountryBytes(input: string): string { FILE: new-common/src/circuits/inputs/ofac.ts function generateCircuitInputsCountryVerifier (line 14) | function generateCircuitInputsCountryVerifier( function generateCircuitInputsOfac (line 32) | function generateCircuitInputsOfac( FILE: new-common/src/circuits/inputs/register-aadhaar.ts type AadhaarRegisterInputOpts (line 14) | interface AadhaarRegisterInputOpts { function computeNullifier (line 19) | function computeNullifier(fields: { function computePackedCommitment (line 39) | function computePackedCommitment(fields: { function generateAadhaarRegisterInputs (line 55) | function generateAadhaarRegisterInputs( FILE: new-common/src/circuits/inputs/register-kyc.ts function generateKycRegisterInputs (line 10) | function generateKycRegisterInputs( function generateMockKycRegisterInputs (line 36) | function generateMockKycRegisterInputs( FILE: new-common/src/circuits/inputs/register.ts function generatePassportRegisterInputs (line 15) | function generatePassportRegisterInputs( FILE: new-common/src/circuits/outputs/format.ts function trimu0000 (line 8) | function trimu0000(unpackedReveal: string[]): string[] { function unpackReveal (line 12) | function unpackReveal(revealedData_packed: string | string[]): string[] { function formatAndUnpackForbiddenCountriesList (line 28) | function formatAndUnpackForbiddenCountriesList( function formatAndUnpackReveal (line 48) | function formatAndUnpackReveal( function formatForbiddenCountriesListFromCircuitOutput (line 66) | function formatForbiddenCountriesListFromCircuitOutput( function getAttributeFromUnpackedReveal (line 81) | function getAttributeFromUnpackedReveal( function getOlderThanFromCircuitOutput (line 97) | function getOlderThanFromCircuitOutput(olderThan: string[]): number { function revealBitmapFromAttributes (line 103) | function revealBitmapFromAttributes( function revealBitmapFromMapping (line 118) | function revealBitmapFromMapping(attributeToReveal: { [key: string]: str... FILE: new-common/src/circuits/types.ts type PassportRegisterOpts (line 11) | interface PassportRegisterOpts { type PassportDiscloseOpts (line 15) | interface PassportDiscloseOpts { type RegisterOptsFor (line 29) | type RegisterOptsFor = T extends PassportDocument type DiscloseOptsFor (line 35) | type DiscloseOptsFor = T extends PassportDocument type PassportRegisterInputs (line 45) | interface PassportRegisterInputs { type PassportDscInputs (line 67) | interface PassportDscInputs { type PassportDiscloseInputs (line 81) | interface PassportDiscloseInputs { type RegisterInputsFor (line 112) | type RegisterInputsFor = T extends PassportDocument type DscInputsFor (line 116) | type DscInputsFor = T extends PassportDocument type DiscloseInputsFor (line 120) | type DiscloseInputsFor = T extends PassportDocument type ICircuitInputGenerator (line 126) | interface ICircuitInputGenerator { FILE: new-common/src/circuits/userId.ts type UserIdType (line 1) | type UserIdType = 'hex' | 'uuid'; function hexToBigInt (line 3) | function hexToBigInt(hex: string): bigint { function checkBigInt (line 7) | function checkBigInt(bigInt: bigint) { function uuidToBigInt (line 14) | function uuidToBigInt(uuid: string): bigint { function checkStringLength (line 18) | function checkStringLength(str: string) { function stringToBigInt (line 24) | function stringToBigInt(str: string): bigint { function bigIntToHex (line 33) | function bigIntToHex(bigInt: bigint): string { function castFromScope (line 37) | function castFromScope(scope: string): string { function castFromUUID (line 42) | function castFromUUID(uuid: string): string { function castToAddress (line 48) | function castToAddress(bigInt: bigint): string { function castToScope (line 52) | function castToScope(num: bigint): string { function castToUUID (line 58) | function castToUUID(bigInt: bigint): string { function castToUserIdentifier (line 62) | function castToUserIdentifier(bigInt: bigint, user_identifier_type: User... function hexToUUID (line 71) | function hexToUUID(hex: string): string { function stringToAsciiBigIntArray (line 75) | function stringToAsciiBigIntArray(str: string): bigint[] { function validateUserId (line 79) | function validateUserId(userId: string, type: UserIdType): boolean { FILE: new-common/src/crypto/eddsa.ts function getRequire (line 7) | function getRequire() { function modulus (line 19) | function modulus(a: bigint, m: bigint): bigint { function signEdDSA (line 23) | function signEdDSA(key: bigint, msg: number[]) { FILE: new-common/src/crypto/encryption.ts function encryptAES256GCM (line 4) | function encryptAES256GCM(plaintext: string, key: forge.util.ByteStringB... FILE: new-common/src/crypto/hash/poseidon.ts function flexiblePoseidon (line 22) | function flexiblePoseidon(inputs: bigint[]): bigint { function customHasher (line 61) | function customHasher(pubKeyFormatted: string[]) { function packBytesAndPoseidon (line 85) | function packBytesAndPoseidon(unpacked: number[]) { FILE: new-common/src/crypto/hash/sha.ts function getHashLen (line 9) | function getHashLen(hashFunction: string) { function hash (line 27) | function hash( function forgeDigest (line 68) | function forgeDigest(hashAlgorithm: string): forge.md.MessageDigest { FILE: new-common/src/crypto/identity.ts function calculateUserIdentifierHash (line 3) | function calculateUserIdentifierHash( function getSolidityPackedUserContextData (line 19) | function getSolidityPackedUserContextData( FILE: new-common/src/crypto/scope.ts function bigIntToString (line 5) | function bigIntToString(bigInt: bigint): string { function formatEndpoint (line 20) | function formatEndpoint(endpoint: string): string { function hashEndpointWithScope (line 29) | function hashEndpointWithScope(endpoint: string, scope: string): string { function stringToBigInt (line 47) | function stringToBigInt(str: string): bigint { FILE: new-common/src/crypto/sha-pad.ts function writeBigEndian64 (line 1) | function writeBigEndian64(buf: Uint8Array, offset: number, value: number) { function writeBigEndian128 (line 7) | function writeBigEndian128(buf: Uint8Array, offset: number, value: numbe... function mergeUInt8Arrays (line 13) | function mergeUInt8Arrays(a1: Uint8Array, a2: Uint8Array): Uint8Array { function paddedLength (line 20) | function paddedLength(msgLen: number, lengthFieldBytes: number, blockByt... function shaPad (line 25) | function shaPad(prehash_prepad_m_array: number[], maxShaBytes: number): ... function sha384_512Pad (line 41) | function sha384_512Pad( FILE: new-common/src/data/countries.ts type Country3LetterCode (line 1) | type Country3LetterCode = (typeof countries)[keyof typeof countries]; function alpha2ToAlpha3 (line 3) | function alpha2ToAlpha3(key: string): Country3LetterCode | undefined { function alpha3ToAlpha2 (line 7) | function alpha3ToAlpha2(key: string) { constant ALPHA2_TO_ALPHA3 (line 526) | const ALPHA2_TO_ALPHA3 = { constant ALPHA3_TO_ALPHA2 (line 778) | const ALPHA3_TO_ALPHA2 = Object.fromEntries( function getCountryISO2 (line 785) | function getCountryISO2(key: string) { FILE: new-common/src/data/skiPem.ts constant SKI_PEM (line 3) | const SKI_PEM: Record = { constant SKI_PEM_DEV (line 524) | const SKI_PEM_DEV: Record = {