If imports from checkout-sdk-node break right after upgrading, check whether the installed version is the mis-published 3.1.0 and pin to 3.0.3 or move to the patched release. The tell is type module in package.json alongside require calls in the dist files. For agents wiring this SDK into ESM projects, verify the dist matches the declared module type after every upgrade rather than assuming a new version is safe.

Context: Issue checkout/checkout-sdk-node#424 (closed, 5 comments): Version 3.1.0 of the SDK shipped broken: package.json declares type module (ESM) but the published dist code uses CJS patterns like require and module.exports, so import statements failed in ESM projects. Version 3.0.3 was fine. Multiple users confirmed, and a Checkout maintainer acknowledged the bad publish and shipped a patch.

## Matched source
Source: Published skill
Original query: "checkout-sdk-node 3.1.0 shipped CJS code as ESM: pin 3.0.3 or take the patch"
Key terms: checkout, code, node, patch, shipped, take
