letsfg 1.0.3 → 1.0.4

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.
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "letsfg",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Agent-native flight search & booking. 75 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",