Skip to content

Commit

Permalink
Merge pull request #567 from Peersyst/fix/update-config
Browse files Browse the repository at this point in the history
Update config
  • Loading branch information
AgustinMJ authored Nov 27, 2024
2 parents bbee275 + c51539d commit d6377ca
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ This document logs notable, developer-facing updates to the NEAR Mobile Wallet.

- Document resolved bugs for improved performance and security.

## 1.8.1

### 🐛 Bug Fixes

- Update config to limit transak and update DApps [fix/update-config](https://github.com/Peersyst/near-mobile-wallet/pull/566)
- Update explore link [fix/exploreDAppsUrl](https://github.com/Peersyst/near-mobile-wallet/pull/565)

## 1.7.3

### 🎉 New Features
Expand Down
18 changes: 17 additions & 1 deletion src/config/configs/config.base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appVersion": "1.7.3",
"appVersion": "1.8.1",
"projectName": "near-mobile-wallet",
"minimumTransactionAmount": 61,
"mainnetExplorerLink": "https://nearblocks.io",
Expand Down Expand Up @@ -183,6 +183,22 @@
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/5739203a-8e24-43a5-974a-e5f08975f330.JPG",
"tag": "launchpad",
"contractId": "tknx.near"
},
{
"name": "MITTE",
"description": "A mobile-optimized NFT and Meme Trading Platform built on NEAR.",
"url": "https://beta.mitte.gg/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/b8b0a2d5-f7ee-4d21-9b85-8ce7638b4876.jpg",
"tag": "nft",
"contractId": "a.mitte-orderbook.near"
},
{
"name": "Rainbow Bridge",
"description": "Bridge between or send within Ethereum, NEAR and Aurora!",
"url": "https://rainbowbridge.app/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/a57d2ed4-5310-427f-bef9-449563f5330a.png",
"tag": "bridge",
"contractId": "client-eth2.bridge.near"
}
]
},
Expand Down
20 changes: 19 additions & 1 deletion src/config/configs/config.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"LY",
"CV",
"EC",
"SA"
"SA",
"IN",
"GB"
]
},
"signerFeature": {
Expand Down Expand Up @@ -215,6 +217,22 @@
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/5739203a-8e24-43a5-974a-e5f08975f330.JPG",
"tag": "launchpad",
"contractId": "tknx.near"
},
{
"name": "MITTE",
"description": "A mobile-optimized NFT and Meme Trading Platform built on NEAR.",
"url": "https://beta.mitte.gg/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/b8b0a2d5-f7ee-4d21-9b85-8ce7638b4876.jpg",
"tag": "nft",
"contractId": "a.mitte-orderbook.near"
},
{
"name": "Rainbow Bridge",
"description": "Bridge between or send within Ethereum, NEAR and Aurora!",
"url": "https://rainbowbridge.app/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/a57d2ed4-5310-427f-bef9-449563f5330a.png",
"tag": "bridge",
"contractId": "client-eth2.bridge.near"
}
]
}
Expand Down
20 changes: 19 additions & 1 deletion src/config/configs/config.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"LY",
"CV",
"EC",
"SA"
"SA",
"IN",
"GB"
]
},
"signerFeature": {
Expand Down Expand Up @@ -215,6 +217,22 @@
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/5739203a-8e24-43a5-974a-e5f08975f330.JPG",
"tag": "launchpad",
"contractId": "tknx.near"
},
{
"name": "MITTE",
"description": "A mobile-optimized NFT and Meme Trading Platform built on NEAR.",
"url": "https://beta.mitte.gg/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/b8b0a2d5-f7ee-4d21-9b85-8ce7638b4876.jpg",
"tag": "nft",
"contractId": "a.mitte-orderbook.near"
},
{
"name": "Rainbow Bridge",
"description": "Bridge between or send within Ethereum, NEAR and Aurora!",
"url": "https://rainbowbridge.app/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/a57d2ed4-5310-427f-bef9-449563f5330a.png",
"tag": "bridge",
"contractId": "client-eth2.bridge.near"
}
]
}
Expand Down
20 changes: 19 additions & 1 deletion src/config/configs/config.staging.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"LY",
"CV",
"EC",
"SA"
"SA",
"IN",
"GB"
]
},
"signerFeature": {
Expand Down Expand Up @@ -215,6 +217,22 @@
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/5739203a-8e24-43a5-974a-e5f08975f330.JPG",
"tag": "launchpad",
"contractId": "tknx.near"
},
{
"name": "MITTE",
"description": "A mobile-optimized NFT and Meme Trading Platform built on NEAR.",
"url": "https://beta.mitte.gg/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/b8b0a2d5-f7ee-4d21-9b85-8ce7638b4876.jpg",
"tag": "nft",
"contractId": "a.mitte-orderbook.near"
},
{
"name": "Rainbow Bridge",
"description": "Bridge between or send within Ethereum, NEAR and Aurora!",
"url": "https://rainbowbridge.app/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/a57d2ed4-5310-427f-bef9-449563f5330a.png",
"tag": "bridge",
"contractId": "client-eth2.bridge.near"
}
]
}
Expand Down
20 changes: 19 additions & 1 deletion src/config/configs/config.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"LY",
"CV",
"EC",
"SA"
"SA",
"IN",
"GB"
]
},
"signerFeature": {
Expand Down Expand Up @@ -214,6 +216,22 @@
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/5739203a-8e24-43a5-974a-e5f08975f330.JPG",
"tag": "launchpad",
"contractId": "tknx.near"
},
{
"name": "MITTE",
"description": "A mobile-optimized NFT and Meme Trading Platform built on NEAR.",
"url": "https://beta.mitte.gg/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/b8b0a2d5-f7ee-4d21-9b85-8ce7638b4876.jpg",
"tag": "nft",
"contractId": "a.mitte-orderbook.near"
},
{
"name": "Rainbow Bridge",
"description": "Bridge between or send within Ethereum, NEAR and Aurora!",
"url": "https://rainbowbridge.app/",
"logoUrl": "https://peersyst-public-production.s3.eu-west-1.amazonaws.com/a57d2ed4-5310-427f-bef9-449563f5330a.png",
"tag": "bridge",
"contractId": "client-eth2.bridge.near"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/module/wallet/hook/useIsBuyEnabled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function useIsBuyEnabled(): QueryResult<boolean> {

const { data: countryCode } = useGetIPCountry();

return useQuery([Queries.IS_BUY_ENABLED, countryCode, unsupportedCountries], () => {
return useQuery([Queries.IS_BUY_ENABLED, countryCode, unsupportedCountries, isMainnet], () => {
const countrySupported =
countryCode && !unsupportedCountries.some((country) => country.toLocaleLowerCase() === countryCode?.toLocaleLowerCase());

Expand Down

0 comments on commit d6377ca

Please sign in to comment.