oauth2-cli 0.8.5 → 0.8.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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
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.7](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.8.6...oauth2-cli/0.8.7) (2026-02-19)
6
+
7
+ ## [0.8.6](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.8.5...oauth2-cli/0.8.6) (2026-02-19)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * apparently some responses don't have headers ([bcc621a](https://github.com/battis/oauth2-cli/commit/bcc621a5e8b45a609c497205559dd814d91e19f1))
13
+
5
14
  ## [0.8.5](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.8.4...oauth2-cli/0.8.5) (2026-02-19)
6
15
 
7
16
 
package/dist/Client.js CHANGED
@@ -234,7 +234,7 @@ export class Client extends EventEmitter {
234
234
  response: {
235
235
  status: response.status,
236
236
  statusText: response.statusText,
237
- headers: Object.fromEntries(response.headers.entries()),
237
+ headers: Object.fromEntries(response.headers?.entries() || []),
238
238
  body: await response.text()
239
239
  }
240
240
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oauth2-cli",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
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": {
@@ -53,6 +53,6 @@
53
53
  "build": "run-s build:*",
54
54
  "build:clean": "run-s clean",
55
55
  "build:compile": "tsc",
56
- "version": "commit-and-tag-version"
56
+ "release": "commit-and-tag-version"
57
57
  }
58
58
  }