biz-a-cli 2.3.52 → 2.3.53

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.
@@ -7,11 +7,11 @@ export async function localhostTunnel(port){
7
7
  console.log(`${new Date()}: Direct hub only available within local LAN. Please restart CLI to try again.`)
8
8
  }
9
9
  const qt = QuickTunnel.quick('127.0.0.1:'+port)
10
- qt.on('Disconnected', ()=>{console.log('DISCONNECTED');notifyUser()})
10
+ qt.on('Disconnected', ()=>{notifyUser()})
11
11
  let url = await new Promise((resolve)=>{
12
12
  let tunnelURL = ''
13
- qt.once('url', (qtUrl)=>{console.log('URL obtained');tunnelURL=qtUrl})
14
- qt.once('connected', (conn)=>{console.log('CONNECTED', conn); resolve(tunnelURL)})
13
+ qt.once('url', (qtUrl)=>{tunnelURL=qtUrl})
14
+ qt.once('connected', (conn)=>{resolve(tunnelURL)})
15
15
  qt.once('exit', (code)=>{resolve('')})
16
16
  qt.once('error', (err)=>{resolve('')})
17
17
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "biz-a-cli",
3
3
  "nameDev": "biz-a-cli-dev",
4
- "version": "2.3.52",
4
+ "version": "2.3.53",
5
5
  "versionDev": "0.0.30",
6
6
  "description": "",
7
7
  "main": "bin/index.js",