@theholocron/holocron-plugin-posthog 5.0.0-alpha.429 → 5.0.0-alpha.430

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
@@ -2,7 +2,7 @@ import { Analytics, AuthError, PluginToken, ResolveTokenInput, VerifyTokenFailur
2
2
  import { PostHogClient, PostHogClient as PostHogClient$1, PostHogClientOptions, PostHogProject, PostHogProjectsResponse, PostHogUser, createPostHogClient } from "@theholocron/posthog-client";
3
3
  /** Resolves the PostHog personal API key from `--token`, `HOLOCRON_POSTHOG_TOKEN`, `POSTHOG_PERSONAL_API_KEY` or the keyring, and throws an `AuthError` when none is set. */
4
4
  export declare const resolveToken: import("@theholocron/cli").TokenResolver;
5
- /** Every token this plugin takes, for `holocron doctor tokens`. */
5
+ /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
6
6
  export declare const tokens: PluginToken[];
7
7
  /** Options for the PostHog `analytics` capability. */
8
8
  interface PostHogAnalyticsOptions {
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ const resolveToken = createResolveToken({
9
9
  keyringService: "posthog",
10
10
  errorMessage: "no PostHog personal API key found. Pass --token <KEY>, set HOLOCRON_POSTHOG_TOKEN / POSTHOG_PERSONAL_API_KEY, or run: holocron new token posthog <phx_KEY>"
11
11
  });
12
- /** Every token this plugin takes, for `holocron doctor tokens`. */
12
+ /** Every token this plugin takes, for `holocron doctor secrets --verify`. */
13
13
  const tokens = [resolveToken.token];
14
14
  // src/capabilities/analytics.ts
15
15
  /** The `analytics` capability for PostHog: finds or creates a project and reports its API token. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-posthog",
3
- "version": "5.0.0-alpha.429",
3
+ "version": "5.0.0-alpha.430",
4
4
  "description": "Holocron plugin for PostHog. Implements the analytics capability — project provisioning and tracking token retrieval.",
5
5
  "keywords": [
6
6
  "analytics",
@@ -44,18 +44,18 @@
44
44
  "tsx": "4.23.15",
45
45
  "typescript": "^5.9.3",
46
46
  "vitest": "^5.1.0",
47
+ "@theholocron/cli": "5.0.0-alpha.430",
47
48
  "@theholocron/env-utils": "^1.17.0-alpha.4",
48
49
  "@theholocron/misc-utils": "^1.17.0-alpha.4",
49
- "@theholocron/cli": "5.0.0-alpha.429",
50
- "@theholocron/http-client": "^1.58.0-alpha.29",
51
50
  "@theholocron/eslint-config": "^8.9.0-alpha.17",
52
- "@theholocron/tsdown-config": "^8.9.0-alpha.17",
51
+ "@theholocron/http-client": "^1.58.0-alpha.29",
52
+ "@theholocron/tsconfig": "^8.9.0-alpha.17",
53
53
  "@theholocron/vitest-config": "^8.9.0-alpha.17",
54
- "@theholocron/tsconfig": "^8.9.0-alpha.17"
54
+ "@theholocron/tsdown-config": "^8.9.0-alpha.17"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "@theholocron/misc-utils": "^1.16.0",
58
- "@theholocron/cli": "5.0.0-alpha.429"
58
+ "@theholocron/cli": "5.0.0-alpha.430"
59
59
  },
60
60
  "engines": {
61
61
  "node": ">=22"