utilitas 2001.1.65 → 2001.1.66

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
@@ -1237,7 +1237,7 @@ const collectAttachments = async (options = {}) => {
1237
1237
  const selectAi = async (options = {}) => {
1238
1238
  options.aiId = ensureArray(options?.aiId).filter(x => x);
1239
1239
  const ais = await getAi(null, { all: true });
1240
- if (options.aiId.includes('@')) { // Use top AIs
1240
+ if (options.aiId.includes('top')) { // Use top AIs
1241
1241
  options.aiId = ais.slice(0, TOP_LIMIT).map(x => x.id);
1242
1242
  } else if (options.collected?.length) { // Select by attachments
1243
1243
  const supported = {};
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": "2001.1.65",
4
+ "version": "2001.1.66",
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": "2001.1.65",
4
+ "version": "2001.1.66",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",