@@ -40,6 +40,10 @@ class Client {
4040 if ( ! / ^ w s s ? : \/ \/ / . test ( url ) ) {
4141 url = `ws://${ url } ` ;
4242 }
43+ // Same for ":17000"
44+ if ( ! / \: 1 7 0 0 0 $ / . test ( url ) ) {
45+ url += ':17000' ;
46+ }
4347
4448 this . reqId = - 1 ;
4549 this . autoReconnect = autoReconnect ;
@@ -85,7 +89,7 @@ class Client {
8589 setEnableTimeSync ( enable ) {
8690 this . enableTimeSync = enable ;
8791 if ( ! enable ) {
88- // Cancel any pending time sync requests so they won’ t update timeDiff later.
92+ // Cancel any pending time sync requests so they won' t update timeDiff later.
8993 for ( const key in this . storedPromises ) {
9094 this . storedPromises [ key ] . reject ( new Error ( "Time sync disabled" ) ) ;
9195 }
@@ -129,7 +133,7 @@ class Client {
129133 * larger data sets should be downloaded in patches.
130134 * - 4.0 (2024-01, CDP 4.12):
131135 * - Added NodeTag support to save custom tags for logged values (e.g. Unit or Description),
132- * accessible via the client’ s API.
136+ * accessible via the client' s API.
133137 * - Reduced network usage by having data responses only include changes instead of repeating unchanged values.
134138 * - Added support for string values and events.
135139 *
@@ -445,8 +449,7 @@ class Client {
445449 * This method checks if the tags for the specified sender are already cached. If so, it returns a
446450 * resolved promise with the cached tags. Otherwise, it initializes a pending promise for the sender,
447451 * sends a request for the sender's tags using `_sendEventSenderTagsRequest`, and returns a promise that
448- * resolves when the tags are received. If no response is received within 5000 ms, it falls back to resolving
449- * with an empty object.
452+ * resolves when the tags are received.
450453 *
451454 * @param {string } sender - The identifier of the event sender.
452455 * @returns {Promise<Object> } A promise that resolves with an object representing the tags for the sender.
@@ -867,7 +870,7 @@ class Client {
867870
868871 _reqDataPoints ( nodeNames , startS , endS , noOfDataPoints , limit , requestId ) {
869872 const _getDataPoints = ( nodeIds ) => {
870- this . _sendDataPointsRequest ( nodeIds , startS , endS , requestId , limit , noOfDataPoints ) ;
873+ this . _sendDataPointsRequest ( nodeIds , startS , endS , requestId , noOfDataPoints , limit ) ;
871874 } ;
872875
873876 const rejectRequest = ( error ) => {
@@ -909,7 +912,7 @@ class Client {
909912 } ) ;
910913 }
911914
912- _sendDataPointsRequest ( nodeIds , startS , endS , requestId , limit , noOfDataPoints ) {
915+ _sendDataPointsRequest ( nodeIds , startS , endS , requestId , noOfDataPoints , limit ) {
913916 const container = Container . create ( ) ;
914917 container . messageType = Container . Type . eSignalDataRequest ;
915918 container . signalDataRequest = {
0 commit comments