@resolveio/client-lib-core 21.4.5 → 21.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/client-lib-core",
3
- "version": "21.4.5",
3
+ "version": "21.4.7",
4
4
  "module": "fesm2022/resolveio-client-lib-core.min.mjs",
5
5
  "typings": "types/resolveio-client-lib-core.d.ts",
6
6
  "exports": {
@@ -349,6 +349,10 @@ declare class TokenManagerService {
349
349
  static ɵprov: i0.ɵɵInjectableDeclaration<TokenManagerService>;
350
350
  }
351
351
 
352
+ interface SharedClientSubscriptionModel extends ActiveClientSubscriptionModel {
353
+ key: string;
354
+ refCount: number;
355
+ }
352
356
  declare class SocketManagerService {
353
357
  private _socket;
354
358
  private _offline;
@@ -359,6 +363,7 @@ declare class SocketManagerService {
359
363
  private messageId;
360
364
  private _cbMap;
361
365
  private _subMap;
366
+ private _subKeyMap;
362
367
  private _offlineUpdates;
363
368
  private _pendingMessages;
364
369
  private _sendTimeout;
@@ -369,7 +374,7 @@ declare class SocketManagerService {
369
374
  private _connectionDelayTimeout;
370
375
  onerror: () => void;
371
376
  constructor(_socket: SocketService, _offline: OfflineManagerService, _alert: AlertService, _router: Router, _token: TokenManagerService);
372
- getSubArray(): ActiveClientSubscriptionModel[];
377
+ getSubArray(): SharedClientSubscriptionModel[];
373
378
  initSocketManager(): void;
374
379
  private handleMessage;
375
380
  private acquireLock;
@@ -397,6 +402,10 @@ declare class SocketManagerService {
397
402
  private updateChunkAlertMessage;
398
403
  openSocket(environment: any, protocols: any): void;
399
404
  closeSocket(): void;
405
+ private resolveCurrentRoute;
406
+ private buildSubscriptionKey;
407
+ private sendUnsubscribe;
408
+ private releaseSharedSubscription;
400
409
  call(method: string, ...parameters: any[]): Promise<unknown>;
401
410
  subscribe(subscription: string, ...parameters: any[]): rxjs.Observable<any>;
402
411
  subscribeBypassRoute(subscription: string, ...parameters: any[]): rxjs.Observable<any>;
@@ -1089,6 +1098,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
1089
1098
  private subscribedConversationId;
1090
1099
  private conversationsSub?;
1091
1100
  private messagesSub?;
1101
+ private conversationsSubKey;
1102
+ private messagesSubKey;
1092
1103
  private subscriptionsPaused;
1093
1104
  private pauseTimer;
1094
1105
  private pendingConversationId;
@@ -1274,6 +1285,7 @@ declare class AiAssistantComponent implements OnChanges {
1274
1285
  closed: EventEmitter<void>;
1275
1286
  terminal?: AiTerminalComponent;
1276
1287
  panelRef?: ElementRef<HTMLDivElement>;
1288
+ terminalConfig: AiTerminalConfig;
1277
1289
  contextMode: 'current' | 'all' | 'auto';
1278
1290
  private hoverOpened;
1279
1291
  panelWidthPx: number | null;
@@ -1285,7 +1297,7 @@ declare class AiAssistantComponent implements OnChanges {
1285
1297
  private resizeMoved;
1286
1298
  constructor(router: Router, _account: AccountManagerService);
1287
1299
  ngOnChanges(changes: SimpleChanges): void;
1288
- get terminalConfig(): AiTerminalConfig;
1300
+ private buildTerminalConfig;
1289
1301
  closePanel(): void;
1290
1302
  handleRailClick(event?: MouseEvent): void;
1291
1303
  handleRailMouseDown(event: MouseEvent): void;
@@ -1834,7 +1846,7 @@ declare class AiTerminalModule {
1834
1846
  }
1835
1847
 
1836
1848
  declare function rioDatePickerConfigFactory(_account: AccountManagerService, _app: CoreService): {
1837
- resolveFirstDayOfWeek: () => "S" | "M";
1849
+ resolveFirstDayOfWeek: () => "M" | "S";
1838
1850
  resolveTimezone: () => any;
1839
1851
  };
1840
1852
  declare class CoreServicesModule {