@pontalabs/baileys 1.2.0 → 1.2.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.
|
@@ -1140,7 +1140,7 @@ export const makeMessagesSocket = (config) => {
|
|
|
1140
1140
|
const results = [];
|
|
1141
1141
|
for (let index = 0; index < content.items.length; index++) {
|
|
1142
1142
|
if (index > 0) await delay(buildDelay);
|
|
1143
|
-
results.push(await
|
|
1143
|
+
results.push(await messagesSocket.sendMessage(jid, content.items[index], sendOptions));
|
|
1144
1144
|
}
|
|
1145
1145
|
return results;
|
|
1146
1146
|
}
|
|
@@ -1480,5 +1480,6 @@ export const makeMessagesSocket = (config) => {
|
|
|
1480
1480
|
},
|
|
1481
1481
|
captureUnifiedResponse,
|
|
1482
1482
|
};
|
|
1483
|
+
return messagesSocket;
|
|
1483
1484
|
};
|
|
1484
1485
|
//# sourceMappingURL=messages-send.js.map
|
package/lib/Utils/mbuilder.js
CHANGED
|
@@ -3215,13 +3215,12 @@ const build = {
|
|
|
3215
3215
|
richTip: (text) => ({ richTip: text }),
|
|
3216
3216
|
richWidget: (data) => ({ richWidget: data }),
|
|
3217
3217
|
richFooterAction: (data) => ({ richFooterAction: data }),
|
|
3218
|
+
richHtml: (html) => ({ richHtml: html }),
|
|
3218
3219
|
richSuggest: (suggestion) => ({ richSuggest: suggestion }),
|
|
3219
3220
|
};
|
|
3220
3221
|
|
|
3221
3222
|
// Expose the namespace globally so applications can use build.* without
|
|
3222
3223
|
// importing another symbol. The named export remains available as well.
|
|
3223
|
-
|
|
3224
|
-
globalThis.build = build;
|
|
3225
|
-
}
|
|
3224
|
+
globalThis.build = build;
|
|
3226
3225
|
|
|
3227
3226
|
export { VERSION, Button, ButtonV2, Carousel, AIRich, Toolkit, build };
|
package/package.json
CHANGED