@blockrun/franklin 3.15.71 → 3.15.72

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.
@@ -332,10 +332,15 @@ async function execute(input, ctx) {
332
332
  isError: true,
333
333
  };
334
334
  }
335
- // Predexon's batch endpoint accepts multiple wallets; we forward
336
- // verbatim. Single wallet works too caller passes one address.
335
+ // Predexon's batch endpoint expects the query param `addresses`,
336
+ // NOT `wallets` verified 2026-05-06 from a live 422 in a real
337
+ // user session: `{"detail":[{"type":"missing","loc":["query",
338
+ // "addresses"]}]}`. The 3.15.70 ship guessed the param name from
339
+ // the openapi description ("Batch retrieve wallet profiles") and
340
+ // got it wrong. Public field stays `wallets` for ergonomics —
341
+ // we just rename on the wire.
337
342
  const raw = await getWithPayment('/v1/pm/polymarket/wallets/profiles', {
338
- wallets: wallets.trim(),
343
+ addresses: wallets.trim(),
339
344
  }, ctx);
340
345
  const profiles = unwrapList(raw);
341
346
  if (profiles.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.15.71",
3
+ "version": "3.15.72",
4
4
  "description": "Franklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
5
5
  "type": "module",
6
6
  "exports": {