eitri-cli 1.19.1 → 1.20.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -72,7 +72,7 @@ const run = async () => {
72
72
  .option("-v, --verbose", "Exibe mais logs")
73
73
  .option("-f, --force", "Força o start")
74
74
  .option("-S, --show-deeplink", "Exibe o deep link do workspace")
75
- .option("-sm, --skip-mini-log", "Skipa conexão com o mini-log")
75
+ .option("-sm, --skip-mini-log", "Pula (skip) a conexão com o mini-log")
76
76
  .option(
77
77
  "-p, --playground",
78
78
  "Gera um QR code com a URL de abertura do Eitri Playground"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eitri-cli",
3
- "version": "1.19.1",
3
+ "version": "1.20.0-beta.1",
4
4
  "description": "Command Line Interface to make \"Eitri-App\" with code and fire.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -45,7 +45,7 @@ module.exports = async function loginV2(args) {
45
45
  skipLogs: true,
46
46
  })
47
47
 
48
- const resp = await miniLog.awaitForGenerateLoginCrendetials()
48
+ const resp = await miniLog.awaitForGenerateLoginCredentials()
49
49
 
50
50
  process.stdin.resume()
51
51
 
@@ -19,8 +19,8 @@ class MiniLog {
19
19
  resolve()
20
20
  })
21
21
  socket.on('connect_error', (e) => {
22
- if (silentOnConnect) console.error('Não foi possível contectar ao compilador', roomName)
23
- else console.error('Não foi possível contectar ao compilador', roomName, `${this._config.url} ${this._config.path}`)
22
+ if (silentOnConnect) console.error('Não foi possível conectar ao compilador', roomName)
23
+ else console.error('Não foi possível conectar ao compilador', roomName, `${this._config.url} ${this._config.path}`)
24
24
  reject(e)
25
25
  })
26
26
  socket.on('onLog', (data) => {
@@ -43,7 +43,7 @@ class MiniLog {
43
43
  })
44
44
  socket.on('connect_error', (e) => {
45
45
  if (args?.verbose) {
46
- console.error('Não foi possível contectar em: ', {roomName})
46
+ console.error('Não foi possível conectar em: ', {roomName})
47
47
  }
48
48
 
49
49
  reject(e)
@@ -75,7 +75,7 @@ class MiniLog {
75
75
  })
76
76
  }
77
77
 
78
- awaitForGenerateLoginCrendetials() {
78
+ awaitForGenerateLoginCredentials() {
79
79
  return new Promise((resolve) => {
80
80
  this.socket.on('onLog', (event) => {
81
81
  if(event.eventKey === "loginCredentials"){