Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Feature: Update nodecg-io-streamelements to include test events #287

Merged
merged 5 commits into from
Nov 5, 2021

Conversation

derNiklaas
Copy link
Contributor

@derNiklaas derNiklaas commented Nov 4, 2021

This PR adds a new field handleTestEvents to the SE config which controls whether it should also fire test events.

Also bumps the version to 0.2.1 for the sample and nodecg-io-streamelements

@derNiklaas
Copy link
Contributor Author

Also yes, we require a 2.x.x version of the socket-io-client because streamelements hasn't updated their service and v3+ doesn't work with 2.x.x connections

@hlxid hlxid self-requested a review November 5, 2021 05:26
@hlxid
Copy link
Member

hlxid commented Nov 5, 2021

Dang 🤦. How many times did I accidentially upgrade the socket.io lib to 3.0.0 or higher? Propably too often, lol.

Copy link
Member

@hlxid hlxid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks in advance for this useful PR!

}
},
"required": ["jwtToken"]
"required": ["jwtToken", "handleTestEvents"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better if handleTestEvents defaults to false instead of requiring it here

@@ -1,6 +1,6 @@
{
"name": "streamelements-events",
"version": "0.2.0",
"version": "0.2.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really mind having 0.2.1 here, but 0.2.0 wasn't released yet and it would be kinda weird if we start with 0.2.1 when we're going to release 0.2 sometimes in the future. I think I'm gonna push some features of the 0.2 milestone into 0.3 so we can release all the new services.

@derNiklaas derNiklaas requested a review from hlxid November 5, 2021 22:31
Copy link
Member

@hlxid hlxid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hlxid hlxid merged commit a55ef03 into codeoverflow-org:master Nov 5, 2021
@derNiklaas derNiklaas deleted the feature/SE-Test-Events branch November 5, 2021 22:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants