utilitas 1999.1.44 → 1999.1.46
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/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +1 -1
- package/lib/bot.mjs +1 -1
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -712,7 +712,7 @@ const packResp = async (resp, options) => {
|
|
|
712
712
|
else if (options?.simple && options?.jsonMode) { return json; }
|
|
713
713
|
else if (options?.simple && options?.imageMode) { return images; }
|
|
714
714
|
else if (options?.simple) { return simpleText; }
|
|
715
|
-
else if (options?.jsonMode) { txt =
|
|
715
|
+
else if (options?.jsonMode) { txt = simpleText; }
|
|
716
716
|
// references debug codes:
|
|
717
717
|
// references = {
|
|
718
718
|
// "segments": [
|
package/lib/bot.mjs
CHANGED
|
@@ -1057,7 +1057,7 @@ const parseArgs = async (args, ctx) => {
|
|
|
1057
1057
|
const init = async (options) => {
|
|
1058
1058
|
if (options) {
|
|
1059
1059
|
assert(
|
|
1060
|
-
insensitiveCompare(options?.
|
|
1060
|
+
insensitiveCompare(options?.provider, provider),
|
|
1061
1061
|
'Invalid bot provider.', 501
|
|
1062
1062
|
);
|
|
1063
1063
|
if (isPrimary) {
|
package/lib/manifest.mjs
CHANGED