jsgar 1.2.4 → 1.3.1
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 +2 -2
- package/package.json +1 -1
package/dist/gar.umd.js
CHANGED
|
@@ -575,14 +575,14 @@
|
|
|
575
575
|
* @param {string|null} [keyFilter=null] - Key filter regex
|
|
576
576
|
* @param {string|null} [topicFilter=null] - Topic filter regex
|
|
577
577
|
*/
|
|
578
|
-
subscribe(name, mode = 'Streaming', keyName = null, topicName = null, classFilter = null, keyFilter = null, topicFilter = null,
|
|
578
|
+
subscribe(name, mode = 'Streaming', keyName = null, topicName = null, classFilter = null, keyFilter = null, topicFilter = null, all_matching_keys = false) {
|
|
579
579
|
const keyId = keyName ? this.getAndPossiblyIntroduceKeyId(keyName) : 0;
|
|
580
580
|
const topicId = topicName ? this.getAndPossiblyIntroduceTopicId(topicName) : 0;
|
|
581
581
|
const subMsg = {
|
|
582
582
|
message_type: 'Subscribe',
|
|
583
583
|
value: {
|
|
584
584
|
subscription_mode: mode,
|
|
585
|
-
|
|
585
|
+
all_matching_keys: all_matching_keys,
|
|
586
586
|
nagle_interval: 0,
|
|
587
587
|
name,
|
|
588
588
|
key_id: keyId,
|