fylzap 1.1.0 → 1.1.2

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/README.md CHANGED
@@ -11,7 +11,7 @@ npx fylzap document.pdf
11
11
 
12
12
  ## Setup
13
13
 
14
- Get your API key from [yourapp.com/dashboard](https://yourapp.com/dashboard), then:
14
+ Get your API key from [fylzap.com/dashboard](https://fylzap.com/dashboard), then:
15
15
  ```bash
16
16
  fylzap config --key fc_live_your_key_here
17
17
  ```
@@ -12,7 +12,7 @@ const conf_1 = __importDefault(require("conf"));
12
12
  const config = new conf_1.default({
13
13
  projectName: "fylzap",
14
14
  defaults: {
15
- apiUrl: "https://yourapp.com", // ← replace with your actual domain
15
+ apiUrl: "https://fylzap.com",
16
16
  },
17
17
  });
18
18
  function getApiKey() {
@@ -22,7 +22,7 @@ function setApiKey(key) {
22
22
  config.set("apiKey", key);
23
23
  }
24
24
  function getApiUrl() {
25
- return process.env.FYLZAP_API_URL ?? config.get("apiUrl") ?? "https://yourapp.com";
25
+ return process.env.FYLZAP_API_URL ?? config.get("apiUrl") ?? "https://fylzap.com";
26
26
  }
27
27
  function setApiUrl(url) {
28
28
  config.set("apiUrl", url);
@@ -14,6 +14,8 @@ const path_1 = __importDefault(require("path"));
14
14
  const fs_1 = __importDefault(require("fs"));
15
15
  function printBanner() {
16
16
  console.log(chalk_1.default.bold.blue("\n fylzap") + chalk_1.default.gray(" — file converter CLI"));
17
+ console.log(chalk_1.default.gray(" ─────────────────────────────"));
18
+ console.log(chalk_1.default.gray(" Get your free API key at: ") + chalk_1.default.cyan("https://fylzap.com"));
17
19
  console.log(chalk_1.default.gray(" ─────────────────────────────\n"));
18
20
  }
19
21
  function printSuccess(inputFile, outputFile, ms) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fylzap",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Convert files from your terminal — PDF, DOCX, images and more",
5
5
  "keywords": ["converter", "pdf", "markdown", "docx", "ocr", "cli"],
6
6
  "author": "Muhammad Ali Raza",
@@ -8,7 +8,7 @@ interface FylzapConfig {
8
8
  const config = new Conf<FylzapConfig>({
9
9
  projectName: "fylzap",
10
10
  defaults: {
11
- apiUrl: "https://yourapp.com", // ← replace with your actual domain
11
+ apiUrl: "https://fylzap.com",
12
12
  },
13
13
  });
14
14
 
@@ -21,7 +21,7 @@ export function setApiKey(key: string): void {
21
21
  }
22
22
 
23
23
  export function getApiUrl(): string {
24
- return process.env.FYLZAP_API_URL ?? config.get("apiUrl") ?? "https://yourapp.com";
24
+ return process.env.FYLZAP_API_URL ?? config.get("apiUrl") ?? "https://fylzap.com";
25
25
  }
26
26
 
27
27
  export function setApiUrl(url: string): void {
@@ -4,6 +4,8 @@ import fs from "fs";
4
4
 
5
5
  export function printBanner() {
6
6
  console.log(chalk.bold.blue("\n fylzap") + chalk.gray(" — file converter CLI"));
7
+ console.log(chalk.gray(" ─────────────────────────────"));
8
+ console.log(chalk.gray(" Get your free API key at: ") + chalk.cyan("https://fylzap.com"));
7
9
  console.log(chalk.gray(" ─────────────────────────────\n"));
8
10
  }
9
11