@molecule/api-flights 1.0.4 → 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 +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-10-
|
|
6
|
+
Generated: 2026-10-26T04:22:46.981Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/api-flights
|
|
@@ -480,7 +480,7 @@ function searchFlights(options: SearchFlightsOptions): Promise<FlightOffer[]>
|
|
|
480
480
|
Retrieves a previously-searched offer in detail.
|
|
481
481
|
|
|
482
482
|
```typescript
|
|
483
|
-
function getOffer(offerId:
|
|
483
|
+
function getOffer(offerId: OfferId): Promise<FlightOfferDetail>
|
|
484
484
|
```
|
|
485
485
|
|
|
486
486
|
- `offerId` — Opaque offer identifier returned by `searchFlights`.
|
|
@@ -492,7 +492,7 @@ function getOffer(offerId: string): Promise<FlightOfferDetail>
|
|
|
492
492
|
Confirms the up-to-the-minute price for a previously-searched offer.
|
|
493
493
|
|
|
494
494
|
```typescript
|
|
495
|
-
function priceOffer(offerId:
|
|
495
|
+
function priceOffer(offerId: OfferId): Promise<PricingResult>
|
|
496
496
|
```
|
|
497
497
|
|
|
498
498
|
- `offerId` — Opaque offer identifier returned by `searchFlights`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/api-flights",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Flight search + offer pricing core interface for molecule.dev",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@molecule/api-i18n": "^1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@molecule/api-bond": "1.0.
|
|
37
|
-
"@molecule/api-i18n": "1.0.
|
|
36
|
+
"@molecule/api-bond": "1.0.4",
|
|
37
|
+
"@molecule/api-i18n": "1.0.5",
|
|
38
38
|
"@types/node": "26.6.5",
|
|
39
39
|
"typescript": "6.0.3",
|
|
40
40
|
"vitest": "4.1.12"
|