Commit e239dcc
committed
feat(wasm-utxo): add exports field to package.json
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.1 parent de44db9 commit e239dcc
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
26 | 53 | | |
27 | 54 | | |
28 | 55 | | |
| |||
0 commit comments