@wasmer/wasi
Advanced tools
Changelog
0.4.0 (2023-11-30)
Wasmer.fromWebc()
to Wasmer.fromFile()
Output
you get from await instance.wait()
now contains stdoutUtf8
and stderrUtf8
fields with stdout/stderr lazily parsed as UTF-8 strings (61f3319)Directory
with a DirectoryInit
containing a nested file would error out while creating the file's parent directory (f45f561)DirectoryInit
to Command.spawn()
or runWasix()
's mount
argument (50df67d)Wasmer.fromWebc()
to Wasmer.fromFile()
(8bf6868)Changelog
0.3.0 (2023-11-27)
Container
, Manifest
, and Volume
typesRuntime
will now use a lazily initialized global runtime if one wasn't providedSpawnConfig
and RunConfig
to SpawnOptions
and RunOptions
.Wasmer
package now has a commands
field which maps a Command
's name to its instance (243d4b9)Wasmer
package now has an entrypoint
field with a runnable Command
(243d4b9)Command.binary()
method for accessing the binary run by a Command
(243d4b9)Wasmer.fromWebc()
constructor for loading a *.webc
file (4606724)Runtime
will now use a lazily initialized global runtime if one wasn't provided (70a2083)DirectoryInit
type that lets you initialize a Directory
with a map from file paths to their contents (553ded5)Wasmer
type to represent a package that has been loaded and is ready for execution (9f54cb5)Directory
or a DirectoryInit
which will be used to instantiate a new Directory
(e43ea8c)