@gitbeaker/rest 39.31.1 → 39.33.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/README.md CHANGED
@@ -496,6 +496,7 @@ projectsAPI.create({
496
496
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/domharrington"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/848223?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Dom Harrington"/></td>
497
497
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/kseino"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1378066?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Kohei Seino"/></td>
498
498
  <td align="center" valign="top" width="0.33%"><a href="https://www.1stg.me/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8336744?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="JounQin"/></td>
499
+ <td align="center" valign="top" width="0.33%"><a href="https://github.com/elaine-mattos"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/79633988?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Elaine Mattos"/></td>
499
500
  </tr>
500
501
  </p>
501
502
 
package/dist/index.js CHANGED
@@ -68,7 +68,7 @@ async function throwFailedRequestError(request, response) {
68
68
  let description = "API Request Error";
69
69
  if (contentType?.includes("application/json")) {
70
70
  const output = JSON.parse(content);
71
- description = JSON.stringify(output.error || output.message, null, 2);
71
+ description = output.message;
72
72
  } else {
73
73
  description = content;
74
74
  }
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ async function throwFailedRequestError(request, response) {
46
46
  let description = "API Request Error";
47
47
  if (contentType?.includes("application/json")) {
48
48
  const output = JSON.parse(content);
49
- description = JSON.stringify(output.error || output.message, null, 2);
49
+ description = output.message;
50
50
  } else {
51
51
  description = content;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/rest",
3
- "version": "39.31.1",
3
+ "version": "39.33.0",
4
4
  "description": "Cross Platform implementation of the GitLab API",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -61,8 +61,8 @@
61
61
  "release": "auto shipit"
62
62
  },
63
63
  "dependencies": {
64
- "@gitbeaker/core": "^39.31.1",
65
- "@gitbeaker/requester-utils": "^39.31.1"
64
+ "@gitbeaker/core": "^39.33.0",
65
+ "@gitbeaker/requester-utils": "^39.33.0"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@playwright/test": "^1.40.1",
@@ -70,5 +70,5 @@
70
70
  "tsup": "^8.0.1",
71
71
  "typescript": "^5.3.3"
72
72
  },
73
- "gitHead": "7eec49b4aae88107742d740231c23b3ca9c5f1bd"
73
+ "gitHead": "e76b91bdab64ea71a8819e15d5edcb066586121d"
74
74
  }