vibex-sh 0.9.3 → 0.9.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.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -9,6 +9,7 @@ import http from 'http';
9
9
  import https from 'https';
10
10
  import { fileURLToPath } from 'url';
11
11
  import WebSocket from 'ws';
12
+ import crypto from 'crypto';
12
13
 
13
14
  // Get version from package.json
14
15
  const __filename = fileURLToPath(import.meta.url);
@@ -422,7 +423,7 @@ async function main() {
422
423
  const sessionSlug = sessionId.replace(/^vibex-/, ''); // Remove prefix for example
423
424
  console.log(' 💡 Tip: Use -s to send more logs to this session');
424
425
  console.log(` Example: echo '{"cpu": 45, "memory": 78}' | npx vibex-sh -s ${sessionSlug}${localFlag}\n`);
425
- } catch (error: any) {
426
+ } catch (error) {
426
427
  console.error(` ✗ Error creating session: ${error.message}`);
427
428
  process.exit(1);
428
429
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibex-sh",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Zero-config observability CLI - pipe logs and visualize instantly",
5
5
  "type": "module",
6
6
  "bin": {