Skip to content

Commit

Permalink
package updates and explorer configs
Browse files Browse the repository at this point in the history
  • Loading branch information
igorls committed Nov 23, 2024
1 parent 2580096 commit 77b56cf
Show file tree
Hide file tree
Showing 9 changed files with 184 additions and 44 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ configuration_backups
tests/api/ijhttp
tests/api/ijhttp.zip
tests/api/reports

explorer
128 changes: 97 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@
},
"license": "MIT",
"dependencies": {
"@elastic/elasticsearch": "^8.16.1",
"@elastic/elasticsearch": "^8.16.2",
"@eosrio/node-abieos": "3.3.4-a9d3362",
"@fastify/autoload": "6.0.2",
"@fastify/cors": "^10.0.1",
"@fastify/elasticsearch": "^4.0.1",
"@fastify/formbody": "^8.0.1",
"@fastify/http-proxy": "^10.0.2",
"@fastify/mongodb": "^9.0.1",
"@fastify/rate-limit": "^10.2.1",
"@fastify/redis": "^7.0.1",
"@fastify/static": "^8.0.2",
"@fastify/swagger": "^9.3.0",
"@fastify/static": "^8.0.3",
"@fastify/swagger": "^9.4.0",
"@fastify/swagger-ui": "5.1.0",
"@pm2/io": "6.1.0",
"@socket.io/redis-adapter": "^8.3.0",
"@wharfkit/antelope": "^1.0.13",
"apache-arrow": "^18.0.0",
"amqplib": "^0.10.4",
"async": "^3.2.6",
"base-x": "5.0.0",
Expand All @@ -57,19 +57,19 @@
"ioredis": "^5.4.1",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"mongodb": "^6.10.0",
"mongodb": "^6.11.0",
"nodemailer": "6.9.16",
"socket.io": "4.8.1",
"socket.io-client": "4.8.1",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"undici": "^6.21.0",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.49.0",
"ws": "8.18.0"
},
"overrides": {
"cookie": "0.7.2",
"apache-arrow": {
"@types/node": "22.9.1"
"@types/node": "22.9.3"
},
"socket.io-client": {
"engine.io-client": "6.6.2"
Expand All @@ -81,9 +81,9 @@
"devDependencies": {
"@types/amqplib": "^0.10.5",
"@types/async": "^3.2.24",
"@types/node": "22.9.1",
"@types/global-agent": "^2.1.3",
"@types/lodash": "4.17.13",
"@types/node": "22.9.3",
"@types/nodemailer": "^6.4.17",
"@types/ws": "^8.5.13"
},
Expand Down
4 changes: 4 additions & 0 deletions references/config.ref.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"chain_api": "",
"push_api": "",
"chain_logo_url": "",
"explorer": {
"upstream": "",
"theme": ""
},
"enable_caching": true,
"cache_life": 1,
"limits": {
Expand Down
3 changes: 2 additions & 1 deletion src/api/routes/v2/explorer_metadata/explorer_metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ async function getExplorerMetadata(fastify: FastifyInstance) {
provider_url: fastify.manager.config.api.provider_url,
chain_name: fastify.manager.config.api.chain_name,
chain_id: fastify.manager.conn.chains[fastify.manager.chain].chain_id,
custom_core_token: fastify.manager.config.api.custom_core_token
custom_core_token: fastify.manager.config.api.custom_core_token,
theme: fastify.explorerTheme ?? {},
}
}

Expand Down
Loading

0 comments on commit 77b56cf

Please sign in to comment.