All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.2.0 (2020-12-19)
- add mediaPlayer api (32e0295)
5.1.0 (2020-12-13)
- add POWER_OFF/ON keys (702b0cf)
5.0.1 (2020-12-13)
- export RokuDeviceInfo interface (10c88b9)
5.0.0 (2020-12-13)
- add package.json exports field (0d76459)
- exports field should make node-client usable from node 14 as an es module. However, it also prevents importing other files from the package.
- remove deprecated exports (9564e81)
- Removed these deprecated exports from the package, use alternatives shown:
- keys -> Keys
- Client -> RokuClient
- Removed these deprecated exports from the package, use alternatives shown:
- info return value is more strongly typed (15c2f03)
- The RokuClient#info() return value can now contain booleans as well as strings. The TypeScript definition of the object has been updated to include all possible values instead of a generic string/string object.
- enable esModuleInterop (9655ccb)
- This allows importing dependencies more easily, but I think it means that consumers also need this setting enabled.
- add search api (e390e3d)
- types: commander exec callback is now a void function (1e56327)
4.2.0 (2020-08-15)
- add keys STAR and OPTIONS as aliases to INFO (4c30973)
- The * button on the remote is technically called "info", even though it is never used to show information. Aliasing it to "STAR" and "OPTIONS" helps improve clarity.
star
andoptions
can be used from thecommand()
interface
4.1.0 (2020-06-03)
- named export
Client
has been deprecated and will be removed in a future version - useRokuClient
instead - named export
keys
has been deprecated and will be removed in a future version - useKeys
instead
4.0.0 (2020-05-22)
- Minimum NodeJS version has been bumped to 10.
- allow reusing commander commands (abd9543)
3.2.0 (2020-01-11)
- add default port to ip if not given (e27cd8c)
3.1.6 (2019-08-07)
3.1.5 (2019-02-05)
3.1.4 (2019-02-04)
3.1.3 (2018-11-23)
- types: allow KeyCommand types in keypress commands (c2785f5)
3.1.1 (2018-11-23)
3.1.0 (2018-10-20)
3.0.0 (2018-10-16)
- tests: add types in test (1c591ae)
- Icon method no longer downloads the icon to the tmp directory, and instead returns an object with the image type, extension, and fetch response. This will allow this package to be used in node and the browser.
2.1.0 (2018-10-16)
- jest: ignore index & keys (dabd8ab)
- add launchDtv method (7ea4923)
2.0.1 (2018-08-14)
2.0.0 (2018-08-14)
- Make commander typesafe (bccf13c)
- Split discover into discoverAll (bd33c68)
- Update to typescript (dea9a61)
- Removed the wait flag from discover and instead added a separate method discoverAll which will wait for the given amount of time for all devices on the network.