wasm_interop 2.0.1
wasm_interop: ^2.0.1 copied to clipboard
This package provides a Dart wrapper for WebAssembly JavaScript API
Changelog #
2.0.1 #
-
Documentation updates.
-
Fixed error objects not being thrown correctly.
2.0.0 #
-
Null-safety release.
-
Updated to the latest WebAssembly IDL:
-
Added interop support for 64-bit integer Globals.
-
Added support for Globals and Tables of
externreftype. -
Added a new
Memory.sharedconstructor.
-
-
Breaking API changes:
-
Module.importsandModule.exportsgetters generate and return aListof descriptors instead of anIterable. -
ModuleImportDescriptorandModuleExportDescriptorno longer overridetoString(). -
Instance.fromBytesandInstance.fromBuffersync factories have been removed. -
Instance.functionsandInstance.globalshave static types ofMap<String, Function>andMap<String, Global>respectively. -
ExportedFunctionwrapper class has been removed. -
Memoryconstructor now uses required named parameters. -
Tableno longer extendsListBase. -
Default
Table()constructor have been removed. -
Table.lengthsetter has been removed. Users should explicitly callTable.grow()instead. -
Global.valuesetter and getter have a static type ofObject?.
-
-
The package adds
JsBigIntextension onBigIntclass to enable interop with JavaScript BigInt values.
1.0.0-dev.1.0 #
-
Implemented
WebAssembly.Globalinterface. -
Updated to the latest SDK.
1.0.0-dev.0.0 #
- Initial release.