Show AIR version in Nodes (#31)

This commit is contained in:
folex 2022-01-26 14:30:29 +03:00 committed by GitHub
parent 19b9fdf968
commit 99ce91a47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2415 additions and 768 deletions

3160
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -41,8 +41,8 @@
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@fluencelabs/aqua": "^0.4.0-235",
"@fluencelabs/aqua-lib": "0.1.14",
"@fluencelabs/aqua": "^0.5.3-260",
"@fluencelabs/aqua-lib": "0.3.3",
"@types/yup": "^0.29.11",
"babel-loader": "^8.1.0",
"chokidar-cli": "^2.1.0",
@ -50,13 +50,13 @@
"closure-webpack-plugin": "^2.3.0",
"copy-webpack-plugin": "^6.4.1",
"css-loader": "^4.3.0",
"elm": "^0.19.1-3",
"elm": "^0.19.1-5",
"elm-analyse": "^0.16.5",
"elm-format": "^0.8.4",
"elm-hot-webpack-loader": "^1.1.7",
"elm-format": "^0.8.5",
"elm-hot-webpack-loader": "^1.1.8",
"elm-live": "^4.0.2",
"elm-test": "^0.19.1-revision4",
"elm-webpack-loader": "^6.0.1",
"elm-test": "^0.19.1-revision7",
"elm-webpack-loader": "^7.0.1",
"file-loader": "^6.1.0",
"google-closure-compiler": "^20200920.0.0",
"html-webpack-plugin": "^4.5.0",

View File

@ -31,7 +31,7 @@ const defaultNetworkName = 'testNet + krasnodar';
const defaultEnv = {
relays: [...testNet, ...krasnodar, ...stage],
relayIdx: 2,
relayIdx: 10,
logLevel: 'error',
};
@ -146,9 +146,10 @@ function genFlags(peerId, relays, relayIdx) {
// alias PeerInfoCb: PeerId, Info, []Service, []Blueprint, []Module -> ()
function collectPeerInfo(peerId, identify, services, blueprints, modules, interfaces) {
// console.log('peer info from %s, %s services', peerId, services.length);
try {
try {
const eventRaw = {
peerId,
// HACK: show AIR interpreter version in the NODE ID field
peerId: peerId + ' (' + identify.air_version + ')',
identify,
services,
blueprints,

View File

@ -119,7 +119,7 @@ if (MODE === 'development') {
// add Elm's debug overlay to output
debug: withDebug,
//
forceWatch: true,
// forceWatch: true,
},
},
],