Repository navigation
v0.3.0
- Improve container/app saving & loading, app interface refactor, and demo improvements (#210)
Breaking API changes:
Appclass removed;Runtimeinterface reduced in scope. Instead, their old functionality appears onCRDTAppandCRDTRuntimeonly.CRDTApp,CRDTRuntime: different network contract: "Send" event and publicly-usedreceivefunction, instead ofBroadcastNetwork.- Argument to
Collab.load(and analogous methods) is now anOptional<Uint8Array>instead ofUint8Array | null. The idea is the same, but TypeScript is better at enforcing the empty/null case this way. Container->CRDTContainer,ContainerHost->CRDTContainerHost, and these classes are completely rewritten. See container docs for new usage.CRegisterinterface now has a soft requirement to only emit "Set" events when the value actually changes.
Alpha software - API subject to change.