Files
self/common
Justin Hernandez fc472915e6 refactor: remove namespace imports (#969)
* refactor: remove namespace imports

* refactor: use named fs imports

* refactor(app): replace path and fs namespace imports

* format

* format
2025-08-27 20:59:26 -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.