distats-cli 0.0.8 → 1.0.1

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": "distats-cli",
3
- "version": "0.0.8",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -10,6 +10,9 @@ export function createLoader(text = "Loading...") {
10
10
  update(message) {
11
11
  spinner.text = message;
12
12
  },
13
+ stop() {
14
+ spinner.stop();
15
+ },
13
16
  succeed(message) {
14
17
  spinner.succeed(message);
15
18
  },
@@ -17,4 +20,4 @@ export function createLoader(text = "Loading...") {
17
20
  spinner.fail(message);
18
21
  },
19
22
  };
20
- }
23
+ }
@@ -17,7 +17,7 @@ export function logError(message) {
17
17
  * Features a minimalist text-only header box with a clickable link.
18
18
  */
19
19
  export function showWelcome() {
20
- const version = "1.0.1";
20
+ const version = "1.0.0";
21
21
 
22
22
  // Helper for clickable terminal links
23
23
  const link = (text, url) => `\u001b]8;;${url}\u001b\\${text}\u001b]8;;\u001b\\`;