v16.0.1
v16.0.1
Fixed
- Fixed the ESM library build so the inlined
@stellar/js-xdrsource resolves
correctly under Yarn PnP (and Node's native ESM resolver). Because the build
preserves modules, Rollup emits js-xdr's source into a nested package scope,
but js-xdr does not declaretype: "module", so Node and Yarn PnP parsed those
preserved files as CommonJS and failed to resolve them. Rollup now marks the
emitted js-xdr package astype: "module"so its source is parsed as ESM
#1484.
Full Changelog: v16.0.0...v16.0.1