utilitas 2000.2.5 → 2000.3.2

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/lib/alan.mjs CHANGED
@@ -726,7 +726,7 @@ const buildPrompts = async (model, input, options = {}) => {
726
726
  if (options.messages?.length) {
727
727
  options.messages?.shift();
728
728
  msgBuilder();
729
- } else if (options.Beginning) {
729
+ } else if (options.trimBeginning) {
730
730
  content = '...' + trimBeginning(trimBeginning(content).slice(1));
731
731
  } else {
732
732
  content = trimTailing(trimTailing(content).slice(0, -1)) + '...';
package/lib/manifest.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2000.2.5",
4
+ "version": "2000.3.2",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2000.2.5",
4
+ "version": "2000.3.2",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",