@genesislcap/foundation-comms 14.218.2 → 14.219.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/connect/http.connect.d.ts +3 -0
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/networkMonitor/service.d.ts.map +1 -1
- package/dist/esm/connect/http.connect.js +4 -1
- package/dist/esm/connect/socket.js +0 -3
- package/dist/esm/networkMonitor/service.js +0 -6
- package/dist/foundation-comms.api.json +1 -1
- package/dist/foundation-comms.d.ts +3 -0
- package/docs/api/foundation-comms.defaulthttpconnect.setvalidsession.md +5 -0
- package/docs/api-report.md +1 -1
- package/package.json +13 -13
@@ -42,6 +42,9 @@ export declare class DefaultHttpConnect implements Connect {
|
|
42
42
|
private checkHost;
|
43
43
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
44
44
|
httpMode(): boolean;
|
45
|
+
/**
|
46
|
+
* @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
|
47
|
+
*/
|
45
48
|
setValidSession(valid: boolean): void;
|
46
49
|
connect(host: string): Promise<boolean>;
|
47
50
|
disconnect(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http.connect.d.ts","sourceRoot":"","sources":["../../../src/connect/http.connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EACL,eAAe,EAKf,UAAU,EAIX,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,s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G,OAAO;IAgCxE;;OAEG;IACH,SAAS,CAAC,qBAAqB,CAAC,YAAY,EAAE,MAAM;IAIpD;;OAEG;IACH,SAAS,CAAC,eAAe;IAIzB;;OAEG;IACH,SAAS,CAAC,gBAAgB;IAK1B;;OAEG;IACH,SAAS,CAAC,wBAAwB;CAOnC;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,sEAE1B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAElD"}
|
@@ -75,8 +75,11 @@ let DefaultHttpConnect = class DefaultHttpConnect {
|
|
75
75
|
httpMode() {
|
76
76
|
return true;
|
77
77
|
}
|
78
|
+
/**
|
79
|
+
* @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
|
80
|
+
*/
|
78
81
|
setValidSession(valid) {
|
79
|
-
logger.
|
82
|
+
logger.deprecated('setValidSession', 'Please refrain from calling this API as this state is managed internally.', '15.0.0');
|
80
83
|
}
|
81
84
|
connect(host) {
|
82
85
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -303,9 +303,6 @@ let DefaultSocket = class DefaultSocket {
|
|
303
303
|
}
|
304
304
|
this.heartbeatIsEnabled =
|
305
305
|
pong.MESSAGE_TYPE === MessageType.HEARTBEAT_PONG && pong.SOURCE_REF === ping.SOURCE_REF;
|
306
|
-
if (pong.IS_AUTHENTICATED !== undefined) {
|
307
|
-
this.hasValidSession = pong.IS_AUTHENTICATED;
|
308
|
-
}
|
309
306
|
});
|
310
307
|
if ((_b = (_a = this.connectOptions) === null || _a === void 0 ? void 0 : _a.enableHeartbeat) !== null && _b !== void 0 ? _b : this.heartbeatIsEnabled) {
|
311
308
|
const intervalInMillisecocnds = (_d = (_c = this.connectOptions) === null || _c === void 0 ? void 0 : _c.heartbeatInterval) !== null && _d !== void 0 ? _d : this.heartbeatInterval;
|
@@ -396,12 +396,6 @@ export class DefaultNetworkMonitor {
|
|
396
396
|
normaliseSerializedSocketStatus(socketStatus, isOnline = true) {
|
397
397
|
const isConnected = isOnline ? socketStatus.isConnected : false;
|
398
398
|
const isDisconnected = !isConnected;
|
399
|
-
/**
|
400
|
-
* I think hasValidSession might be best left as is given there are transient network issues. If we toggle it to
|
401
|
-
* false, consumers may try to move the app to the login screen.
|
402
|
-
*
|
403
|
-
* const hasValidSession = isOnline ? socketStatus.hasValidSession : false;
|
404
|
-
*/
|
405
399
|
return Object.assign(Object.assign({}, socketStatus), { isConnected,
|
406
400
|
isDisconnected });
|
407
401
|
}
|
@@ -16981,7 +16981,7 @@
|
|
16981
16981
|
{
|
16982
16982
|
"kind": "Method",
|
16983
16983
|
"canonicalReference": "@genesislcap/foundation-comms!DefaultHttpConnect#setValidSession:member(1)",
|
16984
|
-
"docComment": "",
|
16984
|
+
"docComment": "/**\n * @deprecated\n *\n * - Please reference {@link @genesislcap/foundation-user#User} instead.',\n */\n",
|
16985
16985
|
"excerptTokens": [
|
16986
16986
|
{
|
16987
16987
|
"kind": "Content",
|
@@ -1953,6 +1953,9 @@ export declare class DefaultHttpConnect implements Connect {
|
|
1953
1953
|
private checkHost;
|
1954
1954
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
1955
1955
|
httpMode(): boolean;
|
1956
|
+
/**
|
1957
|
+
* @deprecated - Please reference {@link @genesislcap/foundation-user#User} instead.',
|
1958
|
+
*/
|
1956
1959
|
setValidSession(valid: boolean): void;
|
1957
1960
|
connect(host: string): Promise<boolean>;
|
1958
1961
|
disconnect(): void;
|
package/docs/api-report.md
CHANGED
@@ -1302,7 +1302,7 @@ export class DefaultHttpConnect implements Connect {
|
|
1302
1302
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
1303
1303
|
// (undocumented)
|
1304
1304
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
1305
|
-
// (undocumented)
|
1305
|
+
// @deprecated (undocumented)
|
1306
1306
|
setValidSession(valid: boolean): void;
|
1307
1307
|
// (undocumented)
|
1308
1308
|
snapshot(resourceName: string, params?: any): Promise<Message>;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-comms",
|
3
3
|
"description": "Genesis Foundation UI Comms",
|
4
|
-
"version": "14.
|
4
|
+
"version": "14.219.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -75,23 +75,23 @@
|
|
75
75
|
}
|
76
76
|
},
|
77
77
|
"devDependencies": {
|
78
|
-
"@genesislcap/foundation-testing": "14.
|
79
|
-
"@genesislcap/genx": "14.
|
80
|
-
"@genesislcap/rollup-builder": "14.
|
81
|
-
"@genesislcap/ts-builder": "14.
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
83
|
-
"@genesislcap/vite-builder": "14.
|
84
|
-
"@genesislcap/webpack-builder": "14.
|
78
|
+
"@genesislcap/foundation-testing": "14.219.0",
|
79
|
+
"@genesislcap/genx": "14.219.0",
|
80
|
+
"@genesislcap/rollup-builder": "14.219.0",
|
81
|
+
"@genesislcap/ts-builder": "14.219.0",
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.219.0",
|
83
|
+
"@genesislcap/vite-builder": "14.219.0",
|
84
|
+
"@genesislcap/webpack-builder": "14.219.0",
|
85
85
|
"@types/js-cookie": "^3.0.2",
|
86
86
|
"@types/json-schema": "^7.0.11",
|
87
87
|
"@types/webappsec-credential-management": "^0.6.2",
|
88
88
|
"rimraf": "^5.0.0"
|
89
89
|
},
|
90
90
|
"dependencies": {
|
91
|
-
"@genesislcap/foundation-broadcast-channel": "14.
|
92
|
-
"@genesislcap/foundation-logger": "14.
|
93
|
-
"@genesislcap/foundation-user": "14.
|
94
|
-
"@genesislcap/foundation-utils": "14.
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.219.0",
|
92
|
+
"@genesislcap/foundation-logger": "14.219.0",
|
93
|
+
"@genesislcap/foundation-user": "14.219.0",
|
94
|
+
"@genesislcap/foundation-utils": "14.219.0",
|
95
95
|
"@microsoft/fast-element": "^1.12.0",
|
96
96
|
"@microsoft/fast-foundation": "2.49.6",
|
97
97
|
"analytics": "^0.8.0",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
},
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "22ff8ee1ca290cd29752b37d38153634899d51b5"
|
115
115
|
}
|