@duffel/api 4.23.0 → 4.24.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.
package/dist/typings.d.ts CHANGED
@@ -962,6 +962,11 @@ declare module '@duffel/api/Stays/StaysTypes' {
962
962
  guests: Array<Guest>;
963
963
  mobile?: boolean;
964
964
  free_cancellation_only?: boolean;
965
+ /**
966
+ * Preview: when `true`, only pay-now (Duffel/source) rates; when `false`, only pay-at-property;
967
+ * when `null` or omitted, all rates. See Duffel Stays search API schema.
968
+ */
969
+ instant_payment?: boolean | null;
965
970
  }
966
971
  export type LocationParams = {
967
972
  radius: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duffel/api",
3
- "version": "4.23.0",
3
+ "version": "4.24.1",
4
4
  "description": "Javascript client library for the Duffel API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -32,16 +32,10 @@
32
32
  "example": "ts-node ./examples/example.ts",
33
33
  "get-version": "echo $npm_package_version",
34
34
  "release": "npx semantic-release",
35
- "commit": "git-cz",
36
35
  "commitlint": "commitlint",
37
36
  "prettier": "prettier --write --loglevel=warn .",
38
37
  "prettier-check": "prettier --check ."
39
38
  },
40
- "config": {
41
- "commitizen": {
42
- "path": "@commitlint/cz-commitlint"
43
- }
44
- },
45
39
  "lint-staged": {
46
40
  "*.{ts,tsx}": [
47
41
  "eslint",
@@ -69,16 +63,14 @@
69
63
  "@babel/preset-typescript": "7.28.5",
70
64
  "@commitlint/cli": "17.8.1",
71
65
  "@commitlint/config-angular": "17.8.1",
72
- "@commitlint/cz-commitlint": "17.8.1",
73
66
  "@rollup/plugin-commonjs": "25.0.8",
74
67
  "@rollup/plugin-node-resolve": "15.3.1",
75
- "@rollup/plugin-terser": "0.4.4",
68
+ "@rollup/plugin-terser": "1.0.0",
76
69
  "@rollup/plugin-typescript": "12.3.0",
77
70
  "@types/jest": "29.5.14",
78
71
  "@typescript-eslint/eslint-plugin": "6.7.5",
79
72
  "@typescript-eslint/parser": "6.7.5",
80
73
  "colors": "1.4.0",
81
- "commitizen": "4.3.1",
82
74
  "dotenv": "16.6.1",
83
75
  "eslint": "8.57.1",
84
76
  "eslint-config-prettier": "9.1.2",
@@ -88,17 +80,18 @@
88
80
  "lint-staged": "15.5.2",
89
81
  "nock": "13.5.6",
90
82
  "prettier": "3.5.3",
91
- "rollup": "3",
83
+ "rollup": "4.60.1",
92
84
  "rollup-plugin-dts-bundle": "1.0.0",
93
85
  "rollup-plugin-inject-process-env": "1.3.1",
94
86
  "rollup-plugin-peer-deps-external": "2.2.4",
95
87
  "semantic-release": "22.0.12",
96
88
  "ts-jest": "29.4.6",
97
89
  "ts-node": "10.9.2",
90
+ "tslib": "2.8.1",
98
91
  "typescript": "5.9.3"
99
92
  },
100
93
  "engines": {
101
- "node": ">=18.*"
94
+ "node": ">=20"
102
95
  },
103
96
  "release": {
104
97
  "plugins": [