jsgar 3.1.2 → 3.1.4
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/dist/gar.umd.js +6 -6
- package/package.json +1 -1
package/dist/gar.umd.js
CHANGED
|
@@ -734,15 +734,15 @@
|
|
|
734
734
|
* @param {string|null} [maxHistory] - Maximum history to include
|
|
735
735
|
* @param {boolean} [includeReferencedKeys=false] - Add keys from key references in matched records
|
|
736
736
|
* @param {boolean} [includeReferencingKeys=false] - Add keys that have one or more records referencing any matched keys
|
|
737
|
-
* @param {boolean} [
|
|
737
|
+
* @param {boolean} [trimDefaultValues=false] - Trim records containing default values from the snapshot
|
|
738
738
|
* @param {string|null} [workingNamespace] - Namespace for matching relative paths
|
|
739
|
+
* @param {string|null} [restrictNamespace=false] - Restricts topics and keys to children of restrict_namespace. Defaults to the working namespace. Use "::" for root / no restriction.
|
|
739
740
|
* @param {string|null} [density] - For performance tuning
|
|
740
741
|
* @param {number} [subscriptionGroup=0] - Subscription group ID for isolating callbacks
|
|
741
742
|
* @param {string|null} [subscriptionSet] - Subscription set identifier
|
|
742
743
|
* @param {number} [snapshotSizeLimit=0] - Limit snapshot size
|
|
743
744
|
* @param {number} [nagleInterval=0] - Nagle interval in milliseconds
|
|
744
745
|
* @param {number} [limit=0] - Limits records in initial snapshot (0 = all)
|
|
745
|
-
* @param {boolean} [trimDefaultValues=false] - Trim records containing default values from the snapshot
|
|
746
746
|
*/
|
|
747
747
|
subscribe(
|
|
748
748
|
name,
|
|
@@ -757,9 +757,9 @@
|
|
|
757
757
|
maxHistory = null,
|
|
758
758
|
includeReferencedKeys = false,
|
|
759
759
|
includeReferencingKeys = false,
|
|
760
|
-
includeAllNamespace = false,
|
|
761
760
|
trimDefaultValues = false,
|
|
762
761
|
workingNamespace = null,
|
|
762
|
+
restrictNamespace = null,
|
|
763
763
|
density = null,
|
|
764
764
|
subscriptionGroup = 0,
|
|
765
765
|
subscriptionSet = null,
|
|
@@ -840,8 +840,8 @@
|
|
|
840
840
|
if (includeReferencingKeys) {
|
|
841
841
|
valueDict.include_referencing_keys = includeReferencingKeys;
|
|
842
842
|
}
|
|
843
|
-
if (
|
|
844
|
-
valueDict.
|
|
843
|
+
if (restrictNamespace) {
|
|
844
|
+
valueDict.restrict_namespace = restrictNamespace;
|
|
845
845
|
}
|
|
846
846
|
if (trimDefaultValues) {
|
|
847
847
|
valueDict.trim_default_values = trimDefaultValues;
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
false,
|
|
919
919
|
false,
|
|
920
920
|
false,
|
|
921
|
-
|
|
921
|
+
null,
|
|
922
922
|
null,
|
|
923
923
|
null,
|
|
924
924
|
subscriptionGroup,
|