@duffel/api 1.7.6 → 1.7.7
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/types/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Client as Client$1 } from 'Client';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* Each offer represents flights you can buy from an airline at a particular price that meet your search criteria.
|
|
5
3
|
* @link https://duffel.com/docs/api/offers/schema
|
|
@@ -2187,7 +2185,7 @@ declare class OfferRequests extends Resource {
|
|
|
2187
2185
|
* Endpoint path
|
|
2188
2186
|
*/
|
|
2189
2187
|
path: string;
|
|
2190
|
-
constructor(client:
|
|
2188
|
+
constructor(client: any);
|
|
2191
2189
|
/**
|
|
2192
2190
|
* Retrieves an offer request by its ID
|
|
2193
2191
|
* @param {string} id - Duffel's unique identifier for the offer request
|
|
@@ -2234,7 +2232,7 @@ declare class Offers extends Resource {
|
|
|
2234
2232
|
* Endpoint path
|
|
2235
2233
|
*/
|
|
2236
2234
|
path: string;
|
|
2237
|
-
constructor(client:
|
|
2235
|
+
constructor(client: any);
|
|
2238
2236
|
/**
|
|
2239
2237
|
* Retrieves an offer by its ID
|
|
2240
2238
|
* @param {string} id - Duffel's unique identifier for the offer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duffel/api",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "Javascript client library for the Duffel API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@types/node": "^17.0.1",
|
|
51
|
-
"
|
|
51
|
+
"node-fetch": "^3.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@babel/core": "^7.15.5",
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
"@commitlint/cz-commitlint": "^16.0.0",
|
|
60
60
|
"@rollup/plugin-commonjs": "^21.0.0",
|
|
61
61
|
"@rollup/plugin-multi-entry": "^4.0.0",
|
|
62
|
-
"@rollup/plugin-node-resolve": "^13.
|
|
62
|
+
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
63
63
|
"@types/jest": "^27.0.1",
|
|
64
64
|
"@typescript-eslint/eslint-plugin": "^4.26.1",
|
|
65
65
|
"@typescript-eslint/parser": "^4.26.1",
|
|
66
66
|
"colors": "^1.4.0",
|
|
67
67
|
"commitizen": "^4.2.4",
|
|
68
|
-
"dotenv": "^
|
|
68
|
+
"dotenv": "^14.2.0",
|
|
69
69
|
"eslint": "^7.26.0",
|
|
70
70
|
"eslint-config-prettier": "^8.3.0",
|
|
71
71
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"lint-staged": "^12.0.1",
|
|
75
75
|
"nock": "^13.1.0",
|
|
76
76
|
"prettier": "^2.4.1",
|
|
77
|
-
"rollup": "^2.
|
|
78
|
-
"rollup-plugin-dts": "^4.
|
|
77
|
+
"rollup": "^2.66.1",
|
|
78
|
+
"rollup-plugin-dts": "^4.1.0",
|
|
79
79
|
"rollup-plugin-inject-process-env": "^1.3.1",
|
|
80
80
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
81
81
|
"rollup-plugin-terser": "^7.0.2",
|
|
@@ -91,17 +91,17 @@
|
|
|
91
91
|
"engines": {
|
|
92
92
|
"node": ">=14.*"
|
|
93
93
|
},
|
|
94
|
-
"plugins": [
|
|
95
|
-
[
|
|
96
|
-
"@semantic-release/commit-analyzer"
|
|
97
|
-
],
|
|
98
|
-
[
|
|
99
|
-
"@semantic-release/release-notes-generator"
|
|
100
|
-
],
|
|
101
|
-
"@semantic-release/npm",
|
|
102
|
-
"@semantic-release/github"
|
|
103
|
-
],
|
|
104
94
|
"release": {
|
|
95
|
+
"plugins": [
|
|
96
|
+
[
|
|
97
|
+
"@semantic-release/commit-analyzer"
|
|
98
|
+
],
|
|
99
|
+
[
|
|
100
|
+
"@semantic-release/release-notes-generator"
|
|
101
|
+
],
|
|
102
|
+
"@semantic-release/npm",
|
|
103
|
+
"@semantic-release/github"
|
|
104
|
+
],
|
|
105
105
|
"branches": [
|
|
106
106
|
"main"
|
|
107
107
|
]
|