@theholocron/holocron-plugin-postman 5.0.0-alpha.430 → 5.0.0-alpha.431

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/README.md CHANGED
@@ -26,7 +26,7 @@ case); we sync, we don't run.
26
26
  Token resolution order:
27
27
 
28
28
  1. `--token <KEY>` flag on the holocron invocation
29
- 2. `HOLOCRON_POSTMAN_API_KEY` env var
29
+ 2. `HOLOCRON_POSTMAN_TOKEN` env var
30
30
  3. `POSTMAN_API_KEY` env var (Postman's own standard)
31
31
  4. Keyring `postman.<org>` — tried first when an org is active via `--org`, `HOLOCRON_ORG`, or `org` in `holocron.config.ts`
32
32
  5. Keyring `postman` — unnamespaced fallback; set via `holocron new token postman <key>`
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
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
- /** Resolves the Postman API key from `--token`, `HOLOCRON_POSTMAN_API_KEY`, `POSTMAN_API_KEY` or the keyring, and throws an `AuthError` when none is set. */
3
+ /** Resolves the Postman API key from `--token`, `HOLOCRON_POSTMAN_TOKEN`, `POSTMAN_API_KEY` or the keyring, and throws an `AuthError` when none is set. */
4
4
  export declare const resolveToken: import("@theholocron/cli").TokenResolver;
5
5
  /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
6
6
  export declare const tokens: PluginToken[];
package/dist/index.mjs CHANGED
@@ -4,12 +4,12 @@ import { basename, resolve } from "node:path";
4
4
  import { errorMessage } from "@theholocron/misc-utils";
5
5
  import { PostmanPlanLimitError, createPostmanClient, detectPlanLimit } from "@theholocron/postman-client";
6
6
  // src/auth.ts
7
- /** Resolves the Postman API key from `--token`, `HOLOCRON_POSTMAN_API_KEY`, `POSTMAN_API_KEY` or the keyring, and throws an `AuthError` when none is set. */
7
+ /** Resolves the Postman API key from `--token`, `HOLOCRON_POSTMAN_TOKEN`, `POSTMAN_API_KEY` or the keyring, and throws an `AuthError` when none is set. */
8
8
  const resolveToken = createResolveToken({
9
- envName: "HOLOCRON_POSTMAN_API_KEY",
9
+ envName: "HOLOCRON_POSTMAN_TOKEN",
10
10
  vendorEnvName: "POSTMAN_API_KEY",
11
11
  keyringService: "postman",
12
- errorMessage: "no Postman API key found. Pass --token <KEY>, set HOLOCRON_POSTMAN_API_KEY / POSTMAN_API_KEY, or run: holocron new token postman <KEY>"
12
+ errorMessage: "no Postman API key found. Pass --token <KEY>, set HOLOCRON_POSTMAN_TOKEN / POSTMAN_API_KEY, or run: holocron new token postman <KEY>"
13
13
  });
14
14
  /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
15
15
  const tokens = [resolveToken.token];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-postman",
3
- "version": "5.0.0-alpha.430",
3
+ "version": "5.0.0-alpha.431",
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.1.0",
43
- "@theholocron/cli": "5.0.0-alpha.430",
43
+ "@theholocron/cli": "5.0.0-alpha.431",
44
44
  "@theholocron/eslint-config": "^8.9.0-alpha.17",
45
45
  "@theholocron/http-client": "^1.58.0-alpha.29",
46
- "@theholocron/misc-utils": "^1.17.0-alpha.4",
47
- "@theholocron/tsconfig": "^8.9.0-alpha.17",
48
46
  "@theholocron/postman-client": "^1.58.0-alpha.29",
47
+ "@theholocron/tsconfig": "^8.9.0-alpha.17",
49
48
  "@theholocron/tsdown-config": "^8.9.0-alpha.17",
50
- "@theholocron/vitest-config": "^8.9.0-alpha.17"
49
+ "@theholocron/vitest-config": "^8.9.0-alpha.17",
50
+ "@theholocron/misc-utils": "^1.17.0-alpha.4"
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.430"
55
+ "@theholocron/cli": "5.0.0-alpha.431"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@theholocron/postman-client": {}