npm package diff

Package: @forge/bridge

Versions: 5.3.0-next.0-experimental-b695d2e - 5.3.0-next.2

File: package/out/realtime/realtime.js

Index: package/out/realtime/realtime.js
===================================================================
--- package/out/realtime/realtime.js
+++ package/out/realtime/realtime.js
@@ -8,8 +8,16 @@
 };
 const subscribe = (channel, callback, options) => {
     return callBridge('subscribeRealtimeChannel', { channelName: channel, onEvent: callback, options });
 };
+const publishGlobal = (channel, payload) => {
+    return callBridge('publishRealtimeChannel', { channelName: channel, eventPayload: payload, isGlobal: true });
+};
+const subscribeGlobal = (channel, callback, options) => {
+    return callBridge('subscribeRealtimeChannel', { channelName: channel, onEvent: callback, options, isGlobal: true });
+};
 exports.__realtime = {
     publish,
-    subscribe
+    subscribe,
+    publishGlobal,
+    subscribeGlobal
 };