Skip to content

Commit ccf5e63

Browse files
committed
chore: bump version to 0.3.9 with Node.js compatibility fixes
1 parent 5dc4510 commit ccf5e63

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.3.9] - 2025-01-02
6+
7+
### Fixed
8+
- Enhanced Node.js compatibility with proper CJS/ESM module support
9+
- Improved module resolution for both CommonJS and ES Module environments
10+
- Fixed package exports to ensure consistent behavior across different Node.js versions
11+
512
## [0.3.1] - 2024-12-30
613

714
### Changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"name": "nostr-websocket-utils",
3-
"version": "0.3.7",
3+
"version": "0.3.9",
44
"description": "Robust WebSocket utilities for Nostr applications with automatic reconnection, channel-based messaging, and type-safe handlers. Features heartbeat monitoring, message queueing, and comprehensive error handling.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"type": "module",
88
"exports": {
99
".": {
10+
"types": "./dist/index.d.ts",
1011
"import": "./dist/index.js",
11-
"require": "./dist/cjs/index.js",
12-
"types": "./dist/index.d.ts"
12+
"default": "./dist/index.js"
1313
},
1414
"./crypto": {
15+
"types": "./dist/crypto/index.d.ts",
1516
"import": "./dist/crypto/index.js",
16-
"require": "./dist/cjs/crypto/index.js",
17-
"types": "./dist/crypto/index.d.ts"
17+
"default": "./dist/crypto/index.js"
1818
}
1919
},
2020
"scripts": {

0 commit comments

Comments
 (0)