@gojinko/plugin 1.2.0 → 1.2.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jinko",
3
3
  "description": "Search flights, book trips, and manage bookings with the Jinko Travel API. Connects to the Jinko MCP server for live flight pricing, trip management, and payment.",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "author": {
6
6
  "name": "Jinko",
7
7
  "url": "https://gojinko.com"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jinko",
3
3
  "description": "Search flights, book trips, and manage bookings with the Jinko Travel API. Connects to the Jinko MCP server for live flight pricing, trip management, and payment.",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "author": {
6
6
  "name": "Jinko",
7
7
  "url": "https://gojinko.com"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gojinko/plugin",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Jinko Travel plugin for Claude Code and OpenAI Codex — flight search, booking, and trip management via MCP",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@ Auth alternatives:
40
40
  | `select-ancillaries` | Add baggage / seats / meals to a trip item |
41
41
  | `book` | Schedule checkout → returns Stripe payment URL |
42
42
  | `trip-status` | Full status: cart, quote, fulfillment, bookings |
43
- | `lookup-booking` | Look up a booking by `JNK-*` ref + last name (guest access) |
43
+ | `get-booking` | Retrieve a booking by `JNK-*` ref + last name (guest access). Old name `lookup-booking` is kept as a hidden deprecated alias. |
44
44
  | `refund check / commit / status` | Voluntary refund flow |
45
45
  | `schema <command>` | Print request/response schema for a command |
46
46
  | `config` | Read/write CLI config |
@@ -109,8 +109,8 @@ jinko trip --trip-id tr_ABC --remove-item-id it_123 --trip-item-token "offer_new
109
109
  ## Post-booking
110
110
 
111
111
  ```bash
112
- # Lookup (guest access — no auth needed beyond ref + last name)
113
- jinko lookup-booking --ref JNK-A7B3X9 --last-name Doe
112
+ # Retrieve a booking (guest access — no auth needed beyond ref + last name)
113
+ jinko get-booking --ref JNK-A7B3X9 --last-name Doe
114
114
 
115
115
  # Refund
116
116
  jinko refund check --ref JNK-A7B3X9 --last-name Doe
@@ -7,9 +7,9 @@ description: Look up bookings and manage post-booking operations (refunds, cance
7
7
 
8
8
  Post-booking operations using Jinko MCP tools.
9
9
 
10
- ## Booking Lookup
10
+ ## Get a booking
11
11
 
12
- Use `lookup_booking` to find a booking by its Jinko reference and the traveler's last name. No login required.
12
+ Use `get_booking` to retrieve a booking by its Jinko reference and the traveler's last name. No login required. (Previously named `lookup_booking`; the old name is kept as a deprecated alias on the SDK and CLI.)
13
13
 
14
14
  ```json
15
15
  {
@@ -29,7 +29,7 @@ Use `lookup_booking` to find a booking by its Jinko reference and the traveler's
29
29
 
30
30
  `flight_refund` supports two auth modes — pick exactly one per call:
31
31
 
32
- - **Guest auth** (default for end-users): `booking_ref` + `last_name`. Works without any DevPlatform credential — the server resolves the booking via `/bookings/lookup`.
32
+ - **Guest auth** (default for end-users): `booking_ref` + `last_name`. Works without any DevPlatform credential — the server resolves the booking via `/bookings/get`.
33
33
  - **Authenticated** (DevPlatform OAuth / `jnk_*` API keys): `order_id`. Skips the guest resolver.
34
34
 
35
35
  Do NOT mix the two modes in one call. The BFF rejects mixed combinations up front.