Skip to content
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

Feat/mev protection #418

Merged
merged 4 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/cyan-frogs-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@ledgerhq/wallet-api-server": patch
"@ledgerhq/wallet-api-docs": patch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey it should probably be a minor bump for a new option and we don't really need to version the docs as we don't publish them

Suggested change
"@ledgerhq/wallet-api-server": patch
"@ledgerhq/wallet-api-docs": patch
"@ledgerhq/wallet-api-server": minor

---

feat: mevProtected boolean added to server config object
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ ServerConfig = {
name: string;
version: string;
};
mevProtected?: boolean; // whether the user opted in for MEV protection
};
```

Expand Down
1 change: 1 addition & 0 deletions packages/server/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export type ServerConfig = {
tracking: boolean;
wallet: WalletInfo;
appId: string;
mevProtected?: boolean;
};

export type CustomHandlers = Record<
Expand Down
Loading