@oauth2-cli/qui-cli 0.6.1 → 0.6.3

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,20 @@
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.6.3](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.6.2...qui-cli-plugin/0.6.3) (2026-02-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * export Request ([bad6d04](https://github.com/battis/oauth2-cli/commit/bad6d0479c6c8481c3ad56aa7b141a73dc04f729))
11
+
12
+ ## [0.6.2](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.6.1...qui-cli-plugin/0.6.2) (2026-02-16)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * export ClientOptions for instantiateClient implementation ([23eefbf](https://github.com/battis/oauth2-cli/commit/23eefbfa7a29d59e66463922b731183804c7eb62))
18
+
5
19
  ## [0.6.1](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.6.0...qui-cli-plugin/0.6.1) (2026-02-16)
6
20
 
7
21
 
package/dist/OAuth2.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { OAuth2Plugin } from './OAuth2Plugin.js';
2
- export { Credentials, Errors, WebServer } from 'oauth2-cli';
2
+ export { ClientOptions, Credentials, Errors, Request, WebServer } from 'oauth2-cli';
3
3
  export * from './Client.js';
4
4
  export * from './OAuth2Plugin.js';
5
5
  export * as Token from './Token/index.js';
package/dist/OAuth2.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { OAuth2Plugin } from './OAuth2Plugin.js';
2
- export { Credentials, Errors, WebServer } from 'oauth2-cli';
2
+ export { Credentials, Errors, Request, WebServer } from 'oauth2-cli';
3
3
  export * from './Client.js';
4
4
  export * from './OAuth2Plugin.js';
5
5
  export * as Token from './Token/index.js';
@@ -43,7 +43,7 @@ export declare class OAuth2Plugin<C extends Client = Client> {
43
43
  configure(proposal?: Configuration): void;
44
44
  options(): Plugin.Options;
45
45
  init({ values }: Plugin.ExpectedArguments<typeof this.options>): Promise<void>;
46
- protected instantiateClient(...args: ConstructorParameters<typeof OAuth2CLI.Client>): C;
46
+ protected instantiateClient(options: OAuth2CLI.ClientOptions): C;
47
47
  get client(): C;
48
48
  request(...args: Parameters<OAuth2CLI.Client['request']>): Promise<Response>;
49
49
  requestJSON<T extends JSONValue>(...args: Parameters<OAuth2CLI.Client['requestJSON']>): Promise<T>;
@@ -150,8 +150,8 @@ export class OAuth2Plugin {
150
150
  }
151
151
  this.configure({ credentials });
152
152
  }
153
- instantiateClient(...args) {
154
- return new OAuth2CLI.Client(...args);
153
+ instantiateClient(options) {
154
+ return new OAuth2CLI.Client(options);
155
155
  }
156
156
  get client() {
157
157
  if (!this._client) {
@@ -178,7 +178,7 @@ export class OAuth2Plugin {
178
178
  }
179
179
  this._client = this.instantiateClient({
180
180
  credentials: this.credentials,
181
- headers: this.inject?.headers,
181
+ inject: this.inject,
182
182
  storage: this.storage
183
183
  });
184
184
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oauth2-cli/qui-cli",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "@qui-cli/plugin wrapper for oauth2-cli",
5
5
  "homepage": "https://github.com/battis/oauth2-cli/tree/main/packages/qui-cli#readme",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  "types": "./dist/index.d.ts",
18
18
  "dependencies": {
19
19
  "@qui-cli/colors": "^3.2.3",
20
- "requestish": "0.1.0",
21
- "oauth2-cli": "0.6.0"
20
+ "oauth2-cli": "0.7.0",
21
+ "requestish": "0.1.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@battis/descriptive-types": "^0.2.6",