@avtechno/sfr 1.0.8 → 1.0.9
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 -1
- package/package.json +1 -1
- package/src/sfr-pipeline.mts +1 -1
package/dist/sfr-pipeline.mjs
CHANGED
|
@@ -37,9 +37,9 @@ export class SFRPipeline {
|
|
|
37
37
|
async init(base_url) {
|
|
38
38
|
this.base_url = base_url;
|
|
39
39
|
if (this.comms["MQ"]) {
|
|
40
|
+
const channel = await this.comms["MQ"].createChannel();
|
|
40
41
|
//Create channels for each type of Communication Pattern
|
|
41
42
|
const channels = await Promise.all(PATTERNS.map(async (v) => {
|
|
42
|
-
const channel = await this.comms["MQ"].createChannel();
|
|
43
43
|
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(channel, v) : new BroadcastMQ(channel, v);
|
|
44
44
|
return [v, mq];
|
|
45
45
|
}));
|
package/package.json
CHANGED
package/src/sfr-pipeline.mts
CHANGED
|
@@ -37,9 +37,9 @@ export class SFRPipeline {
|
|
|
37
37
|
async init(base_url?: string): Promise<ServiceDocuments> {
|
|
38
38
|
this.base_url = base_url;
|
|
39
39
|
if(this.comms["MQ"]){
|
|
40
|
+
const channel = await this.comms["MQ"].createChannel();
|
|
40
41
|
//Create channels for each type of Communication Pattern
|
|
41
42
|
const channels = await Promise.all(PATTERNS.map(async (v) => {
|
|
42
|
-
const channel = await this.comms["MQ"].createChannel();
|
|
43
43
|
const mq = TARGETED_PATTERN.includes(v) ? new TargetedMQ(channel, v) : new BroadcastMQ(channel, v);
|
|
44
44
|
|
|
45
45
|
return [v, mq];
|