@genesislcap/foundation-comms 14.176.1-alpha-ed9e3d4.0 → 14.177.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. package/dist/dts/auth/auth.d.ts +4 -4
  2. package/dist/dts/auth/auth.d.ts.map +1 -1
  3. package/dist/dts/auth/loginDTOMapper.d.ts +2 -0
  4. package/dist/dts/auth/loginDTOMapper.d.ts.map +1 -0
  5. package/dist/dts/connect/connect.d.ts +3 -0
  6. package/dist/dts/connect/connect.d.ts.map +1 -1
  7. package/dist/dts/connect/connect.events.d.ts +8 -3
  8. package/dist/dts/connect/connect.events.d.ts.map +1 -1
  9. package/dist/dts/connect/message.d.ts +42 -0
  10. package/dist/dts/connect/message.d.ts.map +1 -1
  11. package/dist/dts/connect/socket.d.ts +27 -4
  12. package/dist/dts/connect/socket.d.ts.map +1 -1
  13. package/dist/dts/connect/socket.status.d.ts +5 -1
  14. package/dist/dts/connect/socket.status.d.ts.map +1 -1
  15. package/dist/dts/networkMonitor/config.d.ts +13 -0
  16. package/dist/dts/networkMonitor/config.d.ts.map +1 -1
  17. package/dist/dts/networkMonitor/service.d.ts +11 -1
  18. package/dist/dts/networkMonitor/service.d.ts.map +1 -1
  19. package/dist/dts/storage/kv/kv.service.d.ts +19 -3
  20. package/dist/dts/storage/kv/kv.service.d.ts.map +1 -1
  21. package/dist/dts/testing/mocks/auth/auth.d.ts +2 -1
  22. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  23. package/dist/dts/user/user.d.ts +14 -43
  24. package/dist/dts/user/user.d.ts.map +1 -1
  25. package/dist/esm/auth/auth.js +19 -27
  26. package/dist/esm/auth/loginDTOMapper.js +49 -0
  27. package/dist/esm/connect/connect.events.js +5 -2
  28. package/dist/esm/connect/connect.js +6 -2
  29. package/dist/esm/connect/message.js +9 -0
  30. package/dist/esm/connect/socket.js +30 -22
  31. package/dist/esm/connect/socket.status.js +8 -4
  32. package/dist/esm/networkMonitor/config.js +2 -0
  33. package/dist/esm/networkMonitor/service.js +109 -29
  34. package/dist/esm/storage/kv/kv.service.js +26 -8
  35. package/dist/esm/user/user.js +11 -54
  36. package/dist/foundation-comms.api.json +559 -603
  37. package/dist/foundation-comms.d.ts +148 -55
  38. package/docs/api/foundation-comms.connecteventsemitter.md +1 -1
  39. package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +2 -1
  40. package/docs/api/foundation-comms.currentuser.md +8 -25
  41. package/docs/api/foundation-comms.defaultauth._constructor_.md +2 -1
  42. package/docs/api/foundation-comms.defaultauth.md +2 -2
  43. package/docs/api/foundation-comms.defaultconnect.setvalidsession.md +5 -0
  44. package/docs/api/foundation-comms.defaultconnectevents.md +1 -1
  45. package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +2 -1
  46. package/docs/api/foundation-comms.defaultmessagebuilder.createheartbeatpingmessage.md +22 -0
  47. package/docs/api/foundation-comms.defaultmessagebuilder.md +1 -0
  48. package/docs/api/foundation-comms.defaultnetworkmonitor._constructor_.md +13 -0
  49. package/docs/api/foundation-comms.defaultnetworkmonitor.md +6 -0
  50. package/docs/api/foundation-comms.defaultsocket._constructor_.md +3 -1
  51. package/docs/api/foundation-comms.defaultsocket.md +2 -1
  52. package/docs/api/foundation-comms.defaultsocket.user.md +13 -0
  53. package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +1 -1
  54. package/docs/api/foundation-comms.defaultsocketstatus.md +2 -1
  55. package/docs/api/foundation-comms.defaultsocketstatus.user.md +11 -0
  56. package/docs/api/foundation-comms.getkvstorage.md +30 -0
  57. package/docs/api/foundation-comms.md +4 -0
  58. package/docs/api/foundation-comms.messagebuilder.createheartbeatpingmessage.md +22 -0
  59. package/docs/api/foundation-comms.messagebuilder.md +1 -0
  60. package/docs/api/foundation-comms.networkmonitorconfig.ignoredgenesisresources.md +13 -0
  61. package/docs/api/foundation-comms.networkmonitorconfig.loglevel.md +13 -0
  62. package/docs/api/foundation-comms.networkmonitorconfig.md +3 -0
  63. package/docs/api/foundation-comms.networkmonitorconfig.startdelay.md +13 -0
  64. package/docs/api/foundation-comms.pingmessage.md +17 -0
  65. package/docs/api/foundation-comms.pongmessage.md +20 -0
  66. package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +5 -0
  67. package/docs/api/foundation-comms.socketconnectoptions.md +4 -1
  68. package/docs/api/foundation-comms.streamcompleteevent.md +2 -2
  69. package/docs/api/foundation-comms.streamcompleteeventdetail.md +14 -0
  70. package/docs/api/foundation-comms.user.md +7 -12
  71. package/docs/api-report.md +71 -54
  72. package/package.json +13 -11
  73. package/docs/api/foundation-comms.currentuser._constructor_.md +0 -20
  74. package/docs/api/foundation-comms.currentuser.hasadminprofile.md +0 -15
  75. package/docs/api/foundation-comms.currentuser.haspermission.md +0 -22
  76. package/docs/api/foundation-comms.currentuser.hasprofile.md +0 -22
  77. package/docs/api/foundation-comms.currentuser.permissions.md +0 -11
  78. package/docs/api/foundation-comms.currentuser.profiles.md +0 -11
  79. package/docs/api/foundation-comms.currentuser.set.md +0 -22
  80. package/docs/api/foundation-comms.currentuser.unset.md +0 -15
  81. package/docs/api/foundation-comms.currentuser.username.md +0 -11
  82. package/docs/api/foundation-comms.user.hasadminprofile.md +0 -15
  83. package/docs/api/foundation-comms.user.haspermission.md +0 -22
  84. package/docs/api/foundation-comms.user.hasprofile.md +0 -22
  85. package/docs/api/foundation-comms.user.set.md +0 -22
  86. package/docs/api/foundation-comms.user.unset.md +0 -15
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.176.1-alpha-ed9e3d4.0",
4
+ "version": "14.177.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -66,25 +66,27 @@
66
66
  "test:debug": "genx test --debug"
