@nosana/node 1.0.5 → 1.0.6-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -97,6 +97,7 @@ export class SpecsHandler {
|
|
|
97
97
|
processSystemInfoBenchmark(logs) {
|
|
98
98
|
if (!logs[0])
|
|
99
99
|
throw new Error('Could not find system info logs');
|
|
100
|
+
console.log('System Info Logs:', logs);
|
|
100
101
|
const { system_environment, cpu_model: model, logical_cores, physical_cores, ram_mb, disk_gb, } = this.parseLogsIntoJSON(logs);
|
|
101
102
|
if (configs().minDiskSpace > disk_gb) {
|
|
102
103
|
throw new Error(`Node does not have enough disk space. Required: ${configs().minDiskSpace}GB, Available: ${disk_gb}GB`);
|
|
@@ -115,6 +116,7 @@ export class SpecsHandler {
|
|
|
115
116
|
processNetworkInfoBenchmark(logs) {
|
|
116
117
|
if (!logs[0])
|
|
117
118
|
throw new Error('Could not find network info logs');
|
|
119
|
+
console.log('Network Info Logs:', logs);
|
|
118
120
|
const { country, ip, ping_ms, download_mbps, upload_mbps } = this.parseLogsIntoJSON(logs);
|
|
119
121
|
this.repository.updateNodeInfo({
|
|
120
122
|
country,
|
|
@@ -129,6 +131,7 @@ export class SpecsHandler {
|
|
|
129
131
|
processGPUInfoBenchmark(logs) {
|
|
130
132
|
if (!logs[0])
|
|
131
133
|
throw new Error('Could not find GPU info logs');
|
|
134
|
+
console.log('GPU Info Logs:', logs);
|
|
132
135
|
const results = this.parseLogsIntoJSON(logs);
|
|
133
136
|
this.repository.updateNodeInfo({ gpus: results });
|
|
134
137
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nosana/node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6-rc",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@nosana/node",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.6-rc",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@coral-xyz/anchor": "^0.28.1-beta.1",
|