feat(package): Update package.json to use exports field for dual entry points

This commit is contained in:
Juergen Kunz
2025-06-19 23:43:43 +00:00
parent 57e08265dc
commit d2efaccaa7
4 changed files with 12 additions and 4 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 2025-06-19 - 3.2.0 - feat(package)
Update package.json to use exports field for dual entry points
- Replaced the main and typings fields with an exports object that supports both default and web entry points
- Ensures consistency in module resolution between Node.js and browser environments
## 2025-06-19 - 3.1.0 - feat(browser)
Implement fallback SHA256 for non-HTTPS environments and enhance browser tests for consistent hashing