iosignal-cli 2.1.0 → 2.2.0

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/bin/io-client.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { IOWS, IOCongSocket, ENC_MODE, serverOption } from 'iosignal'
3
+ import { IO, IOCongSocket, ENC_MODE, serverOption } from 'iosignal'
4
4
  import { EventEmitter } from 'events'
5
5
  import readline from 'readline'
6
6
  import tty from 'tty'
@@ -123,7 +123,7 @@ if (connectUrl.indexOf('cong') === 0) {
123
123
  if (!connectUrl.match(/\w+:\/\/.*$/i)) {
124
124
  connectUrl = `ws://${connectUrl}`
125
125
  }
126
- io = new IOWS(connectUrl)
126
+ io = new IO(connectUrl)
127
127
  }
128
128
 
129
129
  if (options.id && options.key) {
package/bin/ioip.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iosignal-cli",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "IOSignal server and client CLI program.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,8 +20,7 @@
20
20
  "boxen": "^8.0.1",
21
21
  "chalk": "^5.3.0",
22
22
  "commander": "^12.1.0",
23
- "iosignal": "^2.1.0",
24
- "meta-buffer-pack": "^2.0.3",
23
+ "iosignal": "^2.2.0",
25
24
  "redis": "^4.7.0"
26
25
  },
27
26
  "repository": {