diff --git a/.changeset/fix-dinero-interop.md b/.changeset/fix-dinero-interop.md deleted file mode 100644 index d16e52e..0000000 --- a/.changeset/fix-dinero-interop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@epilot/pricing": patch ---- - -Fix `TypeError: (0, x.default) is not a function` when a consumer bundles `@epilot/pricing` with `mainFields: ['module','main']`. The `dinero.js` factory is now resolved regardless of whether the CJS or ESM build is picked up. diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae07cb..0593690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 5.9.1 + +### Patch Changes + +- f5edc13: Fix `TypeError: (0, x.default) is not a function` when a consumer bundles `@epilot/pricing` with `mainFields: ['module','main']`. The `dinero.js` factory is now resolved regardless of whether the CJS or ESM build is picked up. + ## 5.9.0 ### Minor Changes diff --git a/package.json b/package.json index 0ac5de0..6cf1f6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@epilot/pricing", - "version": "5.9.0", + "version": "5.9.1", "description": "Pricing Library", "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs",