Skip to content

Commit

Permalink
Add exports field for node
Browse files Browse the repository at this point in the history
While this library targets the browser, it is sometimes helpful to use
it in need for experiments.
For example: #588
  • Loading branch information
D4nte committed Mar 4, 2022
1 parent acdd95b commit fe30449
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Add `exports` to `package.json` for NodeJS usage (not officially supported but helpful for experiments).

### Fixed

- Handle errors thrown by `bytesToUtf8`.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/esm/index.js",
"exports": "./",
"repository": "https://github.com/status-im/js-waku",
"license": "MIT OR Apache-2.0",
"keywords": [
Expand Down

0 comments on commit fe30449

Please sign in to comment.