npm package diff
Package: @forge/bridge
Versions: 5.3.0-next.1 - 5.3.0-next.0-experimental-b4d61da
Modified: 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
};
Modified: package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/bridge",
- "version": "5.3.0-next.1",
+ "version": "5.3.0-next.0-experimental-b4d61da",
"description": "Forge bridge API for custom UI apps",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "out/index.js",
Modified: package/out/realtime/realtime.d.ts.map
Index: package/out/realtime/realtime.d.ts.map
===================================================================
--- package/out/realtime/realtime.d.ts.map
+++ package/out/realtime/realtime.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../../src/realtime/realtime.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAwBD,eAAO,MAAM,UAAU;uBApBG,MAAM,WAAW,GAAG,KAAG,QAAQ,IAAI,CAAC;yBAIlC,MAAM,uBAAuB,GAAG,KAAK,GAAG,YAAY,mBAAmB,KAAG,QAAQ,IAAI,CAAC;6BAInF,MAAM,WAAW,GAAG,KAAG,QAAQ,IAAI,CAAC;+BAKzD,MAAM,uBACM,GAAG,KAAK,GAAG,YACtB,mBAAmB,KAC5B,QAAQ,IAAI,CAAC;CASf,CAAC"}
\ No newline at end of file
+{"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../../src/realtime/realtime.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAYD,eAAO,MAAM,UAAU;uBARG,MAAM,WAAW,GAAG,KAAG,QAAQ,IAAI,CAAC;yBAIlC,MAAM,uBAAuB,GAAG,KAAK,GAAG,YAAY,mBAAmB,KAAG,QAAQ,IAAI,CAAC;CAOlH,CAAC"}
\ No newline at end of file
Modified: package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,11 +1,11 @@
# @forge/bridge
-## 5.3.0-next.1
+## 5.3.0-next.0-experimental-b4d61da
-### Patch Changes
+### Minor Changes
-- 8dfe9b9: Adds new subscribeGlobal and publishGlobal realtime bridge methods
+- 331ccdf: Add message replay option to Realtime subscriptions
## 5.3.0-next.0
### Minor Changes
Modified: 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
@@ -3,8 +3,6 @@
}
export declare const __realtime: {
publish: (channel: string, payload: any) => Promise<void>;
subscribe: (channel: string, callback: (payload?: any) => any, options?: SubscriptionOptions) => Promise<void>;
- publishGlobal: (channel: string, payload: any) => Promise<void>;
- subscribeGlobal: (channel: string, callback: (payload?: any) => any, options?: SubscriptionOptions) => Promise<void>;
};
//# sourceMappingURL=realtime.d.ts.map
\ No newline at end of file