@genesislcap/foundation-comms 14.237.2-alpha-78ebbc0.0 → 14.238.0

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.
Files changed (84) hide show
  1. package/dist/dts/datasource/datasource.mixins.d.ts +29 -45
  2. package/dist/dts/datasource/datasource.mixins.d.ts.map +1 -1
  3. package/dist/dts/testing/mocks/auth/auth.d.ts +1 -1
  4. package/dist/dts/testing/mocks/auth/auth.d.ts.map +1 -1
  5. package/dist/dts/testing/mocks/connect/socket.d.ts +1 -1
  6. package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
  7. package/dist/dts/tsdoc-metadata.json +1 -1
  8. package/dist/esm/auth/auth.js +2 -2
  9. package/dist/esm/connect/connect.js +8 -8
  10. package/dist/esm/connect/http.connect.js +7 -8
  11. package/dist/esm/connect/socket.js +5 -1
  12. package/dist/esm/credentialManager/credentialManager.js +2 -2
  13. package/dist/esm/datasource/datasource.js +7 -7
  14. package/dist/esm/networkMonitor/config.js +2 -1
  15. package/dist/esm/resources/genesis/genesis.js +1 -1
  16. package/dist/esm/storage/kv/kv.service.js +3 -3
  17. package/dist/foundation-comms.api.json +2413 -4907
  18. package/dist/foundation-comms.d.ts +31 -47
  19. package/docs/api/foundation-comms.connect.md +0 -1
  20. package/docs/api/foundation-comms.datasourceeventhandler.md +30 -56
  21. package/docs/api/foundation-comms.extractfielddefinitions.md +1 -14
  22. package/docs/api/foundation-comms.getkvstorage.md +1 -1
  23. package/docs/api/foundation-comms.md +6 -19
  24. package/docs/api/foundation-comms.messagehaserrorcode.md +1 -13
  25. package/docs/api/foundation-comms.messageorthrow.md +1 -14
  26. package/docs/api/foundation-comms.retryinterval.md +1 -15
  27. package/docs/api/foundation-comms.socket.md +0 -1
  28. package/docs/api/foundation-comms.tofieldmetadata.md +1 -14
  29. package/docs/{api-report.md.api.md → api-report.md} +31 -47
  30. package/package.json +14 -14
  31. package/docs/api/foundation-comms.connect.streamwithoutautoteardown.md +0 -37
  32. package/docs/api/foundation-comms.defaultentitydatasource._initialized.md +0 -15
  33. package/docs/api/foundation-comms.defaultentitydatasource.cache.md +0 -19
  34. package/docs/api/foundation-comms.defaultentitydatasource.disconnect.md +0 -19
  35. package/docs/api/foundation-comms.defaultentitydatasource.entitycache.md +0 -14
  36. package/docs/api/foundation-comms.defaultentitydatasource.entitymap.md +0 -14
  37. package/docs/api/foundation-comms.defaultentitydatasource.initialize.md +0 -19
  38. package/docs/api/foundation-comms.defaultentitydatasource.initialized.md +0 -16
  39. package/docs/api/foundation-comms.defaultentitydatasource.isempty.md +0 -19
  40. package/docs/api/foundation-comms.defaultentitydatasource.mapper.md +0 -14
  41. package/docs/api/foundation-comms.defaultentitydatasource.md +0 -38
  42. package/docs/api/foundation-comms.defaultentitydatasource.rowid.md +0 -14
  43. package/docs/api/foundation-comms.defaultentitydatasource.sourceref.md +0 -14
  44. package/docs/api/foundation-comms.defaultentitydatasource.subscription.md +0 -14
  45. package/docs/api/foundation-comms.defaultentitydatasource.subscriptionloggedoff.md +0 -14
  46. package/docs/api/foundation-comms.defaultkvstorage._constructor_.md +0 -25
  47. package/docs/api/foundation-comms.defaultkvstorage.md +0 -30
  48. package/docs/api/foundation-comms.defaultkvstorage.user.md +0 -14
  49. package/docs/api/foundation-comms.defaultkvstorageconfig.md +0 -16
  50. package/docs/api/foundation-comms.entitydatasource.cache.md +0 -19
  51. package/docs/api/foundation-comms.entitydatasource.disconnect.md +0 -22
  52. package/docs/api/foundation-comms.entitydatasource.initialize.md +0 -29
  53. package/docs/api/foundation-comms.entitydatasource.isempty.md +0 -19
  54. package/docs/api/foundation-comms.entitydatasource.md +0 -81
  55. package/docs/api/foundation-comms.entitydatasourceinit.fetchmeta.md +0 -14
  56. package/docs/api/foundation-comms.entitydatasourceinit.mapper.md +0 -14
  57. package/docs/api/foundation-comms.entitydatasourceinit.md +0 -25
  58. package/docs/api/foundation-comms.entitydatasourceinit.options.md +0 -14
  59. package/docs/api/foundation-comms.keyvalue.base64.md +0 -16
  60. package/docs/api/foundation-comms.keyvalue.expiration.md +0 -16
  61. package/docs/api/foundation-comms.keyvalue.key.md +0 -16
  62. package/docs/api/foundation-comms.keyvalue.md +0 -27
  63. package/docs/api/foundation-comms.keyvalue.metadata.md +0 -18
  64. package/docs/api/foundation-comms.keyvalue.value.md +0 -16
  65. package/docs/api/foundation-comms.keyvaluetransfer.deserialize.md +0 -25
  66. package/docs/api/foundation-comms.keyvaluetransfer.kv.md +0 -14
  67. package/docs/api/foundation-comms.keyvaluetransfer.md +0 -30
  68. package/docs/api/foundation-comms.keyvaluetransfer.serialize.md +0 -25
  69. package/docs/api/foundation-comms.kveventfailureresponse.md +0 -21
  70. package/docs/api/foundation-comms.kveventmessagetype.md +0 -24
  71. package/docs/api/foundation-comms.kvmessagetype.md +0 -24
  72. package/docs/api/foundation-comms.kvstorage.delete.md +0 -25
  73. package/docs/api/foundation-comms.kvstorage.get.md +0 -18
  74. package/docs/api/foundation-comms.kvstorage.get_1.md +0 -25
  75. package/docs/api/foundation-comms.kvstorage.list.md +0 -18
  76. package/docs/api/foundation-comms.kvstorage.md +0 -31
  77. package/docs/api/foundation-comms.kvstorage.put.md +0 -25
  78. package/docs/api/foundation-comms.kvstorageconfig.account.md +0 -16
  79. package/docs/api/foundation-comms.kvstorageconfig.authemail.md +0 -21
  80. package/docs/api/foundation-comms.kvstorageconfig.authkey.md +0 -16
  81. package/docs/api/foundation-comms.kvstorageconfig.md +0 -26
  82. package/docs/api/foundation-comms.kvstorageconfig.namespace.md +0 -16
  83. package/docs/api/foundation-comms.kvvalue.md +0 -16
  84. package/docs/api/foundation-comms.socket.sendforstreamwithoutteardown.md +0 -31
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [retryInterval](./foundation-comms.retryinterval.md)
4
4
 
