use 0.2.4 remix-plugin & set default timeout

uiCheck
yann300 5 years ago
parent 491a32357e
commit 591ae09e5f
  1. 6
      package-lock.json
  2. 2
      package.json
  3. 6
      src/app.js

6
package-lock.json generated

@ -2106,9 +2106,9 @@
"dev": true
},
"@remixproject/engine": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@remixproject/engine/-/engine-0.2.3.tgz",
"integrity": "sha512-3xFbAP83ljuLABx8nO1ywfviGvCOB1U3UvZCS3Ar+XlwzQvxJUvZNMA6vd/ofF81SM0wGcwrPrWBwYxlnuL9UQ=="
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/@remixproject/engine/-/engine-0.2.4.tgz",
"integrity": "sha512-rCekA2QZq5wbT7h9wqU+TDkRexUqhnMqcggmP+eG6ilowyZ4RhMsrrSl3fsZzd0rnp4w1LSmX0vCbuXfja3RqQ=="
},
"@resolver-engine/core": {
"version": "0.3.3",

@ -79,7 +79,7 @@
"yo-yoify": "^3.7.3"
},
"dependencies": {
"@remixproject/engine": "^0.2.3",
"@remixproject/engine": "^0.2.4",
"http-server": "^0.11.1",
"standard": "^8.5.0"
},

@ -239,6 +239,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const pluginLoader = appManager.pluginLoader
const workspace = pluginLoader.get()
const engine = new Engine(appManager)
engine.setPluginOption = ({ name, kind }) => {
if (kind === 'provider' || name === 'LearnEth') {
return {queueTimeout: 60000}
}
return {queueTimeout: 10000}
}
await engine.onload()
// SERVICES

Loading…
Cancel
Save