Files
self/common
Justin Hernandez 6b285c9bf3 chore: address TypeScript ESLint v8 upgrade feedback and improve type safety (#895)
* cr feedback

* update based on feedback

* typing updates

* unify yarn package version

* update lock
2025-08-14 09:19:34 -07:00
..
2025-06-02 12:16:06 +02:00
2025-06-23 13:01:23 +02:00
2024-07-16 23:14:49 +05:30
2025-08-02 16:55:05 -07:00

OpenPassport Commons

Constants and utils used in multiple OpenPassport subdirectories.

Package Structure

This package includes granular export files (e.g., src/utils/hash/sha.ts, src/utils/circuits/dsc-inputs.ts) that re-export specific functions from their original modules. These enable fine-grained imports for better tree-shaking optimization in consuming applications.

Note: Source files use explicit .js extensions in internal imports. TypeScript's nodenext module setting requires file extensions for ESM, so dropping them would cause type-check failures.