@indra.ai/deva 1.1.117 → 1.1.118

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -213,8 +213,8 @@ class Deva {
213
213
  for (const x in client.features) {
214
214
  const methods = client.features[x].methods || false;
215
215
  if (methods) for (const y in methods) {
216
- const isMethod = typeof methods[y] === 'function' && !this.methods[y];
217
- if (isMethod) this.methods[y] = methods[y].bind(this);
216
+ const isFunc = typeof methods[y] === 'function';
217
+ if (isFunc) this.methods[y] = methods[y].bind(this);
218
218
  }
219
219
  }
220
220
  // console.log('CLINET BEFORE COPY', client);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.117",
3
+ "version": "1.1.118",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {