jsgar 4.1.0 → 4.3.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 (3) hide show
  1. package/dist/gar.umd.js +20 -9
  2. package/gar.js +20 -9
  3. package/package.json +1 -1
package/dist/gar.umd.js CHANGED
@@ -916,7 +916,8 @@
916
916
  * @param {string|null} [excludeKeyFilter=null] - Exclude key filter regex (cannot use with keyName)
917
917
  * @param {string|null} [excludeTopicFilter=null] - Exclude topic filter regex (cannot use with topicName)
918
918
  * @param {string|null} [maxHistory] - Maximum history to include
919
- * @param {boolean} [includeDerived=false] - Include derived topics
919
+ * @param {boolean} [excludeDerived=false] - Exclude derived topics (derived topics are included by default)
920
+ * @param {boolean} [includeHeavy=false] - Include heavy derived topics (comprehensions, array-typed, heavy functions)
920
921
  * @param {boolean} [trimDefaultValues=false] - Trim records containing default values from the snapshot
921
922
  * @param {string|null} [workingNamespace] - Namespace for matching relative paths
922
923
  * @param {string|Array<string>|null} [restrictNamespace] - Restricts topics and keys to children of these namespaces (union). Defaults to the working namespace. Use ["::"] for root / no restriction.
@@ -940,7 +941,8 @@
940
941
  excludeKeyFilter = null,
941
942
  excludeTopicFilter = null,
942
943
  maxHistory = null,
943
- includeDerived = false,
944
+ excludeDerived = false,
945
+ includeHeavy = false,
944
946
  trimDefaultValues = false,
945
947
  workingNamespace = null,
946
948
  restrictNamespace = null,
@@ -1028,8 +1030,11 @@
1028
1030
  if (density) {
1029
1031
  valueDict.density = density;
1030
1032
  }
1031
- if (includeDerived) {
1032
- valueDict.include_derived = includeDerived;
1033
+ if (excludeDerived) {
1034
+ valueDict.exclude_derived = excludeDerived;
1035
+ }
1036
+ if (includeHeavy) {
1037
+ valueDict.include_heavy = includeHeavy;
1033
1038
  }
1034
1039
  if (restrictNamespace) {
1035
1040
  valueDict.restrict_namespace = typeof restrictNamespace === 'string' ? [restrictNamespace] : restrictNamespace;
@@ -1114,6 +1119,8 @@
1114
1119
  null,
1115
1120
  false,
1116
1121
  false,
1122
+ false,
1123
+ null,
1117
1124
  null,
1118
1125
  null,
1119
1126
  null,
@@ -1306,7 +1313,7 @@
1306
1313
  * @param {string|null} [workingNamespace]
1307
1314
  * @param {string|Array<string>|null} [restrictNamespace]
1308
1315
  * @param {string|Array<string>|null} [excludeNamespace]
1309
- * @param {boolean} [includeDerived=false]
1316
+ * @param {boolean} [excludeDerived=false]
1310
1317
  * @param {number} [timeout=10.0] seconds
1311
1318
  * @param {number} [subscriptionGroupServerKeys=650704]
1312
1319
  * @param {number} [subscriptionGroupServerRecords=650705]
@@ -1324,7 +1331,7 @@
1324
1331
  workingNamespace = null,
1325
1332
  restrictNamespace = null,
1326
1333
  excludeNamespace = null,
1327
- includeDerived = false,
1334
+ excludeDerived = false,
1328
1335
  timeout = 10.0,
1329
1336
  subscriptionGroupServerKeys = 650704,
1330
1337
  subscriptionGroupServerRecords = 650705,
@@ -1346,7 +1353,7 @@
1346
1353
  if (excludeKeyFilter != null) recordFilter.exclude_key_filter_regex = excludeKeyFilter;
1347
1354
  if (topicFilter != null) recordFilter.topic_filter_regex = topicFilter;
1348
1355
  if (excludeTopicFilter != null) recordFilter.exclude_topic_filter_regex = excludeTopicFilter;
1349
- if (includeDerived) recordFilter.include_derived = includeDerived;
1356
+ if (excludeDerived) recordFilter.exclude_derived = excludeDerived;
1350
1357
  if (Array.isArray(historyTypes)) recordFilter.history_types = historyTypes;
1351
1358
 
1352
1359
  const resultContainer = { };
@@ -1404,11 +1411,13 @@
1404
1411
  null,
1405
1412
  null,
1406
1413
  null,
1407
- true,
1414
+ false,
1415
+ false,
1408
1416
  false,
1409
1417
  'g::deployment::Server',
1410
1418
  null,
1411
1419
  null,
1420
+ null,
1412
1421
  subscriptionGroupServerRecords,
1413
1422
  );
1414
1423
  };
@@ -1452,11 +1461,13 @@
1452
1461
  null,
1453
1462
  null,
1454
1463
  null,
1455
- true,
1464
+ false,
1465
+ false,
1456
1466
  false,
1457
1467
  'g::deployment::RecordFilter',
1458
1468
  null,
1459
1469
  null,
1470
+ null,
1460
1471
  subscriptionGroupServerKeys,
1461
1472
  );
1462
1473
 
