diff --git a/Platform/Client/githubServer.js b/Platform/Client/githubServer.js index 80464ce8a..c6b652ca8 100644 --- a/Platform/Client/githubServer.js +++ b/Platform/Client/githubServer.js @@ -79,7 +79,7 @@ exports.newGithubServer = function newGithubServer() { const octokit = new Octokit({ auth: token, - userAgent: 'Superalgos v.1.0' + userAgent: 'Superalgos ' + SA.version }) await getList() @@ -207,7 +207,7 @@ exports.newGithubServer = function newGithubServer() { const { Octokit } = SA.nodeModules.octokit const octokit = new Octokit({ auth: token, - userAgent: 'Superalgos v.1.0' + userAgent: 'Superalgos ' + SA.version }) await getPrList() await mergePrs() diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index b571cf4af..95be4ac2f 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -772,7 +772,7 @@ exports.newHttpInterface = function newHttpInterface() { const octokit = new Octokit({ auth: token, - userAgent: 'Superalgos v.1.0' + userAgent: 'Superalgos ' + SA.version }) const repo = 'Superalgos' @@ -1347,7 +1347,7 @@ exports.newHttpInterface = function newHttpInterface() { const octokit = new Octokit({ auth: token, - userAgent: 'Superalgos v.1.0' + userAgent: 'Superalgos ' + SA.version }) const repo = 'Superalgos' @@ -1861,7 +1861,7 @@ exports.newHttpInterface = function newHttpInterface() { let folder = unescape(requestPath[3]) let fileName = unescape(requestPath[4]) - /*v.1.0 Refactoring Code: Remove this before releasing v.1.0.*/ + /*v.1.0.0 Refactoring Code: Remove this before releasing v.1.0.0*/ if (fileName === 'Superalgos-CL.json') { fileName = 'Superalgos-PL.json' } diff --git a/Platform/PlatformApp.js b/Platform/PlatformApp.js index 61d4013e4..61a7e151f 100644 --- a/Platform/PlatformApp.js +++ b/Platform/PlatformApp.js @@ -142,7 +142,7 @@ exports.newPlatformApp = function newPlatformApp() { console.log('Http Interface .............................................. Listening at port ' + global.env.PLATFORM_HTTP_INTERFACE_PORT) console.log('') - console.log("You are running Superalgos Platform v.1.0") + console.log("You are running Superalgos Platform " + SA.version) console.log('') console.log("What's new? These are the main new features in this version:") console.log('') diff --git a/PlatformRoot.js b/PlatformRoot.js index 70a0a2310..d97ea6ebd 100644 --- a/PlatformRoot.js +++ b/PlatformRoot.js @@ -53,8 +53,9 @@ SA.nodeModules = { lookpath: require('lookpath'), process: require('process'), childProcess: require('child_process') - } + +SA.version = require('./package.json').version /* Check if we are starting from a particular workspace. */ diff --git a/Projects/Visual-Scripting/UI/Function-Libraries/UiObjectsFromNodes.js b/Projects/Visual-Scripting/UI/Function-Libraries/UiObjectsFromNodes.js index c7635f8f4..7f8556e8a 100644 --- a/Projects/Visual-Scripting/UI/Function-Libraries/UiObjectsFromNodes.js +++ b/Projects/Visual-Scripting/UI/Function-Libraries/UiObjectsFromNodes.js @@ -431,7 +431,7 @@ function newVisualScritingFunctionLibraryUiObjectsFromNodes() { ) { node.project = 'Foundations' } - /* Migration code from beta 11 to v.1.0 */ + /* Migration code from beta 11 to v.1.0.0 */ if ( node.type === 'Network' ) { diff --git a/README.md b/README.md index 4dcdb0a76..a5b19fa7f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Superalgos v.1.0 +# Superalgos v.1.0.0 ![contributors](https://img.shields.io/github/contributors-anon/Superalgos/Superalgos?label=Contributors) ![pull-activity](https://img.shields.io/github/issues-pr-closed-raw/Superalgos/Superalgos?color=blueviolet) @@ -359,7 +359,7 @@ Once the app finishes loading, an interactive tutorial takes you by the hand and Superalgos Platform is a set of tools to automate crypto-trading. It is implemented as a Node JS Client + Web App that runs on your hardware and scales from a single Raspberry Pi to a Trading Farm. The Platform is fully functional and has been used for trading live since 2020. -At v.1.0, trading signals will be able to be sent to the Suerpalgos Network from the Superalgos Platform. +At a future version, trading signals will be able to be sent to the Suerpalgos Network from the Superalgos Platform. ### Superalgos Platform Features diff --git a/package.json b/package.json index 32f72233d..2b69d5d32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superalgos", - "version": "0.0.12-beta", + "version": "v1.0.0", "description": "Superalgos is a free, open-source crypto trading bot", "license": "Apache License 2.0", "homepage": "https://www.superalgos.org/", diff --git a/platform.js b/platform.js index a51ef55f9..28c44c0f5 100644 --- a/platform.js +++ b/platform.js @@ -18,7 +18,7 @@ if ( console.log('Superalgos') console.log('') - console.log('VERSION: v.1.0') + console.log('VERSION: ' + require('package.json').version) console.log('') console.log('WEB: https://www.superalgos.org') console.log('')