Skip to content

Commit

Permalink
Merge pull request #563 from Peersyst/dev
Browse files Browse the repository at this point in the history
v1.8.0
  • Loading branch information
AdriaCarrera authored Nov 19, 2024
2 parents c64a66f + f205184 commit d3ad68a
Show file tree
Hide file tree
Showing 221 changed files with 3,750 additions and 747 deletions.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ body:
- IOS
validations:
required: true
- type: input
attributes:
label: Version number
description: "Version number of the app"
placeholder: "Version number"
value: "2.13"
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
Expand Down
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "❓ Questions and Discussions"
description: "Initiate a conversation or seek clarification on specific aspects."
labels: ["question"]
body:
- type: markdown
attributes:
value: Thank you for starting this discussion! Your engagement is valued.
- type: textarea
attributes:
label: Question or Discussion
description: "Please provide a brief description of your question or the topic you wish to discuss."
placeholder: "Enter your question or discussion topic here."
value: "I have a question about..."
validations:
required: true
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,41 @@ This document logs notable, developer-facing updates to the NEAR Mobile Wallet.
### 🐛 Bug Fixes

- Document resolved bugs for improved performance and security.

## 1.7.3

### 🎉 New Features

- Update posthog events [refactor/update-posthog-events](https://github.com/Peersyst/near-mobile-wallet/pull/561)
- Update dAppsList in the config [add-new-dapps-config](https://github.com/Peersyst/near-mobile-wallet/pull/560)
- Add new currencies icons [add-near-coins](https://github.com/Peersyst/near-mobile-wallet/pull/553)
- Add final DApps explore link [feat/update-explore-dapps-link](https://github.com/Peersyst/near-mobile-wallet/pull/550)
- Block buy based on the IP [refactor/buy-ip-blocking](https://github.com/Peersyst/near-mobile-wallet/pull/549)
- Add a `RefetchHandler` to improve the sync of the balance between the online/offline and the active/background states [feat/refetch-handler](https://github.com/Peersyst/near-mobile-wallet/pull/541)
- Limit Transak to only in the countries that is supported [feat/limit-transak](https://github.com/Peersyst/near-mobile-wallet/pull/539)
- Add `app version` in settings [feat/add-versions](https://github.com/Peersyst/near-mobile-wallet/pull/536)
- Add actions in main app menu in [feat/main-button](https://github.com/Peersyst/near-mobile-wallet/pull/535)
- Refactor explore dApps tab [refactor/explore-dapp](https://github.com/Peersyst/near-mobile-wallet/pull/533)

### 🐛 Bug Fixes

- Update link of the geocalization service [fix/update-ip-geo-service](https://github.com/Peersyst/near-mobile-wallet/pull/559)
- Update swap links for ref finance [refactor/ref-finance-links](https://github.com/Peersyst/near-mobile-wallet/pull/558)
- Fix padding in news screen [fix/news-screen-padding](https://github.com/Peersyst/near-mobile-wallet/pull/557)
- Fix website not reactive if comming from swap url [fix/web-view-not-reacting](https://github.com/Peersyst/near-mobile-wallet/pull/556)
- Fix IOs WebView not ocuppying full height [refactor/base-page-padding](https://github.com/Peersyst/near-mobile-wallet/pull/555)
- Fix ref finance web infinite loop loading [fix/loop-in-ref-finance-web-view](https://github.com/Peersyst/near-mobile-wallet/pull/552)
- Fix dApps `onShouldStartLoadWithRequest` not working correctly on Android [feat/update-explore-dapps-link](https://github.com/Peersyst/near-mobile-wallet/pull/551)
- Fix dapps webview loading [fix/dapps-webview-loading](https://github.com/Peersyst/near-mobile-wallet/pull/548)
- Fix explore usabilty [fix/explore/usability-improvements](https://github.com/Peersyst/near-mobile-wallet/pull/547)
- Fix account being duplicated when creating new account [fix/create-account-duplicated](https://github.com/Peersyst/near-mobile-wallet/pull/546)
- Fix withdraw showing success when failing [fix/android-opening-default-browser](https://github.com/Peersyst/near-mobile-wallet/pull/545)
- Fix Android opening default browser [fix/android-opening-default-browser](https://github.com/Peersyst/near-mobile-wallet/pull/544)
- Improve UI of the explore section [fix/explore-ui-fixes](https://github.com/Peersyst/near-mobile-wallet/pull/543)
- Get actions from the kitwallet api of NearBlocks [fix/actions-rate-limited](https://github.com/Peersyst/near-mobile-wallet/pull/540)
- Fix SignerRequestModal not scrolling on Android [fix/signer-request-not-scrolling-on-android](https://github.com/Peersyst/near-mobile-wallet/pull/538)
- Fix NFTs not being displayed in the APP [fix/nft-not-being-displayed](https://github.com/Peersyst/near-mobile-wallet/pull/537)

### 📚 Third-Party Library Updates

- Add `@react-native-community/netinfo` in [feat/refetch-handler](https://github.com/Peersyst/near-mobile-wallet/pull/541)
2 changes: 1 addition & 1 deletion app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
name: "NEAR Mobile",
slug: "NEARMobileWallet",
owner: "peersyst",
version: "1.7.3",
version: "1.8.0",
orientation: "portrait",
icon: "./assets/images/near-icon.png",
scheme: "near-mobile-wallet",
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"version": "1.8.0",
"name": "near-mobile-wallet",
"private": true,
"main": "./index.js",
Expand All @@ -22,7 +23,8 @@
"test:ci": "jest --runInBand",
"test:debug": "jest --no-cache --runInBand || true",
"check-types": "tsc --noemit",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.json --max-warnings 0"
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.json --max-warnings 0 && yarn check-types",
"lint:fix": "eslint . --ext .ts,.tsx,.js,.jsx,.json --max-warnings 0 --fix && yarn check-types"
},
"dependencies": {
"@expo-google-fonts/manrope": "^0.2.2",
Expand All @@ -32,6 +34,7 @@
"@peersyst/react-utils": "^2.5.0",
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/hooks": "^3.0.0",
"@react-native-community/netinfo": "9.3.10",
"@react-navigation/bottom-tabs": "^6.5.7",
"@react-navigation/native": "^6.1.6",
"@react-navigation/native-stack": "^6.3.16",
Expand Down
9 changes: 8 additions & 1 deletion src/Stack.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createBottomTabNavigator } from "@react-navigation/bottom-tabs";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { MainScreens } from "module/common/component/navigation/MainNavigatorGroup/MainScreens";
import { DAppsParamsList } from "module/dapp/navigator/DAppsNavigator.types";
import { HomeScreenParams } from "module/home/screen/HomeScreen.types";

export type MainStackParamsList = {
Expand Down Expand Up @@ -33,10 +34,16 @@ export type AuthStackParamsList = {
CreateWallet: undefined;
ImportWallet: undefined;
};
export type RootStackParamsList = AuthStackParamsList & MainStackParamsList & SettingsStackParamsList & FiatOrdersStackParamsList;

export type RootStackParamsList = AuthStackParamsList &
MainStackParamsList &
SettingsStackParamsList &
FiatOrdersStackParamsList &
DAppsParamsList;

export const BottomTab = createBottomTabNavigator<MainStackParamsList>();
export const SettingTab = createNativeStackNavigator<SettingsStackParamsList>();
export const FiatOrderTab = createNativeStackNavigator<FiatOrdersStackParamsList>();
export const DAppsTab = createNativeStackNavigator<DAppsParamsList>();

export default createNativeStackNavigator<RootStackParamsList>();
3 changes: 3 additions & 0 deletions src/asset/icon/Delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/asset/icon/List.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/asset/icon/filled/EmptyFavorite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/asset/icon/filled/Favorite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/asset/icon/filled/Options.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/dapps1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/dapps2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/dapps3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions src/asset/image/index.ts
Original file line number Diff line number Diff line change
@@ -1,45 +1,72 @@
//@ts-nocheck
export { default as support } from "./Support.png";
export { default as dapps1 } from "./dapps1.png";
export { default as dapps2 } from "./dapps2.png";
export { default as dapps3 } from "./dapps3.png";
export { default as default_token } from "./default-token.png";
export { default as near_bg_0 } from "./near-bg-0.png";
export { default as near_bg_1 } from "./near-bg-1.png";
export { default as nebula } from "./nebula.png";
export { default as placeholder_image } from "./placeholder-image.png";
export { default as abr } from "./tokens/abr.png";
export { default as apys } from "./tokens/apys.png";
export { default as ato } from "./tokens/ato.png";
export { default as aurora } from "./tokens/aurora.png";
export { default as babyblackdragon } from "./tokens/babyblackdragon.png";
export { default as banana } from "./tokens/banana.png";
export { default as bean } from "./tokens/bean.png";
export { default as blackdragon } from "./tokens/blackdragon.png";
export { default as brrr } from "./tokens/brrr.png";
export { default as bstn } from "./tokens/bstn.png";
export { default as bulla } from "./tokens/bulla.png";
export { default as cam } from "./tokens/cam.png";
export { default as celo } from "./tokens/celo.png";
export { default as cheddar } from "./tokens/cheddar.png";
export { default as chica } from "./tokens/chica.png";
export { default as chill } from "./tokens/chill.png";
export { default as cucumber } from "./tokens/cucumber.png";
export { default as cusd } from "./tokens/cusd.png";
export { default as dai } from "./tokens/dai.png";
export { default as darai } from "./tokens/darai.png";
export { default as dbio } from "./tokens/dbio.png";
export { default as deip } from "./tokens/deip.png";
export { default as disc } from "./tokens/disc.png";
export { default as drip } from "./tokens/drip.png";
export { default as eth } from "./tokens/eth.png";
export { default as flx } from "./tokens/flx.png";
export { default as four_illia } from "./tokens/four_illia.png";
export { default as frax } from "./tokens/frax.png";
export { default as gear } from "./tokens/gear.png";
export { default as gnear } from "./tokens/gnear.png";
export { default as gnuff } from "./tokens/gnuff.png";
export { default as grt } from "./tokens/grt.png";
export { default as gtc } from "./tokens/gtc.png";
export { default as hapi } from "./tokens/hapi.png";
export { default as hat } from "./tokens/hat.png";
export { default as hijack } from "./tokens/hijack.png";
export { default as hot } from "./tokens/hot.png";
export { default as ht } from "./tokens/ht.png";
export { default as intel } from "./tokens/intel.png";
export { default as jump } from "./tokens/jump.png";
export { default as kat } from "./tokens/kat.png";
export { default as linear } from "./tokens/linear.png";
export { default as link } from "./tokens/link.png";
export { default as lol } from "./tokens/lol.png";
export { default as lonk } from "./tokens/lonk.png";
export { default as marmaj } from "./tokens/marmaj.png";
export { default as mpdao } from "./tokens/mpdao.png";
export { default as myria } from "./tokens/myria.png";
export { default as ndc } from "./tokens/ndc.png";
export { default as neardog } from "./tokens/neardog.png";
export { default as nearvember } from "./tokens/nearvember.png";
export { default as nearvidia } from "./tokens/nearvidia.png";
export { default as nearx } from "./tokens/nearx.png";
export { default as neat } from "./tokens/neat.png";
export { default as neko } from "./tokens/neko.png";
export { default as nersig } from "./tokens/nersig.png";
export { default as nkok } from "./tokens/nkok.png";
export { default as nochill } from "./tokens/nochill.png";
export { default as noear } from "./tokens/noear.png";
export { default as nusdo } from "./tokens/nusdo.png";
export { default as oct } from "./tokens/oct.png";
export { default as oin } from "./tokens/oin.png";
Expand All @@ -49,17 +76,26 @@ export { default as otto } from "./tokens/otto.png";
export { default as paras } from "./tokens/paras.png";
export { default as pnear } from "./tokens/pnear.png";
export { default as pulse } from "./tokens/pulse.png";
export { default as pumpkg } from "./tokens/pumpkg.png";
export { default as pxt } from "./tokens/pxt.png";
export { default as radeonear } from "./tokens/radeonear.png";
export { default as redacted } from "./tokens/redacted.png";
export { default as ref } from "./tokens/ref.png";
export { default as rort } from "./tokens/rort.png";
export { default as sd } from "./tokens/sd.png";
export { default as seat } from "./tokens/seat.png";
export { default as sfrax } from "./tokens/sfrax.png";
export { default as shitzu } from "./tokens/shitzu.png";
export { default as sin } from "./tokens/sin.png";
export { default as six_bowen } from "./tokens/six_bowen.png";
export { default as skyward } from "./tokens/skyward.png";
export { default as sol } from "./tokens/sol.png";
export { default as stan } from "./tokens/stan.png";
export { default as stnear } from "./tokens/stnear.png";
export { default as sweat } from "./tokens/sweat.png";
export { default as tao } from "./tokens/tao.png";
export { default as touched } from "./tokens/touched.png";
export { default as tri } from "./tokens/tri.png";
export { default as umint } from "./tokens/umint.png";
export { default as usdc } from "./tokens/usdc.png";
export { default as usdce } from "./tokens/usdce.png";
Expand All @@ -69,9 +105,11 @@ export { default as usm } from "./tokens/usm.png";
export { default as usn } from "./tokens/usn.png";
export { default as uto } from "./tokens/uto.png";
export { default as uwon } from "./tokens/uwon.png";
export { default as veganfriends } from "./tokens/veganfriends.png";
export { default as wbtc } from "./tokens/wbtc.png";
export { default as weth } from "./tokens/weth.png";
export { default as wnear } from "./tokens/wnear.png";
export { default as wojak } from "./tokens/wojak.png";
export { default as woo } from "./tokens/woo.png";
export { default as xref } from "./tokens/xref.png";
export { default as zml } from "./tokens/zml.png";
Binary file added src/asset/image/nebula.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/babyblackdragon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/bean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/bulla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/cam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/chill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/darai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/four_illia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/frax.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/gnear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/gnuff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/grt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/hat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/hijack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/ht.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/intel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/kat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/asset/image/tokens/mpdao.png
Binary file added src/asset/image/tokens/neardog.png
Binary file added src/asset/image/tokens/nearvember.png
Binary file added src/asset/image/tokens/nersig.png
Binary file added src/asset/image/tokens/nkok.png
Binary file added src/asset/image/tokens/nochill.png
Binary file added src/asset/image/tokens/noear.png
Binary file added src/asset/image/tokens/pumpkg.png
Binary file added src/asset/image/tokens/radeonear.png
Binary file added src/asset/image/tokens/redacted.png
Binary file added src/asset/image/tokens/rort.png
Binary file added src/asset/image/tokens/sfrax.png
Binary file added src/asset/image/tokens/sin.png
Binary file added src/asset/image/tokens/six_bowen.png
Binary file added src/asset/image/tokens/stan.png
Binary file added src/asset/image/tokens/tri.png
Binary file added src/asset/image/tokens/veganfriends.png
Binary file added src/asset/image/tokens/wojak.png
Loading

0 comments on commit d3ad68a

Please sign in to comment.