hyperledger / identus-edge-agent-sdk-ts

Apache License 2.0
24 stars 13 forks source link

fix: commonJs default export #339

Open curtis-h opened 1 week ago

curtis-h commented 1 week ago

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:

github-actions[bot] commented 1 week ago
Lines Statements Branches Functions
Coverage: 75%
76.14% (3636/4775) 66.53% (1666/2504) 80.29% (864/1076)
coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 11840451295

Details


Totals Coverage Status
Change from base Build 11819333201: 0.06%
Covered Lines: 3528
Relevant Lines: 4649

💛 - Coveralls