Skip to content

Fix console logging in production and improve type safety#457

Merged
jamespepper81 merged 4 commits into
mainfrom
dev
Jan 11, 2026
Merged

Fix console logging in production and improve type safety#457
jamespepper81 merged 4 commits into
mainfrom
dev

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

This pull request introduces a few targeted improvements and refinements to the Metro bundler configuration and the Replace-By-Fee (RBF) transaction logic. The most notable changes are the addition of a configurable minimum RBF fee increase rate, improved type safety, and enhanced Metro config clarity and logging.

RBF Transaction Logic Improvements:

  • Introduced a MIN_RBF_FEE_INCREASE_RATE constant to define the minimum required fee increase for RBF transactions, replacing hardcoded values for better maintainability and clarity. [1] [2]
  • Improved type safety in the RBFValidationResult interface by specifying originalTx as a Transaction type instead of any.
  • Removed unnecessary console logging from the ECC library validation function for cleaner output.

Metro Bundler Configuration Enhancements:

  • Explicitly configured supported platforms for module resolution in the Metro config, making platform support clearer and more maintainable.
  • Added conditional request logging in the Metro server middleware for improved debugging during development, and clarified transformer configuration comments.

Copilot AI and others added 4 commits January 11, 2026 20:35
…ice.ts

Co-authored-by: jamespepper81 <84083764+jamespepper81@users.noreply.github.com>
…bility

Co-authored-by: jamespepper81 <84083764+jamespepper81@users.noreply.github.com>
…issues

Fix console logging in production and improve type safety
@jamespepper81 jamespepper81 merged commit 1a1fcc0 into main Jan 11, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants