@flow-os/client 0.0.47-dev.1772043897 → 0.0.47-dev.1772043907

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/cli/dev.ts +5 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flow-os/client",
3
- "version": "0.0.47-dev.1772043897",
3
+ "version": "0.0.47-dev.1772043907",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/cli/dev.ts CHANGED
@@ -151,7 +151,6 @@ export async function dev() {
151
151
  httpServer.removeListener('error', onError);
152
152
  const T = '\x1b[1;38;2;255;0;135m'; // bold #ff0087
153
153
  const U = '\x1b[38;2;255;0;135m';
154
- const W_COL = '\x1b[97m'; // bianco
155
154
  const W = 46;
156
155
  const innerW = W - 4;
157
156
  const proto = useHttps ? 'https' : 'http';
@@ -165,13 +164,13 @@ export async function dev() {
165
164
  const innerLen = strip(inner).length;
166
165
  const half = Math.max(0, Math.floor((innerW - innerLen) / 2));
167
166
  const rest = innerW - half - innerLen;
168
- const top = '╭' + '─'.repeat(half) + inner + W_COL + '─'.repeat(rest) + '╮';
169
- const bottom = '╰' + W_COL + '─'.repeat(innerW) + '╯';
170
- const emptyLine = '│' + ' '.repeat(PAD_LEFT) + ' '.repeat(innerW - PAD_LEFT) + '│';
167
+ const top = U + '╭' + '─'.repeat(half) + inner + '─'.repeat(rest) + '╮' + R;
168
+ const bottom = U + '╰' + '─'.repeat(innerW) + '╯' + R;
169
+ const emptyLine = U + '│' + R + ' '.repeat(PAD_LEFT) + ' '.repeat(innerW - PAD_LEFT) + U + '│' + R;
171
170
  const localContent = iconLocal + ' Local: ' + U + local + R;
172
- const localLine = '│' + ' '.repeat(PAD_LEFT) + pad(localContent, innerW - PAD_LEFT) + '│';
171
+ const localLine = U + '│' + R + ' '.repeat(PAD_LEFT) + pad(localContent, innerW - PAD_LEFT) + U + '│' + R;
173
172
  const netContent = network ? iconNetwork + ' Network: ' + U + network + R : iconNetwork + ' Network: (not exposed)';
174
- const networkLine = '│' + ' '.repeat(PAD_LEFT) + pad(netContent, innerW - PAD_LEFT) + '│';
173
+ const networkLine = U + '│' + R + ' '.repeat(PAD_LEFT) + pad(netContent, innerW - PAD_LEFT) + U + '│' + R;
175
174
  const banner = '\x1b[2A\r\x1b[K\n' + top + '\n' + emptyLine + '\n' + localLine + '\n' + networkLine + '\n' + bottom + '\n\n';
176
175
  process.stdout.write(banner);
177
176
  resolve();