letsfg 2026.5.60 → 2026.5.62

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
@@ -10,7 +10,7 @@
10
10
  | | **CLI / SDK** (this package) | **Developer API** |
11
11
  |---|---|---|
12
12
  | **Search cost** | Free (Twitter/X Bearer token via `letsfg auth`) | Prepaid credits |
13
- | **Booking** | `POST /api/agent-book` — no LetsFG fee | Direct airline URL, no fee |
13
+ | **Booking** | `POST /api/agent-book` | Direct airline URL |
14
14
  | **Speed** | 60–90 s | 2–5 s (discover) · 60–90 s (full) |
15
15
  | **Setup** | `npm install letsfg` then `letsfg auth` | [letsfg.co/developers](https://letsfg.co/developers) |
16
16
 
@@ -1681,7 +1681,7 @@ var LetsFG = class {
1681
1681
  const url = (baseUrl || DEFAULT_BASE_URL).replace(/\/$/, "");
1682
1682
  const resp = await fetch(`${url}/developers/api/v1/agents/register`, {
1683
1683
  method: "POST",
1684
- headers: { "Content-Type": "application/json" },
1684
+ headers: { "Content-Type": "application/json", "User-Agent": "LetsFG-js/0.1.0" },
1685
1685
  body: JSON.stringify({ agent_name: agentName, email, owner_name: ownerName, description })
1686
1686
  });
1687
1687
  const data = await resp.json();
package/dist/cli.js CHANGED
@@ -436,7 +436,7 @@ var LetsFG = class {
436
436
  const url = (baseUrl || DEFAULT_BASE_URL).replace(/\/$/, "");
437
437
  const resp = await fetch(`${url}/developers/api/v1/agents/register`, {
438
438
  method: "POST",
439
- headers: { "Content-Type": "application/json" },
439
+ headers: { "Content-Type": "application/json", "User-Agent": "LetsFG-js/0.1.0" },
440
440
  body: JSON.stringify({ agent_name: agentName, email, owner_name: ownerName, description })
441
441
  });
442
442
  const data = await resp.json();
package/dist/cli.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  LetsFG,
4
4
  LetsFGError,
5
5
  offerSummary
6
- } from "./chunk-I2JLOQPR.mjs";
6
+ } from "./chunk-AYF7QMP4.mjs";
7
7
 
8
8
  // src/cli.ts
9
9
  function getFlag(args, flag, alias) {
package/dist/index.js CHANGED
@@ -1729,7 +1729,7 @@ var LetsFG = class {
1729
1729
  const url = (baseUrl || DEFAULT_BASE_URL).replace(/\/$/, "");
1730
1730
  const resp = await fetch(`${url}/developers/api/v1/agents/register`, {
1731
1731
  method: "POST",
1732
- headers: { "Content-Type": "application/json" },
1732
+ headers: { "Content-Type": "application/json", "User-Agent": "LetsFG-js/0.1.0" },
1733
1733
  body: JSON.stringify({ agent_name: agentName, email, owner_name: ownerName, description })
1734
1734
  });
1735
1735
  const data = await resp.json();
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  offerSummary,
23
23
  rankOffers,
24
24
  selectDiverseTop
25
- } from "./chunk-I2JLOQPR.mjs";
25
+ } from "./chunk-AYF7QMP4.mjs";
26
26
  export {
27
27
  AuthenticationError,
28
28
  BoostedTravel,
package/package.json CHANGED
@@ -1,52 +1,52 @@
1
- {
2
- "name": "letsfg",
3
- "version": "2026.5.60",
4
- "description": "Flight search & booking for AI agents. Server-side engine covers hundreds of airlines. Free search via Bearer token or prepaid Developer API. Includes open-source ranking engine.",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "bin": {
9
- "letsfg": "dist/cli.js"
10
- },
11
- "files": [
12
- "dist/",
13
- "README.md",
14
- "LICENSE"
15
- ],
16
- "scripts": {
17
- "build": "tsup src/index.ts src/cli.ts --format cjs,esm --dts --clean",
18
- "test": "tsx --test src/index.test.ts",
19
- "prepublishOnly": "npm run build"
20
- },
21
- "keywords": [
22
- "flights",
23
- "travel",
24
- "booking",
25
- "agent",
26
- "ai",
27
- "cli",
28
- "autonomous",
29
- "mcp",
30
- "openai",
31
- "airline",
32
- "ndc",
33
- "search",
34
- "ndc"
35
- ],
36
- "author": "LetsFG",
37
- "license": "MIT",
38
- "repository": {
39
- "type": "git",
40
- "url": "https://github.com/LetsFG/LetsFG.git"
41
- },
42
- "homepage": "https://letsfg.co",
43
- "devDependencies": {
44
- "@types/node": "^25.3.3",
45
- "tsup": "^8.0.0",
46
- "tsx": "^4.19.0",
47
- "typescript": "^5.3.0"
48
- },
49
- "engines": {
50
- "node": ">=18.0.0"
51
- }
52
- }
1
+ {
2
+ "name": "letsfg",
3
+ "version": "2026.5.62",
4
+ "description": "Flight search & booking for AI agents. Server-side engine covers hundreds of airlines. Free search via Bearer token or prepaid Developer API. Includes open-source ranking engine.",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "bin": {
9
+ "letsfg": "dist/cli.js"
10
+ },
11
+ "files": [
12
+ "dist/",
13
+ "README.md",
14
+ "LICENSE"
15
+ ],
16
+ "scripts": {
17
+ "build": "tsup src/index.ts src/cli.ts --format cjs,esm --dts --clean",
18
+ "test": "tsx --test src/index.test.ts",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "keywords": [
22
+ "flights",
23
+ "travel",
24
+ "booking",
25
+ "agent",
26
+ "ai",
27
+ "cli",
28
+ "autonomous",
29
+ "mcp",
30
+ "openai",
31
+ "airline",
32
+ "ndc",
33
+ "search",
34
+ "ndc"
35
+ ],
36
+ "author": "LetsFG",
37
+ "license": "MIT",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/LetsFG/LetsFG.git"
41
+ },
42
+ "homepage": "https://letsfg.co",
43
+ "devDependencies": {
44
+ "@types/node": "^25.3.3",
45
+ "tsup": "^8.0.0",
46
+ "tsx": "^4.19.0",
47
+ "typescript": "^5.3.0"
48
+ },
49
+ "engines": {
50
+ "node": ">=18.0.0"
51
+ }
52
+ }