@indra.ai/deva 1.1.96 → 1.1.97

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/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1255,7 +1255,7 @@ class Deva {
1255
1255
  if (!this._features[feature]) return;
1256
1256
  this._feature = feature;
1257
1257
  const text = this._messages.features[feature] ;
1258
- const data = {
1258
+ const talk = {
1259
1259
  id: this.uid(true),
1260
1260
  key: 'feature',
1261
1261
  value: feature,
@@ -1264,8 +1264,8 @@ class Deva {
1264
1264
  data,
1265
1265
  created: Date.now(),
1266
1266
  };
1267
- data.hash = this.hash(data);
1268
- this.talk(config.events.feature, data);
1267
+ talk.hash = this.hash(talk);
1268
+ this.talk(config.events.feature, talk);
1269
1269
  } catch (e) {
1270
1270
  return this.error(e);
1271
1271
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.96",
3
+ "version": "1.1.97",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {