* 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
* 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>
* 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
* generate scope from dns
* switch between api and staging api according to document type
* add poland passport to mockdatascreen
* yarn nice
* bump sdk version
* bump app version
* Feat/update sdk (#496)
* export castFromScope
* export proof conversion
* publish new package
* update package
* update package
* add hashEndpointWithScope to export member
---------
Co-authored-by: nicoshark <i.am.nicoshark@gmail.com>
* rename handleProofVerified to handleProofResult
* from the app, call proof_verified or proof_generation_failed instead of always proof_verified
* messaging for when proof fails
* bump sdk version
* yarn nice