create-authhero 0.41.2 → 0.43.0

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.
@@ -86,12 +86,12 @@ try {
86
86
  );
87
87
  }
88
88
 
89
- // Copy admin UI files from @authhero/react-admin package
89
+ // Copy admin UI files from @authhero/admin package
90
90
  const adminSourceDir = path.join(
91
91
  __dirname,
92
92
  "node_modules",
93
93
  "@authhero",
94
- "react-admin",
94
+ "admin",
95
95
  "dist",
96
96
  );
97
97
 
@@ -35,6 +35,15 @@ export default {
35
35
  // apiToken: env.ANALYTICS_ENGINE_API_TOKEN || env.CLOUDFLARE_API_TOKEN,
36
36
  // dataset: "authhero_logs",
37
37
  // },
38
+ // // Persist Auth0-style action execution records into a dedicated AE
39
+ // // dataset so the executions referenced by login logs live alongside
40
+ // // them. Requires a separate analytics_engine_datasets binding.
41
+ // analyticsEngineActionExecutions: {
42
+ // analyticsEngineBinding: env.AUTH_ACTION_EXECUTIONS,
43
+ // accountId: env.CLOUDFLARE_ACCOUNT_ID,
44
+ // apiToken: env.ANALYTICS_ENGINE_API_TOKEN || env.CLOUDFLARE_API_TOKEN,
45
+ // dataset: "authhero_action_executions",
46
+ // },
38
47
  // });
39
48
 
40
49
  // ────────────────────────────────────────────────────────────────────────
@@ -11,6 +11,7 @@ export interface Env {
11
11
  // Uncomment to enable:
12
12
  // ──────────────────────────────────────────────────────────────────────────
13
13
  // AUTH_LOGS: AnalyticsEngineDataset;
14
+ // AUTH_ACTION_EXECUTIONS: AnalyticsEngineDataset; // Optional: separate dataset for action executions
14
15
  // CLOUDFLARE_ACCOUNT_ID: string;
15
16
  // CLOUDFLARE_API_TOKEN: string;
16
17
  // ANALYTICS_ENGINE_API_TOKEN?: string; // Optional: separate token for Analytics Engine