Skip to content

Commit 6e2b3b7

Browse files
committed
Implement Infinite ramp plugin
1 parent 06ada94 commit 6e2b3b7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+5452
-82
lines changed

eslint.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ export default [
443443
'src/plugins/borrow-plugins/plugins/aave/AaveBorrowEngineFactory.ts',
444444
'src/plugins/borrow-plugins/plugins/aave/index.ts',
445445
'src/plugins/gui/amountQuotePlugin.ts',
446-
'src/plugins/gui/components/GuiFormField.tsx',
447446

448447
'src/plugins/gui/providers/bityProvider.ts',
449448
'src/plugins/gui/providers/ioniaProvider.ts',

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
},
1111
preset: 'react-native',
1212
setupFilesAfterEnv: ['./jestSetup.js'],
13+
testMatch: ['**/?(*.)+(test|spec).[tj]s?(x)'],
1314
transformIgnorePatterns: [
1415
'<rootDir>/node_modules/(?!(@react-native|react-native|@react-navigation))'
1516
]

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"dependencies": {
7070
"@brigad/react-native-adservices": "^0.1.3",
7171
"@ethersproject/shims": "^5.6.0",
72+
"@noble/curves": "^1.9.7",
73+
"@noble/hashes": "^1.8.0",
7274
"@react-native-async-storage/async-storage": "^1.19.4",
7375
"@react-native-clipboard/clipboard": "^1.16.3",
7476
"@react-native-community/datetimepicker": "^8.4.2",

src/__tests__/components/__snapshots__/FilledTextInput.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ exports[`FilledTextInput should render with some props 1`] = `
566566
>
567567
<Text
568568
allowFontScaling={false}
569-
danger={true}
569+
mode="danger"
570570
style={
571571
[
572572
{

src/__tests__/modals/__snapshots__/AccelerateTxModal.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ exports[`AccelerateTxModalComponent should render with loading props 1`] = `
217217
numberOfLines={0}
218218
style={
219219
[
220+
{},
220221
{
221222
"color": "#FFFFFF",
222223
"fontFamily": "Quicksand-Regular",

src/__tests__/modals/__snapshots__/LogsModal.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ exports[`LogsModal should render with a logs modal 1`] = `
238238
numberOfLines={0}
239239
style={
240240
[
241+
{},
241242
{
242243
"color": "#FFFFFF",
243244
"fontFamily": "Quicksand-Regular",
@@ -916,7 +917,6 @@ exports[`LogsModal should render with a logs modal 1`] = `
916917
>
917918
<Text
918919
allowFontScaling={false}
919-
danger={false}
920920
style={
921921
[
922922
{

src/__tests__/modals/__snapshots__/PasswordReminderModal.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ exports[`PasswordReminderModal should render with loading props 1`] = `
217217
numberOfLines={0}
218218
style={
219219
[
220+
{},
220221
{
221222
"color": "#FFFFFF",
222223
"fontFamily": "Quicksand-Regular",

src/__tests__/modals/__snapshots__/TextInputModal.test.tsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ exports[`TextInputModal should render with a blank input field 1`] = `
226226
numberOfLines={0}
227227
style={
228228
[
229+
{},
229230
{
230231
"color": "#FFFFFF",
231232
"fontFamily": "Quicksand-Regular",
@@ -1004,6 +1005,7 @@ exports[`TextInputModal should render with a populated input field 1`] = `
10041005
numberOfLines={0}
10051006
style={
10061007
[
1008+
{},
10071009
{
10081010
"color": "#FFFFFF",
10091011
"fontFamily": "Quicksand-Regular",

src/__tests__/scenes/__snapshots__/CreateWalletAccountSetupScene.test.tsx.snap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ exports[`CreateWalletAccountSelect renders 1`] = `
351351
numberOfLines={0}
352352
style={
353353
[
354+
{},
354355
{
355356
"color": "#FFFFFF",
356357
"fontFamily": "Quicksand-Regular",
@@ -376,6 +377,7 @@ exports[`CreateWalletAccountSelect renders 1`] = `
376377
numberOfLines={0}
377378
style={
378379
[
380+
{},
379381
{
380382
"color": "#FFFFFF",
381383
"fontFamily": "Quicksand-Regular",
@@ -922,7 +924,6 @@ exports[`CreateWalletAccountSelect renders 1`] = `
922924
>
923925
<Text
924926
allowFontScaling={false}
925-
danger={false}
926927
style={
927928
[
928929
{

src/__tests__/scenes/__snapshots__/CreateWalletImportScene.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ exports[`CreateWalletImportScene should render with loading props 1`] = `
342342
numberOfLines={0}
343343
style={
344344
[
345+
{},
345346
{
346347
"color": "#FFFFFF",
347348
"fontFamily": "Quicksand-Regular",

0 commit comments

Comments
 (0)