* Enforce separate type imports
* chore: enforce separate type exports
* refactor: flatten sdk index exports
* updates
* fix improperly sorted types
* fixes and prettier
* prettier
* 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
* Add tree-shakeable exports
* Migrate imports for tree-shakeable paths
* Document ESM extension requirement
* udpates
* install new lock
* yarn nice
* build deps
* save working index export no wildcard approach
* save wip
* fix building
* add tree shaking doc and examples
* sort package json files
* update package.json
* fix analyzing web
* make sure that web is built
* wip tree shaking
* building works again. save wip logic
* use granular imports
* wip test
* save wip
* Remove hardcoded .d.ts files and setup automatic TypeScript declaration generation
- Remove redundant constants.d.ts, types.d.ts, utils.d.ts files
- Add build:types script to automatically generate TypeScript declarations
- Update tsup config to disable DTS generation (handled separately)
- Update .gitignore to prevent future commits of generated .d.ts files
- Fixes import resolution errors in app by ensuring declarations are always generated
* Add .gitignore rules for generated TypeScript declarations
* ignore dts files
* Remove redundant index.js re-export files
- Remove constants.js, types.js, utils.js as they're redundant with tsup build
- These were just re-exports pointing to dist files that tsup generates
- package.json exports already point directly to built files
- Update .gitignore to prevent future commits of these generated files
- tsup handles all the building, no manual re-export files needed
* save current wip fixes
* add tsup config for web building
* common prettier and fix imports
* prettier
* fix tests
* implement level 3 tree shaking
* improve splitting
* optimize vite web building and prettier
* remove comments
* sort export params
* feedback and fix pipelines
* fix circuit-names path
* fix test
* fix building
* sort
* fix building
* allow cursor to edit scripts
* fix loadDocumentCatalog undefined
* fix build settings
* fix build settings
* additional metro tree shaking
* improved discovery script for xcode building
* pr feedback and fix camelCasing
* simplify shim setup
* fix xcode building and add command to test building
* remove comment
* simplify
* retrieve the ofac trees from the api
* remove the ofac trees from the common repo
* fix ofac test
* yarn nice
* yarn nice
* yarn nice
* refactor ofac fetching
* fix build issues
* generate disclosure proof with euids
* generate disclosure proof with euids
* Eu id updates 2 (#648)
* update vc_and_disclose_id test (dev branch) (#641)
* fix: vc_and_disclose_id test
* chore: yarn prettier
* Show modal on NFC scan error (#642)
* Add help button and error modal actions
* fix the screen management
* yarn nice
* Bump build v2.5.4: ios 132; android 71 (#631)
* bump version and build numbers
* remove tamagui/toast
* fix marketing version
* fix: update TD1 and TD3 checks (#643)
* bum yarn.lock
* add version and user defined data
---------
Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
* remove the mock user define data
* get the useridentifier as a hash from the user defined data
* chore: add version and userDefinedData
* feat: use the version in register / dsc proofs as well
* update calculateUserIdentifierHash
* yarn nice
* refactor: consolidate user context data handling and update payload structure
* fix typing issues on sha1
* remove console.log(sha1)
* fix sha1 import
* refactor: streamline userDefinedData handling and adjust payload type for circuit
* refactor: update sha1 usage and enhance logging in calculateUserIdentifierHash
* yarn nice
* yarn lint common
* use ts-ignore for sha1 import
* fix app ci tests
* fix typing issue
* remove unused ts-ignore
* cast uuid before calling generateinputs
* bump qrcode version
* add tsup on the qrcode sdk
* fix: exports on selfxyz/qrcode
* update how we define config.version
* fix yarn imports
* yarn format
---------
Co-authored-by: Vishalkulkarni45 <109329073+Vishalkulkarni45@users.noreply.github.com>
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com>
Co-authored-by: Ayman <aymanshaik1015@gmail.com>
* add euid support in app
* yarn nice
* add euid support to proving machine
* update provingMachine and add id endpoints
* fix circuitsDNSmapping
* fix proving
* fix validateDocument
* add todo comment
* add the skip PCR0 option
* set multiple passportData types
* allow storing different id documents
* fix wording
* use goback on the passportOboardingScreen
* update tamagui version
* update yarn.lock
* remove logs in mockdata screen
* remove SKIP_PRC0_CHECK const
* refactor passport data keychain storage
* update project.pbxproj
* yarn nice
* yarn nice
* fix imports
* yarn nice
* add ManageDocuments screen to tests
* update name of the ManageDocument screen in the settings
* run linter in common repo
* clean mrz before doing the length check on android
* bump builds
* update env.sample with new env vars, and add _NFC to mixpanel nfc var
* remove NDEF so we can keep target sdk version at 15
* add sort package json command
* sort all project package.json files
* enable hermes
* disable hermes
* revert disabling
* remove hermes
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
* update contracts
* add comment out to remember the interface what we need to implement
* prettier
* get combine verifyVcAndDisclose function and get bytes data
* unified library and clean constant V2
* fix verifyVcAndDisclose interface
* add prettier and run prettier except .sol files
* prettier
* circuit compilation for local environment
* add register id circuit in the contracts dir
* clean up ignition deploy scritps
* refactor deploy scripts
* prettier
* update serialized dsc tree
* fix ofac check
* fix passport attestation id
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add eu id support
* add ofac and disclosure euid support
* add contract support for euid cards
---------
Co-authored-by: motemotech <i.am.nicoshark@gmail.com>
* add push notification feature
* merge new app impl
* change dsc key
* import
* reverse mock dsc
* worked in the ios
* checked in android
* update url and delete console
* delete small changes
* lint
* add yarn.lock
* fix warning message
* add mock notification service for test code
* fix path for the mock implementation
* add mock deeplink to the test code
* nice notificationServiceMock.js
* delete unused firebase related implementation
* fix wording and UI related to notification service
* hotfix on mockdatascreen
---------
Co-authored-by: turnoffthiscomputer <colin.remi07@gmail.com>
* add common sdk
* remove sdk backend api
* remove registry
* regenerate sha256 rsa dsc each time
* download ski-pem dynamically on staging, refactor initpassportDataParsing
* add state machine for button on prove screen, improve ux on splash screen
* fetch ski-pem in production
* fix linter issues
* fix prove screen button bugs
* update podfile.lock and yarn.lock
* run linter in circuits repo
* bump build
* bump version for sentry debugging
* bump ios to version 118
---------
Co-authored-by: Justin Hernandez <transphorm@gmail.com>
* refactor proving impleting xstate, speedup proving
* add disclosure proof support
* keep refactoring provingMachine, clean old implementation
* call init method when switching from dsc to register
* rebase with dev to display why the proof verification failed
* refactor ws connexion between front-end and mobile to retrieve self-app
* update the webclient at proofVerification and use selfAppStore in provingMachine
* fix provintStore.init in ProveScreen
* yarn nice
* fetch data correctly in splash screen
* simplify navigation logic
* use aesop design hook
* save wip
* add new aesop redesign screens
* save wip design
* refactor nav bar logic
* fix paths
* save wip
* stub progress navbar and save wip
* save wip progress bar animation
* save wip progress bar, almost done with design
* fix progress bar design
* fix bottom padding
* disable git commit for now
* fix flaky android downloads that causes pipeline to crash
* update lock for ci
* fix EC point padding for 521 bit curves
* rename modulus to point in findStartIndexEC as it is a point
* simplify matching logic
* simplify padding logic
* remove comment
* remove log
removing .only so the CI/CD runs circuit tests
fix disclosure test
fix scope in test
fix scope error in circuit tests
remove .only
fix test
* run ci/cd