From 40f265542c5baff448f789cd95a4e460e87f1f47 Mon Sep 17 00:00:00 2001 From: jamesparkdev Date: Sat, 21 Nov 2020 20:32:40 +0100 Subject: [PATCH 1/4] Fixing typo in GorilinkManager for idealNodes --- .vscode/settings.json | 3 +++ src/lib/GorilinkManager.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9792498 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.formatOnSave": false +} \ No newline at end of file diff --git a/src/lib/GorilinkManager.js b/src/lib/GorilinkManager.js index d5daf69..cbc6061 100644 --- a/src/lib/GorilinkManager.js +++ b/src/lib/GorilinkManager.js @@ -207,7 +207,7 @@ class GorilinkManager extends EventEmitter { .filter(node => node.connected) .sort((a, b) => { const aLoad = a.stats.cpu ? a.stats.cpu.systemLoad / a.stats.cpu.cores * 100 : 0 - const bLoad = b.stats.cpu ? b.stats.cpu.systemLoad / b.stats.cpu.core * 100 : 0 + const bLoad = b.stats.cpu ? b.stats.cpu.systemLoad / b.stats.cpu.cores * 100 : 0 return aLoad - bLoad }) } From 68eca547e5d5958eb45f3e4f47b189709d094963 Mon Sep 17 00:00:00 2001 From: jamesparkdev Date: Sat, 21 Nov 2020 20:33:45 +0100 Subject: [PATCH 2/4] Fixing typo in GorilinkManager for idealNodes --- .gitignore | 1 + .vscode/settings.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 66c5c9c..a5edcf6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ dist/ .idea/* out/ *.log +.vscode \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 9792498..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "editor.formatOnSave": false -} \ No newline at end of file From 0b234e5f657394a779b2ec6599d5775cbb45c9a9 Mon Sep 17 00:00:00 2001 From: jamesparkdev Date: Sun, 22 Nov 2020 10:02:08 +0100 Subject: [PATCH 3/4] Index does not export Track and SearchResponse even though typings says it does --- src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index e5625cf..d35032e 100644 --- a/src/index.js +++ b/src/index.js @@ -3,5 +3,7 @@ module.exports = { GorilinkPlayer: require('./lib/GorilinkPlayer'), GorilinkNode: require('./lib/GorilinkNode'), - Queue: require('./lib/structures/Queue') + Queue: require('./lib/structures/Queue'), + Track: require('./lib/model/Track'), + SearchResponse: require('./lib/model/SearchResponse') } From 693ec10e66b5101278ebc35ebe1a66bb67e1e547 Mon Sep 17 00:00:00 2001 From: Psykka <36780964+Psykka@users.noreply.github.com> Date: Sun, 22 Nov 2020 18:34:55 -0300 Subject: [PATCH 4/4] Version 1.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cf2ee8f..dc1a94b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gorilink", - "version": "1.3.0", + "version": "1.3.1", "main": "./src/index.js", "types": "./typings/index.d.ts", "license": "BSD",