npm package diff
Package: @forge/bridge
Versions: 5.3.0-next.1 - 5.3.0-next.0-experimental-b4d61da
File: package/out/realtime/realtime.js
Index: package/out/realtime/realtime.js
===================================================================
--- package/out/realtime/realtime.js
+++ package/out/realtime/realtime.js
@@ -8,16 +8,8 @@
};
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,
- publishGlobal,
- subscribeGlobal
+ subscribe
};