@genesislcap/foundation-comms 14.167.3-alpha-b40d1e5.0 → 14.167.3-alpha-69ba23f.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/dist/dts/auth/auth.d.ts.map +1 -1
  2. package/dist/dts/connect/connect.d.ts +1 -11
  3. package/dist/dts/connect/connect.d.ts.map +1 -1
  4. package/dist/dts/connect/http.connect.d.ts +0 -1
  5. package/dist/dts/connect/http.connect.d.ts.map +1 -1
  6. package/dist/dts/connect/index.d.ts +0 -2
  7. package/dist/dts/connect/index.d.ts.map +1 -1
  8. package/dist/dts/connect/message.d.ts +0 -51
  9. package/dist/dts/connect/message.d.ts.map +1 -1
  10. package/dist/dts/connect/socket.d.ts +8 -72
  11. package/dist/dts/connect/socket.d.ts.map +1 -1
  12. package/dist/dts/datasource/datasource.d.ts +0 -9
  13. package/dist/dts/datasource/datasource.d.ts.map +1 -1
  14. package/dist/dts/fdc3/fdc3.d.ts +1 -17
  15. package/dist/dts/fdc3/fdc3.d.ts.map +1 -1
  16. package/dist/dts/index.d.ts +0 -1
  17. package/dist/dts/index.d.ts.map +1 -1
  18. package/dist/dts/testing/mocks/connect/connect.d.ts +0 -1
  19. package/dist/dts/testing/mocks/connect/connect.d.ts.map +1 -1
  20. package/dist/dts/testing/mocks/connect/socket.d.ts +1 -5
  21. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  22. package/dist/dts/testing/mocks/datasource/datasource.d.ts +0 -1
  23. package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
  24. package/dist/dts/user/user.d.ts +0 -15
  25. package/dist/dts/user/user.d.ts.map +1 -1
  26. package/dist/esm/auth/auth.js +2 -5
  27. package/dist/esm/connect/connect.js +8 -30
  28. package/dist/esm/connect/http.connect.js +0 -6
  29. package/dist/esm/connect/index.js +0 -2
  30. package/dist/esm/connect/message.js +4 -25
  31. package/dist/esm/connect/socket.js +44 -113
  32. package/dist/esm/datasource/datasource.js +8 -18
  33. package/dist/esm/fdc3/fdc3.js +4 -4
  34. package/dist/esm/index.js +0 -1
  35. package/dist/esm/testing/mocks/connect/connect.js +0 -3
  36. package/dist/esm/testing/mocks/connect/socket.js +1 -1
  37. package/dist/esm/testing/mocks/datasource/datasource.js +0 -1
  38. package/dist/esm/user/user.js +1 -22
  39. package/dist/foundation-comms.api.json +6567 -13112
  40. package/dist/foundation-comms.d.ts +13 -841
  41. package/docs/api/foundation-comms.connect.md +0 -1
  42. package/docs/api/foundation-comms.currentuser.md +0 -2
  43. package/docs/api/foundation-comms.datasource.md +0 -1
  44. package/docs/api/foundation-comms.defaultconnect._constructor_.md +1 -2
  45. package/docs/api/foundation-comms.defaultconnect.md +1 -2
  46. package/docs/api/foundation-comms.defaultdatasource.md +0 -1
  47. package/docs/api/foundation-comms.defaulthttpconnect.md +0 -1
  48. package/docs/api/foundation-comms.md +0 -39
  49. package/docs/api/foundation-comms.messagebuilder.md +0 -1
  50. package/docs/api/foundation-comms.messagetype.md +0 -2
  51. package/docs/api/foundation-comms.socket.hasvalidsession.md +11 -0
  52. package/docs/api/foundation-comms.socket.isconnected.md +11 -0
  53. package/docs/api/{foundation-comms.socketstatus.isconnectedsubject.md → foundation-comms.socket.isconnectedsubject.md} +2 -2
  54. package/docs/api/foundation-comms.socket.isreconnecting.md +11 -0
  55. package/docs/api/foundation-comms.socket.md +11 -3
  56. package/docs/api/foundation-comms.socket.sendforstream.md +1 -2
  57. package/docs/api/foundation-comms.user.md +0 -2
  58. package/docs/api-report.md +16 -520
  59. package/package.json +11 -13
  60. package/dist/dts/connect/connect.events.d.ts +0 -173
  61. package/dist/dts/connect/connect.events.d.ts.map +0 -1
  62. package/dist/dts/connect/socket.status.d.ts +0 -79
  63. package/dist/dts/connect/socket.status.d.ts.map +0 -1
  64. package/dist/dts/networkMonitor/config.d.ts +0 -56
  65. package/dist/dts/networkMonitor/config.d.ts.map +0 -1
  66. package/dist/dts/networkMonitor/index.d.ts +0 -4
  67. package/dist/dts/networkMonitor/index.d.ts.map +0 -1
  68. package/dist/dts/networkMonitor/service.d.ts +0 -193
  69. package/dist/dts/networkMonitor/service.d.ts.map +0 -1
  70. package/dist/dts/networkMonitor/types.d.ts +0 -133
  71. package/dist/dts/networkMonitor/types.d.ts.map +0 -1
  72. package/dist/esm/connect/connect.events.js +0 -113
  73. package/dist/esm/connect/socket.status.js +0 -119
  74. package/dist/esm/networkMonitor/config.js +0 -46
  75. package/dist/esm/networkMonitor/index.js +0 -3
  76. package/dist/esm/networkMonitor/service.js +0 -432
  77. package/dist/esm/networkMonitor/types.js +0 -5
  78. package/docs/api/foundation-comms.commitevent.md +0 -14
  79. package/docs/api/foundation-comms.commiteventdetail.md +0 -17
  80. package/docs/api/foundation-comms.commiteventtype.md +0 -12
  81. package/docs/api/foundation-comms.connect.getmorecolumns.md +0 -26
  82. package/docs/api/foundation-comms.connectevents.addcommitlistener.md +0 -24
  83. package/docs/api/foundation-comms.connectevents.addmetadatalistener.md +0 -24
  84. package/docs/api/foundation-comms.connectevents.addstreamlistener.md +0 -25
  85. package/docs/api/foundation-comms.connectevents.md +0 -22
  86. package/docs/api/foundation-comms.connecteventsemitter.md +0 -24
  87. package/docs/api/foundation-comms.connecteventsemitter.oncommitevent.md +0 -25
  88. package/docs/api/foundation-comms.connecteventsemitter.onmetadataevent.md +0 -26
  89. package/docs/api/foundation-comms.connecteventsemitter.onstreamcompleteevent.md +0 -24
  90. package/docs/api/foundation-comms.connecteventsemitter.onstreamevent.md +0 -27
  91. package/docs/api/foundation-comms.currentuser.set.md +0 -22
  92. package/docs/api/foundation-comms.currentuser.unset.md +0 -15
  93. package/docs/api/foundation-comms.datasource.destroy.md +0 -17
  94. package/docs/api/foundation-comms.defaultconnect.getmorecolumns.md +0 -22
  95. package/docs/api/foundation-comms.defaultconnectevents.addcommitlistener.md +0 -24
  96. package/docs/api/foundation-comms.defaultconnectevents.addmetadatalistener.md +0 -24
  97. package/docs/api/foundation-comms.defaultconnectevents.addstreamlistener.md +0 -25
  98. package/docs/api/foundation-comms.defaultconnectevents.md +0 -27
  99. package/docs/api/foundation-comms.defaultconnectevents.oncommitevent.md +0 -25
  100. package/docs/api/foundation-comms.defaultconnectevents.onmetadataevent.md +0 -26
  101. package/docs/api/foundation-comms.defaultconnectevents.onstreamcompleteevent.md +0 -24
  102. package/docs/api/foundation-comms.defaultconnectevents.onstreamevent.md +0 -27
  103. package/docs/api/foundation-comms.defaultdatasource.destroy.md +0 -17
  104. package/docs/api/foundation-comms.defaulthttpconnect.getmorecolumns.md +0 -22
  105. package/docs/api/foundation-comms.defaultmessagebuilder._constructor_.md +0 -21
  106. package/docs/api/foundation-comms.defaultmessagebuilder.createchangepasswordmessage.md +0 -24
  107. package/docs/api/foundation-comms.defaultmessagebuilder.createcommitmessage.md +0 -23
  108. package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogoffmessage.md +0 -22
  109. package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +0 -23
  110. package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordmessage.md +0 -24
  111. package/docs/api/foundation-comms.defaultmessagebuilder.createforgotpasswordtokenmessage.md +0 -25
  112. package/docs/api/foundation-comms.defaultmessagebuilder.createhttpheadersfrommessage.md +0 -23
  113. package/docs/api/foundation-comms.defaultmessagebuilder.createloginmessage.md +0 -22
  114. package/docs/api/foundation-comms.defaultmessagebuilder.createlogoutmessage.md +0 -22
  115. package/docs/api/foundation-comms.defaultmessagebuilder.createmetarequestmessage.md +0 -23
  116. package/docs/api/foundation-comms.defaultmessagebuilder.createmorecolumnsmessage.md +0 -22
  117. package/docs/api/foundation-comms.defaultmessagebuilder.createmorerowsmessage.md +0 -22
  118. package/docs/api/foundation-comms.defaultmessagebuilder.createrefreshtokenmessage.md +0 -15
  119. package/docs/api/foundation-comms.defaultmessagebuilder.createrequestmessage.md +0 -23
  120. package/docs/api/foundation-comms.defaultmessagebuilder.createresourcesmessage.md +0 -22
  121. package/docs/api/foundation-comms.defaultmessagebuilder.md +0 -41
  122. package/docs/api/foundation-comms.defaultnetworkmonitor.addresource.md +0 -23
  123. package/docs/api/foundation-comms.defaultnetworkmonitor.create.md +0 -16
  124. package/docs/api/foundation-comms.defaultnetworkmonitor.destroy.md +0 -16
  125. package/docs/api/foundation-comms.defaultnetworkmonitor.md +0 -31
  126. package/docs/api/foundation-comms.defaultnetworkmonitor.removeresource.md +0 -22
  127. package/docs/api/foundation-comms.defaultnetworkmonitor.runallchecks.md +0 -11
  128. package/docs/api/foundation-comms.defaultnetworkmonitor.status.md +0 -12
  129. package/docs/api/foundation-comms.defaultnetworkmonitorconfig.md +0 -13
  130. package/docs/api/foundation-comms.defaultsocket._constructor_.md +0 -24
  131. package/docs/api/foundation-comms.defaultsocket.connect.md +0 -24
  132. package/docs/api/foundation-comms.defaultsocket.hasvalidsession.md +0 -13
  133. package/docs/api/foundation-comms.defaultsocket.isconfigured.md +0 -11
  134. package/docs/api/foundation-comms.defaultsocket.isconnected.md +0 -11
  135. package/docs/api/foundation-comms.defaultsocket.isconnectedsubject.md +0 -11
  136. package/docs/api/foundation-comms.defaultsocket.isconnecting.md +0 -11
  137. package/docs/api/foundation-comms.defaultsocket.isdisconnected.md +0 -11
  138. package/docs/api/foundation-comms.defaultsocket.isdisconnectedbyserver.md +0 -11
  139. package/docs/api/foundation-comms.defaultsocket.isreconnecting.md +0 -11
  140. package/docs/api/foundation-comms.defaultsocket.md +0 -44
  141. package/docs/api/foundation-comms.defaultsocket.reset.md +0 -15
  142. package/docs/api/foundation-comms.defaultsocket.send.md +0 -23
  143. package/docs/api/foundation-comms.defaultsocket.sendforstream.md +0 -25
  144. package/docs/api/foundation-comms.defaultsocket.socketmessages.md +0 -11
  145. package/docs/api/foundation-comms.defaultsocketstatus.closedclean.md +0 -11
  146. package/docs/api/foundation-comms.defaultsocketstatus.closedcode.md +0 -11
  147. package/docs/api/foundation-comms.defaultsocketstatus.closedreason.md +0 -11
  148. package/docs/api/foundation-comms.defaultsocketstatus.hasvalidsession.md +0 -11
  149. package/docs/api/foundation-comms.defaultsocketstatus.isconfigured.md +0 -11
  150. package/docs/api/foundation-comms.defaultsocketstatus.isconnected.md +0 -11
  151. package/docs/api/foundation-comms.defaultsocketstatus.isconnectedchanged.md +0 -15
  152. package/docs/api/foundation-comms.defaultsocketstatus.isconnectedsubject.md +0 -11
  153. package/docs/api/foundation-comms.defaultsocketstatus.isconnecting.md +0 -11
  154. package/docs/api/foundation-comms.defaultsocketstatus.isdisconnected.md +0 -11
  155. package/docs/api/foundation-comms.defaultsocketstatus.isdisconnectedbyserver.md +0 -11
  156. package/docs/api/foundation-comms.defaultsocketstatus.isreconnecting.md +0 -11
  157. package/docs/api/foundation-comms.defaultsocketstatus.isreconnectingchanged.md +0 -15
  158. package/docs/api/foundation-comms.defaultsocketstatus.md +0 -42
  159. package/docs/api/foundation-comms.defaultsocketstatus.onclose.md +0 -22
  160. package/docs/api/foundation-comms.defaultsocketstatus.reconnectionlimitreached.md +0 -11
  161. package/docs/api/foundation-comms.defaultsocketstatus.resetclosedstate.md +0 -15
  162. package/docs/api/foundation-comms.defaultsocketstatus.serialize.md +0 -15
  163. package/docs/api/foundation-comms.genesisconnectevents.md +0 -18
  164. package/docs/api/foundation-comms.getnetworkmonitor.md +0 -30
  165. package/docs/api/foundation-comms.getsocket.md +0 -30
  166. package/docs/api/foundation-comms.getsocketstatus.md +0 -30
  167. package/docs/api/foundation-comms.messagebuilder.createmorecolumnsmessage.md +0 -30
  168. package/docs/api/foundation-comms.messagehaserrorcode.md +0 -13
  169. package/docs/api/foundation-comms.metadataevent.md +0 -14
  170. package/docs/api/foundation-comms.metadataeventdetail.md +0 -18
  171. package/docs/api/foundation-comms.metadataeventtype.md +0 -12
  172. package/docs/api/foundation-comms.monitoredresource.md +0 -15
  173. package/docs/api/foundation-comms.monitoredresourcechecks.md +0 -15
  174. package/docs/api/foundation-comms.monitoredresourcechecksresult.isconnected.md +0 -11
  175. package/docs/api/foundation-comms.monitoredresourcechecksresult.lastmessage.md +0 -11
  176. package/docs/api/foundation-comms.monitoredresourcechecksresult.lastupdated.md +0 -11
  177. package/docs/api/foundation-comms.monitoredresourcechecksresult.md +0 -23
  178. package/docs/api/foundation-comms.monitoredresourcechecksresult.timeout.md +0 -11
  179. package/docs/api/foundation-comms.monitoredresourcedatalogon.md +0 -15
  180. package/docs/api/foundation-comms.monitoredresourcemetadata.md +0 -15
  181. package/docs/api/foundation-comms.networklogger.md +0 -12
  182. package/docs/api/foundation-comms.networkmonitor.addresource.md +0 -23
  183. package/docs/api/foundation-comms.networkmonitor.create.md +0 -15
  184. package/docs/api/foundation-comms.networkmonitor.destroy.md +0 -15
  185. package/docs/api/foundation-comms.networkmonitor.md +0 -34
  186. package/docs/api/foundation-comms.networkmonitor.removeresource.md +0 -22
  187. package/docs/api/foundation-comms.networkmonitor.runallchecks.md +0 -23
  188. package/docs/api/foundation-comms.networkmonitor.status.md +0 -11
  189. package/docs/api/foundation-comms.networkmonitorconfig.checkinterval.md +0 -13
  190. package/docs/api/foundation-comms.networkmonitorconfig.checktimeout.md +0 -13
  191. package/docs/api/foundation-comms.networkmonitorconfig.documentevents.md +0 -13
  192. package/docs/api/foundation-comms.networkmonitorconfig.eventemitter.md +0 -13
  193. package/docs/api/foundation-comms.networkmonitorconfig.genesisconnectevents.md +0 -13
  194. package/docs/api/foundation-comms.networkmonitorconfig.md +0 -27
  195. package/docs/api/foundation-comms.networkmonitorconfig.resourcechecks.md +0 -13
  196. package/docs/api/foundation-comms.networkmonitorconfig.resourcedatalogon.md +0 -18
  197. package/docs/api/foundation-comms.networkmonitorconfig.windowevents.md +0 -13
  198. package/docs/api/foundation-comms.resourcehealth.md +0 -19
  199. package/docs/api/foundation-comms.serializedsocketstatus.closedclean.md +0 -11
  200. package/docs/api/foundation-comms.serializedsocketstatus.closedcode.md +0 -11
  201. package/docs/api/foundation-comms.serializedsocketstatus.closedreason.md +0 -11
  202. package/docs/api/foundation-comms.serializedsocketstatus.hasvalidsession.md +0 -11
  203. package/docs/api/foundation-comms.serializedsocketstatus.isconfigured.md +0 -13
  204. package/docs/api/foundation-comms.serializedsocketstatus.isconnected.md +0 -11
  205. package/docs/api/foundation-comms.serializedsocketstatus.isconnecting.md +0 -11
  206. package/docs/api/foundation-comms.serializedsocketstatus.isdisconnected.md +0 -11
  207. package/docs/api/foundation-comms.serializedsocketstatus.isdisconnectedbyserver.md +0 -11
  208. package/docs/api/foundation-comms.serializedsocketstatus.isreconnecting.md +0 -11
  209. package/docs/api/foundation-comms.serializedsocketstatus.md +0 -30
  210. package/docs/api/foundation-comms.serializedsocketstatus.reconnectionlimitreached.md +0 -11
  211. package/docs/api/foundation-comms.socketstatus.md +0 -28
  212. package/docs/api/foundation-comms.socketstatus.onclose.md +0 -22
  213. package/docs/api/foundation-comms.socketstatus.serialize.md +0 -15
  214. package/docs/api/foundation-comms.streamcompleteevent.md +0 -14
  215. package/docs/api/foundation-comms.streamcompleteeventtype.md +0 -12
  216. package/docs/api/foundation-comms.streamevent.md +0 -14
  217. package/docs/api/foundation-comms.streameventdetail.md +0 -19
  218. package/docs/api/foundation-comms.streameventfunctions.md +0 -19
  219. package/docs/api/foundation-comms.streameventtype.md +0 -12
  220. package/docs/api/foundation-comms.systemhealthchanged.md +0 -13
  221. package/docs/api/foundation-comms.systemhealthchangedevent.md +0 -15
  222. package/docs/api/foundation-comms.systemhealthstatus.md +0 -29
  223. package/docs/api/foundation-comms.user.set.md +0 -22
  224. package/docs/api/foundation-comms.user.unset.md +0 -15
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/auth/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAGL,cAAc,EAIf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YA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,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEhC;;;;;OAKG;IACH,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CACvC;AAED;;;GAGG;AACH,qBAAa,WAAY,YAAW,IAAI;IAsB3B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,OAAO;IACR,OAAO,CAAC,cAAc;IACnB,OAAO,CAAC,iBAAiB;IAxBlC,SAAS,UAAS;IAClB,WAAW,EAAE,IAAI,CAAC;IAElB,gBAAgB,EAAE,WAAW,CAAC;IAC1C,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,iBAAiB,CAA8B;IACvD,IAAI,WAAW,IAAI,UAAU,CAAC,OAAO,CAAC,CAErC;IAED,IACI,UAAU,IAAI,OAAO,CAIxB;gBAGkB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EACT,cAAc,EAAE,cAAc,EAC3B,iBAAiB,EAAE,iBAAiB;IAG3D,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IAuClD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAuD/B,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IAmB3C;;;OAGG;YACW,gBAAgB;IAW9B;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAmBhC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAoBxB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAI1B;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { BehaviorSubject, Observable } from 'rxjs';
2
2
  import type { Metadata, SchemaResponse } from '../metadata';
