mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* fix: circuits and contracts * feat: add reverse ofac logic * feat: add onlyRole modifiers to functions * style: replace onlyOwner reference in comment code to role-based access * test: unskip and update governance tests for access control * test: fix PCR0 setup in kyc test --------- Co-authored-by: Evi Nova <tranquil_flow@protonmail.com>
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.