apihlaja / node-irsdk

iRacing SDK implementation for Node.js.
https://apihlaja.github.io/node-irsdk
MIT License
102 stars 55 forks source link

Add unified "update" event #11

Closed apihlaja closed 7 years ago

apihlaja commented 7 years ago

At the moment, each data update have a little bit different payload. I think I'll add new update event which uses same structure for all events, something like:

{
  timestamp: new Date(),
  type: 'Disconnected',
  data: null
}