mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
* Redo "Mobile SDK: move provingMachine from the app (#1052)" (#1084)"
This reverts commit 3397fcf43b. which reverted merging proving machine migration
* fix build
* lint fix
* fix imports
* pr suggestions
* make sure not to create multiple instances of stores
* WIP: don't expose useSelfAppStore directly in the public API
* Update packages/mobile-sdk-alpha/src/proving/provingMachine.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* dont call protocol store directly
* fix protocol store tests
* fix deeplinks test
* fix web build and exports
* test fixes
* keep reactivity
* remove file name
* WIP: expose stores through SelfClient only
* move protocolStore usage behind SelfClient
* fix deeplinks tests
* lint
* fix provingMachine tests
* remove provingStore from browser exports
* lint
* lint
* fix provingMachine.generatePayload tests
* fix provingMachine.startFetchingData tests
* fix more tests
* remove not exported
* fix more tests
* remove unused
* simplify getAltCSCA signature (fix build?)
* yarn lint
* final touches
---------
Co-authored-by: Leszek Stachowski <leszek.stachowski@self.xyz>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.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.