Skip to content

Enhance getDeviceInfo() method#120

Merged
TwitchBronBron merged 6 commits intomasterfrom
enhance-device-info
Nov 4, 2023
Merged

Enhance getDeviceInfo() method#120
TwitchBronBron merged 6 commits intomasterfrom
enhance-device-info

Conversation

@TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Nov 2, 2023

Enhances the getDeviceInfo() method:

  • add enhance option to get an object back in camelCase instead of the standard kebab-case, and to convert boolean strings to booleans and number strings to numbers
  • retains backwards compatibility by adding an overloaded signature that is not the default

@TwitchBronBron TwitchBronBron merged commit 96e2a95 into master Nov 4, 2023
@TwitchBronBron TwitchBronBron deleted the enhance-device-info branch November 4, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants