@rebasepro/server-postgres 0.10.1-canary.6f89f77 → 0.10.1-canary.7609565

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.
@@ -26,9 +26,13 @@ export interface PostgresDriverConfig {
26
26
  */
27
27
  introspectionSchema?: string;
28
28
  /**
29
- * Realtime options. Currently only channel retention, which is opt-in:
30
- * without rules here no channel keeps any history and broadcast stays
31
- * fire-and-forget. See {@link ChannelRetentionRule}.
29
+ * Realtime options, both opt-in:
30
+ *
31
+ * - `channels` — retention. Without rules no channel keeps any history and
32
+ * broadcast stays fire-and-forget. See {@link ChannelRetentionRule}.
33
+ * - `bus` — the cross-instance transport for channel broadcast and
34
+ * presence. Defaults to in-process only, which is correct for a single
35
+ * instance and wrong for two. See {@link ChannelBusConfig}.
32
36
  */
33
37
  realtime?: RealtimeChannelsConfig;
34
38
  }
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from "./schema/generate-drizzle-schema-logic";
7
7
  export * from "./schema/generate-drizzle-schema";
8
8
  export * from "./utils/drizzle-conditions";
9
9
  export * from "./services/realtimeService";
10
+ export * from "./services/channel-bus";
10
11
  export * from "./websocket";
11
12
  export * from "./collections/PostgresCollectionRegistry";
12
13
  export * from "./services/BranchService";