corebasic 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.
Files changed (2) hide show
  1. package/libs/kafka.js +1 -1
  2. package/package.json +5 -2
package/libs/kafka.js CHANGED
@@ -37,7 +37,7 @@ let consumers = []
37
37
 
38
38
  const start_consumer = async function (topic, groupId, callback) {
39
39
  callback = typeof groupId === "string" ? callback : groupId
40
- groupId = typeof groupId === "string" ? groupId : `${appName}-${topic}`
40
+ groupId = typeof groupId === "string" ? `${appName}.${groupId}` : `${appName}.${topic}`
41
41
 
42
42
  const consumer = kafka.consumer({ groupId: groupId })
43
43
  consumers.push(consumer)
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "corebasic",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "author": "",
10
- "license": "ISC"
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "jsonwebtoken": "^9.0.1"
13
+ }
11
14
  }