streamlabs-redis-bridge
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"tmi": { | ||
"channels": [ | ||
"laddspencer" | ||
], | ||
"username": "phantsbot" | ||
}, | ||
"redis": { | ||
@@ -13,3 +7,5 @@ "hostname": "localhost", | ||
}, | ||
"credsPath": "/path/to/creds.json" | ||
"streamlabs": { | ||
"creds_path": "/path/to/creds.json" | ||
} | ||
} |
@@ -19,3 +19,3 @@ | ||
constructor(redisHost, redisPort, channelPrefix) { | ||
this.streamlabsChannelPrefix = `${channelPrefix}.streamlabs`; | ||
this.streamlabsChannelPrefix = (!channelPrefix)?('streamlabs'):(`${channelPrefix}.streamlabs`); | ||
this.handlerMap = { | ||
@@ -22,0 +22,0 @@ [FOLLOW_EVENT]: this.onFollowHandler.bind(this), |
@@ -19,6 +19,8 @@ #!/usr/bin/nodejs --harmony | ||
const defaultConfig = { | ||
credsPath: './creds.json', | ||
redis: { | ||
hostname: 'localhost', | ||
port: '6379' | ||
}, | ||
streamlabs: { | ||
creds_path: './creds.json', | ||
} | ||
@@ -152,3 +154,3 @@ }; | ||
function launch(config) { | ||
let creds = getCreds(config.credsPath); | ||
let creds = getCreds(config.creds_path); | ||
let publisher = new StreamlabsEventPublisher(config.redis.hostname, | ||
@@ -155,0 +157,0 @@ config.redis.port, |
{ | ||
"name": "streamlabs-redis-bridge", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Interface to Streamlabs events via Redis pub/sub.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9584
6
1
5
233