@forge/realtime 0.3.0-next.1-experimental-4cf7fd3 → 0.3.0-next.2-experimental-994fcd3
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.
- package/CHANGELOG.md +11 -1
- package/out/publish.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# @forge/realtime
|
|
2
2
|
|
|
3
|
-
## 0.3.0-next.
|
|
3
|
+
## 0.3.0-next.2-experimental-994fcd3
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 1d129f0: Allow objects in event payloads. The object must be JSON-serializable.
|
|
8
8
|
- b607fd6: Remove blocker for production apps
|
|
9
9
|
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 80ed8eb: Support object payloads in published events
|
|
13
|
+
|
|
14
|
+
## 0.3.0-next.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 80ed8eb: Support object payloads in published events
|
|
19
|
+
|
|
10
20
|
## 0.3.0-next.1
|
|
11
21
|
|
|
12
22
|
### Minor Changes
|
package/out/publish.js
CHANGED
|
@@ -46,7 +46,7 @@ const publish = async (channelName, eventPayload, options) => {
|
|
|
46
46
|
installationId: appContext.installationId,
|
|
47
47
|
name: channelName,
|
|
48
48
|
context: channelContext,
|
|
49
|
-
payload: eventPayload,
|
|
49
|
+
payload: JSON.stringify(eventPayload),
|
|
50
50
|
isGlobal: false,
|
|
51
51
|
token: token
|
|
52
52
|
}
|
|
@@ -96,7 +96,7 @@ const publishGlobal = async (channelName, eventPayload, options) => {
|
|
|
96
96
|
variables: {
|
|
97
97
|
installationId: appContext.installationId,
|
|
98
98
|
name: channelName,
|
|
99
|
-
payload: eventPayload,
|
|
99
|
+
payload: JSON.stringify(eventPayload),
|
|
100
100
|
isGlobal: true,
|
|
101
101
|
token: options?.token
|
|
102
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/realtime",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.2-experimental-994fcd3",
|
|
4
4
|
"description": "Forge realtime",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"types": "out/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@atlassian/metrics-interface": "4.0.0",
|
|
17
|
-
"@forge/api": "6.
|
|
17
|
+
"@forge/api": "6.2.0-next.1-experimental-994fcd3",
|
|
18
18
|
"@types/node": "20.19.1"
|
|
19
19
|
},
|
|
20
20
|
"publishConfig": {
|