3
3
  import { MetaCache } from '../metadata';
4
- import { ConnectEventsEmitter } from './connect.events';
5
4
  import { ConnectConfig } from './connect.types';
6
5
  import { CommitParams, Message, MessageBuilder, RequestParams } from './message';
7
6
  import type { SocketObservable } from './socket';
@@ -97,13 +96,6 @@ export interface Connect {
97
96
  * @returns A promise that resolves with the additional rows of data.
98
97
  */
99
98
  getMoreRows(sourceRef: string): Promise<Message>;
100
- /**
101
- * Requests additional columns for the specified source reference.
102
- * @public
103
- * @param sourceRef - The source reference to request more columns for.
104
- * @returns A promise that resolves with the additional columns.
105
- */
106
- getMoreColumns(sourceRef: string): Promise<Message>;
107
99
  /**
108
100
  * Logs off from the specified data source.
109
101
  * @public
@@ -157,13 +149,12 @@ export declare class DefaultConnect implements Connect {
157
149
  socket: Socket;
158
150
  private messageBuilder;
159
151
  private metaCache;
160
- private events;
161
152
  private config;
162
153
  isWorking: boolean;
163
154
  get isConnected(): boolean;
164
155
  get isConnectedSubject(): BehaviorSubject<boolean>;
165
156
  get isConnected$(): Observable<boolean>;
166
- constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, events: ConnectEventsEmitter, config?: ConnectConfig);
157
+ constructor(socket: Socket, messageBuilder: MessageBuilder, metaCache: MetaCache, config?: ConnectConfig);
167
158
  httpMode(): boolean;
168
159
  setValidSession(valid: boolean): void;
169
160
  send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
@@ -172,7 +163,6 @@ export declare class DefaultConnect implements Connect {
172
163
  snapshot(resourceName: string, params?: any): Promise<Message>;
173
164
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
174
165
  getMoreRows(sourceRef: string): Promise<Message>;
175
- getMoreColumns(sourceRef: string): Promise<Message>;
176
166
  dataLogoff(streamSourceRef: string): Promise<Message>;
177
167
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
178
168
  getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MA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AAC;IAMhD,UAAU,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAMrD,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAc,GAAG,OAAO,CAAC,QAAQ,CAAC;IA+B9E,aAAa,CACxB,YAAY,EAAE,MAAM,EACpB,QAAQ,GAAE,OAAc,GACvB,OAAO,CAAC,cAAc,CAAC;IAiCnB,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IASvE,qBAAqB,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAM/C,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;CAKrF;AAID;;;GAGG;AACH,eAAO,MAAM,SAAS,+DAAkE,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,OAAO,+DAEnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
@@ -54,7 +54,6 @@ export declare class DefaultHttpConnect implements Connect {
54
54
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
55
55
  private getMessage;
56
56
  getMoreRows(sourceRef: string): Promise<Message>;
57
- getMoreColumns(sourceRef: string): Promise<Message>;
58
57
  dataLogoff(streamSourceRef: string): Promise<Message>;
59
58
  getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
60
59
  getJSONSchema(resourceName: string): Promise<SchemaResponse>;
@@ -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;AAG5E,OAAO,EACL,eAAe,EAKf,UAAU,EAGX,MAAM,MAAM,CAAC;AACd,OAA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AAC,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAS/C,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAYpF,OAAO,CAAC,UAAU;IAkDlB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,8BAA8B;IAmBtC,OAAO,CAAC,MAAM,CAAC,OAAO;IAItB,OAAO,CAAC,MAAM,CAAC,MAAM;CAUtB;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,+DAAsE,CAAC"}
@@ -1,11 +1,9 @@
1
- export * from './connect.events';
2
1
  export * from './connect';
3
2
  export * from './connect.types';
4
3
  export * from './http.connect';
5
4
  export * from './http';
6
5
  export * from './message';
7
6
  export * from './serializers';
8
- export * from './socket.status';
9
7
  export * from './socket';
10
8
  export * from './reconnectStrategy';
11
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/connect/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/connect/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
@@ -1,6 +1,4 @@
1
- import { UUID } from '@genesislcap/foundation-utils';
2
1
  import { AuthInfo, LoginResult } from '../auth/auth.types';
3
- import { Session } from '../session';
4
2
  /**
5
3
  * General Message types
6
4
  * @public
@@ -13,8 +11,6 @@ export declare enum MessageType {
13
11
  HEARTBEAT_PING = "HEARTBEAT_PING",
14
12
  HEARTBEAT_PONG = "HEARTBEAT_PONG",
15
13
  MORE_ROWS = "MORE_ROWS",
16
- MORE_COLUMNS = "MORE_COLUMNS",
17
- MORE_COLUMNS_ACK = "MORE_COLUMNS_ACK",
18
14
  MSG_ACK = "MSG_ACK",
19
15
  MSG_NACK = "MSG_NACK",
20
16
  LOGOUT_ACK = "LOGOUT_ACK",
@@ -237,13 +233,6 @@ export type CommitParams = {
237
233
  * @returns The message if no errors are present, otherwise throws an Error
238
234
  */
239
235
  export declare const messageOrThrow: (message: Message) => Message<any>;
240
- /**
241
- * Check if the message contains an error code.
242
- * @param message - The message object.
243
- * @param code - The error code.
244
- * @public
245
- */
246
- export declare const messageHasErrorCode: (message: Message, code: string | number) => boolean;
247
236
  /**
248
237
  * A utility class for building different types of messages.
249
238
  * @public
@@ -296,15 +285,6 @@ export interface MessageBuilder {
296
285
  * @returns The more rows message.
297
286
  */
298
287
  createMoreRowsMessage(sourceRef: string): Message;
299
- /**
300
- * Creates a message to request more columns.
301
- *
302
- * @remarks MORE_COLUMNS
303
- * @public
304
- * @param sourceRef - The source reference.
305
- * @returns The more columns message.
306
- */
307
- createMoreColumnsMessage(sourceRef: string): Message;
308
288
  /**
309
289
  * Creates a request message.
310
290
  *
@@ -394,37 +374,6 @@ export interface MessageBuilder {
394
374
  */
395
375
  createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
396
376
  }
