@avtechno/sfr 1.0.8 → 1.0.10
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/sfr-pipeline.mjs +1 -2
- package/package.json +1 -1
- package/src/sfr-pipeline.mts +1 -2
- package/src/types/index.d.ts +1 -1
package/dist/sfr-pipeline.mjs
CHANGED
|
@@ -39,8 +39,7 @@ export class SFRPipeline {
|
|
|
39
39
|
if (this.comms["MQ"]) {
|
|
40
40
|
//Create channels for each type of Communication Pattern
|
|
41
41
|
const channels = await Promise.all(PATTERNS.map(async (v) => {
|
|
42
|
-
const
|
|
43
|
-
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(channel, v) : new BroadcastMQ(channel, v);
|
|
42
|
+
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(this.comms["MQ"], v) : new BroadcastMQ(this.comms["MQ"], v);
|
|
44
43
|
return [v, mq];
|
|
45
44
|
}));
|
|
46
45
|
this.pattern_channels = Object.fromEntries(channels);
|
package/package.json
CHANGED
package/src/sfr-pipeline.mts
CHANGED
|
@@ -39,8 +39,7 @@ export class SFRPipeline {
|
|
|
39
39
|
if(this.comms["MQ"]){
|
|
40
40
|
//Create channels for each type of Communication Pattern
|
|
41
41
|
const channels = await Promise.all(PATTERNS.map(async (v) => {
|
|
42
|
-
const
|
|
43
|
-
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(channel, v) : new BroadcastMQ(channel, v);
|
|
42
|
+
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(this.comms["MQ"], v) : new BroadcastMQ(this.comms["MQ"], v);
|
|
44
43
|
|
|
45
44
|
return [v, mq];
|
|
46
45
|
}));
|