Skip to content

Conversation

@lcovar
Copy link
Contributor

@lcovar lcovar commented Nov 7, 2025

The built entrypoint (index.js) imports ./address, ./fixedScriptWallet, and ./utxolibCompat (and re-exports types like AddressFormat). These files were excluded by the npm "files" allowlist, causing MODULE_NOT_FOUND at runtime for consumers
(e.g., BitGoJS @bitgo/utxo-core tests).

Include in the allowlist for both node/browser targets:

  • dist//js/address.
  • dist//js/utxolibCompat.
  • dist//js/fixedScriptWallet.
  • dist//js/coinName.
  • dist//js/triple.

This ensures both JS and .d.ts are published and makes the package consistent with its public API. No API changes; fixes packaging only.

TIcket: BTC-2740

The built entrypoint (index.js) imports ./address, ./fixedScriptWallet,
and ./utxolibCompat (and re-exports types like AddressFormat). These
files were excluded by the npm "files" allowlist, causing
MODULE_NOT_FOUND at runtime for consumers
(e.g., BitGoJS @bitgo/utxo-core tests).

Include in the allowlist for both node/browser targets:
- dist/*/js/address.*
- dist/*/js/utxolibCompat.*
- dist/*/js/fixedScriptWallet.*
- dist/*/js/coinName.*
- dist/*/js/triple.*

This ensures both JS and .d.ts are published and makes the
package consistent with its public API. No API changes; fixes
packaging only.

TIcket: BTC-2740
@lcovar lcovar requested a review from a team as a code owner November 7, 2025 21:20
@OttoAllmendinger OttoAllmendinger merged commit 179e59c into master Nov 8, 2025
1 check passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2740 branch November 8, 2025 10:40
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