@indra.ai/deva 1.2.36 → 1.2.38

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 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -193,13 +193,14 @@ class Deva {
193
193
  ***************/
194
194
  Client(client) {
195
195
  this.action('Client');
196
-
197
196
  // setup any custom methods for the features
198
197
  for (const x in client.features) {
199
198
  const methods = client.features[x].methods || false;
200
199
  if (methods) for (const y in methods) {
201
200
  const isFunc = typeof methods[y] === 'function';
202
- if (isFunc) this.methods[y] = methods[y].bind(this);
201
+ if (isFunc) {
202
+ this.methods[y] = methods[y].bind(this);
203
+ }
203
204
  }
204
205
  }
205
206
  const _client = this.copy(client); // copy the client parameter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.2.36",
3
+ "version": "1.2.38",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "type": "module",