Skip to content

v0.0.4 🐞 [ladybug]

Compare
Choose a tag to compare
@k33g k33g released this 18 Sep 06:58
· 9 commits to main since this release

New host functions

  • hostReadFile
  • hostWriteFile

New flags

Download the wasm plugin before run it:

  • --wasm-url="http://0.0.0.0:9000/print.wasm"

Use these flags if you need to use a token to authenticate the download:

  • --auth-header-name
  • --auth-header-value

These flags allow to use the pdk Extism API:

  • --log-level: pdk.Log(pdk.LogInfo, "πŸ˜€πŸ˜ƒπŸ˜„")
  • --allow-hosts: pdk.NewHTTPRequest("GET", "https://jsonplaceholder.typicode.com/todos/1")
  • --config: pdk.GetConfig("firstName")