letsfg 1.0.3 → 1.0.5

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
@@ -74,7 +74,7 @@ letsfg book off_xxx -p '{"id":"pas_xxx","given_name":"John",...}' -e john@exampl
74
74
 
75
75
  ### `searchLocal(origin, destination, dateFrom, options?)`
76
76
 
77
- Search 75 airline connectors locally (no API key needed). Requires Python + `letsfg` installed.
77
+ Search 102 airline connectors locally (no API key needed). Requires Python + `letsfg` installed.
78
78
 
79
79
  ```typescript
80
80
  import { searchLocal } from 'letsfg';
@@ -336,7 +336,7 @@ var LetsFG = class {
336
336
  */
337
337
  async linkGithub(githubUsername) {
338
338
  this.requireApiKey();
339
- return this.post("/api/v1/agents/link-github", { github_username: githubUsername });
339
+ return this.post(`/api/v1/agents/link-github?github_username=${encodeURIComponent(githubUsername)}`, {});
340
340
  }
341
341
  /**
342
342
  * Get current agent profile and usage stats.
package/dist/cli.js CHANGED
@@ -308,7 +308,7 @@ var LetsFG = class {
308
308
  */
309
309
  async linkGithub(githubUsername) {
310
310
  this.requireApiKey();
311
- return this.post("/api/v1/agents/link-github", { github_username: githubUsername });
311
+ return this.post(`/api/v1/agents/link-github?github_username=${encodeURIComponent(githubUsername)}`, {});
312
312
  }
313
313
  /**
314
314
  * Get current agent profile and usage stats.
package/dist/cli.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  LetsFG,
4
4
  LetsFGError,
5
5
  offerSummary
6
- } from "./chunk-XEYWF2FP.mjs";
6
+ } from "./chunk-ES56QTBU.mjs";
7
7
 
8
8
  // src/cli.ts
9
9
  function getFlag(args, flag, alias) {
package/dist/index.js CHANGED
@@ -386,7 +386,7 @@ var LetsFG = class {
386
386
  */
387
387
  async linkGithub(githubUsername) {
388
388
  this.requireApiKey();
389
- return this.post("/api/v1/agents/link-github", { github_username: githubUsername });
389
+ return this.post(`/api/v1/agents/link-github?github_username=${encodeURIComponent(githubUsername)}`, {});
390
390
  }
391
391
  /**
392
392
  * Get current agent profile and usage stats.
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  offerSummary,
15
15
  searchLocal,
16
16
  systemInfo
17
- } from "./chunk-XEYWF2FP.mjs";
17
+ } from "./chunk-ES56QTBU.mjs";
18
18
  export {
19
19
  AuthenticationError,
20
20
  BoostedTravel,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "letsfg",
3
- "version": "1.0.3",
4
- "description": "Agent-native flight search & booking. 75 airline connectors run locally + enterprise GDS/NDC APIs. Built for autonomous AI agents.",
3
+ "version": "1.0.5",
4
+ "description": "Agent-native flight search & booking. 102 airline connectors run locally + enterprise GDS/NDC APIs. Built for autonomous AI agents.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",