This is a breaking change with a couple of important changes:
Use node-hid in async mode.
The listing and opening methods provided by the @elgato-stream-deck/node
package are now async and return Promises to allow this.
This brings a couple of key benefits:
- There is now no limit on how many streamdecks you can open at a time. Previously this was limited by how many threads were in the uv pool (default was 4)
- read/write/open operations are performed on background threads, minimising the amount of work this library does in the main nodejs thread.
Dropped support for nodejs v16 and older.
These versions are no longer supported by nodejs, making it harder for us to support them properly.