corebasic 1.0.133 → 1.0.134

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 -0
  2. package/package.json +1 -1
package/libs/features.js CHANGED
@@ -196,6 +196,8 @@ export const start = async (app, url, file) => {
196
196
  Kafka.receive(`Features.${topic}`, async (topic, message) => {
197
197
  if (Utils.isEmpty(message.meta?.company))
198
198
  message.meta = { ...message.meta, company: "GLOBAL", outlet: "GLOBAL" }
199
+ if (!message?.feature)
200
+ return
199
201
 
200
202
  const timer = ms => new Promise(res => setTimeout(res, ms)) // A promise that resolves after "ms" Milliseconds
201
203
  topic = topic.replace(/^.*Features./,'')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.133",
4
+ "version": "1.0.134",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {