@oauth2-cli/qui-cli 0.5.4 → 0.5.6
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 +14 -0
- package/dist/OAuth2.d.ts +3 -3
- package/package.json +1 -1
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.5.6](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.5.5...qui-cli-plugin/0.5.6) (2026-01-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* correctly implement template Client type ([ed6ac1c](https://github.com/battis/oauth2-cli/commit/ed6ac1cc63b1c41eceb93311105a1f61890a07c8))
|
|
11
|
+
|
|
12
|
+
## [0.5.5](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.5.4...qui-cli-plugin/0.5.5) (2026-01-15)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* getClient() should return the type instantiated by instiateClient() ([46a4507](https://github.com/battis/oauth2-cli/commit/46a450707954917e1f55595fb3e35f0a62f475fc))
|
|
18
|
+
|
|
5
19
|
## [0.5.4](https://github.com/battis/oauth2-cli/compare/qui-cli-plugin/0.5.3...qui-cli-plugin/0.5.4) (2026-01-15)
|
|
6
20
|
|
|
7
21
|
|
package/dist/OAuth2.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export type ConfigurationProposal = Partial<Omit<Configuration, 'opt' | 'env' |
|
|
|
35
35
|
env?: Partial<EnvironmentVars>;
|
|
36
36
|
man?: Partial<Usage>;
|
|
37
37
|
};
|
|
38
|
-
export declare class OAuth2Plugin {
|
|
38
|
+
export declare class OAuth2Plugin<C extends OAuth2CLI.Client = OAuth2CLI.Client> {
|
|
39
39
|
readonly name: string;
|
|
40
40
|
[key: string]: unknown;
|
|
41
41
|
private static names;
|
|
@@ -46,8 +46,8 @@ export declare class OAuth2Plugin {
|
|
|
46
46
|
configure(proposal?: ConfigurationProposal): void;
|
|
47
47
|
options(): Plugin.Options;
|
|
48
48
|
init({ values }: Plugin.ExpectedArguments<typeof this.options>): Promise<void>;
|
|
49
|
-
protected instantiateClient(...args: ConstructorParameters<typeof OAuth2CLI.Client>):
|
|
50
|
-
getClient():
|
|
49
|
+
protected instantiateClient(...args: ConstructorParameters<typeof OAuth2CLI.Client>): C;
|
|
50
|
+
getClient(): C;
|
|
51
51
|
getToken(): Promise<OAuth2CLI.Token | undefined>;
|
|
52
52
|
request(...args: Parameters<OAuth2CLI.Client['request']>): Promise<Response>;
|
|
53
53
|
requestJSON<T extends JSONValue>(...args: Parameters<OAuth2CLI.Client['requestJSON']>): Promise<T>;
|
package/package.json
CHANGED