@supalytics/cli 0.3.7 → 0.3.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supalytics/cli",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "CLI for Supalytics web analytics",
5
5
  "type": "module",
6
6
  "bin": {
@@ -152,8 +152,8 @@ async function listVisitors(
152
152
  key: "visitor_id",
153
153
  label: "Visitor ID",
154
154
  align: "left",
155
- width: 16,
156
- format: (v) => chalk.cyan(String(v).slice(0, 12)),
155
+ width: 36,
156
+ format: (v) => chalk.cyan(String(v)),
157
157
  },
158
158
  {
159
159
  key: "country",
@@ -274,7 +274,7 @@ async function showVisitorDetails(
274
274
  const timeline = timelineResponse.data;
275
275
 
276
276
  console.log();
277
- console.log(chalk.bold(`VISITOR: ${chalk.cyan(visitorId.slice(0, 16))}`));
277
+ console.log(chalk.bold(`VISITOR: ${chalk.cyan(visitorId)}`));
278
278
  console.log();
279
279
 
280
280
  // Stats section