@xh/hoist 73.0.0-SNAPSHOT.1742503059030 → 73.0.0-SNAPSHOT.1742937460874
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 +2 -0
- package/admin/tabs/cluster/instances/websocket/WebSocketColumns.ts +9 -0
- package/admin/tabs/cluster/instances/websocket/WebSocketModel.ts +2 -1
- package/build/types/admin/tabs/cluster/instances/websocket/WebSocketColumns.d.ts +1 -0
- package/package.json +1 -1
- package/svc/WebSocketService.ts +1 -2
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -72,3 +72,12 @@ export const lastReceivedTime: ColumnSpec = {
|
|
|
72
72
|
...Col.compactDate,
|
|
73
73
|
width: 140
|
|
74
74
|
};
|
|
75
|
+
|
|
76
|
+
export const clientAppVersion: ColumnSpec = {
|
|
77
|
+
field: {
|
|
78
|
+
name: 'clientAppVersion',
|
|
79
|
+
type: 'string',
|
|
80
|
+
displayName: 'Client Version'
|
|
81
|
+
},
|
|
82
|
+
width: 120
|
|
83
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "73.0.0-SNAPSHOT.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1742937460874",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|
package/svc/WebSocketService.ts
CHANGED
|
@@ -282,8 +282,7 @@ export class WebSocketService extends HoistService {
|
|
|
282
282
|
|
|
283
283
|
buildWebSocketUrl() {
|
|
284
284
|
const protocol = window.location.protocol == 'https:' ? 'wss:' : 'ws:',
|
|
285
|
-
endpoint = 'xhWebSocket';
|
|
286
|
-
|
|
285
|
+
endpoint = 'xhWebSocket?clientAppVersion=' + XH.appVersion;
|
|
287
286
|
return XH.isDevelopmentMode
|
|
288
287
|
? `${protocol}//${XH.baseUrl.split('//')[1]}${endpoint}`
|
|
289
288
|
: `${protocol}//${window.location.host}${XH.baseUrl}${endpoint}`;
|