@theholocron/holocron-plugin-checkly 5.0.0-alpha.270 → 5.0.0-alpha.271
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 +4 -2
- package/dist/index.mjs +3 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { AuthError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringCheck, MonitoringCheckInput, ResolveTokenInput, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
1
|
+
import { AuthError, Monitoring, MonitoringAlertChannelInput, MonitoringAlertChannelResult, MonitoringCheck, MonitoringCheckInput, PluginToken, ResolveTokenInput, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
2
2
|
import { ApiCheck, ApiCheckInput, ApiCheckRequest, Assertion, AssertionComparison, AssertionSource, ChecklyClient, ChecklyClientOptions, HttpMethod, ListChecksParams, createChecklyClient } from "@theholocron/checkly-client";
|
|
3
|
-
export declare const resolveToken: (
|
|
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 ChecklyMonitoringOptions {
|
|
5
7
|
checks?: MonitoringCheckInput[];
|
|
6
8
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -8,6 +8,8 @@ const resolveToken = createResolveToken({
|
|
|
8
8
|
keyringService: "checkly",
|
|
9
9
|
errorMessage: "no Checkly token found. Pass --token <TOKEN>, set HOLOCRON_CHECKLY_TOKEN / CHECKLY_API_KEY, or run: holocron auth set checkly <TOKEN>"
|
|
10
10
|
});
|
|
11
|
+
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
12
|
+
const tokens = [resolveToken.token];
|
|
11
13
|
// src/icon.ts
|
|
12
14
|
/**
|
|
13
15
|
* Checkly's own icon, the one its Slack and Discord alerts carry. The Monitoring capability offers it so the webhook
|
|
@@ -516,4 +518,4 @@ function createPlugin(options) {
|
|
|
516
518
|
* is supplied or the supplied token is rejected.
|
|
517
519
|
*/
|
|
518
520
|
const AUTH_HINT = "generate a Checkly API key at https://app.checklyhq.com/settings/user/api-keys, then run: holocron auth set checkly <KEY>";
|
|
519
|
-
export { AUTH_HINT, AuthError, ChecklyMonitoring, createChecklyClient, createContext, createPlugin, monitoring, resolveToken, verifyToken };
|
|
521
|
+
export { AUTH_HINT, AuthError, ChecklyMonitoring, createChecklyClient, createContext, createPlugin, monitoring, resolveToken, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-checkly",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.271",
|
|
4
4
|
"description": "Holocron plugin for Checkly. Implements the monitoring capability against Checkly's REST API, plus exports verifyToken + AUTH_HINT for `holocron auth`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"checkly",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
"tsx": "4.23.15",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^5.0.5",
|
|
41
|
-
"@theholocron/checkly-client": "^1.58.0-alpha.2",
|
|
42
|
-
"@theholocron/cli": "5.0.0-alpha.270",
|
|
43
41
|
"@theholocron/http-client": "^1.58.0-alpha.2",
|
|
42
|
+
"@theholocron/checkly-client": "^1.58.0-alpha.2",
|
|
44
43
|
"@theholocron/misc-utils": "^1.16.1-alpha.1",
|
|
44
|
+
"@theholocron/cli": "5.0.0-alpha.271",
|
|
45
45
|
"@theholocron/tsconfig": "^8.9.0-alpha.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@theholocron/checkly-client": "^1.55.0",
|
|
49
49
|
"@theholocron/misc-utils": "^1.16.0",
|
|
50
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
50
|
+
"@theholocron/cli": "5.0.0-alpha.271"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=22"
|