Our exported index.cjs was exporting a flattened object, but the Types show a default and commonJs targeted builds with TS would fail, expecting a default property which didn't exist.
Adds a default property to the export if one doesn't already exist.
Adding integration tests for TS builds to cjs and esm, and making all node integration tests use the same tests.
Description:
Our exported index.cjs was exporting a flattened object, but the Types show a default and commonJs targeted builds with TS would fail, expecting a default property which didn't exist.
Adds a
default
property to the export if one doesn't already exist.Adding integration tests for TS builds to cjs and esm, and making all node integration tests use the same tests.
Checklist: