Nesopie
5d63c60457
fix: use an empty array if forbidden countries are not specified ( #1239 )
2025-10-08 16:18:17 +05:30
Justin Hernandez
20fa5c5adc
[SELF-700] feat: add mock document generator demo ( #995 )
...
* feat: add mock document generator demo
* feat: add mock document generator
* fixes
* chore: refresh workflow cache
* update lock
* build
* updates
* more fixes
* code rabbit feedback
* compiles
* save wip
* updates
* merge with dev and fixes
* fix: align hoisting and demo Jest resolver (#1003 )
* chore(app): map common src paths and declare svg flag module
* ci fix
* update lock
* save wip
* chore: address yarn lock issues (#1004 )
* address yarn lock issues
* fix postinstall
* fix ci
* use metro js proxy
* android build working for /app
* save wip
* fix merge
* pipeline fixes
* format
* fix pipelines
* bump limit and split
* fix pipeline issues
* chore: decouple demo app build (#1013 )
* chore: decouple demo app build
* chore: move demo app to workspace
* chore: unpublish demo workspace
* fix mobile sdk tests
* updates
* remove polyfills
* update merge
* update resolutions
* update resolutions
* fix merge
* fix paths
* save wip
* save wip fixes rd2
* working android
* update lock
* save wip ios building
* fix merge
* readd public key
* fixes
* ci fixes
* fixes
* fix web building
* fix ci
* fix tests
* update lock
* fix ci rd2
* formatting and fix ci
* fix
* finalize ci fixes
* fix tests and metro config paths for building
* save wip
* install missing package for pipeline
* fix wip app building
* wip react config
* save working emulator compile
* first round of pr fixes and feedback
* clean up demo app artifacts from sdk
* Add Gradle wrapper files for mobile-sdk-demo Android build
- Added gradlew, gradlew.bat, and gradle/wrapper/ directory
- Updated .gitignore to allow committing Gradle wrapper files
- Fixes Android build error: spawn ./gradlew ENOENT
* codex feedback and fixes
* fix tests
* file renames
* revert back to dev
* add types
* coderabbit fixes
* fix tests
* fix tests
* fix test
* fixes
* fix wip coderabbit issues
* coderabbit suggestions rd 2
* fix ci pipelines and addresss warnings
* cr fixes
* convert kebab to camelCase
* save wip fixes
* update reinstall and lock files
* fixes
* remove file
* fix lint
* fix polyfill fallback issues
* ensure that mock document is not on ofac list
* prettier
2025-09-27 13:59:47 -07:00
Nesopie
94a462704e
feat: export attestation id ( #1130 )
2025-09-26 00:55:50 +05:30
Nesopie
8abcb15508
Feat/export attestation ids ( #1129 )
...
* fix: ofac logic
* feat: create an attestation id object
* lint
2025-09-26 00:22:51 +05:30
Nesopie
43fe425543
fix: ofac logic ( #1124 )
2025-09-25 13:06:12 +05:30
Nesopie
8c1bf0c0fd
chore: use published selfxyz anon-aadhaar package ( #1109 )
2025-09-22 10:07:40 +05:30
Nesopie
d0a66a11ba
fix: aadhaar verifier abi ( #1096 )
...
* fix: aadhaar verifier abi
* bump: core
2025-09-19 11:56:44 +05:30
Justin Hernandez
779fea5d2a
address version mismatches and package resolutions ( #1081 )
...
* fix package version mismatches and resolutions
* fixes
* update lock
* fix comma
* fixes
* fix packages
* update packages
* remove firebase analytics. not needed
2025-09-18 17:35:26 -07:00
Nesopie
1d648efed2
bump sdk ( #1086 )
2025-09-18 01:34:20 +05:30
Nesopie
729ee76e8f
Feat/aadhaar sdk ( #1082 )
...
* feat: add aadhaar support to the ts sdk
* feat: aadhaar support to go sdk
* chore: refactor
* move clearPassportData, markCurrentDocumentAsRegistered, reStorePassportDataWithRightCSCA to SDK (#1041 )
* Move self app store to mobile sdk (#1040 )
* chore(mobile-sdk-alpha): remove unused tslib dependency (#1053 )
* remove tslib -- seems unused
* remove deps accidentally added to root
* build file
* remove unused imports (#1055 )
* fix: sha256 signed attr tests (#1058 )
* fix mock screen launch (#1059 )
* Hotfix: Belgium ID cards (#1061 )
* feat: parse belgium TD1 mrz android
* feat: Parse Belgium TD1 MRZ IOS
* fix: OFAC trees not found (#1060 )
* fix: relax OFAC tree response validation
* test: cover OFAC tree edge cases
* fix stateless
* revert and fix types
* fix tests
* [SELF-723] feat: add structured NFC and Proof logging (#1048 )
* feat: add structured NFC logging
* fix ci
* Fix: add deps
* logging fixes. use breadcrumbs
* fix android build
* update SeverityLevel
* [SELF-705] feat: add proof event logging (#1057 )
* feat: add proof event logging
* refactor: unify sentry event logging
* fix types
* fix mock
* simplify
* code rabbit feedback
* fix tests
---------
Co-authored-by: seshanthS <seshanth@protonmail.com >
* skip on dev (#1063 )
* don't get fancy just disable (#1064 )
* saw it building so gonna try (#1065 )
* chore: bump v2.6.5 rd2 (#1067 )
* commit wip version bump
* remove from building
* chore: update tooling dependencies (#1069 )
* chore: update tooling dependencies
* chore: align react typings and node types
* update lock
* chore: minor fixes across monorepo (#1068 )
* small fixes
* fixes
* fix gesture handler error
* ci fixes
* fix yarn build; add workflow ci (#1075 )
* add new workspace ci
* disable package version check for now
* build before checks
* format
* fix in future pr
* feat: add functions for disclosing aadhaar attributes (#1033 )
* feat: add functions for disclosing aadhaar attributes
* format
* chore: update monorepo artifacts (#1079 )
* remove unneeded artifacts, skip building circuits
* update md files
* chore: update hub contract address
* format
* fix: add aadhaar in AllIds
* chore: bump to v1.1.0-beta
---------
Co-authored-by: vishal <vishalkoolkarni0045@gmail.com >
Co-authored-by: Leszek Stachowski <leszek.stachowski@self.xyz >
Co-authored-by: Aaron DeRuvo <aaron.deruvo@clabs.co >
Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz >
Co-authored-by: Seshanth.S🐺 <35675963+seshanthS@users.noreply.github.com >
Co-authored-by: seshanthS <seshanth@protonmail.com >
2025-09-17 16:43:35 +05:30
Justin Hernandez
61d405f93e
[SELF-662] feat: add mobile sdk error classes ( #916 )
...
* feat: add typed errors
* docs: add jsdoc comments to error classes
* docs: document sdk error helpers
* pr feedback
2025-08-19 08:10:27 -07:00
Justin Hernandez
691e8b1517
chore: unify lightweight deps and workflow node version ( #906 )
...
* chore: unify lightweight deps and workflow node version
* gigamind flow updates
* standardize workflows
* fix workflow
* improvements
* Gigamind tweaks (#911 )
* save gigamind updates
* keep manual review on for now
* pr feedback
* fix pipeline
* make runner more dynamic
* fix regex
* fixes
* update simulator
* fixes
* fixes
* fix regex
* try again
* test
* revert back to dev settings
* mobile fixes
* fixes
* fix runtime
* just use latest
* pr feedback
* remove template
* Update .github/workflows/mobile-e2e.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-17 21:00:36 -07:00
Justin Hernandez
6b285c9bf3
chore: address TypeScript ESLint v8 upgrade feedback and improve type safety ( #895 )
...
* cr feedback
* update based on feedback
* typing updates
* unify yarn package version
* update lock
2025-08-14 09:19:34 -07:00
Justin Hernandez
07addb2a9a
chore: add TypeScript tooling ( #891 )
...
* chore: add TypeScript tooling
* chore: remove unused tsconfig and migration script
* update settings
* add knip config
* format
* more reliable circuits tests
* fix workflow
* fix types
* updates
* ts updates
* more updates
* fix upgrade
* fixes
2025-08-13 21:02:07 -07:00
Justin Hernandez
ae5e8ccd0f
chore: remove msgpack-lite and pako dependencies ( #892 )
2025-08-13 18:45:50 -07:00
Justin Hernandez
7a7a597545
Optimize CI workflows and add core SDK checks ( #885 )
...
* Parallelize mobile SDK CI and add core workflow
* fix tests for now
* test build improvements
* fix: add explicit Corepack setup to fix Yarn version issues in CI
* security: add minimal permissions, pin actions to SHAs, and improve checksum verification
* refactor: remove redundant Corepack setup from npm-publish and core-sdk-ci workflows
* simplify action versions
2025-08-12 18:12:56 -07:00
Justin Hernandez
343515c35f
chore: add Node version file ( #853 )
2025-08-07 17:48:25 -07:00
Justin Hernandez
82d26669bc
Enable tree-shakeable exports ( #823 )
...
* 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
2025-08-02 16:55:05 -07:00
turnoffthiscomputer
0d853a2422
App/deeplink callback ( #789 )
...
* add deepllinkCallback support
* bump package version
* yarn nice
* fix background countdown
* cast the URL to prevent malicious code introduction
2025-07-28 10:20:57 +02:00
Ayman
aee72be5c7
bump: sdk/core to 1.0.7-beta.1
2025-07-21 13:07:59 +05:30
turnoffthiscomputer
19f167297a
don't use crypto in core sdk
2025-07-08 18:04:15 +02:00
Ayman
fab8b3b6d2
chore: update default config id method
2025-07-03 14:41:30 +02:00
Justin Hernandez
9efe13386b
add bulk sort command ( #723 )
2025-07-01 18:32:56 -07:00
Ayman
9777c45db0
bump version and add mainnet hub address
2025-06-30 10:54:05 +02:00
Ayman
6c5b20372b
fix: config not found bug
2025-06-27 23:05:44 +05:30
Ayman
33f021b47c
bump: sdk/core@1.0.3-beta.4
2025-06-27 22:27:44 +05:30
Nesopie
44f0a7ba70
feat: add better error handling ( #691 )
2025-06-27 18:28:36 +02:00
Ayman
02fd6120c6
bump sdk version and use new hub address
2025-06-24 20:03:26 +05:30
Nesopie
12e3598753
chore: change hub contract address ( #675 )
2025-06-24 12:06:03 +02:00
Ayman
0a1771706d
bump core version and fix ci
2025-06-24 14:10:36 +05:30
turnoffthiscomputer
6f53872b21
bump core version
2025-06-24 10:30:07 +02:00
Nesopie
42eff712b3
Update npm-publish workflow and bump core package version to 1.0.0 ( #661 )
2025-06-23 14:34:53 +02:00
Nesopie
72a7f8177d
Fix/sdk ( #652 )
...
* fix: sdk build configs
* chore: SelfBackendVerifier (WIP)
* feat: add custom verification
* feat: consider destination chain in user defined data
* chore: export attestation id
* chore: export attestation id
* chore: export config storage
* chore: don't throw an error if the proof is not valid
* chore: trim abi and rm typechain types
* refactor
* chore: rm unnecessary exports
* 📝 Add docstrings to `fix/sdk` (#653 )
Docstrings generation was requested by @remicolin.
* https://github.com/selfxyz/self/pull/652#issuecomment-2992046545
The following files were modified:
* `sdk/core/src/utils/hash.ts`
* `sdk/core/src/utils/proof.ts`
* `sdk/core/src/utils/utils.ts`
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* review fixes
* chore: fix package.json cjs types
* chore: add minor changes to checks
* feat: add InMemoryConfigStore, allIds constant and verificationResult type
* chore: export Verification config
* feat: change the verification config types
* fix: throw issues early if verification config is null
* fix: update yarn.lock file
* chore: lint
* fix: rm ts expect error directive
* fix: contract tests
* use excluded countries instead forbidden countries list
* chore: change types in constnats
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-23 14:25:36 +02:00
Justin Hernandez
6d27b365c7
Bump build to test PACE polling (ios 127; android 66) ( #591 )
...
* 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
2025-06-06 07:29:26 -07:00
Aaron DeRuvo
0e9c59c0fb
SEL-56: Setup Yarn Workspaces ( #584 )
2025-06-04 11:37:32 +02:00
nicoshark
f5e243cf9c
update staging registry address ( #545 )
2025-04-30 21:43:10 +02:00
turnoffthiscomputer
eb6af37ae0
Fix sdk react version ( #506 )
...
* fix sdk import
* fix core react sdk version issue
* bump version
2025-04-05 07:07:04 +02:00
turnoffthiscomputer
64ffa7aefa
fix sdk import ( #505 )
2025-04-04 16:37:25 +02:00
nicoshark
624d0e568d
Feat/forbidden countries utils ( #504 )
...
* add forbidden countries util function
* remove casting
2025-04-04 18:58:30 +05:30
nicoshark
c00827dafc
increment the package version ( #503 )
2025-04-03 07:35:44 +02:00
turnoffthiscomputer
1f4cc63324
add self app builder to core sdk ( #501 )
2025-04-03 03:59:33 +02:00
nicoshark
03c1b0f453
fix backend sdk with scope ( #497 )
2025-03-31 20:53:38 +02:00
turnoffthiscomputer
fafc765af7
generate scope from dns ( #495 )
...
* 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 >
2025-03-31 20:20:13 +02:00
nicoshark
acd3329f31
Feat/proof conversion ( #491 )
...
* export castFromScope
* export proof conversion
2025-03-28 17:13:45 +01:00
nicoshark
a357636e39
export castFromScope ( #490 )
2025-03-28 11:30:37 +01:00
turnoffthiscomputer
2c46d34e48
add country mapping ( #480 )
...
* add country mapping
* update backend verifier
* delete unused setting
* add orgs
* update country codes
* fix nationality
* bump sdk versions
---------
Co-authored-by: motemotech <i.am.nicoshark@gmail.com >
2025-03-25 16:00:51 +01:00
turnoffthiscomputer
5a3ac1e091
add local sdk testing web app ( #478 )
...
* add local sdk testing web app
* uncomment window.location
* bump package version
2025-03-24 23:30:26 +01:00
turnoffthiscomputer
36a29c9a21
chore: add redirect.self.xyz to app link domains ( #415 )
...
* chore: add redirect.self.xyz to app link domains
* chore: add redirect.self.xyz to android manifest
* add self in the universal link path
* set gestureEnabled false on Launch screen
* improve ProveScreen UX
* improve ProveScreen UX
* implement deeplinking in mobile app and sdk
* start app listener in ViewFinder
* support WS connexion with complex qrcodes
* remove /self path from android deeplink support
---------
Co-authored-by: turboblitz <florent.tavernier@gmail.com >
2025-03-21 13:55:11 -07:00
turnoffthiscomputer
ecf9f549f4
bump version
2025-03-14 20:15:29 +01:00
turnoffthiscomputer
95829b5d1a
bump version
2025-03-14 20:12:40 +01:00