5
- ## retryInterval() function
5
+ ## retryInterval variable
6
6
 
7
7
  Generate reconnect interval based on scheduler
8
8
 
@@ -11,17 +11,3 @@ Generate reconnect interval based on scheduler
11
11
  ```typescript
12
12
  retryInterval: (reconnectOptions: SocketReconnectOptions, scheduler: SocketReconnectScheduler) => Observable<number>
13
13
  ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | reconnectOptions | [SocketReconnectOptions](./foundation-comms.socketreconnectoptions.md) | [SocketReconnectOptions](./foundation-comms.socketreconnectoptions.md) options |
20
- | scheduler | [SocketReconnectScheduler](./foundation-comms.socketreconnectscheduler.md) | [SocketReconnectScheduler](./foundation-comms.socketreconnectscheduler.md) function |
21
-
22
- **Returns:**
23
-
24
- Observable&lt;number&gt;
25
-
26
- Observable<number>
27
-
@@ -27,6 +27,5 @@ export interface Socket extends Omit<SocketStatus, 'serialize' | 'onClose' | 're
27
27
  | [reset()](./foundation-comms.socket.reset.md) | Disconnects the socket and clears all subscriptions |
28
28
  | [send(message, needsHandling)](./foundation-comms.socket.send.md) | |
29
29
  | [sendForStream(message, onMessage, onError, onComplete)](./foundation-comms.socket.sendforstream.md) | |
30
- | [sendForStreamWithoutTeardown(message, onMessage, onError)](./foundation-comms.socket.sendforstreamwithoutteardown.md) | **_(ALPHA)_** Sends a message and returns an observable that emits messages received from the server. |
31
30
  | [socketMessages()](./foundation-comms.socket.socketmessages.md) | |
32
31
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Home](./index.md) &gt; [@genesislcap/foundation-comms](./foundation-comms.md) &gt; [toFieldMetadata](./foundation-comms.tofieldmetadata.md)
4
4
 
5
- ## toFieldMetadata() function
5
+ ## toFieldMetadata variable
6
6
 
7
7
  Converts the field definitions to field metadata.
8
8
 
@@ -11,16 +11,3 @@ Converts the field definitions to field metadata.
11
11
  ```typescript
