Commit 3ac2042
committed
fix(wasm-mps): add typesVersions for ./web subpath
Adds typesVersions so TypeScript can resolve @bitgo/wasm-mps/web under moduleResolution: node, as used by some CommonJS projects. The exports ./web entry is understood by modern Node-style TypeScript resolution modes such as node16/nodenext/bundler, while typesVersions provides a compatible fallback for legacy resolution.
Allows consumers to use typeof import("@bitgo/wasm-mps/web") without a local type shim.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ticket: WCI-2501 parent 8b68958 commit 3ac2042
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| |||
0 commit comments