As indicated by @mvancanneyt in https://gitlab.com/freepascal.org/fpc/pas2js/-/issues/39289#note_2237702957 , the InstanceExports is correct.
@@ -22,7 +22,7 @@ Type
function TMyApplication.OnBeforeStart(Sender: TObject;
aDescriptor: TWebAssemblyStartDescriptor): Boolean;
begin
- FWADomBridge.WasiExports:=aDescriptor.Exported;
+ FWADomBridge.InstanceExports:=aDescriptor.Exported;
Result:=true;
end;