12
12
  toFieldMetadata: (fieldDef: MetadataDetail[]) => FieldMetadata[]
13
13
  ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | fieldDef | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | The field definitions. |
20
-
21
- **Returns:**
22
-
23
- [FieldMetadata](./foundation-comms.fieldmetadata.md)<!-- -->\[\]
24
-
25
- An array of field metadata.
26
-
@@ -21,7 +21,7 @@ import type { LogLevel } from '@genesislcap/foundation-utils';
21
21
  import { Observable } from 'rxjs';
22
22
  import { Observer } from '@genesislcap/foundation-utils';
23
23
  import { Observer as Observer_2 } from 'rxjs';
24
- import { SetUserProperties } from '@genesislcap/foundation-user';
24
+ import { SetUserProperties } from '@genesislcap/foundation-user/dist/esm';
25
25
  import { Subscription as SocketSubscription } from 'rxjs';
26
26
  import { Subject } from 'rxjs';
27
27
  import { TypedBroadcastChannel } from '@genesislcap/foundation-broadcast-channel';
@@ -473,15 +473,11 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
473
473
  readonly offsetTop: number;
474
474
  readonly offsetWidth: number;
475
475
  outerText: string;
476
- popover: string;
477
476
  spellcheck: boolean;
478
477
  title: string;
479
478
  translate: boolean;
480
479
  attachInternals(): ElementInternals;
481
480
  click(): void;
482
- hidePopover(): void;
483
- showPopover(): void;
484
- togglePopover(force?: boolean): boolean;
485
481
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
486
482
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
487
483
  removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
@@ -510,12 +506,9 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
510
506
  slot: string;
511
507
  readonly tagName: string;
512
508
  attachShadow(init: ShadowRootInit): ShadowRoot;
513
- checkVisibility(options?: CheckVisibilityOptions): boolean;
514
509
  closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
515
510
  closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
516
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
517
511
  closest<E extends Element = Element>(selectors: string): E;
518
- computedStyleMap(): StylePropertyMapReadOnly;
519
512
  getAttribute(qualifiedName: string): string;
520
513
  getAttributeNS(namespace: string, localName: string): string;
521
514
  getAttributeNames(): string[];
@@ -524,14 +517,11 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
524
517
  getBoundingClientRect(): DOMRect;
525
518
  getClientRects(): DOMRectList;
526
519
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
527
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
528
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
529
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
530
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
520
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
521
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
531
522
  getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
532
523
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
533
524
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
534
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
535
525
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
536
526
  hasAttribute(qualifiedName: string): boolean;
537
527
  hasAttributeNS(namespace: string, localName: string): boolean;
@@ -589,24 +579,24 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
589
579
  normalize(): void;
590
580
  removeChild<T_2 extends Node>(child: T_2): T_2;
