@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/CHANGELOG.md +25 -5
- package/DISCOVERY.md +2 -2
- package/README.md +6 -6
- package/SUPPORT.md +2 -2
- package/dist/{chunk-NCOO3LKB.js → chunk-CEEIMCYK.js} +5 -5
- package/dist/chunk-CEEIMCYK.js.map +7 -0
- package/dist/{chunk-DBFEFLR4.js → chunk-SUXAPBOI.js} +34 -4
- package/dist/chunk-SUXAPBOI.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/openapi.yaml +3 -3
- package/package.json +3 -3
- package/dist/chunk-DBFEFLR4.js.map +0 -7
- package/dist/chunk-NCOO3LKB.js.map +0 -7
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/dist/server.js
CHANGED
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
|
|
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
|
|
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
|
|
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": "
|
|
4
|
-
"description": "Stateful
|
|
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": "
|
|
101
|
+
"@crvouga/mockingbird-service-sqlite": "3.1.0",
|
|
102
102
|
"hono": "4.11.9"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|