@oauth2-cli/qui-cli-plugin 0.2.4 → 0.2.5

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.2.5](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.4...qui-cli-plugin/0.2.5) (2025-12-23)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * expose headers configuration ([bac6bcb](https://github.com/battis/oauth2-cli/commit/bac6bcbf351155472494b82ad620f6b4bc19a1e6))
11
+
5
12
  ## [0.2.4](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.2.3...qui-cli-plugin/0.2.4) (2025-12-23)
6
13
 
7
14
 
@@ -28,6 +28,7 @@ export type Configuration = Plugin.Configuration & {
28
28
  client_id?: string;
29
29
  client_secret?: string;
30
30
  redirect_uri?: URLString;
31
+ headers?: Record<string, string>;
31
32
  authorization_endpoint?: URLString;
32
33
  token_endpoint?: URLString;
33
34
  store?: OAuth2.TokenStorage;
package/dist/OAuth2CLI.js CHANGED
@@ -124,7 +124,7 @@ export async function init(args) {
124
124
  }
125
125
  function getClient() {
126
126
  if (!client) {
127
- const { client_id, client_secret, redirect_uri, authorization_endpoint, token_endpoint, store } = config;
127
+ const { client_id, client_secret, redirect_uri, authorization_endpoint, token_endpoint, headers, store } = config;
128
128
  if (!client_id) {
129
129
  throw new Error('OAuth 2.0 client ID not defined');
130
130
  }
@@ -143,6 +143,7 @@ function getClient() {
143
143
  redirect_uri,
144
144
  authorization_endpoint,
145
145
  token_endpoint,
146
+ headers,
146
147
  store
147
148
  });
148
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oauth2-cli/qui-cli-plugin",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "@battis/qui-cli.plugin wrapper for oauth2-cli",
5
5
  "homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/qui-cli-plugin#readme",
6
6
  "repository": {