relayx-js 1.0.2 → 1.0.3
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/package.json +1 -1
- package/realtime/realtime.js +2 -1
package/package.json
CHANGED
package/realtime/realtime.js
CHANGED
|
@@ -566,7 +566,8 @@ export class Realtime {
|
|
|
566
566
|
|
|
567
567
|
this.#log(`${streamName} created`);
|
|
568
568
|
}else{
|
|
569
|
-
stream.config.subjects
|
|
569
|
+
var subs = [...stream.config.subjects, ...this.#getStreamTopicList(), ...this.#getPresenceTopics()];
|
|
570
|
+
stream.config.subjects = [...new Set(subs)];
|
|
570
571
|
await this.#jsManager.streams.update(streamName, stream.config);
|
|
571
572
|
|
|
572
573
|
this.#log(`${streamName} exists, updating and moving on...`);
|