Skip to content

Commit eca9389

Browse files
committed
code review
1 parent 1a8dda4 commit eca9389

File tree

3 files changed

+110
-44
lines changed

3 files changed

+110
-44
lines changed

packages/core-mobile/app/new/features/swapV2/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const MAX_SLIPPAGE_PERCENT = 50
9999
/**
100100
* Markr API endpoint for Fusion SDK
101101
*/
102-
// TODO add to env variables once stable
102+
// TODO add to env variables once stable https://ava-labs.atlassian.net/browse/CP-13381
103103
export const MARKR_API_URL =
104104
Config.MARKR_API_URL ?? 'https://proxy-api.avax.network/proxy/markr-staging'
105105

packages/core-mobile/ios/Podfile.lock

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ PODS:
543543
- glog
544544
- hermes-engine
545545
- NitroModules
546-
- QuickCrypto
547546
- RCT-Folly (= 2024.11.18.00)
548547
- RCTRequired
549548
- RCTTypeSafety
@@ -616,35 +615,10 @@ PODS:
616615
- ReactCommon/turbomodule/bridging
617616
- ReactCommon/turbomodule/core
618617
- Yoga
618+
- OpenSSL-Universal (1.1.1100)
619619
- OpenTelemetrySwiftApi (1.13.1)
620620
- PLCrashReporter (1.12.0)
621621
- PromisesObjC (2.4.0)
622-
- QuickCrypto (1.0.7):
623-
- DoubleConversion
624-
- glog
625-
- hermes-engine
626-
- NitroModules
627-
- RCT-Folly (= 2024.11.18.00)
628-
- RCTRequired
629-
- RCTTypeSafety
630-
- React-callinvoker
631-
- React-Core
632-
- React-debug
633-
- React-Fabric
634-
- React-featureflags
635-
- React-graphics
636-
- React-hermes
637-
- React-ImageManager
638-
- React-jsi
639-
- React-NativeModulesApple
640-
- React-RCTFabric
641-
- React-renderercss
642-
- React-rendererdebug
643-
- React-utils
644-
- ReactCodegen
645-
- ReactCommon/turbomodule/bridging
646-
- ReactCommon/turbomodule/core
647-
- Yoga
648622
- RCT-Folly (2024.11.18.00):
649623
- boost
650624
- DoubleConversion
@@ -2314,6 +2288,32 @@ PODS:
23142288
- ReactCommon/turbomodule/bridging
23152289
- ReactCommon/turbomodule/core
23162290
- Yoga
2291+
- react-native-quick-crypto (0.7.15):
2292+
- DoubleConversion
2293+
- glog
2294+
- hermes-engine
2295+
- OpenSSL-Universal
2296+
- RCT-Folly (= 2024.11.18.00)
2297+
- RCTRequired
2298+
- RCTTypeSafety
2299+
- React
2300+
- React-Core
2301+
- React-debug
2302+
- React-Fabric
2303+
- React-featureflags
2304+
- React-graphics
2305+
- React-hermes
2306+
- React-ImageManager
2307+
- React-jsi
2308+
- React-NativeModulesApple
2309+
- React-RCTFabric
2310+
- React-renderercss
2311+
- React-rendererdebug
2312+
- React-utils
2313+
- ReactCodegen
2314+
- ReactCommon/turbomodule/bridging
2315+
- ReactCommon/turbomodule/core
2316+
- Yoga
23172317
- react-native-restart (0.0.27):
23182318
- React-Core
23192319
- react-native-safe-area-context (5.5.2):
@@ -3522,7 +3522,7 @@ DEPENDENCIES:
35223522
- NitroAvalabsCrypto (from `../node_modules/react-native-nitro-avalabs-crypto`)
35233523
- NitroFetch (from `../node_modules/react-native-nitro-fetch`)
35243524
- NitroModules (from `../node_modules/react-native-nitro-modules`)
3525-
- QuickCrypto (from `../node_modules/react-native-quick-crypto`)
3525+
- OpenSSL-Universal (= 1.1.1100)
35263526
- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
35273527
- RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
35283528
- RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`)
@@ -3574,6 +3574,7 @@ DEPENDENCIES:
35743574
- react-native-passkey (from `../node_modules/react-native-passkey`)
35753575
- react-native-performance (from `../node_modules/react-native-performance`)
35763576
- react-native-quick-base64 (from `../node_modules/react-native-quick-base64`)
3577+
- react-native-quick-crypto (from `../node_modules/react-native-quick-crypto`)
35773578
- react-native-restart (from `../node_modules/react-native-restart`)
35783579
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
35793580
- "react-native-skia (from `../node_modules/@shopify/react-native-skia`)"
@@ -3678,6 +3679,7 @@ SPEC REPOS:
36783679
- lottie-ios
36793680
- MultiplatformBleAdapter
36803681
- nanopb
3682+
- OpenSSL-Universal
36813683
- OpenTelemetrySwiftApi
36823684
- PLCrashReporter
36833685
- PromisesObjC
@@ -3778,8 +3780,6 @@ EXTERNAL SOURCES:
37783780
:path: "../node_modules/react-native-nitro-fetch"
37793781
NitroModules:
37803782
:path: "../node_modules/react-native-nitro-modules"
3781-
QuickCrypto:
3782-
:path: "../node_modules/react-native-quick-crypto"
37833783
RCT-Folly:
37843784
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
37853785
RCTDeprecation:
@@ -3878,6 +3878,8 @@ EXTERNAL SOURCES:
38783878
:path: "../node_modules/react-native-performance"
38793879
react-native-quick-base64:
38803880
:path: "../node_modules/react-native-quick-base64"
3881+
react-native-quick-crypto:
3882+
:path: "../node_modules/react-native-quick-crypto"
38813883
react-native-restart:
38823884
:path: "../node_modules/react-native-restart"
38833885
react-native-safe-area-context:
@@ -4095,13 +4097,13 @@ SPEC CHECKSUMS:
40954097
LVModalQueue: 79984475a7adaccb33e8e3ef9ad06742852ff81b
40964098
MultiplatformBleAdapter: b1fddd0d499b96b607e00f0faa8e60648343dc1d
40974099
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
4098-
NitroAvalabsCrypto: 51a5d05222529a10c7ac99d963bab93fb1070072
4100+
NitroAvalabsCrypto: 1e5e1dbdc072022443c355b70d6d598841bf8557
40994101
NitroFetch: 23ea318ee7382714fc4d32a4777583dba391833a
41004102
NitroModules: 6a2c62dd870fa31c50daa55b63f59adecc68a8eb
4103+
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
41014104
OpenTelemetrySwiftApi: aaee576ed961e0c348af78df58b61300e95bd104
41024105
PLCrashReporter: db59ef96fa3d25f3650040d02ec2798cffee75f2
41034106
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
4104-
QuickCrypto: d18e0bbaba69c477f6d6296175322d058da6f28a
41054107
RCT-Folly: 36fe2295e44b10d831836cc0d1daec5f8abcf809
41064108
RCTDeprecation: 5f638f65935e273753b1f31a365db6a8d6dc53b5
41074109
RCTRequired: 8b46a520ea9071e2bc47d474aa9ca31b4a935bd8
@@ -4152,6 +4154,7 @@ SPEC CHECKSUMS:
41524154
react-native-passkey: 3aac247c18127443ef4a002b59d8e12dc7e99f2e
41534155
react-native-performance: 4194ce7222056671d8f0ce10e96a8fead7278550
41544156
react-native-quick-base64: 651d972291fd5d9902869636a1b3c46820324490
4157+
react-native-quick-crypto: 71b622aa0a231ac068759f5eef37982ad5eae58c
41554158
react-native-restart: 0bc732f4461709022a742bb29bcccf6bbc5b4863
41564159
react-native-safe-area-context: 7e926a200d4bc9c56562275743705c6b56176455
41574160
react-native-skia: 5c086469906cf854e26126b5b88dcbb6c93eb90f
@@ -4229,6 +4232,6 @@ SPEC CHECKSUMS:
42294232
Yoga: adb397651e1c00672c12e9495babca70777e411e
42304233
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5
42314234

4232-
PODFILE CHECKSUM: a2419b0d699403a5728ebd8c44ade7e08b6edb43
4235+
PODFILE CHECKSUM: 5c40fea57eb45cbbb8186acd410997f14944226c
42334236

42344237
COCOAPODS: 1.16.2

yarn.lock

Lines changed: 73 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ __metadata:
514514
"@avalabs/svm-module": 3.1.3
515515
"@avalabs/tsconfig-mobile": "workspace:*"
516516
"@avalabs/types": 3.1.0-alpha.71
517+
"@avalabs/unified-asset-transfer": 0.0.0-project-fusion-pr-20260211175355
517518
"@avalabs/vm-module-types": 3.1.3
518519
"@babel/core": 7.28.0
519520
"@babel/plugin-proposal-nullish-coalescing-operator": 7.18.6
@@ -806,7 +807,7 @@ __metadata:
806807
webdriverio: 9.23.0
807808
xss: 1.0.15
808809
zeego: 3.0.6
809-
zod: 3.23.8
810+
zod: 4.1.12
810811
zustand: 5.0.6
811812
languageName: unknown
812813
linkType: soft
@@ -1088,6 +1089,22 @@ __metadata:
10881089
languageName: node
10891090
linkType: hard
10901091

1092+
"@avalabs/unified-asset-transfer@npm:0.0.0-project-fusion-pr-20260211175355":
1093+
version: 0.0.0-project-fusion-pr-20260211175355
1094+
resolution: "@avalabs/unified-asset-transfer@npm:0.0.0-project-fusion-pr-20260211175355"
1095+
dependencies:
1096+
"@lombard.finance/sdk": ^4.1.0
1097+
"@scure/base": ^1.0.1
1098+
coinselect: ^3.1.13
1099+
es-toolkit: ^1.42.0
1100+
peerDependencies:
1101+
"@solana/kit": ^5.0.0
1102+
viem: ^2.38.0
1103+
zod: ^4.1.0
1104+
checksum: cad64b61189a29c04010833c51d7242632d1872571bc21427dbde3fbf307bb250c3906535b368be771d1699e0551e1dbd8e2ef19e87e5782224450a340ba1857
1105+
languageName: node
1106+
linkType: hard
1107+
10911108
"@avalabs/vm-module-types@npm:3.1.3":
10921109
version: 3.1.3
10931110
resolution: "@avalabs/vm-module-types@npm:3.1.3"
@@ -9628,6 +9645,16 @@ __metadata:
96289645
languageName: node
96299646
linkType: hard
96309647

9648+
"@lombard.finance/sdk-common@npm:3.4.0":
9649+
version: 3.4.0
9650+
resolution: "@lombard.finance/sdk-common@npm:3.4.0"
9651+
peerDependencies:
9652+
"@bitcoinerlab/secp256k1": ^1.2.0
9653+
bitcoinjs-lib: ^6.1.5
9654+
checksum: e0ea4685270ca69b16c04f8f41c330f977d76e18518d175d4d249300afd9eeb741f3bd258e4569195ff16b6d5aba953ae804e026d2c85a7bab6292f5031c4b60
9655+
languageName: node
9656+
linkType: hard
9657+
96319658
"@lombard.finance/sdk-common@npm:^3.3.1":
96329659
version: 3.3.1
96339660
resolution: "@lombard.finance/sdk-common@npm:3.3.1"
@@ -9657,6 +9684,23 @@ __metadata:
96579684
languageName: node
96589685
linkType: hard
96599686

9687+
"@lombard.finance/sdk@npm:^4.1.0":
9688+
version: 4.3.0
9689+
resolution: "@lombard.finance/sdk@npm:4.3.0"
9690+
dependencies:
9691+
"@lombard.finance/sdk-common": 3.4.0
9692+
isows: ^1.0.7
9693+
peerDependencies:
9694+
"@bitcoinerlab/secp256k1": ^1.2.0
9695+
"@layerzerolabs/lz-v2-utilities": ^3.0.17
9696+
axios: ^1
9697+
bignumber.js: ^9
9698+
bitcoinjs-lib: ^6.1.5
9699+
viem: ^2.21.0
9700+
checksum: 407e7fdc70e6b4120f4b5074d11634dc27a3af73584d4cb9dd02820e820c2dfdd7d45fb3f476158b8984ebbf564b425ed0859fe31aa9d6fb43e3170c574da542
9701+
languageName: node
9702+
linkType: hard
9703+
96609704
"@metamask/abi-utils@npm:^2.0.2, @metamask/abi-utils@npm:^2.0.4":
96619705
version: 2.0.4
96629706
resolution: "@metamask/abi-utils@npm:2.0.4"
@@ -12721,6 +12765,13 @@ __metadata:
1272112765
languageName: node
1272212766
linkType: hard
1272312767

12768+
"@scure/base@npm:^1.0.1, @scure/base@npm:~1.2.5":
12769+
version: 1.2.6
12770+
resolution: "@scure/base@npm:1.2.6"
12771+
checksum: 1058cb26d5e4c1c46c9cc0ae0b67cc66d306733baf35d6ebdd8ddaba242b80c3807b726e3b48cb0411bb95ec10d37764969063ea62188f86ae9315df8ea6b325
12772+
languageName: node
12773+
linkType: hard
12774+
1272412775
"@scure/base@npm:^1.1.3, @scure/base@npm:~1.1.3, @scure/base@npm:~1.1.6":
1272512776
version: 1.1.7
1272612777
resolution: "@scure/base@npm:1.1.7"
@@ -12742,13 +12793,6 @@ __metadata:
1274212793
languageName: node
1274312794
linkType: hard
1274412795

12745-
"@scure/base@npm:~1.2.5":
12746-
version: 1.2.6
12747-
resolution: "@scure/base@npm:1.2.6"
12748-
checksum: 1058cb26d5e4c1c46c9cc0ae0b67cc66d306733baf35d6ebdd8ddaba242b80c3807b726e3b48cb0411bb95ec10d37764969063ea62188f86ae9315df8ea6b325
12749-
languageName: node
12750-
linkType: hard
12751-
1275212796
"@scure/bip32@npm:1.3.1":
1275312797
version: 1.3.1
1275412798
resolution: "@scure/bip32@npm:1.3.1"
@@ -20302,7 +20346,7 @@ __metadata:
2030220346
languageName: node
2030320347
linkType: hard
2030420348

20305-
"coinselect@npm:3.1.13":
20349+
"coinselect@npm:3.1.13, coinselect@npm:^3.1.13":
2030620350
version: 3.1.13
2030720351
resolution: "coinselect@npm:3.1.13"
2030820352
checksum: 47731f5dcb4bcf1ab0c906dff5e79ef4c6f9d64acd3d93cf8c3d47ef6c5a0f5530892c68fc840e398db3d5491ab2aa4143110cca056b642c383c066f7942b511
@@ -22972,6 +23016,18 @@ __metadata:
2297223016
languageName: node
2297323017
linkType: hard
2297423018

23019+
"es-toolkit@npm:^1.42.0":
23020+
version: 1.44.0
23021+
resolution: "es-toolkit@npm:1.44.0"
23022+
dependenciesMeta:
23023+
"@trivago/prettier-plugin-sort-imports@4.3.0":
23024+
unplugged: true
23025+
prettier-plugin-sort-re-exports@0.0.1:
23026+
unplugged: true
23027+
checksum: cd1d0f791aa2329450bd27f090e3dd933558fd1888ad17e911db3ddadbee7020d2727d2d5f819502b3b015535e46d74554365f7e3b9f04c52180fff0be3f2cdd
23028+
languageName: node
23029+
linkType: hard
23030+
2297523031
"es6-promise@npm:4.2.8":
2297623032
version: 4.2.8
2297723033
resolution: "es6-promise@npm:4.2.8"
@@ -34815,7 +34871,7 @@ react-native-webview@ava-labs/react-native-webview:
3481534871
peerDependencies:
3481634872
react: "*"
3481734873
react-native: "*"
34818-
checksum: e08d1254d04f3074970b63cdf0a363d6b189009270d457e868a26ef534addd69b320b85bef2a22e4eddb79006751bded431b56aaf2baf41976a6d0a5a2a2b91e
34874+
checksum: d6ceb75e1d0f5755370d6d91f67902bd2b8a23a3ca43cb853d2964b43798f30477e8ab0223ea8b620534fbdf5f56d39550f40d24bec2d2398c323ccfe8a5a556
3481934875
languageName: node
3482034876
linkType: hard
3482134877

@@ -41598,6 +41654,13 @@ react-native-webview@ava-labs/react-native-webview:
4159841654
languageName: node
4159941655
linkType: hard
4160041656

41657+
"zod@npm:4.1.12":
41658+
version: 4.1.12
41659+
resolution: "zod@npm:4.1.12"
41660+
checksum: 91174acc7d2ca5572ad522643474ddd60640cf6877b5d76e5d583eb25e3c4072c6f5eb92ab94f231ec5ce61c6acdfc3e0166de45fb1005b1ea54986b026b765f
41661+
languageName: node
41662+
linkType: hard
41663+
4160141664
"zod@npm:^3.21.4":
4160241665
version: 3.24.1
4160341666
resolution: "zod@npm:3.24.1"

0 commit comments

Comments
 (0)