Skip to content

@onlyworlds/sdk 4.199.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 01:06
· 92 commits to main since this release

Added

  • @onlyworlds/sdk/calendar: the calendar names (worldCalendars, resolveCalendar, formatStep, parseDate, breakdownStep and the rest of what the main entry exports from its calendar code) as one file that imports nothing, for a page with no build step. The main entry cannot be loaded that way: it is split into chunks, and one of them imports fflate by its bare name. dist/calendar.js is about 26 KB and a <script type="module"> loads it as it ships; read in Chromium, Firefox and WebKit from a page that requests that one file. It holds its own copy of the code, so a tool that bundles takes the names from the main entry and not from both. A test holds that the file has no import and that the two entries answer the same.