mirror of
https://github.com/selfxyz/self.git
synced 2026-01-10 15:18:18 -05:00
* 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>
157 lines
7.5 KiB
JSON
157 lines
7.5 KiB
JSON
{
|
|
"name": "@selfxyz/mobile-app",
|
|
"version": "2.5.4",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"analyze:android": "yarn reinstall && react-native-bundle-visualizer --platform android --dev",
|
|
"analyze:ios": "yarn reinstall && react-native-bundle-visualizer --platform ios --dev",
|
|
"android": "react-native run-android",
|
|
"android:build-apk": "yarn reinstall && cd ./android && ./gradlew clean assembleRelease && cd ..",
|
|
"android:build-debug": "yarn reinstall && cd ./android && yarn android:build-debug-bundle && ./gradlew clean assembleDebug && cd ..",
|
|
"android:build-debug-bundle": "yarn react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
|
|
"android:build-release": "yarn reinstall && cd ./android && ./gradlew clean bundleRelease && cd ..",
|
|
"android:fastlane-debug": "yarn reinstall && bundle exec fastlane --verbose android internal_test",
|
|
"build:deps": "yarn workspaces foreach --from @selfxyz/mobile-app --topological --recursive run build",
|
|
"bump-version:major": "npm version major && yarn sync-versions",
|
|
"bump-version:minor": "npm version minor && yarn sync-versions",
|
|
"bump-version:patch": "npm version patch && yarn sync-versions",
|
|
"clean": "yarn clean:watchman && yarn clean:build && yarn clean:ios && yarn clean:android && yarn clean:xcode && yarn clean:pod-cache && yarn clean:node",
|
|
"clean:android": "rm -rf android/app/build android/build",
|
|
"clean:build": "rm -rf ios/build android/app/build android/build",
|
|
"clean:ios": "rm -rf ios/Pods ios/Podfile.lock",
|
|
"clean:node": "rm -rf ../node_modules app/node_modules",
|
|
"clean:pod-cache": "cd ios && pod cache clean --all && cd ..",
|
|
"clean:watchman": "watchman watch-del-all",
|
|
"clean:xcode": "rm -rf ~/Library/Developer/Xcode/DerivedData",
|
|
"clean:xcode-env-local": "rm -f ios/.xcode.env.local",
|
|
"fmt": "prettier --check .",
|
|
"fmt:fix": "prettier --write .",
|
|
"force-local-upload-deploy": "yarn force-local-upload-deploy:android && yarn force-local-upload-deploy:ios",
|
|
"force-local-upload-deploy:android": "yarn reinstall && FORCE_UPLOAD_LOCAL_DEV=true bundle exec fastlane android deploy --verbose",
|
|
"force-local-upload-deploy:ios": "yarn reinstall && FORCE_UPLOAD_LOCAL_DEV=true bundle exec fastlane ios deploy --verbose",
|
|
"force-local-upload-test": "yarn force-local-upload-test:android && yarn force-local-upload-test:ios",
|
|
"force-local-upload-test:android": "yarn reinstall && FORCE_UPLOAD_LOCAL_DEV=true bundle exec fastlane android internal_test --verbose",
|
|
"force-local-upload-test:ios": "yarn reinstall && FORCE_UPLOAD_LOCAL_DEV=true bundle exec fastlane ios internal_test --verbose",
|
|
"ia": "yarn install-app",
|
|
"install-app": "yarn install-app:setup && cd ios && bundle exec pod install && cd .. && yarn clean:xcode-env-local",
|
|
"install-app:deploy": "yarn install-app:setup && yarn clean:xcode-env-local",
|
|
"install-app:setup": "yarn install && yarn build:deps && cd ios && bundle install && cd ..",
|
|
"ios": "react-native run-ios",
|
|
"ios:fastlane-debug": "yarn reinstall && bundle exec fastlane --verbose ios internal_test",
|
|
"setup": "yarn clean:build && yarn install && yarn build:deps && cd ios && bundle install && bundle exec pod install --repo-update && cd .. && yarn clean:xcode-env-local",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"nice": "yarn lint:fix && yarn fmt:fix",
|
|
"reinstall": "yarn clean && yarn install && yarn install-app",
|
|
"start": "watchman watch-del-all && react-native start",
|
|
"sync-versions": "bundle exec fastlane ios sync_version && bundle exec fastlane android sync_version",
|
|
"tag:release": "node scripts/tag.js release",
|
|
"tag:remove": "node scripts/tag.js remove",
|
|
"test": "jest --passWithNoTests",
|
|
"types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.27.4",
|
|
"@ethersproject/shims": "^5.7.0",
|
|
"@openpassport/zk-kit-lean-imt": "^0.0.6",
|
|
"@openpassport/zk-kit-smt": "^0.0.1",
|
|
"@peculiar/x509": "^1.12.3",
|
|
"@react-native-async-storage/async-storage": "^2.1.1",
|
|
"@react-native-clipboard/clipboard": "1.13.2",
|
|
"@react-native-community/netinfo": "^11.4.1",
|
|
"@react-native-firebase/app": "^19.0.1",
|
|
"@react-native-firebase/messaging": "^19.0.1",
|
|
"@react-native-google-signin/google-signin": "^13.1.0",
|
|
"@react-navigation/native": "^7.0.14",
|
|
"@react-navigation/native-stack": "^7.2.0",
|
|
"@segment/analytics-react-native": "^2.21.0",
|
|
"@segment/sovran-react-native": "^1.1.3",
|
|
"@selfxyz/common": "workspace:^",
|
|
"@sentry/react-native": "6.10.0",
|
|
"@stablelib/cbor": "^2.0.1",
|
|
"@tamagui/config": "1.126.14",
|
|
"@tamagui/lucide-icons": "1.126.14",
|
|
"@tamagui/toast": "^1.127.2",
|
|
"@xstate/react": "^5.0.3",
|
|
"add": "^2.0.6",
|
|
"asn1js": "^3.0.5",
|
|
"country-emoji": "^1.5.6",
|
|
"country-iso-3-to-2": "^1.1.1",
|
|
"elliptic": "^6.6.1",
|
|
"ethers": "^6.11.0",
|
|
"expo-modules-core": "^2.2.1",
|
|
"js-sha512": "^0.9.0",
|
|
"lottie-react-native": "7.2.2",
|
|
"msgpack-lite": "^0.1.26",
|
|
"node-forge": "^1.3.1",
|
|
"pako": "^2.1.0",
|
|
"pkijs": "^3.2.4",
|
|
"poseidon-lite": "^0.2.0",
|
|
"react": "^18.3.1",
|
|
"react-native": "0.75.4",
|
|
"react-native-biometrics": "^3.0.1",
|
|
"react-native-check-version": "^1.3.0",
|
|
"react-native-cloud-storage": "^2.2.2",
|
|
"react-native-device-info": "^14.0.4",
|
|
"react-native-dotenv": "^3.4.11",
|
|
"react-native-gesture-handler": "2.24.0",
|
|
"react-native-get-random-values": "^1.11.0",
|
|
"react-native-haptic-feedback": "^2.3.3",
|
|
"react-native-keychain": "^10.0.0",
|
|
"react-native-localize": "^3.4.1",
|
|
"react-native-nfc-manager": "^3.15.1",
|
|
"react-native-passport-reader": "^1.0.3",
|
|
"react-native-quick-crypto": "^0.7.12",
|
|
"react-native-safe-area-context": "^5.2.0",
|
|
"react-native-screens": "4.9.0",
|
|
"react-native-sqlite-storage": "^6.0.1",
|
|
"react-native-svg": "^15.11.1",
|
|
"socket.io-client": "^4.7.5",
|
|
"tamagui": "1.126.14",
|
|
"uuid": "^11.0.5",
|
|
"xstate": "^5.19.2",
|
|
"zustand": "^4.5.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.0",
|
|
"@babel/plugin-transform-private-methods": "^7.23.3",
|
|
"@react-native-community/cli": "^14.1.1",
|
|
"@react-native/babel-preset": "0.75.4",
|
|
"@react-native/eslint-config": "0.75.4",
|
|
"@react-native/gradle-plugin": "^0.79.2",
|
|
"@react-native/metro-config": "0.75.4",
|
|
"@react-native/typescript-config": "0.75.4",
|
|
"@tamagui/types": "1.126.14",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/react-native": "^13.2.0",
|
|
"@tsconfig/react-native": "^3.0.0",
|
|
"@types/add": "^2",
|
|
"@types/elliptic": "^6",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/msgpack-lite": "^0.1.11",
|
|
"@types/node-forge": "^1.3.3",
|
|
"@types/pako": "^2.0.3",
|
|
"@types/react": "^18.2.6",
|
|
"@types/react-native": "^0.73.0",
|
|
"@types/react-native-dotenv": "^0.2.0",
|
|
"@types/react-native-sqlite-storage": "^6.0.5",
|
|
"@types/react-test-renderer": "^18",
|
|
"eslint": "^8.19.0",
|
|
"eslint-config-prettier": "^10.1.2",
|
|
"eslint-plugin-jest": "^28.11.1",
|
|
"eslint-plugin-prettier": "^5.2.6",
|
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
"jest": "^29.6.3",
|
|
"prettier": "^3.5.3",
|
|
"react-native-bundle-visualizer": "^3.1.3",
|
|
"react-native-svg-transformer": "^1.5.0",
|
|
"react-test-renderer": "^18.3.1",
|
|
"stream-browserify": "^3.0.0",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|