@indra.ai/deva 1.1.81 → 1.1.82
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.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1795,7 +1795,7 @@ class Deva {
|
|
|
1795
1795
|
const splitter = text.split(' ');
|
|
1796
1796
|
if (splitter < maxwords) return text;
|
|
1797
1797
|
return splitter.slice(0, maxwords).join(' ');
|
|
1798
|
-
}
|
|
1798
|
+
}
|
|
1799
1799
|
|
|
1800
1800
|
dupes(dupers) {
|
|
1801
1801
|
if (!Array.isArray(dupers)) return dupers;
|
|
@@ -1806,7 +1806,7 @@ class Deva {
|
|
|
1806
1806
|
return dupe;
|
|
1807
1807
|
}
|
|
1808
1808
|
});
|
|
1809
|
-
}
|
|
1809
|
+
}
|
|
1810
1810
|
|
|
1811
1811
|
/**************
|
|
1812
1812
|
func: error
|