Skip to content

OnlyWorlds Unity SDK 0.44.0

Choose a tag to compare

@tmoosting tmoosting released this 17 Nov 07:48
· 195 commits to main since this release

The reading aids and the strand say what type each of their elements is (schema-dist serials 132 and 133), the front
door types its Charter and the Charter's skills as elements, OWSeat reads whether a seat may change its Character,
and a write the host in front of onlyworlds.com refused now says so in words a person can act on. A minor release
because it adds public API (below).

Added

  • OWSeat reads whether a seat may change the Character it plays: MayChangeCharacter, MayChangeCharacterNote
    (keel's sentence for why not, or null) and FollowsSponsor (a seat its member made to play their own Character,
    whose right moves with theirs). Keel's OpenAPI document now lists them on GET /account/worlds/{world_id}/seats
    (document 2dd72338aa30); before, ListSeatsAsync dropped them. Parity with the TypeScript SDK 4.172.0's OwSeat.
    Sponsor's comment now says a seat made by a link for an email address answers to the link's maker.
  • The front door types its Charter and the Charter's skills as elements: OWFrontDoor.CharterElement (the
    Charter as {type: "law", id}, null where Charter is) and OWFrontDoor.CharterSkillElements (each skill as
    {type: "object", id}, in CharterSkill's order), read into the new OWFrontDoorElement, on GET /me and an
    agent's join answer. Keel's OpenAPI document lists them (document c2705043ee53). A keel from before them leaves
    them null and empty. Parity with the TypeScript SDK 4.176.0's charter_element and charter_skill_elements.
  • OWApiError.IsHostBlocked: a write the host in front of onlyworlds.com refused before the API saw it (a 403
    whose body is an HTML page titled "Blocked", not the API's envelope) now throws an error that says so and how to
    write the text so it passes (a shell command such as python -m or curl with an address, right after a
    backtick, a semicolon or a pipe, passes in a fenced code block whose first line names a language, or with none of
    the three directly before it), in place of OnlyWorlds API 403 followed by the page. Code is null and
    RawBody keeps the page; the API's own 403s read as before. Parity with the TypeScript SDK 4.175.0 and 4.178.0,
    their test vector ported.

Changed

  • The reading aids and the strand say what type each of their elements is (the charter and strand profiles,
    serial 133): OWReadingAidsCharter.Type (law), OWReadingAidsGuide.Type and OWReadingAidsDomain.Type
    (construct), and OWStrandSlot.Type (the kind the slot holds, location for Now), each the element's own type in
    the standard's lowercase word, written beside id by every ToJson ({id, type, name, rules, skill},
    {id, type, name}, {id, type, name, sentence, hubs}, each filled slot {id, type, name}). A reader handed the
    packet alone fetches an id by its type. A packet served without type (a keel from before serial 133) reads each
    entry's fixed type. The charter and strand fixtures are serial 133's, every case passing.
  • The schema pin moves to v0.34.1-dist.133 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). The charter and strand pages say what type each element of their packets is: the Charter, the
    Guide, each Domain, each hub and each filled strand slot carry type beside id, the kind's own word whatever
    spelling the element's type is stored in; a hub is an element of the kind its link field links to, so an id of
    another kind, or of no element, names no hub; and every type compared to a kind is trimmed and folded as the room
    profile defines it. The charter fixture holds 47 cases (six more) and the strand fixture 29 (two more); the
    vendored copies in Tests/Editor/Fixtures/charter/ and strand/ are the distribution's bytes, and every case
    passes.
  • The schema pin moves to v0.34.1-dist.132 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). The distribution now carries the default layouts page, profiles/layout.md, and its fixture,
    layout.fixture.json: the by-kind and around methods OWLayout implements, written out step by step, with 17
    by-kind cases and 10 around cases (five and three more than before), and unplaced, the reading of which
    elements a saved layout map does not place (15 cases; not implemented here). The layout tests now read the
    distribution's fixture, vendored in Tests/Editor/Fixtures/layout/layout.fixture.json, in place of the TypeScript
    SDK's by-kind.json; every case passes and no method changes. The map-space page's rule 8 names the layouts page as
    the page of the method words by-kind and around, says a method word is read whole, and says reading or drawing
    a layout map never writes to it; no map-space case moves.