@gojinko/api-client 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +2 -15
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -64,23 +64,10 @@ OAuth tokens auto-refresh when they expire.
64
64
 
65
65
  ## Usage
66
66
 
67
- ### find_flight — Cached search
68
-
69
- ```typescript
70
- const flights = await client.findFlight({
71
- passengers: { adt: 1 },
72
- filters: {
73
- locations: { origins: ['PAR'], destinations: ['NYC'] },
74
- dates: { departure_dates: ['2026-06-15'] },
75
- trip_type: 'oneway',
76
- },
77
- sort: 'lowest',
78
- limit: 10,
79
- });
80
- ```
81
-
82
67
  ### flight_search — Live search / price-check
83
68
 
69
+ Preferred flight entry point. Returns a bookable `trip_item_token` in one step.
70
+
84
71
  ```typescript
85
72
  // Search mode
86
73
  const results = await client.flightSearch({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gojinko/api-client",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",