Skip to content

v0.7.0

Compare
Choose a tag to compare
@raykyri raykyri released this 29 Nov 18:41
· 1226 commits to main since this release

Changed

  • Add active peer discovery to @canvas-js/discovery. Applications can configure a peer discovery topic, where clients will broadcast a regular heartbeat. The same peer discovery topic can be shared across Canvas applications, for e.g. a network of chat rooms
  • Unified syntax for database accessors. We now use db.get("table") everywhere instead of db.table.get() inside the contract

Added

  • Added boolean type to ModelDB
  • Added json type to ModelDB
  • Added useTick() hook