webassembly.sh
webassembly.sh copied to clipboard
Improvements for @wasmer/wasm-terminal fetchCommand
https://github.com/wasmerio/webassembly.sh/pull/38 Introuduced some awesome changes for the wapm query. Would be great if we could have the following for fetchCommand:
fetchCommand('command-name', {
version: '0.1.0',
returnAllBinaries: true
})
Also, pass more from getCommand into fetchCommand for analytics https://github.com/wasmerio/wasmer-js/blob/d9ef94b8d1bbeadd7963ecd437ca208a93ad76bf/static/index.tsx#L32
const fetchCommand = async (options: CommandOptions): Promise<WASICommand> => {
blablabla
}