groupchat 0.0.2 → 0.0.4
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.
|
@@ -36,7 +36,7 @@ async function hasValidToken() {
|
|
|
36
36
|
|
|
37
37
|
// src/lib/config.ts
|
|
38
38
|
import { config as loadEnv } from "dotenv";
|
|
39
|
-
if (process.env.NODE_ENV
|
|
39
|
+
if (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test") {
|
|
40
40
|
loadEnv();
|
|
41
41
|
}
|
|
42
42
|
var DEFAULT_CONFIG = {
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-XSUJD2OK.js";
|
|
3
3
|
|
|
4
4
|
// src/index.ts
|
|
5
5
|
import WebSocket from "ws";
|
|
@@ -164,7 +164,7 @@ function UpdatePrompt({ updateInfo, onComplete }) {
|
|
|
164
164
|
// package.json
|
|
165
165
|
var package_default = {
|
|
166
166
|
name: "groupchat",
|
|
167
|
-
version: "0.0.
|
|
167
|
+
version: "0.0.4",
|
|
168
168
|
description: "CLI chat client for Groupchat",
|
|
169
169
|
type: "module",
|
|
170
170
|
main: "./dist/index.js",
|
|
@@ -251,7 +251,7 @@ async function startChat() {
|
|
|
251
251
|
await showUpdatePrompt(updateInfo);
|
|
252
252
|
}
|
|
253
253
|
process.stdout.write("\x1B[2J\x1B[0f");
|
|
254
|
-
const { App } = await import("./App-
|
|
254
|
+
const { App } = await import("./App-NG3MOIVV.js");
|
|
255
255
|
const { waitUntilExit } = render(React2.createElement(App), {
|
|
256
256
|
exitOnCtrlC: false
|
|
257
257
|
// We handle Ctrl+C manually
|