Skip to content

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Nov 10, 2025

Add modern exports field with conditional exports for Node.js and browser environments. This provides better control over the package's public API and prevents deep imports into internal paths.

Exports include:

  • Main entry point (.)
  • Submodules: address, ast, fixedScriptWallet, utxolibCompat

Each export properly specifies types, browser, and default (Node) paths. Maintains full backward compatibility with existing imports.

Add modern exports field with conditional exports for Node.js and browser
environments. This provides better control over the package's public API
and prevents deep imports into internal paths.

Exports include:
- Main entry point (.)
- Submodules: address, ast, fixedScriptWallet, utxolibCompat

Each export properly specifies types, browser, and default (Node) paths.
Maintains full backward compatibility with existing imports.
@lcovar lcovar requested a review from a team as a code owner November 10, 2025 23:39
@lcovar lcovar merged commit 58ddf16 into master Nov 11, 2025
1 check passed
@lcovar lcovar deleted the BTC-0.use.exports branch November 11, 2025 16:49
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.

3 participants