Skip to content

Minimal Data Transmitted on Object Change

Compare
Choose a tag to compare
@Y0ursTruly Y0ursTruly released this 01 Jan 20:12
· 72 commits to main since this release
08e278e

The Changes:

  • Minimal share/connect functionality(which is now default). This means that only the difference of the object is shared upon the object's change(so it's faster by a good bit)
  • New Key called minimal in each authToken structure
{
  ...,
  "webject_dfae":{
    authToken:"webject_dfae",
    authLevel:1,
    clients:[someSocket1,someSocket2],
    object:theSharedObj,
    locked:false,
    string:objToString(theSharedObj),
    minimal:true //this right here is the new key
  },
  ...,
}
  • Less Junk on the web(the extra variables and functions other than the exports are no longer polluted on the window)