oorja 1.9.0 → 1.9.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.
@@ -5,12 +5,12 @@ export default class TeleTypeCommand extends Command {
5
5
  static examples: string[];
6
6
  static flags: {
7
7
  help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
8
- shell: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
8
+ shell: import("@oclif/core/lib/interfaces").OptionFlag<string, import("@oclif/core/lib/interfaces").CustomOptions>;
9
9
  multiplex: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
10
10
  new_room: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
11
11
  };
12
12
  static args: {
13
- room: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
13
+ room: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
14
14
  };
15
15
  run(): Promise<void>;
16
16
  private streamToLink;
@@ -1,27 +1,35 @@
1
1
  {
2
- "version": "1.9.0",
3
2
  "commands": {
4
3
  "signout": {
5
- "id": "signout",
4
+ "aliases": [],
5
+ "args": {},
6
6
  "description": "Sign-out of oorja. Clears saved auth-token",
7
- "strict": true,
8
- "pluginName": "oorja",
7
+ "flags": {},
8
+ "hasDynamicHelp": false,
9
+ "hiddenAliases": [],
10
+ "id": "signout",
9
11
  "pluginAlias": "oorja",
12
+ "pluginName": "oorja",
10
13
  "pluginType": "core",
11
- "aliases": [],
12
- "flags": {},
13
- "args": {}
14
+ "strict": true,
15
+ "enableJsonFlag": false,
16
+ "isESM": false,
17
+ "relativePath": [
18
+ "dist",
19
+ "commands",
20
+ "signout.js"
21
+ ]
14
22
  },
15
23
  "teletype": {
16
- "id": "teletype",
17
- "description": "Launch a terminal streaming session in oorja.",
18
- "strict": true,
19
- "pluginName": "oorja",
20
- "pluginAlias": "oorja",
21
- "pluginType": "core",
22
24
  "aliases": [
23
25
  "tty"
24
26
  ],
27
+ "args": {
28
+ "room": {
29
+ "name": "room"
30
+ }
31
+ },
32
+ "description": "Launch a terminal streaming session in oorja.",
25
33
  "examples": [
26
34
  "$ teletype\nWill prompt to choose streaming destination - existing room or create a new one.\n\n",
27
35
  "$ teletype 'https://oorja.io/rooms?id=foo#key'\nWill stream to the room specified by secret link, you must have joined the room before streaming.\n\n",
@@ -29,40 +37,52 @@
29
37
  ],
30
38
  "flags": {
31
39
  "help": {
32
- "name": "help",
33
- "type": "boolean",
34
40
  "char": "h",
35
41
  "description": "Show CLI help.",
36
- "allowNo": false
42
+ "name": "help",
43
+ "allowNo": false,
44
+ "type": "boolean"
37
45
  },
38
46
  "shell": {
39
- "name": "shell",
40
- "type": "option",
41
47
  "char": "s",
42
48
  "description": "shell to use. e.g. bash, fish",
49
+ "name": "shell",
50
+ "default": "/usr/bin/zsh",
51
+ "hasDynamicHelp": false,
43
52
  "multiple": false,
44
- "default": "/usr/bin/zsh"
53
+ "type": "option"
45
54
  },
46
55
  "multiplex": {
47
- "name": "multiplex",
48
- "type": "boolean",
49
56
  "char": "m",
50
57
  "description": "Allows room users to WRITE TO YOUR SHELL i.e enables collaboration mode. Make sure you trust room participants. Off by default",
51
- "allowNo": false
58
+ "name": "multiplex",
59
+ "allowNo": false,
60
+ "type": "boolean"
52
61
  },
53
62
  "new_room": {
54
- "name": "new_room",
55
- "type": "boolean",
56
63
  "char": "n",
57
64
  "description": "Create new room",
58
- "allowNo": false
65
+ "name": "new_room",
66
+ "allowNo": false,
67
+ "type": "boolean"
59
68
  }
60
69
  },
61
- "args": {
62
- "room": {
63
- "name": "room"
64
- }
65
- }
70
+ "hasDynamicHelp": false,
71
+ "hiddenAliases": [],
72
+ "id": "teletype",
73
+ "pluginAlias": "oorja",
74
+ "pluginName": "oorja",
75
+ "pluginType": "core",
76
+ "strict": true,
77
+ "enableJsonFlag": false,
78
+ "isESM": false,
79
+ "relativePath": [
80
+ "dist",
81
+ "commands",
82
+ "teletype",
83
+ "index.js"
84
+ ]
66
85
  }
67
- }
86
+ },
87
+ "version": "1.9.1"
68
88
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oorja",
3
3
  "description": "stream terminals to the web and more.",
4
- "version": "1.9.0",
4
+ "version": "1.9.1",
5
5
  "author": "Akshay Kumar @akshaykmr",
6
6
  "bin": {
7
7
  "oorja": "./bin/oorja",
@@ -10,29 +10,31 @@
10
10
  "bugs": "https://github.com/akshaykmr/TeleType/issues",
11
11
  "dependencies": {
12
12
  "@msgpack/msgpack": "^2.8.0",
13
- "@oclif/core": "^2",
14
- "@oclif/plugin-help": "^5",
15
- "@oclif/plugin-plugins": "^3.4.0",
16
- "axios": "^1.5.0",
13
+ "@oclif/core": "3.5.0",
14
+ "@oclif/plugin-help": "6.0.4",
15
+ "@oclif/plugin-plugins": "^3.9.3",
16
+ "axios": "^1.5.1",
17
17
  "camelcase-keys": "^6.2.2",
18
18
  "chalk": "^4.1.2",
19
- "ora": "^4",
20
19
  "conf-cli": "^0.1.9",
21
20
  "enquirer": "^2.4.1",
22
21
  "node-pty": "^1.0.0",
22
+ "ora": "^4",
23
23
  "term-size": "^2.2.0",
24
24
  "tslib": "^2.6.2",
25
- "ws": "^8.14.1"
25
+ "ws": "^8.14.2"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^16.18.50",
29
+ "@types/sinon": "^10.0.20",
29
30
  "chai": "^4",
30
31
  "eslint": "^7.32.0",
31
32
  "eslint-config-oclif": "^4",
32
33
  "eslint-config-oclif-typescript": "^1.0.3",
33
- "oclif": "^3.15.0",
34
+ "oclif": "^4.0.3",
34
35
  "prettier": "^3.0.3",
35
36
  "shx": "^0.3.3",
37
+ "sinon": "^17.0.0",
36
38
  "ts-node": "^10.9.1",
37
39
  "tslib": "^2.6.2",
38
40
  "typescript": "^4.9.5"