corebasic 1.0.130 → 1.0.132

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/libs/elabase.js CHANGED
@@ -25,7 +25,7 @@ let Events = {
25
25
 
26
26
 
27
27
  const url = process.env.DIP_URL || "http://127.0.0.1"; // Set DIP_URL to "http://dip" (Prod) or http://dip-dev (Dev) in CI/CD
28
- let port = 9401
28
+ let port = process.env.DIP_PORT || 9401
29
29
  let api = 'execute'
30
30
  let fullurl = `${url}:${port}/${api}`
31
31
 
package/libs/features.js CHANGED
@@ -291,9 +291,9 @@ async function subscribe() {
291
291
 
292
292
  for (let consumer in subscriptions) {
293
293
  let publisher = subscriptions[consumer]
294
- let {topic} = Features.get(publisher)
294
+ let {topic} = getFeature(publisher)
295
295
 
296
- if (subscribed_consumers[consumer])
296
+ if (subscribed_consumers[consumer] || !getFeature(publisher))
297
297
  continue
298
298
 
299
299
  let kafka_consumer = Kafka.receive(`Features.${topic}`, consumer, async (topic, message) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.130",
4
+ "version": "1.0.132",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {