@apify/actors-mcp-server 0.9.21-beta.6 → 0.9.21-beta.7
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.
|
@@ -169,7 +169,7 @@ function formatPayPerEventComplete(pricingPerEvent) {
|
|
|
169
169
|
const eventLines = Object.values(pricingPerEvent.actorChargeEvents).map((event) => {
|
|
170
170
|
var _a;
|
|
171
171
|
const detail = formatCompleteEventDetail(event);
|
|
172
|
-
return
|
|
172
|
+
return ` - **${event.eventTitle}**: ${(_a = event.eventDescription) !== null && _a !== void 0 ? _a : ''} (${detail})`;
|
|
173
173
|
});
|
|
174
174
|
return `This Actor is paid per event:\n${eventLines.join('\n')}`;
|
|
175
175
|
}
|
|
@@ -295,8 +295,8 @@ function formatPayPerEventSimplified(pricingPerEvent, userTier) {
|
|
|
295
295
|
}
|
|
296
296
|
const detail = typeof price === 'number' ? `$${price} per event` : 'No price info';
|
|
297
297
|
if (omitDescriptions)
|
|
298
|
-
return
|
|
299
|
-
return
|
|
298
|
+
return ` - **${event.eventTitle}**: ${detail}`;
|
|
299
|
+
return ` - **${event.eventTitle}**: ${(_a = event.eventDescription) !== null && _a !== void 0 ? _a : ''} (${detail})`;
|
|
300
300
|
});
|
|
301
301
|
const body = `This Actor is paid per event:\n${eventLines.join('\n')}`;
|
|
302
302
|
const anyMultiTier = events.some((event) => hasMultipleTiers(event.eventTieredPricingUsd));
|