-
Notifications
You must be signed in to change notification settings - Fork 9
chore: add changeset for cleanup patch (#54, #55) #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||||||
| --- | ||||||||||
| "@iqai/mcp-polymarket": patch | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| Cleanup batch: | ||||||||||
|
|
||||||||||
| - Fix stderr log lines running together due to missing trailing newlines on init/order/market-order logs (server log output is no longer corrupted into one line) | ||||||||||
| - Reject invalid `outcomeIndex` for negRisk redemption instead of silently defaulting to outcome 0 — prevents accidentally redeeming the losing side when the caller passes a bad value | ||||||||||
|
Comment on lines
+7
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is a best practice to include the pull request numbers (e.g.,
Suggested change
|
||||||||||
| - Move `shx` from `dependencies` to `devDependencies` so npm consumers don't pull it in | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While moving |
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changeset description mentions that the fix for log lines running together applies specifically to
init/order/market-orderlogs. However, the implementation insrc/util/log.ts(line 2) adds a newline to the globallogutility, which affects all logs in the application. It might be more accurate to describe this as a general fix for server logging to ensure allstderroutput is properly delimited.