@theholocron/holocron-plugin-sentry 5.0.0-alpha.422 → 5.0.0-alpha.423
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 +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Token resolution order:
|
|
|
21
21
|
2. `HOLOCRON_SENTRY_TOKEN` env var
|
|
22
22
|
3. `SENTRY_AUTH_TOKEN` env var (the standard Sentry variable name)
|
|
23
23
|
4. Keyring `sentry.<org>` — tried first when an org is active via `--org`, `HOLOCRON_ORG`, or `org` in `holocron.config.ts`
|
|
24
|
-
5. Keyring `sentry` — unnamespaced fallback; set via `holocron
|
|
24
|
+
5. Keyring `sentry` — unnamespaced fallback; set via `holocron new token sentry <token>`
|
|
25
25
|
|
|
26
26
|
Generate an auth token at **sentry.io/settings/account/api/auth-tokens/**
|
|
27
27
|
with `org:read`, `project:read`, and `project:write` scopes. Both
|
package/dist/index.d.mts
CHANGED
|
@@ -103,6 +103,6 @@ export declare function createPlugin(options: SentryPluginOptions): {
|
|
|
103
103
|
errors: () => Errors;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
|
-
/** One-line hint shown by `holocron
|
|
106
|
+
/** One-line hint shown by `holocron new token sentry` when no token is given or the token is rejected. */
|
|
107
107
|
export declare const AUTH_HINT: string;
|
|
108
108
|
export { AuthError, type ResolveTokenInput, type SentryClient, type SentryClientOptions, type SentryErrorsOptions, type VerifyTokenFailure, type VerifyTokenResult, type VerifyTokenSuccess, createSentryClient };
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ const resolveToken = createResolveToken({
|
|
|
9
9
|
envName: "HOLOCRON_SENTRY_TOKEN",
|
|
10
10
|
vendorEnvName: "SENTRY_AUTH_TOKEN",
|
|
11
11
|
keyringService: "sentry",
|
|
12
|
-
errorMessage: "no Sentry auth token found. Pass --token <TOKEN>, set HOLOCRON_SENTRY_TOKEN / SENTRY_AUTH_TOKEN, or run: holocron
|
|
12
|
+
errorMessage: "no Sentry auth token found. Pass --token <TOKEN>, set HOLOCRON_SENTRY_TOKEN / SENTRY_AUTH_TOKEN, or run: holocron new token sentry <TOKEN>"
|
|
13
13
|
});
|
|
14
14
|
/**
|
|
15
15
|
* The token for the Comlink relay: an integration, its client secret and an alert rule need more than the general token
|
|
@@ -646,6 +646,6 @@ function createPlugin(options) {
|
|
|
646
646
|
capabilities: { errors: () => errors(ctx) }
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
/** One-line hint shown by `holocron
|
|
650
|
-
const AUTH_HINT = "generate an auth token at https://sentry.io/settings/account/api/auth-tokens/ with project:read, project:write, and org:read scopes, then run: holocron
|
|
649
|
+
/** One-line hint shown by `holocron new token sentry` when no token is given or the token is rejected. */
|
|
650
|
+
const AUTH_HINT = "generate an auth token at https://sentry.io/settings/account/api/auth-tokens/ with project:read, project:write, and org:read scopes, then run: holocron new token sentry <TOKEN>";
|
|
651
651
|
export { AUTH_HINT, AuthError, SentryErrors, createContext, createPlugin, createSentryClient, errors, resolveComlinkToken, resolveRelayToken, resolveToken, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-sentry",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.423",
|
|
4
4
|
"description": "Holocron plugin for Sentry. Implements the errors capability against Sentry's management API — project provisioning and DSN retrieval.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"errors",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"tsx": "4.23.15",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
46
|
"vitest": "^5.1.0",
|
|
47
|
-
"@theholocron/
|
|
48
|
-
"@theholocron/http-client": "^1.58.0-alpha.28",
|
|
49
|
-
"@theholocron/cli": "5.0.0-alpha.422",
|
|
47
|
+
"@theholocron/cli": "5.0.0-alpha.423",
|
|
50
48
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
51
|
-
"@theholocron/
|
|
52
|
-
"@theholocron/sentry-client": "^1.58.0-alpha.
|
|
53
|
-
"@theholocron/
|
|
54
|
-
"@theholocron/
|
|
49
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.17",
|
|
50
|
+
"@theholocron/sentry-client": "^1.58.0-alpha.29",
|
|
51
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.17",
|
|
52
|
+
"@theholocron/http-client": "^1.58.0-alpha.29",
|
|
53
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.17",
|
|
54
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.17"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@theholocron/misc-utils": "^1.16.0",
|
|
58
58
|
"@theholocron/sentry-client": "^1.56.0",
|
|
59
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
59
|
+
"@theholocron/cli": "5.0.0-alpha.423"
|
|
60
60
|
},
|
|
61
61
|
"peerDependenciesMeta": {
|
|
62
62
|
"@theholocron/sentry-client": {}
|