Skip to content

Commit

Permalink
Merge pull request #15 from Tonomy-Foundation/feature/production-release
Browse files Browse the repository at this point in the history
Feature/production release
  • Loading branch information
theblockstalk authored Apr 22, 2024
2 parents a577776 + 1425441 commit ffee6f0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
10 changes: 0 additions & 10 deletions .env

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.DS_Store
.thumbs.db
node_modules
dist

# Environment vars
.env
.quasar.env.json

# Quasar core related directories
.quasar
dist

# Log files
npm-debug.log*
Expand Down
10 changes: 5 additions & 5 deletions src/api/price.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ export const getCoingeckoPriceChartData = async (
const priceHistoryUrl = `https://api.coingecko.com/api/v3/coins/${tokenId}/market_chart?vs_currency=USD&days=1`; // &interval=hourly` - restore if when enterprise plan enabled;

const [priceStats, priceHistory]: [PriceStats, PriceHistory] =
await Promise.all([
axios.get(exchangeStatsUrl),
axios.get(priceHistoryUrl),
]);
await Promise.all([
axios.get(exchangeStatsUrl),
axios.get(priceHistoryUrl),
]);

return {
lastUpdated: priceStats.data[tokenId].last_updated_at,
Expand All @@ -37,7 +37,7 @@ export const getCoingeckoPriceChartData = async (
// eslint-disable-next-line @typescript-eslint/require-await
export const getEmptyPriceChartData = async (): Promise<PriceChartData> => ({
lastUpdated: 0,
tokenPrice: 0.026,
tokenPrice: 0.012,
dayChange: 0,
dayVolume: 0,
marketCap: 1300000000,
Expand Down
2 changes: 1 addition & 1 deletion src/config/chains/pangea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const customUiConfiguration = {
};

const CHAIN_ID =
'8a34ec7df1b8cd06ff4a8abbaa7cc50300823350cadc59ab296cb00d104d2b8f';
'66d565f72ac08f8321a3036e2d92eea7f96ddc90599bdbfc2d025d810c74c248';
const NAME = 'pangea';
const DISPLAY = 'Pangea';
const TOKEN = {
Expand Down

0 comments on commit ffee6f0

Please sign in to comment.