use 0.3.0-beta.5 remix-plugin

remixd
yann300 4 years ago
parent b32ee39a52
commit d1936c65bd
  1. 3911
      package-lock.json
  2. 6
      package.json
  3. 4
      src/websocket.ts
  4. 2
      tsconfig.json

3911
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -32,8 +32,10 @@
},
"homepage": "https://github.com/ethereum/remixd#readme",
"dependencies": {
"@remixproject/plugin": "^0.3.0-alpha.8",
"@remixproject/plugin-ws": "^0.3.0-alpha.4",
"@remixproject/plugin": "0.3.0-beta.5",
"@remixproject/plugin-ws": "0.3.0-beta.5",
"@remixproject/plugin-api": "0.3.0-beta.5",
"@remixproject/plugin-utils": "0.3.0-beta.5",
"chokidar": "^2.1.8",
"commander": "^2.20.3",
"fs-extra": "^3.0.1",

@ -2,7 +2,7 @@ import * as WS from 'ws'
import * as http from 'http'
import { WebsocketOpt, SharedFolderClient } from '../types'
const { buildWebsocketClient } = require('@remixproject/plugin-ws')
const { createClient } = require('@remixproject/plugin-ws')
export default class WebSocket {
server: http.Server
@ -37,7 +37,7 @@ export default class WebSocket {
const { sharedFolder } = this
this.connection = ws
buildWebsocketClient(ws, sharedFolder)
createClient(ws, sharedFolder)
if(callback) callback(ws)
})
}

@ -1,7 +1,7 @@
{
"compilerOptions": {
/* Basic Options */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"outDir": "./lib",

Loading…
Cancel
Save