@crvouga/mockingbird-service-posthog 1.0.2 → 1.1.1

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.
@@ -2,7 +2,7 @@ import {
2
2
  ACME_FLAG_STATE,
3
3
  createRuntime,
4
4
  specsFromState
5
- } from "./chunk-DME2EREJ.js";
5
+ } from "./chunk-2FGITTBR.js";
6
6
 
7
7
  // ../../adapters/node/dist/cli.js
8
8
  import { readFile } from "node:fs/promises";
@@ -355,4 +355,4 @@ export {
355
355
  createServer2 as createServer,
356
356
  serveTarget
357
357
  };
358
- //# sourceMappingURL=chunk-HDWIEPZT.js.map
358
+ //# sourceMappingURL=chunk-2W4NW7AB.js.map
package/dist/cli.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  runCli,
4
4
  serveCommand,
5
5
  serveTarget
6
- } from "./chunk-HDWIEPZT.js";
7
- import "./chunk-DME2EREJ.js";
6
+ } from "./chunk-2W4NW7AB.js";
7
+ import "./chunk-2FGITTBR.js";
8
8
 
9
9
  // src/cli.ts
10
10
  var code = await runCli(
package/dist/index.d.ts CHANGED
@@ -603,7 +603,7 @@ type WebhookHub = {
603
603
  messages(namespace?: string): WebhookMessage[];
604
604
  deliveries(namespace?: string): WebhookDelivery[];
605
605
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
606
- /** Run every pending retry (and release held reordered messages) now. */
606
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
607
607
  flush(): Promise<void>;
608
608
  /** Resolve once nothing is in flight. */
609
609
  idle(): Promise<void>;
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  supportedOperationIds,
16
16
  tokenFromBody,
17
17
  valueForState
18
- } from "./chunk-DME2EREJ.js";
18
+ } from "./chunk-2FGITTBR.js";
19
19
  export {
20
20
  ACME_FLAG_STATE,
21
21
  POSTHOG_NAMESPACE,
package/dist/server.d.ts CHANGED
@@ -459,7 +459,7 @@ type WebhookHub$1 = {
459
459
  messages(namespace?: string): WebhookMessage$1[];
460
460
  deliveries(namespace?: string): WebhookDelivery$1[];
461
461
  replay(deliveryId: string): Promise<WebhookDelivery$1 | undefined>;
462
- /** Run every pending retry (and release held reordered messages) now. */
462
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
463
463
  flush(): Promise<void>;
464
464
  /** Resolve once nothing is in flight. */
465
465
  idle(): Promise<void>;
@@ -1070,7 +1070,7 @@ type WebhookHub = {
1070
1070
  messages(namespace?: string): WebhookMessage[];
1071
1071
  deliveries(namespace?: string): WebhookDelivery[];
1072
1072
  replay(deliveryId: string): Promise<WebhookDelivery | undefined>;
1073
- /** Run every pending retry (and release held reordered messages) now. */
1073
+ /** Run every pending retry (and release held reordered messages) now, and every retry those attempts schedule, until nothing is pending. */
1074
1074
  flush(): Promise<void>;
1075
1075
  /** Resolve once nothing is in flight. */
1076
1076
  idle(): Promise<void>;
package/dist/server.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  DEFAULT_PORT,
3
3
  createServer,
4
4
  serveTarget
5
- } from "./chunk-HDWIEPZT.js";
6
- import "./chunk-DME2EREJ.js";
5
+ } from "./chunk-2W4NW7AB.js";
6
+ import "./chunk-2FGITTBR.js";
7
7
  export {
8
8
  DEFAULT_PORT,
9
9
  createServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-posthog",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
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.",
5
5
  "license": "MIT",
6
6
  "type": "module",