oauth2-cli 0.5.0 → 0.5.1

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.5.1](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.5.0...oauth2-cli/0.5.1) (2026-01-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * allow extending private methods for debugging ([ea9957f](https://github.com/battis/oauth2-cli/commit/ea9957f71629c4a177ebdf6acf0aecaa299a5260))
11
+
5
12
  ## [0.5.0](https://github.com/battis/oauth2-cli/compare/oauth2-cli/0.4.0...oauth2-cli/0.5.0) (2026-01-14)
6
13
 
7
14
 
package/dist/Client.d.ts CHANGED
@@ -20,11 +20,11 @@ export declare class Client {
20
20
  /** Acquire a valid, unexpired API access token. */
21
21
  getToken(): Promise<Token | undefined>;
22
22
  /** Refresh Token Grant */
23
- private refreshToken;
23
+ protected refreshToken(token: Token): Promise<Token | undefined>;
24
24
  /** Acquire a valid OpenID configuration. */
25
- private getConfiguration;
25
+ protected getConfiguration(): Promise<OpenIDClient.Configuration>;
26
26
  /** Authorization Code Grant */
27
- private authorize;
27
+ protected authorize(): Promise<Token | undefined>;
28
28
  /**
29
29
  * Make an authorized request to the API, acquiring an unexpired acess token
30
30
  * if necessary.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oauth2-cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
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": {
@@ -28,7 +28,7 @@
28
28
  "@types/ejs": "^3.1.5",
29
29
  "@types/express": "^5.0.6",
30
30
  "commit-and-tag-version": "^12.6.1",
31
- "del-cli": "^6.0.0",
31
+ "del-cli": "^7.0.0",
32
32
  "npm-run-all": "^4.1.5",
33
33
  "typescript": "^5.9.3"
34
34
  },
@@ -49,6 +49,6 @@
49
49
  "build": "run-s build:*",
50
50
  "build:clean": "run-s clean",
51
51
  "build:compile": "tsc",
52
- "release": "commit-and-tag-version"
52
+ "version": "commit-and-tag-version"
53
53
  }
54
54
  }