397
- /**
398
- * TODO: Abstract out localStorage interaction with shell io stuff
399
- */
400
- /**
401
- * Default MessageBuilder implementation.
402
- * @public
403
- */
404
- export declare class DefaultMessageBuilder implements MessageBuilder {
405
- private session;
406
- private uuid;
407
- /**
408
- * UUID will be created in the DI with the App specific requirements.
409
- * Keeping it encapsulated means messages will always conform.
410
- */
411
- constructor(session: Session, uuid: UUID);
412
- createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
413
- createLogoutMessage(loginResult?: LoginResult): Message;
414
- createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetails.DataserverRequest>;
415
- createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
416
- createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
417
- createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
418
- createMetaRequestMessage(resourceName: string, messageType?: EventMessageType): Message<MessageDetails.MetaRequest>;
419
- createCommitMessage<T = any>(eventName: string, params?: CommitParams): Message<T>;
420
- createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
421
- createChangePasswordMessage(username: string, oldPassword: string, newPassword: string): Message<MessageDetails.ChangePassword>;
422
- createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
423
- createForgotPasswordTokenMessage(username: string, resetToken: string, newPassword: string, requester?: string): Message<MessageDetails.ForgotPasswordToken>;
424
- createMoreRowsMessage(sourceRef: string): Message;
425
- createMoreColumnsMessage(sourceRef: string): Message;
426
- createHTTPHeadersFromMessage(message: Message, contentType?: string): HeadersInit;
427
- }
428
377
  /**
429
378
  * The DI token for the MessageBUilder interface.
430
379
  * @internal
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/connect/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAY,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC;;;GAGG;AACH,oBAAY,WAAW;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IAEzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,cAAc,mBAAmB;IACjC,c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SONSerializer } from '@genesislcap/foundation-utils';
3
- import { Observable, Observer, Subject, Subscription } from 'rxjs';
4
- import { Session } from '../session';
5
- import { Message, MessageBuilder } from './message';
1
+ import { BehaviorSubject, Observable, Observer, Subject, Subscription } from 'rxjs';
2
+ import { Message } from './message';
6
3
  import { SocketReconnectOptions } from './reconnectStrategy';
7
- import { SocketStatus } from './socket.status';
8
4
  /**
9
5
  * Subject that wraps a WebSocketSubject and provides a Subject interface for sending and receiving messages.
10
6
  * @public
@@ -114,83 +110,23 @@ export declare class SocketMessageHandler {
114
110
  * Provides methods for socket connection, sending and receiving WS messages.
115
111
  * @public
116
112
  */
