mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* save import sorting work * remove dupe headers and fix type errors * sort imports and exports * fix errors from export sorting * fix tests * codex feedback * fix exports * fix exports and tweak test build * fix export and format * fix license headers * fix app building and clean up test errors * fix android local e2e test * improve caching * final fixes * remove invalid option * fix sorting and get random values loading * fix import sorting
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.