@theholocron/holocron-plugin-axiom 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, Logs, ResolveTokenInput, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
1
|
+
import { AuthError, Logs, PluginToken, ResolveTokenInput, VerifyTokenFailure, VerifyTokenResult, VerifyTokenResult as VerifyTokenResult$1, VerifyTokenSuccess } from "@theholocron/cli";
|
|
2
2
|
import { AxiomClient, AxiomClientOptions, AxiomDataset, AxiomUser, CreateAxiomDatasetInput, createAxiomClient } from "@theholocron/axiom-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 AxiomLogsOptions {
|
|
5
7
|
/**
|
|
6
8
|
* Target dataset, resolved from `HOLOCRON_AXIOM_DATASET` /
|
package/dist/index.mjs
CHANGED
|
@@ -8,6 +8,8 @@ const resolveToken = createResolveToken({
|
|
|
8
8
|
keyringService: "axiom",
|
|
9
9
|
errorMessage: "no Axiom token found. Pass --token <TOKEN>, set HOLOCRON_AXIOM_TOKEN / AXIOM_TOKEN, or run: holocron auth set axiom <TOKEN>"
|
|
10
10
|
});
|
|
11
|
+
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
12
|
+
const tokens = [resolveToken.token];
|
|
11
13
|
// src/capabilities/logs.ts
|
|
12
14
|
var AxiomLogs = class {
|
|
13
15
|
client;
|
|
@@ -113,4 +115,4 @@ function createPlugin(options) {
|
|
|
113
115
|
* supplied or when the supplied token is rejected.
|
|
114
116
|
*/
|
|
115
117
|
const AUTH_HINT = "generate an Axiom API token at https://app.axiom.co/settings/api-tokens with dataset read + create permissions, then run: holocron auth set axiom <TOKEN>";
|
|
116
|
-
export { AUTH_HINT, AuthError, AxiomLogs, createAxiomClient, createContext, createPlugin, logs, resolveToken, verifyToken };
|
|
118
|
+
export { AUTH_HINT, AuthError, AxiomLogs, createAxiomClient, createContext, createPlugin, logs, resolveToken, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-axiom",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.271",
|
|
4
4
|
"description": "Holocron plugin for Axiom. Implements the logs capability against Axiom's REST API — dataset provisioning and connectivity checks, plus verifyToken + AUTH_HINT for `holocron auth`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"axiom",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"@theholocron/axiom-client": "^1.58.0-alpha.2",
|
|
44
44
|
"@theholocron/eslint-config": "^8.9.0-alpha.3",
|
|
45
45
|
"@theholocron/http-client": "^1.58.0-alpha.2",
|
|
46
|
-
"@theholocron/cli": "5.0.0-alpha.270",
|
|
47
46
|
"@theholocron/misc-utils": "^1.16.1-alpha.1",
|
|
48
47
|
"@theholocron/vitest-config": "^8.9.0-alpha.3",
|
|
48
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.3",
|
|
49
49
|
"@theholocron/tsdown-config": "^8.9.0-alpha.3",
|
|
50
|
-
"@theholocron/
|
|
50
|
+
"@theholocron/cli": "5.0.0-alpha.271"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@theholocron/axiom-client": "^1.43.1",
|
|
54
54
|
"@theholocron/misc-utils": "^1.16.0",
|
|
55
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
55
|
+
"@theholocron/cli": "5.0.0-alpha.271"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=22"
|