67
67
  },
68
68
  "devDependencies": {
69
- "@genesislcap/foundation-testing": "14.176.1-alpha-ed9e3d4.0",
70
- "@genesislcap/genx": "14.176.1-alpha-ed9e3d4.0",
71
- "@genesislcap/rollup-builder": "14.176.1-alpha-ed9e3d4.0",
72
- "@genesislcap/ts-builder": "14.176.1-alpha-ed9e3d4.0",
73
- "@genesislcap/uvu-playwright-builder": "14.176.1-alpha-ed9e3d4.0",
74
- "@genesislcap/vite-builder": "14.176.1-alpha-ed9e3d4.0",
75
- "@genesislcap/webpack-builder": "14.176.1-alpha-ed9e3d4.0",
69
+ "@genesislcap/foundation-testing": "14.177.0",
70
+ "@genesislcap/genx": "14.177.0",
71
+ "@genesislcap/rollup-builder": "14.177.0",
72
+ "@genesislcap/ts-builder": "14.177.0",
73
+ "@genesislcap/uvu-playwright-builder": "14.177.0",
74
+ "@genesislcap/vite-builder": "14.177.0",
75
+ "@genesislcap/webpack-builder": "14.177.0",
76
76
  "@types/js-cookie": "^3.0.2",
77
77
  "@types/json-schema": "^7.0.11",
78
78
  "@types/webappsec-credential-management": "^0.6.2",
79
79
  "rimraf": "^3.0.2"
80
80
  },
