npm package diff
Package: @forge/bridge
Versions: 5.2.0 - 5.3.0-next.0
File: package/out/realtime/realtime.d.ts
Index: package/out/realtime/realtime.d.ts
===================================================================
--- package/out/realtime/realtime.d.ts
+++ package/out/realtime/realtime.d.ts
@@ -1,5 +1,8 @@
+export interface SubscriptionOptions {
+ replay?: number;
+}
export declare const __realtime: {
publish: (channel: string, payload: any) => Promise<void>;
- subscribe: (channel: string, callback: (payload?: any) => any) => Promise<void>;
+ subscribe: (channel: string, callback: (payload?: any) => any, options?: SubscriptionOptions) => Promise<void>;
};
//# sourceMappingURL=realtime.d.ts.map
\ No newline at end of file