@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.
- package/dist/tools/prediction.js +8 -3
- package/package.json +1 -1
package/dist/tools/prediction.js
CHANGED
|
@@ -332,10 +332,15 @@ async function execute(input, ctx) {
|
|
|
332
332
|
isError: true,
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
// Predexon's batch endpoint
|
|
336
|
-
//
|
|
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
|
-
|
|
343
|
+
addresses: wallets.trim(),
|
|
339
344
|
}, ctx);
|
|
340
345
|
const profiles = unwrapList(raw);
|
|
341
346
|
if (profiles.length === 0) {
|
package/package.json
CHANGED