Files
self/common
Aaron DeRuvo cc28f072d5 Move proving inputs to the common package (#937)
* create ofactTree type to share

* move proving inputs from app to register inputs in common

* missed reexport

* ok

* add some validations as suggested by our ai overlords
2025-08-22 13:25:15 +02: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.