corebasic 1.0.49 → 1.0.51

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 -1
  2. package/package.json +1 -1
package/libs/features.js CHANGED
@@ -89,7 +89,8 @@ const commandAction = async (req, res, topic) => {
89
89
  let _id = req.body.data._id ?? txn
90
90
  try {
91
91
  let {data, feature, app, user, client, version} = req.body
92
- await Kafka.send(`Features.${topic}`, { data, feature, app, user, client, version, txn, id: _id, date: new Date().getTime() }, _id)
92
+ let params = req.params
93
+ await Kafka.send(`Features.${topic}`, { data, params, feature, app, user, client, version, txn, id: _id, date: new Date().getTime() }, user)
93
94
 
94
95
  } catch {
95
96
  throw {status: 500, message: "Failed to queue the transaction"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.49",
4
+ "version": "1.0.51",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {