Skip to content

@onlyworlds/sdk 4.166.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:35
· 202 commits to main since this release

schema-dist v0.34.1-dist.128 (canonical 00.34.01 unchanged; ONLYWORLDS_VERSION unchanged, no schema file moved). The fixtures' new cases pass: the lens fixture's 235, the message fixture's 102 (its two recipients cases), the address fixture's two prose-all cases, the landing fixture's 33.

Changed

  • worldGraph reads a multi-link that names one element twice once: one edge, at its first entry, whose index is that entry's place in the list as served; the entries after the repeat keep their own places (in [c1, c1, c2] the edge to c1 has index 0 and the edge to c2 index 2). Schema links and the declared extension links (x_lens_leads_to, x_spine_depends_on) alike; ids compare as written, so a and A are two.
  • worldGraph counts a repeat to an element that is not a node once in edgesCut, not once per entry.
  • degreeOf and landingOf follow the graph without a change of their own: a list naming one element twice counts 1 at each end, so an element linked only that way is a near orphan.
  • recipientsOf answers each recipient once, in its first place; ids compare as written.
  • recipientsOf, isAddressedTo, isToEveryone and hasUnseenRecipients answer for a message only: any other Narrative, a Story or a Note, has no recipients and is addressed to nobody, whatever its characters holds (a Story's characters are the people it is about).