591
581
  replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
592
- readonly ELEMENT_NODE: 1;
593
- readonly ATTRIBUTE_NODE: 2;
594
- readonly TEXT_NODE: 3;
595
- readonly CDATA_SECTION_NODE: 4;
596
- readonly ENTITY_REFERENCE_NODE: 5;
597
- readonly ENTITY_NODE: 6;
598
- readonly PROCESSING_INSTRUCTION_NODE: 7;
599
- readonly COMMENT_NODE: 8;
600
- readonly DOCUMENT_NODE: 9;
601
- readonly DOCUMENT_TYPE_NODE: 10;
602
- readonly DOCUMENT_FRAGMENT_NODE: 11;
603
- readonly NOTATION_NODE: 12;
604
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
605
- readonly DOCUMENT_POSITION_PRECEDING: 2;
606
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
607
- readonly DOCUMENT_POSITION_CONTAINS: 8;
608
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
609
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
582
+ readonly ATTRIBUTE_NODE: number;
583
+ readonly CDATA_SECTION_NODE: number;
584
+ readonly COMMENT_NODE: number;
585
+ readonly DOCUMENT_FRAGMENT_NODE: number;
586
+ readonly DOCUMENT_NODE: number;
587
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
588
+ readonly DOCUMENT_POSITION_CONTAINS: number;
589
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
590
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
591
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
592
+ readonly DOCUMENT_POSITION_PRECEDING: number;
593
+ readonly DOCUMENT_TYPE_NODE: number;
594
+ readonly ELEMENT_NODE: number;
595
+ readonly ENTITY_NODE: number;
596
+ readonly ENTITY_REFERENCE_NODE: number;
597
+ readonly NOTATION_NODE: number;
598
+ readonly PROCESSING_INSTRUCTION_NODE: number;
599
+ readonly TEXT_NODE: number;
610
600
  dispatchEvent(event: Event): boolean;
611
601
  ariaAtomic: string;
612
602
  ariaAutoComplete: string;
@@ -614,9 +604,9 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
614
604
  ariaChecked: string;
615
605
  ariaColCount: string;
616
606
  ariaColIndex: string;
607
+ ariaColIndexText: string;
617
608
  ariaColSpan: string;
618
609
  ariaCurrent: string;
619
- ariaDescription: string;
620
610
  ariaDisabled: string;
621
611
  ariaExpanded: string;
622
612
  ariaHasPopup: string;
@@ -638,6 +628,7 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
638
628
  ariaRoleDescription: string;
639
629
  ariaRowCount: string;
640
630
  ariaRowIndex: string;
631
+ ariaRowIndexText: string;
641
632
  ariaRowSpan: string;
642
633
  ariaSelected: string;
643
634
  ariaSetSize: string;
@@ -662,19 +653,17 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
662
653
  readonly lastElementChild: Element;
663
654
  append(...nodes: (string | Node)[]): void;
664
655
  prepend(...nodes: (string | Node)[]): void;
665
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
666
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
667
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
668
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
656
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
657
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
669
658
  querySelector<E_1 extends Element = Element>(selectors: string): E_1;
670
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
671
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
672
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
673
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
659
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
660
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
674
661
  querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
675
662
  replaceChildren(...nodes: (string | Node)[]): void;
676
663
  readonly assignedSlot: HTMLSlotElement;
677
- readonly attributeStyleMap: StylePropertyMap;
664
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
665
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
666
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
678
667
  readonly style: CSSStyleDeclaration;
679
668
  contentEditable: string;
680
669
  enterKeyHint: string;
@@ -687,7 +676,6 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
687
676
  onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
688
677
  onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
689
678
  onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
690
- onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
691
679
  onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
692
680
  oncancel: (this: GlobalEventHandlers, ev: Event) => any;
693
681
  oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -696,9 +684,7 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
696
684
  onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
697
685
  onclose: (this: GlobalEventHandlers, ev: Event) => any;
698
686
  oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
699
- oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
700
687
  oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
701
- oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
702
688
  ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
703
689
  ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
704
690
  ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
