@duffel/api 4.22.0 → 4.23.0

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/dist/typings.d.ts CHANGED
@@ -1726,6 +1726,11 @@ declare module '@duffel/api/booking/Offers/Offers' {
1726
1726
  * @param {Object.<GetOfferPricedParams>} params - The intended payment methods and services of the offer
1727
1727
  */
1728
1728
  getPriced: (offerId: string, params: GetOfferPricedParams) => Promise<DuffelResponse<OfferPriced>>;
1729
+ /**
1730
+ * Retrieve all fare brands given a basic fare offer. Applicable only for some airlines. All of the returned offers have the same itinerary.
1731
+ * @param {string} offerId - Duffel's unique identifier for the offer
1732
+ */
1733
+ upsellFares: (offerId: string) => Promise<DuffelResponse<Offer[]>>;
1729
1734
  }
1730
1735
  export {};
1731
1736
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/api",
3
- "version": "4.22.0",
3
+ "version": "4.23.0",
4
4
  "description": "Javascript client library for the Duffel API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -52,20 +52,20 @@
52
52
  ]
53
53
  },
54
54
  "resolutions": {
55
- "ansi-regex": "^5.0.1",
56
- "set-value": "^4.0.1",
55
+ "ansi-regex": "5.0.1",
56
+ "set-value": "4.0.1",
57
57
  "minimist": "1.2.8",
58
- "semver": "^7.5.3",
58
+ "semver": "7.5.3",
59
59
  "@aashutoshrathi/word-wrap": "npm:word-wrap"
60
60
  },
61
61
  "dependencies": {
62
- "@types/node": "^18.0.0",
63
- "@types/node-fetch": "^2.6.2",
62
+ "@types/node": "18.0.0",
63
+ "@types/node-fetch": "2.6.2",
64
64
  "node-fetch": "2.7.0"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@babel/core": "7.29.0",
68
- "@babel/preset-env": "7.29.0",
68
+ "@babel/preset-env": "7.29.2",
69
69
  "@babel/preset-typescript": "7.28.5",
70
70
  "@commitlint/cli": "17.8.1",
71
71
  "@commitlint/config-angular": "17.8.1",
@@ -73,7 +73,7 @@
73
73
  "@rollup/plugin-commonjs": "25.0.8",
74
74
  "@rollup/plugin-node-resolve": "15.3.1",
75
75
  "@rollup/plugin-terser": "0.4.4",
76
- "@rollup/plugin-typescript": "^12.3.0",
76
+ "@rollup/plugin-typescript": "12.3.0",
77
77
  "@types/jest": "29.5.14",
78
78
  "@typescript-eslint/eslint-plugin": "6.7.5",
79
79
  "@typescript-eslint/parser": "6.7.5",
@@ -89,13 +89,13 @@
89
89
  "nock": "13.5.6",
90
90
  "prettier": "3.5.3",
91
91
  "rollup": "3",
92
- "rollup-plugin-dts-bundle": "^1.0.0",
92
+ "rollup-plugin-dts-bundle": "1.0.0",
93
93
  "rollup-plugin-inject-process-env": "1.3.1",
94
94
  "rollup-plugin-peer-deps-external": "2.2.4",
95
95
  "semantic-release": "22.0.12",
96
96
  "ts-jest": "29.4.6",
97
97
  "ts-node": "10.9.2",
98
- "typescript": "5.7.3"
98
+ "typescript": "5.9.3"
99
99
  },
100
100
  "engines": {
101
101
  "node": ">=18.*"