corebasic 1.0.130 → 1.0.131

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.
Files changed (2) hide show
  1. package/libs/features.js +2 -2
  2. package/package.json +1 -1
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.131",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {