highrise.bot 1.0.1 → 1.0.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "highrise.bot",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Unofficial JavaScript SDK for the Highrise platform. Feature-complete WebSocket client with TypeScript support, built for production environments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"highrise.bot",
|
|
@@ -131,8 +131,8 @@ class RolesManager {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
_startWebApiSync() {
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
this.syncWithWebApi()
|
|
135
|
+
setInterval(() => this.syncWithWebApi(), this.config.webapiSyncInterval);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
createRole(roleName) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const colors = require('
|
|
1
|
+
const colors = require('colors');
|
|
2
2
|
|
|
3
3
|
async function checkVersion(logger) {
|
|
4
4
|
try {
|
|
5
|
-
const packageJson = require('highrise.
|
|
5
|
+
const packageJson = require('highrise.bot/package.json');
|
|
6
6
|
const currentVersion = packageJson.version;
|
|
7
7
|
const packageName = packageJson.name;
|
|
8
8
|
|