create-authhero 0.42.0 → 0.44.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.
- package/dist/cloudflare/src/index.ts +9 -0
- package/dist/cloudflare/src/types.ts +1 -0
- package/dist/create-authhero.js +435 -709
- package/dist/proxy/README.md +161 -0
- package/dist/proxy/src/index.ts +40 -0
- package/dist/proxy/src/proxy.config.ts +32 -0
- package/dist/proxy/tsconfig.json +14 -0
- package/dist/proxy/wrangler.toml +22 -0
- package/package.json +4 -4
|
@@ -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
|