Skip to content

Commit 28cd19b

Browse files
committed
merge with dev and fixes
1 parent 583092c commit 28cd19b

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,5 @@ We are actively looking for contributors. Please check the [open issues](https:/
9595
Thanks [Rémi](https://github.com/remicolin), [Florent](https://github.com/0xturboblitz), [Ayman](https://github.com/Nesopie), [Justin](https://github.com/transphorm), [Seshanth](https://github.com/seshanthS), [Nico](https://github.com/motemotech) and all other contributors for building Self.
9696

9797
Thanks [Aayush](https://twitter.com/yush_g), [Vivek](https://twitter.com/viv_boop), [Andy](https://twitter.com/AndyGuzmanEth) and [Vitalik](https://github.com/vbuterin) for contributing ideas and inspiring us to build this technology, and [PSE](https://pse.dev/) for supporting the initial work through grants!
98+
9899
# Cache refresh Sat Aug 30 22:47:05 PDT 2025

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
],
1414
"scripts": {
1515
"build": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run build",
16+
"build:mobile-sdk": "yarn workspace @selfxyz/mobile-sdk-alpha build && yarn workspace demo-app build",
1617
"check:versions": "node scripts/check-package-versions.mjs",
18+
"demo:mobile": "yarn build:mobile-sdk && yarn workspace demo-app start",
1719
"format": "SKIP_BUILD_DEPS=1 yarn format:root && yarn format:github && SKIP_BUILD_DEPS=1 yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run format",
1820
"format:github": "prettier --parser yaml --write .github/**/*.yml --single-quote false",
1921
"format:root": "prettier --parser markdown --write *.md scripts/**/*.md && prettier --parser yaml --write .*.{yml,yaml} --single-quote false && prettier --write scripts/**/*.{js,mjs,ts} && prettier --parser json --write scripts/**/*.json",
@@ -26,9 +28,7 @@
2628
"sort-package-jsons": "find . -name 'package.json' -not -path './node_modules/*' -not -path './*/node_modules/*' | xargs npx sort-package-json",
2729
"test": "yarn workspaces foreach --parallel -i --all run test",
2830
"test:license-headers": "cd scripts/tests && node check-license-headers.test.mjs",
29-
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run types ",
30-
"build:mobile-sdk": "yarn workspace @selfxyz/mobile-sdk-alpha build && yarn workspace demo-app build",
31-
"demo:mobile": "yarn build:mobile-sdk && yarn workspace demo-app start"
31+
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run types "
3232
},
3333
"resolutions": {
3434
"@babel/core": "^7.28.3",

packages/mobile-sdk-alpha/demo-app/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,42 @@ This is a demo application for testing the Self mobile SDK.
55
## Configuration
66

77
### New Architecture
8+
89
The new architecture (Fabric + TurboModules) can be toggled on/off:
910

1011
**Android**: Set `newArchEnabled` in `android/gradle.properties`
12+
1113
- `newArchEnabled=true` - Enable new architecture
1214
- `newArchEnabled=false` - Disable new architecture (default)
1315

1416
**iOS**: Set `:fabric_enabled` in `ios/Podfile`
17+
1518
- `:fabric_enabled => true` - Enable new architecture
1619
- `:fabric_enabled => false` - Disable new architecture (default)
1720

1821
### Hermes Engine
22+
1923
Hermes JavaScript engine can be toggled on/off:
2024

2125
**Android**: Set `hermesEnabled` in `android/gradle.properties`
26+
2227
- `hermesEnabled=true` - Enable Hermes (default)
2328
- `hermesEnabled=false` - Use JSC instead
2429

2530
**iOS**: Set `:hermes_enabled` in `ios/Podfile`
31+
2632
- `:hermes_enabled => true` - Enable Hermes (default)
2733
- `:hermes_enabled => false` - Use JSC instead
2834

2935
## Current Settings
36+
3037
- **New Architecture**: Disabled
3138
- **Hermes**: Enabled
3239

3340
## Build Commands
3441

3542
After changing configuration:
43+
3644
```bash
3745
# Clean and rebuild
3846
yarn clean

packages/mobile-sdk-alpha/demo-app/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"private": true,
55
"main": "index.js",
66
"scripts": {
7+
"preandroid": "yarn prebuild",
78
"android": "react-native run-android --verbose",
9+
"prebuild": "yarn workspace @selfxyz/mobile-sdk-alpha build",
810
"build": "tsc -p tsconfig.json --noEmit --pretty false",
911
"clean": "rm -rf ios/build android/app/build android/build && cd android && ./gradlew clean && cd ..",
12+
"preios": "yarn prebuild",
1013
"ios": "react-native run-ios",
1114
"start": "react-native start",
12-
"test": "jest",
13-
"prebuild": "yarn workspace @selfxyz/mobile-sdk-alpha build",
14-
"preandroid": "yarn prebuild",
15-
"preios": "yarn prebuild"
15+
"test": "jest"
1616
},
1717
"dependencies": {
1818
"@babel/runtime": "^7.28.3",
19+
"@noble/hashes": "^1.5.0",
1920
"@react-native-picker/picker": "^2.11.1",
2021
"@react-native/gradle-plugin": "0.76.9",
2122
"@selfxyz/common": "workspace:*",
2223
"@selfxyz/mobile-sdk-alpha": "workspace:*",
23-
"@noble/hashes": "^1.5.0",
2424
"assert": "^2.1.0",
2525
"buffer": "^6.0.3",
2626
"ethers": "^6.11.0",

packages/mobile-sdk-alpha/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
},
3232
"main": "./dist/cjs/index.cjs",
3333
"module": "./dist/esm/index.js",
34-
"types": "./dist/esm/index.d.ts",
3534
"react-native": "./dist/esm/index.js",
35+
"types": "./dist/esm/index.d.ts",
3636
"files": [
3737
"dist",
3838
"android",
@@ -44,12 +44,12 @@
4444
"build": "rm -rf dist && tsup && yarn postbuild && yarn demo:validate",
4545
"postbuild": "node ./scripts/postBuild.mjs",
4646
"demo:android": "yarn workspace demo-app android",
47+
"demo:build": "node ./scripts/build-demo.mjs",
4748
"demo:clean": "yarn workspace demo-app clean",
4849
"demo:ios": "yarn workspace demo-app ios",
4950
"demo:start": "yarn build && yarn demo:clean && yarn workspace demo-app start --reset-cache",
5051
"demo:test": "yarn workspace demo-app test",
5152
"demo:validate": "yarn workspace demo-app build",
52-
"demo:build": "node ./scripts/build-demo.mjs",
5353
"fmt": "prettier --check .",
5454
"fmt:fix": "prettier --write .",
5555
"format": "sh -c 'if [ -z \"$SKIP_BUILD_DEPS\" ]; then yarn nice; else yarn fmt:fix; fi'",

yarn.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4663,7 +4663,7 @@ __metadata:
46634663
languageName: unknown
46644664
linkType: soft
46654665

4666-
"@selfxyz/common@workspace:^, @selfxyz/common@workspace:common":
4666+
"@selfxyz/common@workspace:*, @selfxyz/common@workspace:^, @selfxyz/common@workspace:common":
46674667
version: 0.0.0-use.local
46684668
resolution: "@selfxyz/common@workspace:common"
46694669
dependencies:
@@ -13472,6 +13472,7 @@ __metadata:
1347213472
"@babel/core": "npm:^7.28.3"
1347313473
"@babel/runtime": "npm:^7.28.3"
1347413474
"@noble/hashes": "npm:^1.5.0"
13475+
"@react-native-picker/picker": "npm:^2.11.1"
1347513476
"@react-native/gradle-plugin": "npm:0.76.9"
1347613477
"@selfxyz/common": "workspace:*"
1347713478
"@selfxyz/mobile-sdk-alpha": "workspace:*"

0 commit comments

Comments
 (0)