Skip to content

Releases: micaww/rage-rpc

v0.4.0

26 Dec 15:33
Compare
Choose a tag to compare
  • register and on functions now return a function that can be called to unregister or remove the event listener. (Thanks to @pavel-trbv)

More features and stability coming soon!

v0.3.0

02 Jun 20:51
88a140e
Compare
Choose a tag to compare
  • Added default export
  • Added event system
  • Added options to procedure calls
    • noRet: Prevents procedures from returning data back
    • timeout: Max amount of time a procedure call can take before it times out
  • Update TypeScript definitions to allow for generic return values
  • Fix: Persist browserId between page reloads.
  • Fix: Sometimes sending incorrect MP entities from client to server

v0.2.1

09 Mar 22:30
Compare
Choose a tag to compare
  • Fix browser event serialization FOR GOOD

0.2.0

06 Mar 20:05
Compare
Choose a tag to compare
  • Add browser property in client callback info if the procedure is being called from a browser

    • This gives you access to the Browser object the event is coming from
  • Add multiplayer entity serialization for client<->server communication

    • You can now send any synced multiplayer object (player/vehicle/object/etc.) and get it on the other side

v0.1.2

11 Feb 05:15
Compare
Choose a tag to compare
  • Add (hopefully) temporary hack to fix RAGE promise bug

v0.1.1

03 Feb 01:48
Compare
Choose a tag to compare
  • Fix RAGE client-side export definition