@crvouga/mockingbird-service-posthog 2.3.0 → 3.1.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/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-NCOO3LKB.js";
7
- import "./chunk-DBFEFLR4.js";
6
+ } from "./chunk-CEEIMCYK.js";
7
+ import "./chunk-SUXAPBOI.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  supportedOperationIds,
16
16
  tokenFromBody,
17
17
  valueForState
18
- } from "./chunk-DBFEFLR4.js";
18
+ } from "./chunk-SUXAPBOI.js";
19
19
  export {
20
20
  ACME_FLAG_STATE,
21
21
  POSTHOG_NAMESPACE,
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-NCOO3LKB.js";
6
- import "./chunk-DBFEFLR4.js";
5
+ } from "./chunk-CEEIMCYK.js";
6
+ import "./chunk-SUXAPBOI.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,
package/openapi.yaml CHANGED
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
  info:
3
3
  title: PostHog feature flags, capture and management API (Mockingbird subset)
4
4
  description: |
5
- Stateful mock subset of PostHog: remote flag evaluation (`/flags` v2 and the legacy
5
+ Stateful emulator subset of PostHog: remote flag evaluation (`/flags` v2 and the legacy
6
6
  `/decide` shape), remote config, event capture (`/batch/`, `/e/`, `/i/v0/e/`), session
7
7
  recording intake, the posthog-js asset and survey endpoints, and the slice of the
8
8
  management API our tooling and crons call (feature-flag list/create/read/patch, experiment management, HogQL query).
@@ -491,7 +491,7 @@ paths:
491
491
  in: path
492
492
  required: true
493
493
  description: >-
494
- The flag's numeric id. The mock also accepts the flag key (how self-parity walks
494
+ The flag's numeric id. The emulator also accepts the flag key (how self-parity walks
495
495
  reference flags they created, since resource identities are strings).
496
496
  schema:
497
497
  type: string
@@ -507,7 +507,7 @@ paths:
507
507
  parity: { enabled: true, safe: true }
508
508
  responses:
509
509
  "200":
510
- description: Current flag by numeric id (or mock key alias)
510
+ description: Current flag by numeric id (or emulator key alias)
511
511
  content:
512
512
  application/json:
513
513
  schema: { $ref: "#/components/schemas/FeatureFlag" }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-posthog",
3
- "version": "2.3.0",
4
- "description": "Stateful mock of PostHog: /flags v2 and legacy /decide evaluation with per-test flag, variant and payload control, remote config, gzip/base64 capture (/batch/, /e/, /i/v0/e/), recordings intake, and the feature-flag management and HogQL API slice.",
3
+ "version": "3.1.0",
4
+ "description": "Stateful emulator of PostHog: /flags v2 and legacy /decide evaluation with per-test flag, variant and payload control, remote config, gzip/base64 capture (/batch/, /e/, /i/v0/e/), recordings intake, and the feature-flag management and HogQL API slice.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -98,7 +98,7 @@
98
98
  "pack:check": "bun ../../../scripts/pack-check.ts"
99
99
  },
100
100
  "dependencies": {
101
- "@crvouga/mockingbird-service-sqlite": "2.1.1",
101
+ "@crvouga/mockingbird-service-sqlite": "3.1.0",
102
102
  "hono": "4.11.9"
103
103
  },
104
104
  "devDependencies": {