Skip to content

Commit

Permalink
Merge pull request Superalgos#2630 from Luis-Fernando-Molina/develop
Browse files Browse the repository at this point in the history
Contribution: version number fixed
  • Loading branch information
Luis-Fernando-Molina authored Nov 14, 2021
2 parents e0d171e + 5057082 commit cfd4c88
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Platform/Client/githubServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions Platform/Client/httpInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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'
}
Expand Down
2 changes: 1 addition & 1 deletion Platform/PlatformApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('')
Expand Down
3 changes: 2 additions & 1 deletion PlatformRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
) {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/",
Expand Down
2 changes: 1 addition & 1 deletion platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('')
Expand Down

0 comments on commit cfd4c88

Please sign in to comment.