@@ -731,7 +717,6 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
731
717
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
732
718
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
733
719
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
734
- onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
735
720
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
736
721
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
737
722
  onplaying: (this: GlobalEventHandlers, ev: Event) => any;
@@ -748,7 +733,6 @@ export const DatasourceEventHandler: (Target: new () => HTMLElement & FASTElemen
748
733
  onreset: (this: GlobalEventHandlers, ev: Event) => any;
749
734
  onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
750
735
  onscroll: (this: GlobalEventHandlers, ev: Event) => any;
751
- onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
752
736
  onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
753
737
  onseeked: (this: GlobalEventHandlers, ev: Event) => any;
754
738
  onseeking: (this: GlobalEventHandlers, ev: Event) => any;
@@ -2602,7 +2586,7 @@ export class SocketMock implements Socket {
2602
2586
  // (undocumented)
2603
2587
  socketMessages(): SocketSubject<Message>;
2604
2588
  // (undocumented)
2605
- socketMessagesSubject: SocketSubject<Message>;
2589
+ socketMessagesSubject: SocketSubject<Message<any>>;
2606
2590
  }
2607
2591
 
2608
2592
  // @public
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.237.2-alpha-78ebbc0.0",
4
+ "version": "14.238.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.237.2-alpha-78ebbc0.0",
79
- "@genesislcap/genx": "14.237.2-alpha-78ebbc0.0",
80
- "@genesislcap/rollup-builder": "14.237.2-alpha-78ebbc0.0",
81
- "@genesislcap/ts-builder": "14.237.2-alpha-78ebbc0.0",
82
- "@genesislcap/uvu-playwright-builder": "14.237.2-alpha-78ebbc0.0",
83
- "@genesislcap/vite-builder": "14.237.2-alpha-78ebbc0.0",
84
- "@genesislcap/webpack-builder": "14.237.2-alpha-78ebbc0.0",
78
+ "@genesislcap/foundation-testing": "14.238.0",
79
+ "@genesislcap/genx": "14.238.0",
80
+ "@genesislcap/rollup-builder": "14.238.0",
81
+ "@genesislcap/ts-builder": "14.238.0",
82
+ "@genesislcap/uvu-playwright-builder": "14.238.0",
83
+ "@genesislcap/vite-builder": "14.238.0",
84
+ "@genesislcap/webpack-builder": "14.238.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.237.2-alpha-78ebbc0.0",
92
- "@genesislcap/foundation-logger": "14.237.2-alpha-78ebbc0.0",
93
- "@genesislcap/foundation-user": "14.237.2-alpha-78ebbc0.0",
94
- "@genesislcap/foundation-utils": "14.237.2-alpha-78ebbc0.0",
91
+ "@genesislcap/foundation-broadcast-channel": "14.238.0",
92
+ "@genesislcap/foundation-logger": "14.238.0",
93
+ "@genesislcap/foundation-user": "14.238.0",
94
+ "@genesislcap/foundation-utils": "14.238.0",
95
95
  "@microsoft/fast-element": "1.14.0",
96
96
  "@microsoft/fast-foundation": "2.49.6",
97
97
  "analytics": "^0.8.0",
@@ -101,7 +101,7 @@
101
101
  "js-cookie": "^3.0.1",
102
102
  "json-schema": "^0.4.0",
103
103
  "rxjs": "^7.5.4",
104
- "tslib": "2.8.1"
104
+ "tslib": "^2.3.1"
105
105
  },
106
106
  "repository": {
107
107
  "type": "git",
@@ -111,5 +111,5 @@
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "ab5fa0da6c1d82b0d69754c35801e2b17ae7d018"
114
+ "gitHead": "2735fb5a88f2e15f101c1343ee178d80db89fc63"
115
115
  }