81
81
  "dependencies": {
82
- "@genesislcap/foundation-logger": "14.176.1-alpha-ed9e3d4.0",
83
- "@genesislcap/foundation-utils": "14.176.1-alpha-ed9e3d4.0",
82
+ "@genesislcap/foundation-logger": "14.177.0",
83
+ "@genesislcap/foundation-user": "14.177.0",
84
+ "@genesislcap/foundation-utils": "14.177.0",
84
85
  "@microsoft/fast-element": "^1.12.0",
85
86
  "@microsoft/fast-foundation": "^2.49.4",
86
87
  "analytics": "^0.8.0",
87
88
  "bowser": "^2.11.0",
89
+ "fast-safe-stringify": "^2.1.1",
88
90
  "http-status-codes": "^2.2.0",
89
91
  "js-cookie": "^3.0.1",
90
92
  "json-schema": "^0.4.0",
@@ -99,5 +101,5 @@
99
101
  "publishConfig": {
100
102
  "access": "public"
101
103
  },
102
- "gitHead": "6445272a68d360b0f5bb97adc641df806470957e"
104
+ "gitHead": "b3c0ce3e0fa58bae562c2c9bec96beee6a4a2ed4"
103
105
  }
@@ -1,20 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [(constructor)](./foundation-comms.currentuser._constructor_.md)
4
-
5
- ## CurrentUser.(constructor)
6
-
7
- Constructs a new instance of the `CurrentUser` class
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor(options: UserOptions);
13
- ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | options | UserOptions | |
20
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [hasAdminProfile](./foundation-comms.currentuser.hasadminprofile.md)
4
-
5
- ## CurrentUser.hasAdminProfile() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasAdminProfile(): boolean;
11
- ```
12
- **Returns:**
13
-
14
- boolean
15
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [hasPermission](./foundation-comms.currentuser.haspermission.md)
4
-
5
- ## CurrentUser.hasPermission() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasPermission(permission: string | string[]): boolean;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | permission | string \| string\[\] | |
18
-
19
- **Returns:**
20
-
21
- boolean
22
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [hasProfile](./foundation-comms.currentuser.hasprofile.md)
4
-
5
- ## CurrentUser.hasProfile() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasProfile(profile: string | string[]): boolean;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | profile | string \| string\[\] | |
18
-
19
- **Returns:**
20
-
21
- boolean
22
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [permissions](./foundation-comms.currentuser.permissions.md)
4
-
5
- ## CurrentUser.permissions property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- permissions: UserPermission[];
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [profiles](./foundation-comms.currentuser.profiles.md)
4
-
5
- ## CurrentUser.profiles property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- profiles: UserProfile[];
11
- ```
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [set](./foundation-comms.currentuser.set.md)
4
-
5
- ## CurrentUser.set() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- set(options: UserOptions): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | options | UserOptions | |
18
-
19
- **Returns:**
20
-
21
- void
22
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [unset](./foundation-comms.currentuser.unset.md)
4
-
5
- ## CurrentUser.unset() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- unset(): void;
11
- ```
12
- **Returns:**
13
-
14
- void
15
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [CurrentUser](./foundation-comms.currentuser.md) &gt; [username](./foundation-comms.currentuser.username.md)
4
-
5
- ## CurrentUser.username property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- username: string;
11
- ```
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [User](./foundation-comms.user.md) &gt; [hasAdminProfile](./foundation-comms.user.hasadminprofile.md)
4
-
5
- ## User.hasAdminProfile() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasAdminProfile(): boolean;
11
- ```
12
- **Returns:**
13
-
14
- boolean
15
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [User](./foundation-comms.user.md) &gt; [hasPermission](./foundation-comms.user.haspermission.md)
4
-
5
- ## User.hasPermission() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasPermission(permission: UserPermission | UserPermission[]): boolean;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | permission | UserPermission \| UserPermission\[\] | |
18
-
19
- **Returns:**
20
-
21
- boolean
22
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [User](./foundation-comms.user.md) &gt; [hasProfile](./foundation-comms.user.hasprofile.md)
4
-
5
- ## User.hasProfile() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- hasProfile(profile: UserProfile | UserProfile[]): boolean;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | profile | UserProfile \| UserProfile\[\] | |
18
-
19
- **Returns:**
20
-
21
- boolean
22
-
@@ -1,22 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [User](./foundation-comms.user.md) &gt; [set](./foundation-comms.user.set.md)
4
-
5
- ## User.set() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- set(options: UserOptions): void;
11
- ```
12
-
13
- ## Parameters
14
-
15
- | Parameter | Type | Description |
16
- | --- | --- | --- |
17
- | options | UserOptions | |
18
-
19
- **Returns:**
20
-
21
- void
22
-
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [User](./foundation-comms.user.md) &gt; [unset](./foundation-comms.user.unset.md)
4
-
5
- ## User.unset() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- unset(): void;
11
- ```
12
- **Returns:**
13
-
14
- void
15
-