diff --git a/src/app/components/plugin-manager-proxy.js b/src/app/components/plugin-manager-proxy.js index 1b324718cf..e356215bd8 100644 --- a/src/app/components/plugin-manager-proxy.js +++ b/src/app/components/plugin-manager-proxy.js @@ -9,9 +9,9 @@ class PluginManagerProxy { constructor () { this.event = new EventManager() this._listeners = {} - this._listeners['vyper'] = (data) => { - registry.get('compilersartefacts').api['__last'] = new CompilerAbstract(data.language, data.result, data.content) - this.event.trigger('sendCompilationResult', [data.title, data.content, data.language, data.result]) + this._listeners['vyper'] = (file, source, languageVersion, data) => { + registry.get('compilersartefacts').api['__last'] = new CompilerAbstract(languageVersion, data, source) + this.event.trigger('sendCompilationResult', [file, source, languageVersion, data]) } this._listeners['solidity'] = (file, source, languageVersion, data) => { registry.get('compilersartefacts').api['__last'] = new CompilerAbstract(languageVersion, data, source)