@genesislcap/foundation-comms 14.217.3 → 14.217.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/connect/connect.d.ts +10 -10
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +8 -6
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/metadata/metadata.types.d.ts +1 -0
- package/dist/dts/metadata/metadata.types.d.ts.map +1 -1
- package/dist/foundation-comms.api.json +73 -27
- package/dist/foundation-comms.d.ts +18 -15
- package/docs/api/foundation-comms.commitparams.md +2 -1
- package/docs/api/foundation-comms.connect.snapshot.md +2 -2
- package/docs/api/foundation-comms.connect.stream.md +2 -2
- package/docs/api/foundation-comms.connect.streamstate.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.getavailableresources.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.snapshot.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.stream.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.streamstate.md +2 -2
- package/docs/api/foundation-comms.defaultconnect.streamwithoutautoteardown.md +2 -2
- package/docs/api/foundation-comms.defaultmessagebuilder.createdatalogonmessage.md +2 -2
- package/docs/api/foundation-comms.message.md +1 -1
- package/docs/api/foundation-comms.messagebuilder.createresourcesmessage.md +2 -2
- package/docs/api/foundation-comms.requestparams.md +3 -2
- package/docs/api/foundation-comms.serverrow.md +1 -0
- package/docs/api-report.md +18 -15
- package/package.json +14 -14
@@ -3,7 +3,7 @@ import type { Metadata, SchemaResponse } from '../metadata';
|
|
3
3
|
import { MetaCache } from '../metadata';
|
4
4
|
import { ConnectEventsEmitter } from './connect.events';
|
5
5
|
import { ConnectConfig } from './connect.types';
|
6
|
-
import { CommitParams, Message, MessageBuilder, RequestParams, ResourcesMessage } from './message';
|
6
|
+
import { CommitParams, DataserverParams, Message, MessageBuilder, RequestParams, ResourcesMessage } from './message';
|
7
7
|
import type { SocketObservable } from './socket';
|
8
8
|
import { Socket } from './socket';
|
9
9
|
/**
|
@@ -74,7 +74,7 @@ export interface Connect {
|
|
74
74
|
* @param params - Additional parameters to pass to the server.
|
75
75
|
* @returns A promise that resolves with the snapshot data.
|
76
76
|
*/
|
77
|
-
snapshot(resourceName: string, params?:
|
77
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
78
78
|
/**
|
79
79
|
* Starts listening for updates on the specified resource.
|
80
80
|
* @public
|
@@ -84,7 +84,7 @@ export interface Connect {
|
|
84
84
|
* @param params - Additional parameters to pass to the server.
|
85
85
|
* @returns An observable that emits messages received from the server.
|
86
86
|
*/
|
87
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
87
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
88
88
|
/**
|
89
89
|
* Starts listening for updates on the specified resource.
|
90
90
|
* @public
|
@@ -95,7 +95,7 @@ export interface Connect {
|
|
95
95
|
* @param initialState - State of the list to start with, defaults to empty array.
|
96
96
|
* @returns An observable that emits latest state of the list it subscribes to.
|
97
97
|
*/
|
98
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
98
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
99
99
|
/**
|
100
100
|
* Starts listening for updates on the specified resource without auto-teardown.
|
101
101
|
* @deprecated - Use `stream` instead. Will be removed in v15.
|
@@ -106,7 +106,7 @@ export interface Connect {
|
|
106
106
|
* @param params - Additional parameters to pass to the server.
|
107
107
|
* @returns An observable that emits messages received from the server.
|
108
108
|
*/
|
109
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
109
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
110
110
|
/**
|
111
111
|
* Requests additional rows of data for the specified source reference.
|
112
112
|
* @public
|
@@ -195,17 +195,17 @@ export declare class DefaultConnect implements Connect {
|
|
195
195
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
196
196
|
connect(host?: string): Promise<boolean>;
|
197
197
|
disconnect(): void;
|
198
|
-
snapshot(resourceName: string, params?:
|
199
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
200
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
201
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
198
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
199
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
200
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
201
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
202
202
|
getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
|
203
203
|
getMoreColumns(sourceRef: string): Promise<Message>;
|
204
204
|
dataLogoff(streamSourceRef: string): Promise<Message>;
|
205
205
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
206
206
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
207
207
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
208
|
-
getAvailableResources(params?:
|
208
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
209
209
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
210
210
|
}
|
211
211
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/connect/connect.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,oBAAoB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E,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAMjE,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;CAOrF;AAID;;;GAGG;AACH,eAAO,MAAM,SAAS,+DAAkE,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,OAAO,+DAEnB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
|
@@ -198,7 +198,7 @@ export type MessageError = {
|
|
198
198
|
export type Message<T = void | any> = {
|
199
199
|
REPLY?: any[];
|
200
200
|
CODE?: MessageCode | string;
|
201
|
-
DETAILS?: T
|
201
|
+
DETAILS?: T | Record<string, any>;
|
202
202
|
LOGGED_OUT?: boolean;
|
203
203
|
ERROR?: MessageError[];
|
204
204
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -299,18 +299,20 @@ export type RequestDetailsParam = {
|
|
299
299
|
* @public
|
300
300
|
*/
|
301
301
|
export type RequestParams = {
|
302
|
-
DETAILS?: RequestDetailsParam | any
|
303
|
-
REQUEST?: any
|
302
|
+
DETAILS?: RequestDetailsParam | Record<string, any>;
|
303
|
+
REQUEST?: Record<string, any>;
|
304
|
+
[key: string]: any;
|
304
305
|
};
|
305
306
|
/**
|
306
307
|
* Parameters for a COMMIT message
|
307
308
|
* @public
|
308
309
|
*/
|
309
310
|
export type CommitParams = {
|
310
|
-
DETAILS: any
|
311
|
+
DETAILS: Record<string, any>;
|
311
312
|
HOSTNAME?: string;
|
312
313
|
IGNORE_WARNINGS?: boolean;
|
313
314
|
VALIDATE?: boolean;
|
315
|
+
[key: string]: any;
|
314
316
|
};
|
315
317
|
/**
|
316
318
|
* Check if the provided message contains an error and throw an Error if it does
|
@@ -410,7 +412,7 @@ export interface MessageBuilder {
|
|
410
412
|
* @param params - The additional parameters.
|
411
413
|
* @returns The request message.
|
412
414
|
*/
|
413
|
-
createResourcesMessage<T = any>(params?:
|
415
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
414
416
|
/**
|
415
417
|
* Creates a metadata fetch message.
|
416
418
|
*
|
@@ -502,7 +504,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
502
504
|
constructor(session: Session, uuid: UUID);
|
503
505
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
504
506
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
505
|
-
createDataLogonMessage(resourceName: string, params?:
|
507
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
506
508
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
507
509
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
508
510
|
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
@@ -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,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,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,cAAc,mBAAmB;IAEjC,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IAErC,OAAO,YAAY;IACnB,QAAQ,aAAa;IAErB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAE3B,YAAY,iBAAiB;CAC9B;AAED;;;GAGG;AACH,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAA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AAC;AAEF;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
|
@@ -1112,7 +1112,16 @@
|
|
1112
1112
|
},
|
1113
1113
|
{
|
1114
1114
|
"kind": "Content",
|
1115
|
-
"text": "{\n DETAILS:
|
1115
|
+
"text": "{\n DETAILS: "
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"kind": "Reference",
|
1119
|
+
"text": "Record",
|
1120
|
+
"canonicalReference": "!Record:type"
|
1121
|
+
},
|
1122
|
+
{
|
1123
|
+
"kind": "Content",
|
1124
|
+
"text": "<string, any>;\n HOSTNAME?: string;\n IGNORE_WARNINGS?: boolean;\n VALIDATE?: boolean;\n [key: string]: any;\n}"
|
1116
1125
|
},
|
1117
1126
|
{
|
1118
1127
|
"kind": "Content",
|
@@ -1124,7 +1133,7 @@
|
|
1124
1133
|
"name": "CommitParams",
|
1125
1134
|
"typeTokenRange": {
|
1126
1135
|
"startIndex": 1,
|
1127
|
-
"endIndex":
|
1136
|
+
"endIndex": 4
|
1128
1137
|
}
|
1129
1138
|
},
|
1130
1139
|
{
|
@@ -1922,8 +1931,9 @@
|
|
1922
1931
|
"text": ", params?: "
|
1923
1932
|
},
|
1924
1933
|
{
|
1925
|
-
"kind": "
|
1926
|
-
"text": "
|
1934
|
+
"kind": "Reference",
|
1935
|
+
"text": "DataserverParams",
|
1936
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
1927
1937
|
},
|
1928
1938
|
{
|
1929
1939
|
"kind": "Content",
|
@@ -2015,8 +2025,9 @@
|
|
2015
2025
|
"text": ", params?: "
|
2016
2026
|
},
|
2017
2027
|
{
|
2018
|
-
"kind": "
|
2019
|
-
"text": "
|
2028
|
+
"kind": "Reference",
|
2029
|
+
"text": "DataserverParams",
|
2030
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2020
2031
|
},
|
2021
2032
|
{
|
2022
2033
|
"kind": "Content",
|
@@ -2124,8 +2135,9 @@
|
|
2124
2135
|
"text": ", params?: "
|
2125
2136
|
},
|
2126
2137
|
{
|
2127
|
-
"kind": "
|
2128
|
-
"text": "
|
2138
|
+
"kind": "Reference",
|
2139
|
+
"text": "DataserverParams",
|
2140
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
2129
2141
|
},
|
2130
2142
|
{
|
2131
2143
|
"kind": "Content",
|
@@ -10652,8 +10664,9 @@
|
|
10652
10664
|
"text": "getAvailableResources(params?: "
|
10653
10665
|
},
|
10654
10666
|
{
|
10655
|
-
"kind": "
|
10656
|
-
"text": "
|
10667
|
+
"kind": "Reference",
|
10668
|
+
"text": "RequestParams",
|
10669
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
10657
10670
|
},
|
10658
10671
|
{
|
10659
10672
|
"kind": "Content",
|
@@ -11423,8 +11436,9 @@
|
|
11423
11436
|
"text": ", params?: "
|
11424
11437
|
},
|
11425
11438
|
{
|
11426
|
-
"kind": "
|
11427
|
-
"text": "
|
11439
|
+
"kind": "Reference",
|
11440
|
+
"text": "DataserverParams",
|
11441
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11428
11442
|
},
|
11429
11443
|
{
|
11430
11444
|
"kind": "Content",
|
@@ -11550,8 +11564,9 @@
|
|
11550
11564
|
"text": ", params?: "
|
11551
11565
|
},
|
11552
11566
|
{
|
11553
|
-
"kind": "
|
11554
|
-
"text": "
|
11567
|
+
"kind": "Reference",
|
11568
|
+
"text": "DataserverParams",
|
11569
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11555
11570
|
},
|
11556
11571
|
{
|
11557
11572
|
"kind": "Content",
|
@@ -11662,8 +11677,9 @@
|
|
11662
11677
|
"text": ", params?: "
|
11663
11678
|
},
|
11664
11679
|
{
|
11665
|
-
"kind": "
|
11666
|
-
"text": "
|
11680
|
+
"kind": "Reference",
|
11681
|
+
"text": "DataserverParams",
|
11682
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11667
11683
|
},
|
11668
11684
|
{
|
11669
11685
|
"kind": "Content",
|
@@ -11781,8 +11797,9 @@
|
|
11781
11797
|
"text": ", params?: "
|
11782
11798
|
},
|
11783
11799
|
{
|
11784
|
-
"kind": "
|
11785
|
-
"text": "
|
11800
|
+
"kind": "Reference",
|
11801
|
+
"text": "DataserverParams",
|
11802
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
11786
11803
|
},
|
11787
11804
|
{
|
11788
11805
|
"kind": "Content",
|
@@ -17807,8 +17824,9 @@
|
|
17807
17824
|
"text": ", params?: "
|
17808
17825
|
},
|
17809
17826
|
{
|
17810
|
-
"kind": "
|
17811
|
-
"text": "
|
17827
|
+
"kind": "Reference",
|
17828
|
+
"text": "DataserverParams",
|
17829
|
+
"canonicalReference": "@genesislcap/foundation-comms!DataserverParams:type"
|
17812
17830
|
},
|
17813
17831
|
{
|
17814
17832
|
"kind": "Content",
|
@@ -24572,7 +24590,16 @@
|
|
24572
24590
|
},
|
24573
24591
|
{
|
24574
24592
|
"kind": "Content",
|
24575
|
-
"text": " | string;\n DETAILS?: T
|
24593
|
+
"text": " | string;\n DETAILS?: T | "
|
24594
|
+
},
|
24595
|
+
{
|
24596
|
+
"kind": "Reference",
|
24597
|
+
"text": "Record",
|
24598
|
+
"canonicalReference": "!Record:type"
|
24599
|
+
},
|
24600
|
+
{
|
24601
|
+
"kind": "Content",
|
24602
|
+
"text": "<string, any>;\n LOGGED_OUT?: boolean;\n ERROR?: "
|
24576
24603
|
},
|
24577
24604
|
{
|
24578
24605
|
"kind": "Reference",
|
@@ -24624,7 +24651,7 @@
|
|
24624
24651
|
],
|
24625
24652
|
"typeTokenRange": {
|
24626
24653
|
"startIndex": 3,
|
24627
|
-
"endIndex":
|
24654
|
+
"endIndex": 14
|
24628
24655
|
}
|
24629
24656
|
},
|
24630
24657
|
{
|
@@ -25727,8 +25754,9 @@
|
|
25727
25754
|
"text": ">(params?: "
|
25728
25755
|
},
|
25729
25756
|
{
|
25730
|
-
"kind": "
|
25731
|
-
"text": "
|
25757
|
+
"kind": "Reference",
|
25758
|
+
"text": "RequestParams",
|
25759
|
+
"canonicalReference": "@genesislcap/foundation-comms!RequestParams:type"
|
25732
25760
|
},
|
25733
25761
|
{
|
25734
25762
|
"kind": "Content",
|
@@ -28479,7 +28507,25 @@
|
|
28479
28507
|
},
|
28480
28508
|
{
|
28481
28509
|
"kind": "Content",
|
28482
|
-
"text": " |
|
28510
|
+
"text": " | "
|
28511
|
+
},
|
28512
|
+
{
|
28513
|
+
"kind": "Reference",
|
28514
|
+
"text": "Record",
|
28515
|
+
"canonicalReference": "!Record:type"
|
28516
|
+
},
|
28517
|
+
{
|
28518
|
+
"kind": "Content",
|
28519
|
+
"text": "<string, any>;\n REQUEST?: "
|
28520
|
+
},
|
28521
|
+
{
|
28522
|
+
"kind": "Reference",
|
28523
|
+
"text": "Record",
|
28524
|
+
"canonicalReference": "!Record:type"
|
28525
|
+
},
|
28526
|
+
{
|
28527
|
+
"kind": "Content",
|
28528
|
+
"text": "<string, any>;\n [key: string]: any;\n}"
|
28483
28529
|
},
|
28484
28530
|
{
|
28485
28531
|
"kind": "Content",
|
@@ -28491,7 +28537,7 @@
|
|
28491
28537
|
"name": "RequestParams",
|
28492
28538
|
"typeTokenRange": {
|
28493
28539
|
"startIndex": 1,
|
28494
|
-
"endIndex":
|
28540
|
+
"endIndex": 8
|
28495
28541
|
}
|
28496
28542
|
},
|
28497
28543
|
{
|
@@ -29433,7 +29479,7 @@
|
|
29433
29479
|
},
|
29434
29480
|
{
|
29435
29481
|
"kind": "Content",
|
29436
|
-
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n}"
|
29482
|
+
"text": "{\n DETAILS: {\n OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';\n ROW_REF: string;\n };\n [key: string]: any;\n}"
|
29437
29483
|
},
|
29438
29484
|
{
|
29439
29485
|
"kind": "Content",
|
@@ -178,10 +178,11 @@ export declare const CommitEventType = "connect-commit-event";
|
|
178
178
|
* @public
|
179
179
|
*/
|
180
180
|
export declare type CommitParams = {
|
181
|
-
DETAILS: any
|
181
|
+
DETAILS: Record<string, any>;
|
182
182
|
HOSTNAME?: string;
|
183
183
|
IGNORE_WARNINGS?: boolean;
|
184
184
|
VALIDATE?: boolean;
|
185
|
+
[key: string]: any;
|
185
186
|
};
|
186
187
|
|
187
188
|
/**
|
@@ -252,7 +253,7 @@ export declare interface Connect {
|
|
252
253
|
* @param params - Additional parameters to pass to the server.
|
253
254
|
* @returns A promise that resolves with the snapshot data.
|
254
255
|
*/
|
255
|
-
snapshot(resourceName: string, params?:
|
256
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
256
257
|
/**
|
257
258
|
* Starts listening for updates on the specified resource.
|
258
259
|
* @public
|
@@ -262,7 +263,7 @@ export declare interface Connect {
|
|
262
263
|
* @param params - Additional parameters to pass to the server.
|
263
264
|
* @returns An observable that emits messages received from the server.
|
264
265
|
*/
|
265
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
266
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
266
267
|
/**
|
267
268
|
* Starts listening for updates on the specified resource.
|
268
269
|
* @public
|
@@ -273,7 +274,7 @@ export declare interface Connect {
|
|
273
274
|
* @param initialState - State of the list to start with, defaults to empty array.
|
274
275
|
* @returns An observable that emits latest state of the list it subscribes to.
|
275
276
|
*/
|
276
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
277
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
277
278
|
/**
|
278
279
|
* Starts listening for updates on the specified resource without auto-teardown.
|
279
280
|
* @deprecated - Use `stream` instead. Will be removed in v15.
|
@@ -284,7 +285,7 @@ export declare interface Connect {
|
|
284
285
|
* @param params - Additional parameters to pass to the server.
|
285
286
|
* @returns An observable that emits messages received from the server.
|
286
287
|
*/
|
287
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
288
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
288
289
|
/**
|
289
290
|
* Requests additional rows of data for the specified source reference.
|
290
291
|
* @public
|
@@ -1664,17 +1665,17 @@ export declare class DefaultConnect implements Connect {
|
|
1664
1665
|
send<T>(message: Message<any>, needsHandling?: boolean): Promise<any>;
|
1665
1666
|
connect(host?: string): Promise<boolean>;
|
1666
1667
|
disconnect(): void;
|
1667
|
-
snapshot(resourceName: string, params?:
|
1668
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
1669
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
1670
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
1668
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
1669
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
1670
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
1671
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
1671
1672
|
getMoreRows(sourceRef: string, viewNumber?: number): Promise<Message>;
|
1672
1673
|
getMoreColumns(sourceRef: string): Promise<Message>;
|
1673
1674
|
dataLogoff(streamSourceRef: string): Promise<Message>;
|
1674
1675
|
getMetadata(resourceName: string, useCache?: boolean): Promise<Metadata>;
|
1675
1676
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
1676
1677
|
request(resourceName: string, params?: RequestParams): Promise<Message>;
|
1677
|
-
getAvailableResources(params?:
|
1678
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
1678
1679
|
commitEvent(eventName: string, params?: CommitParams): Promise<Message>;
|
1679
1680
|
}
|
1680
1681
|
|
@@ -2075,7 +2076,7 @@ export declare class DefaultMessageBuilder implements MessageBuilder {
|
|
2075
2076
|
constructor(session: Session, uuid: UUID);
|
2076
2077
|
createLoginMessage(credentials: AuthInfo): Message<MessageDetails.Login>;
|
2077
2078
|
createLogoutMessage(loginResult?: LoginResult): Message;
|
2078
|
-
createDataLogonMessage(resourceName: string, params?:
|
2079
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
2079
2080
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
2080
2081
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
2081
2082
|
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
@@ -3238,7 +3239,7 @@ export declare const MAX_RECONNECT_ATTEMPTS = 10;
|
|
3238
3239
|
export declare type Message<T = void | any> = {
|
3239
3240
|
REPLY?: any[];
|
3240
3241
|
CODE?: MessageCode | string;
|
3241
|
-
DETAILS?: T
|
3242
|
+
DETAILS?: T | Record<string, any>;
|
3242
3243
|
LOGGED_OUT?: boolean;
|
3243
3244
|
ERROR?: MessageError[];
|
3244
3245
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -3341,7 +3342,7 @@ export declare interface MessageBuilder {
|
|
3341
3342
|
* @param params - The additional parameters.
|
3342
3343
|
* @returns The request message.
|
3343
3344
|
*/
|
3344
|
-
createResourcesMessage<T = any>(params?:
|
3345
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
3345
3346
|
/**
|
3346
3347
|
* Creates a metadata fetch message.
|
3347
3348
|
*
|
@@ -3968,8 +3969,9 @@ export declare type RequestDetailsParam = {
|
|
3968
3969
|
* @public
|
3969
3970
|
*/
|
3970
3971
|
export declare type RequestParams = {
|
3971
|
-
DETAILS?: RequestDetailsParam | any
|
3972
|
-
REQUEST?: any
|
3972
|
+
DETAILS?: RequestDetailsParam | Record<string, any>;
|
3973
|
+
REQUEST?: Record<string, any>;
|
3974
|
+
[key: string]: any;
|
3973
3975
|
};
|
3974
3976
|
|
3975
3977
|
/**
|
@@ -4133,6 +4135,7 @@ export declare type ServerRow = {
|
|
4133
4135
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
4134
4136
|
ROW_REF: string;
|
4135
4137
|
};
|
4138
|
+
[key: string]: any;
|
4136
4139
|
};
|
4137
4140
|
|
4138
4141
|
/**
|
@@ -9,7 +9,7 @@ Retrieves a snapshot of data for the specified resource.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
snapshot(resourceName: string, params?:
|
12
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -17,7 +17,7 @@ snapshot(resourceName: string, params?: any): Promise<Message>;
|
|
17
17
|
| Parameter | Type | Description |
|
18
18
|
| --- | --- | --- |
|
19
19
|
| resourceName | string | The name of the resource to retrieve the snapshot for. |
|
20
|
-
| params |
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
21
21
|
|
22
22
|
**Returns:**
|
23
23
|
|
@@ -9,7 +9,7 @@ Starts listening for updates on the specified resource.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
12
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -19,7 +19,7 @@ stream(resourceName: string, onMessage: Function, onError: Function, params?: an
|
|
19
19
|
| resourceName | string | The name of the resource to listen for updates on. |
|
20
20
|
| onMessage | Function | A callback function to handle received messages. |
|
21
21
|
| onError | Function | A callback function to handle errors. |
|
22
|
-
| params |
|
22
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
23
23
|
|
24
24
|
**Returns:**
|
25
25
|
|
@@ -9,7 +9,7 @@ Starts listening for updates on the specified resource.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
12
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -19,7 +19,7 @@ streamState(resourceName: string, onMessage: Function, onError: Function, params
|
|
19
19
|
| resourceName | string | The name of the resource to listen for updates on. |
|
20
20
|
| onMessage | Function | A callback function to handle received messages. |
|
21
21
|
| onError | Function | A callback function to handle errors. |
|
22
|
-
| params |
|
22
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ Additional parameters to pass to the server. |
|
23
23
|
| initialState | any\[\] | _(Optional)_ State of the list to start with, defaults to empty array. |
|
24
24
|
|
25
25
|
**Returns:**
|
@@ -7,14 +7,14 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
getAvailableResources(params?:
|
10
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
14
14
|
|
15
15
|
| Parameter | Type | Description |
|
16
16
|
| --- | --- | --- |
|
17
|
-
| params |
|
17
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ |
|
18
18
|
|
19
19
|
**Returns:**
|
20
20
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
snapshot(resourceName: string, params?:
|
10
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -15,7 +15,7 @@ snapshot(resourceName: string, params?: any): Promise<Message>;
|
|
15
15
|
| Parameter | Type | Description |
|
16
16
|
| --- | --- | --- |
|
17
17
|
| resourceName | string | |
|
18
|
-
| params |
|
18
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
19
19
|
|
20
20
|
**Returns:**
|
21
21
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
10
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -17,7 +17,7 @@ stream(resourceName: string, onMessage: Function, onError: Function, params?: an
|
|
17
17
|
| resourceName | string | |
|
18
18
|
| onMessage | Function | |
|
19
19
|
| onError | Function | |
|
20
|
-
| params |
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
21
21
|
|
22
22
|
**Returns:**
|
23
23
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
10
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -17,7 +17,7 @@ streamState(resourceName: string, onMessage?: Function, onError?: Function, para
|
|
17
17
|
| resourceName | string | |
|
18
18
|
| onMessage | Function | _(Optional)_ |
|
19
19
|
| onError | Function | _(Optional)_ |
|
20
|
-
| params |
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
21
21
|
| initialState | any\[\] | _(Optional)_ |
|
22
22
|
|
23
23
|
**Returns:**
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
10
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -17,7 +17,7 @@ streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Fu
|
|
17
17
|
| resourceName | string | |
|
18
18
|
| onMessage | Function | |
|
19
19
|
| onError | Function | |
|
20
|
-
| params |
|
20
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
21
21
|
|
22
22
|
**Returns:**
|
23
23
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
**Signature:**
|
8
8
|
|
9
9
|
```typescript
|
10
|
-
createDataLogonMessage(resourceName: string, params?:
|
10
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
11
11
|
```
|
12
12
|
|
13
13
|
## Parameters
|
@@ -15,7 +15,7 @@ createDataLogonMessage(resourceName: string, params?: any): Message<MessageDetai
|
|
15
15
|
| Parameter | Type | Description |
|
16
16
|
| --- | --- | --- |
|
17
17
|
| resourceName | string | |
|
18
|
-
| params |
|
18
|
+
| params | [DataserverParams](./foundation-comms.dataserverparams.md) | _(Optional)_ |
|
19
19
|
|
20
20
|
**Returns:**
|
21
21
|
|
@@ -12,7 +12,7 @@ Base Message type for all DETAIL variants
|
|
12
12
|
export type Message<T = void | any> = {
|
13
13
|
REPLY?: any[];
|
14
14
|
CODE?: MessageCode | string;
|
15
|
-
DETAILS?: T
|
15
|
+
DETAILS?: T | Record<string, any>;
|
16
16
|
LOGGED_OUT?: boolean;
|
17
17
|
ERROR?: MessageError[];
|
18
18
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -9,14 +9,14 @@ Creates a message for getting list of resources.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
createResourcesMessage<T = any>(params?:
|
12
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
16
16
|
|
17
17
|
| Parameter | Type | Description |
|
18
18
|
| --- | --- | --- |
|
19
|
-
| params |
|
19
|
+
| params | [RequestParams](./foundation-comms.requestparams.md) | _(Optional)_ The additional parameters. |
|
20
20
|
|
21
21
|
**Returns:**
|
22
22
|
|
@@ -10,8 +10,9 @@ Parameters for a REQ\_ messages
|
|
10
10
|
|
11
11
|
```typescript
|
12
12
|
export type RequestParams = {
|
13
|
-
DETAILS?: RequestDetailsParam | any
|
14
|
-
REQUEST?: any
|
13
|
+
DETAILS?: RequestDetailsParam | Record<string, any>;
|
14
|
+
REQUEST?: Record<string, any>;
|
15
|
+
[key: string]: any;
|
15
16
|
};
|
16
17
|
```
|
17
18
|
**References:** [RequestDetailsParam](./foundation-comms.requestdetailsparam.md)
|
package/docs/api-report.md
CHANGED
@@ -141,10 +141,11 @@ export const CommitEventType = "connect-commit-event";
|
|
141
141
|
|
142
142
|
// @public
|
143
143
|
export type CommitParams = {
|
144
|
-
DETAILS: any
|
144
|
+
DETAILS: Record<string, any>;
|
145
145
|
HOSTNAME?: string;
|
146
146
|
IGNORE_WARNINGS?: boolean;
|
147
147
|
VALIDATE?: boolean;
|
148
|
+
[key: string]: any;
|
148
149
|
};
|
149
150
|
|
150
151
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Connect" because one of its declarations is marked as @internal
|
@@ -174,11 +175,11 @@ export interface Connect {
|
|
174
175
|
send<T>(message: Message<T | any>, needsHandling?: boolean): Promise<Message | any>;
|
175
176
|
// @internal
|
176
177
|
setValidSession(valid: boolean): void;
|
177
|
-
snapshot(resourceName: string, params?:
|
178
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
179
|
-
streamState(resourceName: string, onMessage: Function, onError: Function, params?:
|
178
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
179
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
180
|
+
streamState(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
180
181
|
// @alpha @deprecated
|
181
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
182
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
182
183
|
}
|
183
184
|
|
184
185
|
// @internal
|
@@ -941,7 +942,7 @@ export class DefaultConnect implements Connect {
|
|
941
942
|
// (undocumented)
|
942
943
|
disconnect(): void;
|
943
944
|
// (undocumented)
|
944
|
-
getAvailableResources(params?:
|
945
|
+
getAvailableResources(params?: RequestParams): Promise<ResourcesMessage>;
|
945
946
|
// (undocumented)
|
946
947
|
getJSONSchema(resourceName: string, useCache?: boolean): Promise<SchemaResponse>;
|
947
948
|
// (undocumented)
|
@@ -969,15 +970,15 @@ export class DefaultConnect implements Connect {
|
|
969
970
|
// @deprecated (undocumented)
|
970
971
|
setValidSession(valid: boolean): void;
|
971
972
|
// (undocumented)
|
972
|
-
snapshot(resourceName: string, params?:
|
973
|
+
snapshot(resourceName: string, params?: DataserverParams): Promise<Message>;
|
973
974
|
// (undocumented)
|
974
975
|
socket: Socket;
|
975
976
|
// (undocumented)
|
976
|
-
stream(resourceName: string, onMessage: Function, onError: Function, params?:
|
977
|
+
stream(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
977
978
|
// (undocumented)
|
978
|
-
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?:
|
979
|
+
streamState(resourceName: string, onMessage?: Function, onError?: Function, params?: DataserverParams, initialState?: any[]): Observable<any[]>;
|
979
980
|
// (undocumented)
|
980
|
-
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?:
|
981
|
+
streamWithoutAutoTeardown(resourceName: string, onMessage: Function, onError: Function, params?: DataserverParams): SocketObservable<Message>;
|
981
982
|
}
|
982
983
|
|
983
984
|
// @public
|
@@ -1338,7 +1339,7 @@ export class DefaultMessageBuilder implements MessageBuilder {
|
|
1338
1339
|
// (undocumented)
|
1339
1340
|
createDataLogoffMessage<T = any>(sourceRef: string): Message<T>;
|
1340
1341
|
// (undocumented)
|
1341
|
-
createDataLogonMessage(resourceName: string, params?:
|
1342
|
+
createDataLogonMessage(resourceName: string, params?: DataserverParams): Message<MessageDetails.DataserverRequest>;
|
1342
1343
|
// (undocumented)
|
1343
1344
|
createForgotPasswordMessage(username: string, returnUrl: string, requester?: string): Message<MessageDetails.ForgotPassword>;
|
1344
1345
|
// (undocumented)
|
@@ -1963,7 +1964,7 @@ export const MAX_RECONNECT_ATTEMPTS = 10;
|
|
1963
1964
|
export type Message<T = void | any> = {
|
1964
1965
|
REPLY?: any[];
|
1965
1966
|
CODE?: MessageCode | string;
|
1966
|
-
DETAILS?: T
|
1967
|
+
DETAILS?: T | Record<string, any>;
|
1967
1968
|
LOGGED_OUT?: boolean;
|
1968
1969
|
ERROR?: MessageError[];
|
1969
1970
|
MESSAGE_TYPE?: MessageType | EventMessageType | string;
|
@@ -2002,7 +2003,7 @@ export interface MessageBuilder {
|
|
2002
2003
|
createMoreRowsMessage(sourceRef: string, viewNumber?: number): Message<MessageDetails.MoreRows>;
|
2003
2004
|
createRefreshTokenMessage(): Message<MessageDetails.RefreshToken>;
|
2004
2005
|
createRequestMessage<T = any>(resourceName: string, params?: RequestParams): Message<T>;
|
2005
|
-
createResourcesMessage<T = any>(params?:
|
2006
|
+
createResourcesMessage<T = any>(params?: RequestParams): Message<T>;
|
2006
2007
|
}
|
2007
2008
|
|
2008
2009
|
// @internal
|
@@ -2314,8 +2315,9 @@ export type RequestDetailsParam = {
|
|
2314
2315
|
|
2315
2316
|
// @public
|
2316
2317
|
export type RequestParams = {
|
2317
|
-
DETAILS?: RequestDetailsParam | any
|
2318
|
-
REQUEST?: any
|
2318
|
+
DETAILS?: RequestDetailsParam | Record<string, any>;
|
2319
|
+
REQUEST?: Record<string, any>;
|
2320
|
+
[key: string]: any;
|
2319
2321
|
};
|
2320
2322
|
|
2321
2323
|
// @public
|
@@ -2424,6 +2426,7 @@ export type ServerRow = {
|
|
2424
2426
|
OPERATION: 'INSERT' | 'MODIFY' | 'DELETE';
|
2425
2427
|
ROW_REF: string;
|
2426
2428
|
};
|
2429
|
+
[key: string]: any;
|
2427
2430
|
};
|
2428
2431
|
|
2429
2432
|
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "Session" because one of its declarations is marked as @internal
|
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.217.
|
4
|
+
"version": "14.217.4",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -75,25 +75,25 @@
|
|
75
75
|
}
|
76
76
|
},
|
77
77
|
"devDependencies": {
|
78
|
-
"@genesislcap/foundation-testing": "14.217.
|
79
|
-
"@genesislcap/genx": "14.217.
|
80
|
-
"@genesislcap/rollup-builder": "14.217.
|
81
|
-
"@genesislcap/ts-builder": "14.217.
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.217.
|
83
|
-
"@genesislcap/vite-builder": "14.217.
|
84
|
-
"@genesislcap/webpack-builder": "14.217.
|
78
|
+
"@genesislcap/foundation-testing": "14.217.4",
|
79
|
+
"@genesislcap/genx": "14.217.4",
|
80
|
+
"@genesislcap/rollup-builder": "14.217.4",
|
81
|
+
"@genesislcap/ts-builder": "14.217.4",
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.217.4",
|
83
|
+
"@genesislcap/vite-builder": "14.217.4",
|
84
|
+
"@genesislcap/webpack-builder": "14.217.4",
|
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.217.
|
92
|
-
"@genesislcap/foundation-logger": "14.217.
|
93
|
-
"@genesislcap/foundation-user": "14.217.
|
94
|
-
"@genesislcap/foundation-utils": "14.217.
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.217.4",
|
92
|
+
"@genesislcap/foundation-logger": "14.217.4",
|
93
|
+
"@genesislcap/foundation-user": "14.217.4",
|
94
|
+
"@genesislcap/foundation-utils": "14.217.4",
|
95
95
|
"@microsoft/fast-element": "^1.12.0",
|
96
|
-
"@microsoft/fast-foundation": "
|
96
|
+
"@microsoft/fast-foundation": "2.49.6",
|
97
97
|
"analytics": "^0.8.0",
|
98
98
|
"bowser": "^2.11.0",
|
99
99
|
"fast-safe-stringify": "^2.1.1",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
},
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "d7e7d4b855806613641fe36056b06efebc70a5a3"
|
115
115
|
}
|