@genesislcap/foundation-comms 14.306.2-alpha-d90fa7e.0 → 14.307.1
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/dist/dts/auth/auth.d.ts +2 -19
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/connect/connect.d.ts +2 -14
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +0 -1
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/socket.d.ts +11 -6
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/metadata/metadata.types.d.ts +0 -1
- package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts +0 -1
- package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
- package/dist/dts/testing/mocks/connect/socket.d.ts +2 -5
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +5 -91
- package/dist/esm/connect/connect.js +4 -24
- package/dist/esm/connect/socket.js +86 -15
- package/dist/esm/testing/mocks/connect/connect.js +1 -2
- package/dist/esm/testing/mocks/connect/socket.js +1 -8
- package/dist/foundation-comms.api.json +2 -257
- package/dist/foundation-comms.d.ts +23 -52
- package/docs/api/foundation-comms.connect.md +0 -21
- package/docs/api/foundation-comms.defaultauth._constructor_.md +1 -15
- package/docs/api/foundation-comms.defaultauth.md +1 -20
- package/docs/api/foundation-comms.defaultconnect._constructor_.md +1 -15
- package/docs/api/foundation-comms.defaultconnect.md +1 -41
- package/docs/api/foundation-comms.defaultsocket.md +0 -12
- package/docs/api/foundation-comms.messagedetails.loggedinsysteminfo.md +0 -1
- package/docs/api/foundation-comms.rawdataserverresult.md +0 -1
- package/docs/api/foundation-comms.socket.md +0 -11
- package/docs/api-report.md.api.md +13 -32
- package/package.json +13 -13
- package/docs/api/foundation-comms.connect.sessionexpired_.md +0 -13
- package/docs/api/foundation-comms.defaultauth.reauth_action_lock_key.md +0 -11
- package/docs/api/foundation-comms.defaultconnect.sessionexpired_.md +0 -13
- package/docs/api/foundation-comms.defaultconnect.user.md +0 -11
- package/docs/api/foundation-comms.defaultsocket.updatesessionandsubscriptions.md +0 -50
- package/docs/api/foundation-comms.socket.updatesessionandsubscriptions.md +0 -52
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Connect](./foundation-comms.connect.md) > [sessionExpired$](./foundation-comms.connect.sessionexpired_.md)
|
|
4
|
-
|
|
5
|
-
## Connect.sessionExpired$ property
|
|
6
|
-
|
|
7
|
-
Emits true when the session is detected as expired (e.g., IS\_AUTHENTICATED is false in heartbeat pong). Consumers can subscribe to this to react to session expiration events.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
readonly sessionExpired$?: Subject<boolean>;
|
|
13
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultAuth](./foundation-comms.defaultauth.md) > [REAUTH\_ACTION\_LOCK\_KEY](./foundation-comms.defaultauth.reauth_action_lock_key.md)
|
|
4
|
-
|
|
5
|
-
## DefaultAuth.REAUTH\_ACTION\_LOCK\_KEY property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
static REAUTH_ACTION_LOCK_KEY: string;
|
|
11
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnect](./foundation-comms.defaultconnect.md) > [sessionExpired$](./foundation-comms.defaultconnect.sessionexpired_.md)
|
|
4
|
-
|
|
5
|
-
## DefaultConnect.sessionExpired$ property
|
|
6
|
-
|
|
7
|
-
Emits true when the session is detected as expired (e.g., IS\_AUTHENTICATED is false in heartbeat pong). Consumers can subscribe to this to react to session expiration events.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
readonly sessionExpired$: BehaviorSubject<boolean>;
|
|
13
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultConnect](./foundation-comms.defaultconnect.md) > [user](./foundation-comms.defaultconnect.user.md)
|
|
4
|
-
|
|
5
|
-
## DefaultConnect.user property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
protected user: User;
|
|
11
|
-
```
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultSocket](./foundation-comms.defaultsocket.md) > [updateSessionAndSubscriptions](./foundation-comms.defaultsocket.updatesessionandsubscriptions.md)
|
|
4
|
-
|
|
5
|
-
## DefaultSocket.updateSessionAndSubscriptions() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
updateSessionAndSubscriptions(refreshTokenResult: string): void;
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
<table><thead><tr><th>
|
|
16
|
-
|
|
17
|
-
Parameter
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
</th><th>
|
|
21
|
-
|
|
22
|
-
Type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</th><th>
|
|
26
|
-
|
|
27
|
-
Description
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</th></tr></thead>
|
|
31
|
-
<tbody><tr><td>
|
|
32
|
-
|
|
33
|
-
refreshTokenResult
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</td><td>
|
|
37
|
-
|
|
38
|
-
string
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td><td>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td></tr>
|
|
45
|
-
</tbody></table>
|
|
46
|
-
|
|
47
|
-
**Returns:**
|
|
48
|
-
|
|
49
|
-
void
|
|
50
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [Socket](./foundation-comms.socket.md) > [updateSessionAndSubscriptions](./foundation-comms.socket.updatesessionandsubscriptions.md)
|
|
4
|
-
|
|
5
|
-
## Socket.updateSessionAndSubscriptions() method
|
|
6
|
-
|
|
7
|
-
Updates the session and subscriptions with the new session token.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
updateSessionAndSubscriptions(refreshToken: string): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
refreshToken
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
</tbody></table>
|
|
48
|
-
|
|
49
|
-
**Returns:**
|
|
50
|
-
|
|
51
|
-
void
|
|
52
|
-
|