Skip to content

Hackmud Script Manager 0.14

Compare
Choose a tag to compare
@samualtnorman samualtnorman released this 14 Feb 23:23
· 328 commits to main since this release

Added

  • you can now reference a subscript or any other preprocessor function without calling it, and it'll be automatically wrapped as an arrow function
    • e.g. let fakeScriptor = { name: "scripts.trust", call: #fs.scripts.trust } -> let fakeScriptor = { name: "scripts.trust", call: (...args) => #fs.scripts.trust(args) }
  • subscript validation
  • db method validation
  • --watch option to hsm golf
  • add support for scripts that contain illegal strings like SC$ and convert them to be hackmud compatible
  • add onReady callback option to watch()

Fixed

  • importing works again

Changed

  • PushOptions is now exported from hackmud-script-manager/push
  • hsm watch and watch() is now up-to-date feature wise with hsm push and push()
  • removed support for scripts option of push() and watch() being a string (not it must be a string array)
  • removed timeTook from the object returned by processScript()