oauth2-cli 0.8.8 → 0.8.9

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.8.9](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.8.8...oauth2-cli/0.8.9) (2026-02-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * further refinement in debug logging ([568e563](https://github.com/battis/oauth2-cli/commit/568e563bc0a918cd9741951654db685488f10330))
11
+
5
12
  ## [0.8.8](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.8.7...oauth2-cli/0.8.8) (2026-02-19)
6
13
 
7
14
  ### Bug Fixes
package/dist/Client.js CHANGED
@@ -229,16 +229,7 @@ export class Client extends EventEmitter {
229
229
  return (await response.json());
230
230
  }
231
231
  else {
232
- throw new Error(`The response could not be parsed as JSON by ${this.clientName()}.`, {
233
- cause: {
234
- response: {
235
- status: response.status,
236
- statusText: response.statusText,
237
- headers: Object.fromEntries(response.headers?.entries() || []),
238
- body: response.text ? await response.text() : response.body
239
- }
240
- }
241
- });
232
+ throw new Error(`The response could not be parsed as JSON by ${this.clientName()}.`, { cause: { response } });
242
233
  }
243
234
  }
244
235
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oauth2-cli",
3
- "version": "0.8.8",
3
+ "version": "0.8.9",
4
4
  "description": "Acquire API access tokens via OAuth 2.0 within CLI tools",
5
5
  "homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/oauth2-cli#readme",
6
6
  "repository": {
@@ -22,8 +22,8 @@
22
22
  "oauth4webapi": "^3.8.5",
23
23
  "openid-client": "^6.8.2",
24
24
  "ora": "^9.3.0",
25
- "gcrtl": "0.1.7",
26
- "requestish": "0.1.1"
25
+ "requestish": "0.1.1",
26
+ "gcrtl": "0.1.7"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@battis/descriptive-types": "^0.2.6",