@@ -1,37 +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; [Connect](./foundation-comms.connect.md) &gt; [streamWithoutAutoTeardown](./foundation-comms.connect.streamwithoutautoteardown.md)
4
-
5
- ## Connect.streamWithoutAutoTeardown() method
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- > Warning: This API is now obsolete.
11
- >
12
- > - Use `stream` instead. Will be removed in v15.
13
- >
14
-
15
- Starts listening for updates on the specified resource without auto-teardown.
16
-
17
- **Signature:**
18
-
19
- ```typescript
20
- streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
21
- ```
22
-
23
- ## Parameters
24
-
25
- | Parameter | Type | Description |
26
- | --- | --- | --- |
27
- | resourceName | string | The name of the resource to listen for updates on. |
28
- | onMessage | Function | A callback function to handle received messages. |
29
- | onError | Function | A callback function to handle errors. |
30
- | params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
31
-
32
- **Returns:**
33
-
34
- [SocketObservable](./foundation-comms.socketobservable.md)<!-- -->&lt;[Message](./foundation-comms.message.md)<!-- -->&gt;
35
-
36
- An observable that emits messages received from the server.
37
-
@@ -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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [\_initialized](./foundation-comms.defaultentitydatasource._initialized.md)
4
-
5
- ## DefaultEntityDatasource.\_initialized property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
-
11
- **Signature:**
12
-
13
- ```typescript
14
- protected _initialized: boolean;
15
- ```
@@ -1,19 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [cache](./foundation-comms.defaultentitydatasource.cache.md)
4
-
5
- ## DefaultEntityDatasource.cache property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- get cache(): TEntity[];
14
- ```
15
-
16
- ## Remarks
17
-
18
- In-memory entity cache.
19
-
@@ -1,19 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [disconnect](./foundation-comms.defaultentitydatasource.disconnect.md)
4
-
5
- ## DefaultEntityDatasource.disconnect property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- disconnect: () => void;
14
- ```
15
-
16
- ## Remarks
17
-
18
- Disconnect and reset cache.
19
-
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [entityCache](./foundation-comms.defaultentitydatasource.entitycache.md)
4
-
5
- ## DefaultEntityDatasource.entityCache property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected entityCache: TEntity[];
14
- ```
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [entityMap](./foundation-comms.defaultentitydatasource.entitymap.md)
4
-
5
- ## DefaultEntityDatasource.entityMap property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected entityMap: Map<string, TEntity>;
14
- ```
@@ -1,19 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [initialize](./foundation-comms.defaultentitydatasource.initialize.md)
4
-
5
- ## DefaultEntityDatasource.initialize property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- initialize: (init: EntityDatasourceInit<TDTO, TEntity>) => Promise<boolean>;
14
- ```
15
-
16
- ## Remarks
17
-
18
- Initialize datasource.
19
-
@@ -1,16 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [initialized](./foundation-comms.defaultentitydatasource.initialized.md)
4
-
5
- ## DefaultEntityDatasource.initialized property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- get initialized(): boolean;
14
-
15
- set initialized(value: boolean);
16
- ```
@@ -1,19 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [isEmpty](./foundation-comms.defaultentitydatasource.isempty.md)
4
-
5
- ## DefaultEntityDatasource.isEmpty property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- get isEmpty(): boolean;
14
- ```
15
-
16
- ## Remarks
17
-
18
- Cache is empty / awaiting first result.
19
-
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [mapper](./foundation-comms.defaultentitydatasource.mapper.md)
4
-
5
- ## DefaultEntityDatasource.mapper property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected mapper: DTOMapper<TDTO, TEntity>;
14
- ```
@@ -1,38 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md)
4
-
5
- ## DefaultEntityDatasource class
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Default EntityDatasource DI implementation.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export declare class DefaultEntityDatasource<TDTO, TEntity> extends DefaultDatasource implements EntityDatasource<TDTO, TEntity>
16
- ```
17
- **Extends:** [DefaultDatasource](./foundation-comms.defaultdatasource.md)
18
-
19
- **Implements:** [EntityDatasource](./foundation-comms.entitydatasource.md)<!-- -->&lt;TDTO, TEntity&gt;
20
-
21
- ## Properties
22
-
23
- | Property | Modifiers | Type | Description |
24
- | --- | --- | --- | --- |
25
- | [\_initialized](./foundation-comms.defaultentitydatasource._initialized.md) | <code>protected</code> | boolean | **_(ALPHA)_** |
26
- | [cache](./foundation-comms.defaultentitydatasource.cache.md) | <code>readonly</code> | TEntity\[\] | **_(ALPHA)_** |
27
- | [disconnect](./foundation-comms.defaultentitydatasource.disconnect.md) | | () =&gt; void | **_(ALPHA)_** |
28
- | [entityCache](./foundation-comms.defaultentitydatasource.entitycache.md) | <code>protected</code> | TEntity\[\] | **_(ALPHA)_** |
29
- | [entityMap](./foundation-comms.defaultentitydatasource.entitymap.md) | <code>protected</code> | Map&lt;string, TEntity&gt; | **_(ALPHA)_** |
30
- | [initialize](./foundation-comms.defaultentitydatasource.initialize.md) | | (init: [EntityDatasourceInit](./foundation-comms.entitydatasourceinit.md)<!-- -->&lt;TDTO, TEntity&gt;) =&gt; Promise&lt;boolean&gt; | **_(ALPHA)_** |
31
- | [initialized](./foundation-comms.defaultentitydatasource.initialized.md) | | boolean | **_(ALPHA)_** |
32
- | [isEmpty](./foundation-comms.defaultentitydatasource.isempty.md) | <code>readonly</code> | boolean | **_(ALPHA)_** |
33
- | [mapper](./foundation-comms.defaultentitydatasource.mapper.md) | <code>protected</code> | DTOMapper&lt;TDTO, TEntity&gt; | **_(ALPHA)_** |
34
- | [rowId](./foundation-comms.defaultentitydatasource.rowid.md) | <code>protected</code> | string | **_(ALPHA)_** |
35
- | [sourceRef](./foundation-comms.defaultentitydatasource.sourceref.md) | <code>protected</code> | string | **_(ALPHA)_** |
36
- | [subscription](./foundation-comms.defaultentitydatasource.subscription.md) | <code>protected</code> | SocketSubscription | **_(ALPHA)_** |
37
- | [subscriptionLoggedOff](./foundation-comms.defaultentitydatasource.subscriptionloggedoff.md) | <code>protected</code> | boolean | **_(ALPHA)_** |
38
-
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [rowId](./foundation-comms.defaultentitydatasource.rowid.md)
4
-
5
- ## DefaultEntityDatasource.rowId property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected rowId: string;
14
- ```
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [sourceRef](./foundation-comms.defaultentitydatasource.sourceref.md)
4
-
5
- ## DefaultEntityDatasource.sourceRef property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected sourceRef: string;
14
- ```
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [subscription](./foundation-comms.defaultentitydatasource.subscription.md)
4
-
5
- ## DefaultEntityDatasource.subscription property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected subscription: SocketSubscription;
14
- ```
@@ -1,14 +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; [DefaultEntityDatasource](./foundation-comms.defaultentitydatasource.md) &gt; [subscriptionLoggedOff](./foundation-comms.defaultentitydatasource.subscriptionloggedoff.md)
4
-
5
- ## DefaultEntityDatasource.subscriptionLoggedOff property
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- **Signature:**
11
-
12
- ```typescript
13
- protected subscriptionLoggedOff: boolean;
14
- ```
@@ -1,25 +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; [DefaultKVStorage](./foundation-comms.defaultkvstorage.md) &gt; [(constructor)](./foundation-comms.defaultkvstorage._constructor_.md)
4
-
5
- ## DefaultKVStorage.(constructor)
6
-
7
- > This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Constructs a new instance of the `DefaultKVStorage` class
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- constructor(connect: Connect, user: User, kvStorageConfig?: KVStorageConfig);
16
- ```
17
-
18
- ## Parameters
19
-
20
- | Parameter | Type | Description |
21
- | --- | --- | --- |
22
- | connect | [Connect](./foundation-comms.connect.md) | |
23
- | user | User | |
24
- | kvStorageConfig | [KVStorageConfig](./foundation-comms.kvstorageconfig.md) | _(Optional)_ |
25
-