@theholocron/holocron-plugin-postman 5.0.0-alpha.270 → 5.0.0-alpha.272

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/dist/index.d.mts CHANGED
@@ -1,6 +1,8 @@
1
- import { AuthError, ResolveTokenInput, Tooling, ToolingDoctorReport, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
1
+ import { AuthError, PluginToken, ResolveTokenInput, Tooling, ToolingDoctorReport, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
2
2
  import { PostmanClient, PostmanClient as PostmanClient$1, PostmanClientOptions, PostmanCollection, PostmanEnvironment, PostmanPlanLimitError, PostmanSpec, PostmanUser, PostmanWorkspace, createPostmanClient, detectPlanLimit } from "@theholocron/postman-client";
3
- export declare const resolveToken: (input?: ResolveTokenInput) => string;
3
+ export declare const resolveToken: import("@theholocron/cli").TokenResolver;
4
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
5
+ export declare const tokens: PluginToken[];
4
6
  interface PostmanToolingOptions {
5
7
  workspaceId: string;
6
8
  /** Local OpenAPI JSON path (relative to repoRoot). */
package/dist/index.mjs CHANGED
@@ -10,6 +10,8 @@ const resolveToken = createResolveToken({
10
10
  keyringService: "postman",
11
11
  errorMessage: "no Postman API key found. Pass --token <KEY>, set HOLOCRON_POSTMAN_API_KEY / POSTMAN_API_KEY, or run: holocron auth set postman <KEY>"
12
12
  });
13
+ /** Every token this plugin takes, for `holocron doctor tokens`. */
14
+ const tokens = [resolveToken.token];
13
15
  // src/capabilities/tooling.ts
14
16
  /**
15
17
  * `tooling` capability for Postman.
@@ -229,4 +231,4 @@ function createPlugin(options) {
229
231
  * token is supplied or the supplied token is rejected.
230
232
  */
231
233
  const AUTH_HINT = "generate a Postman API key at https://postman.co/settings/me/api-keys, then run: holocron auth set postman <KEY>";
232
- export { AUTH_HINT, AuthError, PostmanPlanLimitError, PostmanTooling, createContext, createPlugin, createPostmanClient, detectPlanLimit, resolveToken, tooling, verifyToken };
234
+ export { AUTH_HINT, AuthError, PostmanPlanLimitError, PostmanTooling, createContext, createPlugin, createPostmanClient, detectPlanLimit, resolveToken, tokens, tooling, verifyToken };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-postman",
3
- "version": "5.0.0-alpha.270",
3
+ "version": "5.0.0-alpha.272",
4
4
  "description": "Holocron plugin for Postman. Implements the tooling capability against Postman's REST API — workspace + collection + spec + environment sync.",
5
5
  "keywords": [
6
6
  "holocron",
@@ -40,19 +40,19 @@
40
40
  "tsx": "4.23.15",
41
41
  "typescript": "^5.9.3",
42
42
  "vitest": "^5.0.5",
43
- "@theholocron/cli": "5.0.0-alpha.270",
44
- "@theholocron/misc-utils": "^1.16.1-alpha.1",
43
+ "@theholocron/cli": "5.0.0-alpha.272",
44
+ "@theholocron/http-client": "^1.58.0-alpha.2",
45
45
  "@theholocron/eslint-config": "^8.9.0-alpha.3",
46
+ "@theholocron/tsconfig": "^8.9.0-alpha.3",
46
47
  "@theholocron/postman-client": "^1.58.0-alpha.2",
47
- "@theholocron/http-client": "^1.58.0-alpha.2",
48
48
  "@theholocron/tsdown-config": "^8.9.0-alpha.3",
49
49
  "@theholocron/vitest-config": "^8.9.0-alpha.3",
50
- "@theholocron/tsconfig": "^8.9.0-alpha.3"
50
+ "@theholocron/misc-utils": "^1.16.1-alpha.1"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@theholocron/misc-utils": "^1.16.0",
54
54
  "@theholocron/postman-client": "^1.43.1",
55
- "@theholocron/cli": "5.0.0-alpha.270"
55
+ "@theholocron/cli": "5.0.0-alpha.272"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@theholocron/postman-client": {}