dbusjs / node-dbus-next

🚌 The next great dbus library for node
https://www.npmjs.com/package/dbus-next
155 stars 52 forks source link

Convert object keys to numbers #100

Open boomfly opened 2 years ago

boomfly commented 2 years ago

I am making library for Bluez DBus. ManufacturerData that format: a{qv} But when passing that object:

{
  0x0059: {...}
}

0x0059 key was converting to string and produces wrong company id two bytes

alexcastillo commented 1 year ago

Hi,

This PR will allow us to use this library. Any chance this can be reviewed/merged?

Thanks!