117
- export interface Socket extends Omit<SocketStatus, 'serialize' | 'onClose' | 'reconnectionLimitReached' | 'closedCode' | 'closedReason' | 'closedClean'> {
113
+ export interface Socket {
114
+ isConnected: boolean;
115
+ isReconnecting: boolean;
116
+ hasValidSession: boolean;
117
+ isConnectedSubject: BehaviorSubject<boolean>;
118
118
  connect(host: string, options?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
119
119
  /**
120
120
  * Disconnects the socket and clears all subscriptions
121
121
  */
122
122
  reset(): void;
123
123
  send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
124
- sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
124
+ sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function): Observable<Message>;
125
125
  socketMessages(): SocketSubject<Message>;
126
126
  }
127
- /**
128
- * Default Socket implementation.
129
- * @public
130
- */
131
- export declare class DefaultSocket implements Socket {
132
- private messageBuilder;
133
- private session;
134
- private serializer;
135
- private uuid;
136
- private status;
137
- private readonly defaultInterval;
138
- private readonly secondsMultiplier;
139
- private websocket;
140
- private wsMessages;
141
- private wsMessageHandlers;
142
- get isConfigured(): boolean;
143
- get isConnecting(): boolean;
144
- get isConnected(): boolean;
145
- get isConnectedSubject(): import("rxjs").BehaviorSubject<boolean>;
146
- get isDisconnected(): boolean;
147
- get isDisconnectedByServer(): boolean;
148
- get isReconnecting(): boolean;
149
- get hasValidSession(): boolean;
150
- set hasValidSession(value: boolean);
151
- private heartbeatIsEnabled;
152
- private heartbeatInterval;
153
- private heartbeatTicker;
154
- private url;
155
- private connectOptions;
156
- private reconnectOptions;
157
- private socketSubscription;
158
- constructor(messageBuilder: MessageBuilder, session: Session, serializer: JSONSerializer, uuid: UUID, status: SocketStatus);
159
- private get heartbeatLoggingIsEnabled();
160
- private get messageLoggingIsEnabled();
161
- connect(host: string, connectOptions?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
162
- private prepareHeartbeat;
163
- private reconnect;
164
- reset(): void;
165
- private cleanMessages;
166
- send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
167
- sendForStream<T>(message: Message<T | any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
168
- socketMessages: () => SocketSubject<Message>;
169
- private setMessageHandler;
170
- private sendDataLogoff;
171
- private removeMessageHandler;
172
- private getMessageHandler;
173
- private logMessageTypeFlow;
174
- }
175
127
  /**
176
128
  * The DI token for the Socket interface.
177
129
  * @internal
178
130
  */
179
131
  export declare const Socket: import("@microsoft/fast-foundation").InterfaceSymbol<Socket>;
180
- /**
181
- * Gets Socket from the DI container.
182
- *
183
- * @remarks
184
- * A utility method for host applications that are not using decorators or the DI container.
185
- *
186
- * @example
187
- * ```ts
188
- * import { getSocket } from '@genesislcap/foundation-comms';
189
- * ...
190
- * private socket = getSocket();
191
- * ```
192
- *
193
- * @public
194
- */
195
- export declare function getSocket(): Socket;
196
132
  //# sourceMappingURL=socket.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../src/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAG/D,OAAO,EA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AC,OAAO,GAAG,GAAG,CAAC,CAAC;IACpF,aAAa,CAAC,CAAC,EACb,OAAO,EAAE,OAAO,CAAC,CAAC,GAAG,GAAG,CAAC,EACzB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,GAChB,UAAU,CAAC,OAAO,CAAC,CAAC;IAEvB,cAAc,IAAI,aAAa,CAAC,OAAO,CAAC,CAAC;CAC1C;AAucD;;;GAGG;AACH,eAAO,MAAM,MAAM,8DAAgE,CAAC"}
@@ -143,13 +143,6 @@ export interface Datasource {
143
143
  * @returns A promise that resolves when the item has been updated.
144
144
  */
145
145
  updateItem?(itemId: string, data: any): Promise<void>;
146
- /**
147
- * Destroy the datasource.
148
- * @privateRemarks
149
- * I suspect we may need to call this from datasource disconnectedCallbacks etc to ensure we fully clean up.
150
- * @public
151
- */
152
- destroy(): void;
153
146
  }
154
147
  /**
155
148
  * The default implementation for the Datasource interface.
@@ -172,8 +165,6 @@ export declare class DefaultDatasource implements Datasource {
172
165
  validResourceName(resourceName: string): boolean;
173
166
  init(options: DatasourceOptions, fetchMeta?: boolean): Promise<boolean>;
174
167
  deinit(): void;
175
- /** {@inheritDoc Datasource.destroy} */
176
- destroy(): void;
177
168
  get stream(): SocketObservable<FilteredDataServerResult | RequestServerResult>;
178
169
  get params(): any;
179
170
  snapshot(): Promise<Message>;
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAChE,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,cAAc,EAEd,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AAKpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACtE,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AO,CAAC;IA2B5B,gBAAgB,CAAC,KAAK,GAAE,MAAkB;YAYlC,YAAY;YAeZ,sBAAsB;IAMpC,OAAO,CAAC,kBAAkB;CAY3B;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,kEAAwE,CAAC;AAEhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,aAAa,IAAI,UAAU,CAE1C"}
@@ -93,23 +93,7 @@ interface FDC3 {
93
93
  broadcastOnChannel(channelId: string, context: FDC3Context): Promise<void>;
94
94
  }
95
95
  /**
96
- * The FDC3 implementation.
97
- * @internal
98
- */
99
- export declare class DefaultFDC3 implements FDC3 {
100
- isReady: boolean;
101
- constructor();
102
- private connect;
103
- addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
104
- findIntent(intent: FDC3Intents, context?: FDC3Context): Promise<FDC3AppIntent>;
105
- findIntentsByContext(context: FDC3Context): Promise<FDC3AppIntent[]>;
106
- raiseIntent(context: FDC3Context, intent?: FDC3Intents): Promise<FDC3IntentResolution>;
107
- joinChannel(channelId: string): Promise<void>;
108
- getOrCreateChannel(channelId: string): Promise<FDC3Channel>;
109
- broadcastOnChannel(channelId: string, context: FDC3Context): Promise<void>;
110
- }
111
- /**
112
- * The DI token for the FDC3 interface.
96
+ * The DI token for the FDC3Service interface.
113
97
  * @internal
114
98
  */
115
99
  export declare const FDC3: import("@microsoft/fast-foundation").InterfaceSymbol<FDC3>;
@@ -1 +1 @@
1
- {"version":3,"file":"fdc3.d.ts","sourceRoot":"","sources":["../../../src/fdc3/fdc3.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,SAAS,EACT,OAAO,EACP,OAAO,EACP,cAAc,EAMd,OAAO,EACP,gBAAgB,EAKjB,MAAM,aAAa,CAAC;AAKrB;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEh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AAkB,CAAC,GAAG,IAAI,CAAC;IAE1E;;;;;;OAMG;IACH,UAAU,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE/E;;;;;OAKG;IACH,oBAAoB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC;IAErE;;;;;;OAMG;IACH,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAEvF;;;;;OAKG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;IAE5D;;;;;;OAMG;IACH,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5E;AAyED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
@@ -5,7 +5,6 @@ export * from './credentialManager';
5
5
  export * from './datasource';
6
6
  export * from './fdc3';
7
7
  export * from './metadata';
8
- export * from './networkMonitor';
9
8
  export * from './session';
10
9
  export * from './storage';
11
10
  export * from './testing';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -25,7 +25,6 @@ export declare class ConnectMock implements Connect {
25
25
  snapshot(resourceName: string, params?: any): Promise<Message>;
26
26
  stream(resourceName: string, onMessage: Function, onError: Function, params?: any): SocketObservable<Message>;
27
27
  getMoreRows(sourceRef: string): Promise<Message<any>>;
28
- getMoreColumns(sourceRef: string): Promise<Message<any>>;
29
28
  dataLogoff(sourceRef: string): Promise<Message<any>>;
30
29
  getJSONSchema(resourceName: string): Promise<any>;
31
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/connect/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EACL,YAAY,EACZ,OAAO,EACP,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAU,EACV,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB;;GAEG;AACH,qBAAa,WAAY,YAAW,OAAO;IACzC,WAAW,EAAE,OAAO,CAAQ;IAC5B,SAAS,EAAE,OAAO,CAAS;IAC3B,MAAM,EAAE,UAAU,CAAC;IAEnB,IAAI,kBAAkB,IAAI,eAAe,CAAC,OAAO,CAAC,CAEjD;IAED,IAAI,YAAY,IAAI,UAAU,CAAC,OAAO,CA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EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IAKvE,qBAAqB,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IAK/D,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC;IAI9D,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,EACjB,MAAM,CAAC,EAAE,GAAG,GACX,gBAAgB,CAAC,OAAO,CAAC;IAI5B,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAIrD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAIpD,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;CAGlD"}
@@ -5,11 +5,7 @@ import { SocketSubject } from '../../../connect';
5
5
  * @internal
6
6
  */
7
7
  export declare class SocketMock implements Socket {
8
- isConfigured: boolean;
9
- isDisconnected: boolean;
10
- isDisconnectedByServer: boolean;
11
8
  hasValidSession: boolean;
12
- isConnecting: boolean;
13
9
  isConnected: boolean;
14
10
  isConnectedSubject: BehaviorSubject<boolean>;
15
11
  isReconnecting: boolean;
@@ -18,7 +14,7 @@ export declare class SocketMock implements Socket {
18
14
  connect(host: string, options?: SocketConnectOptions, reconnectOptions?: SocketReconnectOptions): Promise<boolean>;
19
15
  disconnect(): void;
20
16
  send<T>(message: Message<any>): Promise<Message | any>;
21
- sendForStream<T>(message: Message<any>, onMessage: Function, onError: Function, onComplete?: Function): Observable<Message>;
17
+ sendForStream<T>(message: Message<any>, onMessage: Function, onError: Function): Observable<Message>;
22
18
  socketMessages(): SocketSubject<Message>;
23
19
  reset(): void;
24
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,qBAAa,UAAW,YAAW,MAAM;IAChC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,sBAAsB,EAAE,OAAO,CAAC;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAA6B;IACzE,cAAc,EAAE,OAAO,CAAC;IAExB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,8BAAgC;IAErD,OAAO,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oBAAoB,EAC9B,gBAAgB,CAAC,EAAE,sBAAsB,GACxC,OAAO,CAAC,OAAO,CAAC;IAIZ,UAAU,IAAI,IAAI;IAElB,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;IAItD,aAAa,CAAC,CAAC,EACpB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,EACrB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,EACjB,UAAU,CAAC,EAAE,QAAQ,GACpB,UAAU,CAAC,OAAO,CAAC;IAIf,cAAc,IAAI,aAAa,CAAC,OAAO,CAAC;IAI/C,KAAK,IAAI,IAAI;CAGd"}
1
+ {"version":3,"file":"socket.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/connect/socket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;GAEG;AACH,qBAAa,UAAW,YAAW,MAAM;IAChC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,kBAAkB,EAAE,eAAe,CAAC,OAAO,CAAC,CAA6B;IACzE,cAAc,EAAE,OAAO,CAAC;IAExB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,8BAAgC;IAErD,OAAO,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,oBAAoB,EAC9B,gBAAgB,CAAC,EAAE,sBAAsB,GACxC,OAAO,CAAC,OAAO,CAAC;IAIZ,UAAU,IAAI,IAAI;IAElB,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC;IAItD,aAAa,CAAC,CAAC,EACpB,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,EACrB,SAAS,EAAE,QAAQ,EACnB,OAAO,EAAE,QAAQ,GAChB,UAAU,CAAC,OAAO,CAAC;IAIf,cAAc,IAAI,aAAa,CAAC,OAAO,CAAC;IAI/C,KAAK,IAAI,IAAI;CAGd"}
@@ -12,7 +12,6 @@ export declare class DatasourceMock implements Datasource {
12
12
  stream: SocketObservable<FilteredDataServerResult | RequestServerResult>;
13
13
  init(options: DatasourceOptions, fetchMeta: boolean): Promise<boolean>;
14
14
  deinit(): void;
15
- destroy(): void;
16
15
  validResourceName(resourceName: string): boolean;
17
16
  getMetadata?(resourceName: string): Promise<FieldMetadata[]>;
18
17
  snapshot(params?: any): void;
@@ -1 +1 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,KAAK,CAAC,EAAE,MAAM;IAE/B,UAAU,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvC,WAAW,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE;IAIhC,OAAO,CAAC,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAE9B,QAAQ,CAAC,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI;IAE/B,SAAS,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlE,WAAW,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzC,UAAU,CAAC,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvC,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1C,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtD"}
@@ -1,8 +1,4 @@
1
1
  import type { UserPermission, UserProfile } from './user.types';
2
- /**
3
- * Made some minor adjustments here to make user more accessible in the short term.
4
- * Please note that this User will be replaced with the enhanced version shortly!
5
- */
6
2
  /**
7
3
  * TODO: Evolve, re-locate to foundation-data, foundation-user or similar and add JSON schema based population,
8
4
  * validation, evolution, foundation-store interop etc.
@@ -24,8 +20,6 @@ export interface User extends UserOptions {
24
20
  hasAdminProfile(): boolean;
25
21
  hasPermission(permission: UserPermission | UserPermission[]): boolean;
26
22
  hasProfile(profile: UserProfile | UserProfile[]): boolean;
27
- set(options: UserOptions): void;
28
- unset(): void;
29
23
  }
30
24
  /**
31
25
  * Represents the current user (i.e. the user that is currently logged in).
@@ -36,8 +30,6 @@ export declare class CurrentUser implements User {
36
30
  profiles: UserProfile[];
37
31
  username: string;
38
32
  constructor(options: UserOptions);
39
- set(options: UserOptions): void;
40
- unset(): void;
41
33
  hasAdminProfile(): boolean;
42
34
  hasPermission(permission: string | string[]): boolean;
43
35
  hasProfile(profile: string | string[]): boolean;
@@ -50,12 +42,5 @@ export declare class CurrentUser implements User {
50
42
  */
51
43
  private hasKey;
52
44
  }
53
- /**
54
- * User DI key.
55
- * @privateRemarks
56
- * Marked as internal to stop api-extractor becoming confused cross-linking tokens with the same name.
57
- * @internal
58
- */
59
- export declare const User: import("@microsoft/fast-foundation").InterfaceSymbol<User>;
60
45
  export {};
61
46
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/user/user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhE;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AACH,UAAU,WAAW;IACnB,QAAQ,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,eAAe,IAAI,OAAO,CAAC;IAC3B,aAAa,CAAC,UAAU,EAAE,cAAc,GAAG,cAAc,EAAE,GAAG,OAAO,CAAC;IACtE,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,EAAE,GAAG,OAAO,CAAC;IAC1D,GAAG,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;GAGG;AACH,qBAAa,WAAY,YAAW,IAAI;IAC1B,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,QAAQ,EAAE,WAAW,EA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U,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO;IAI/C;;;;;;OAMG;IACH,OAAO,CAAC,MAAM;CASf"}
@@ -6,7 +6,7 @@ import { Connect } from '../connect';
6
6
  import { EventMessageType, MessageBuilder, MessageCode, MessageType, } from '../connect/message';
7
7
  import { CredentialManager } from '../credentialManager';
8
8
  import { Session } from '../session';
9
- import { User } from '../user';
9
+ import { CurrentUser } from '../user';
10
10
  import { logger } from '../utils';
11
11
  import { AuthError } from './auth.types';
12
12
  /**
@@ -198,8 +198,7 @@ let DefaultAuth = class DefaultAuth {
198
198
  permissions: result.permissions,
199
199
  sessionId: result.sessionId,
200
200
  };
201
- this.currentUser = DI.getOrCreateDOMContainer().get(User);
202
- this.currentUser.set({
201
+ this.currentUser = new CurrentUser({
203
202
  permissions: result.permissions,
204
203
  profiles: result.profiles,
205
204
  username: result.username,
@@ -210,9 +209,7 @@ let DefaultAuth = class DefaultAuth {
210
209
  * @internal
211
210
  */
212
211
  removeAuthResults() {
213
- var _a;
214
212
  this.loggedUserResult = null;
215
- (_a = this.currentUser) === null || _a === void 0 ? void 0 : _a.unset();
216
213
  this.currentUser = null;
217
214
  }
218
215
  };