Comparing version 1.0.14 to 1.0.15
@@ -10,3 +10,3 @@ #!/usr/bin/env node | ||
} | ||
const mySocket = new WebSocket(`ws://${opts.host}:${opts.port}`); | ||
const mySocket = new WebSocket(`wss://${opts.host}`); | ||
mySocket.onopen = event => console.log('open') | ||
@@ -13,0 +13,0 @@ mySocket.onmessage = event => { |
{ | ||
"name": "sharktail", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Official Sharktail CLI written in Node.js", | ||
@@ -33,5 +33,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"yargs": "^17.0.1", | ||
"ws": "^7.4.5" | ||
"ws": "^7.4.5", | ||
"yargs": "^17.0.1" | ||
} | ||
} |
@@ -14,5 +14,5 @@ var argv = require('yargs') | ||
demand: false, | ||
describe: 'custom port (default 2390)', | ||
describe: 'custom port (default 28251)', | ||
type: 'number', | ||
default: 2390 | ||
default: 28251 | ||
}) | ||
@@ -19,0 +19,0 @@ .option('delay', { |
5198