package/gar.js CHANGED
@@ -910,7 +910,8 @@ class GARClient {
910
910
  * @param {string|null} [excludeKeyFilter=null] - Exclude key filter regex (cannot use with keyName)
911
911
  * @param {string|null} [excludeTopicFilter=null] - Exclude topic filter regex (cannot use with topicName)
912
912
  * @param {string|null} [maxHistory] - Maximum history to include
913
- * @param {boolean} [includeDerived=false] - Include derived topics
913
+ * @param {boolean} [excludeDerived=false] - Exclude derived topics (derived topics are included by default)
914
+ * @param {boolean} [includeHeavy=false] - Include heavy derived topics (comprehensions, array-typed, heavy functions)
914
915
  * @param {boolean} [trimDefaultValues=false] - Trim records containing default values from the snapshot
915
916
  * @param {string|null} [workingNamespace] - Namespace for matching relative paths
916
917
  * @param {string|Array<string>|null} [restrictNamespace] - Restricts topics and keys to children of these namespaces (union). Defaults to the working namespace. Use ["::"] for root / no restriction.
@@ -934,7 +935,8 @@ class GARClient {
934
935
  excludeKeyFilter = null,
935
936
  excludeTopicFilter = null,
936
937
  maxHistory = null,
937
- includeDerived = false,
938
+ excludeDerived = false,
939
+ includeHeavy = false,
938
940
  trimDefaultValues = false,
939
941
  workingNamespace = null,
940
942
  restrictNamespace = null,
@@ -1022,8 +1024,11 @@ class GARClient {
1022
1024
  if (density) {
1023
1025
  valueDict.density = density;
1024
1026
  }
1025
- if (includeDerived) {
1026
- valueDict.include_derived = includeDerived;
1027
+ if (excludeDerived) {
1028
+ valueDict.exclude_derived = excludeDerived;
1029
+ }
1030
+ if (includeHeavy) {
1031
+ valueDict.include_heavy = includeHeavy;
1027
1032
  }
1028
1033
  if (restrictNamespace) {
1029
1034
  valueDict.restrict_namespace = typeof restrictNamespace === 'string' ? [restrictNamespace] : restrictNamespace;
@@ -1108,6 +1113,8 @@ class GARClient {
1108
1113
  null,
1109
1114
  false,
1110
1115
  false,
1116
+ false,
1117
+ null,
1111
1118
  null,
1112
1119
  null,
1113
1120
  null,
@@ -1300,7 +1307,7 @@ class GARClient {
1300
1307
  * @param {string|null} [workingNamespace]
1301
1308
  * @param {string|Array<string>|null} [restrictNamespace]
1302
1309
  * @param {string|Array<string>|null} [excludeNamespace]
1303
- * @param {boolean} [includeDerived=false]
1310
+ * @param {boolean} [excludeDerived=false]
1304
1311
  * @param {number} [timeout=10.0] seconds
1305
1312
  * @param {number} [subscriptionGroupServerKeys=650704]
1306
1313
  * @param {number} [subscriptionGroupServerRecords=650705]
@@ -1318,7 +1325,7 @@ class GARClient {
1318
1325
  workingNamespace = null,
1319
1326
  restrictNamespace = null,
1320
1327
  excludeNamespace = null,
1321
- includeDerived = false,
1328
+ excludeDerived = false,
1322
1329
  timeout = 10.0,
1323
1330
  subscriptionGroupServerKeys = 650704,
1324
1331
  subscriptionGroupServerRecords = 650705,
@@ -1340,7 +1347,7 @@ class GARClient {
1340
1347
  if (excludeKeyFilter != null) recordFilter.exclude_key_filter_regex = excludeKeyFilter;
1341
1348
  if (topicFilter != null) recordFilter.topic_filter_regex = topicFilter;
1342
1349
  if (excludeTopicFilter != null) recordFilter.exclude_topic_filter_regex = excludeTopicFilter;
1343
- if (includeDerived) recordFilter.include_derived = includeDerived;
1350
+ if (excludeDerived) recordFilter.exclude_derived = excludeDerived;
1344
1351
  if (Array.isArray(historyTypes)) recordFilter.history_types = historyTypes;
1345
1352
 
1346
1353
  const resultContainer = { };
@@ -1398,11 +1405,13 @@ class GARClient {
1398
1405
  null,
1399
1406
  null,
1400
1407
  null,
1401
- true,
1408
+ false,
1409
+ false,
1402
1410
  false,
1403
1411
  'g::deployment::Server',
1404
1412
  null,
1405
1413
  null,
1414
+ null,
1406
1415
  subscriptionGroupServerRecords,
1407
1416
  );
1408
1417
  };
@@ -1446,11 +1455,13 @@ class GARClient {
1446
1455
  null,
1447
1456
  null,
1448
1457
  null,
1449
- true,
1458
+ false,
1459
+ false,
1450
1460
  false,
1451
1461
  'g::deployment::RecordFilter',
1452
1462
  null,
1453
1463
  null,
1464
+ null,
1454
1465
  subscriptionGroupServerKeys,
1455
1466
  );
1456
1467
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsgar",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "A Javascript client for the GAR protocol",
5
5
  "type": "module",
6
6
  "main": "dist/gar.umd.js",