@hypersocial/decks-cli 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/runtime.mjs +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypersocial/decks-cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Command-line client for Hypersocial Decks live analytics and share management.",
5
5
  "type": "module",
6
6
  "main": "./src/commands.mjs",
package/src/runtime.mjs CHANGED
@@ -8,7 +8,7 @@ import { fileURLToPath } from "node:url";
8
8
  import { ConvexHttpClient } from "convex/browser";
9
9
  import { makeFunctionReference } from "convex/server";
10
10
 
11
- export const VERSION = "0.1.5";
11
+ export const VERSION = "0.1.6";
12
12
 
13
13
  export const PROD = {
14
14
  name: "prod",
@@ -253,7 +253,8 @@ export async function login(opts) {
253
253
  done = true;
254
254
  clearTimeout(timer);
255
255
  server.close();
256
- err ? reject(err) : resolve();
256
+ if (err) reject(err);
257
+ else resolve();
257
258
  };
258
259
 
259
260
  server = createServer((req, res) => {