mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 06:14:07 -05:00
* use yarn 4.12.0 * upgrade tsx * update 4.6.0 references to 4.12.0 * update lock file * update lock file * update lock
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.