From cf6eafdff356e8339e8589fb2b3c01b5da241879 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Mon, 12 Sep 2022 14:56:02 +1000 Subject: [PATCH] fix: util polyfill not needed Ref: https://github.com/libp2p/js-libp2p-mplex/pull/213#issuecomment-1243219007 --- CHANGELOG.md | 4 ++++ package.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c324acd59..3a5cbacf5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - API Docs moved to https://js.waku.org/ - test: fix typing for nwaku JSON RPC responses. +### Fixed + +- Specify that `util` polyfill is not needed so that bundlers can automatically discard it. + ## [0.26.0] - 2022-09-08 ### Added diff --git a/package.json b/package.json index 34c8e3c03a..ef5f8e6844 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,8 @@ "reset-hard": "git clean -dfx -e .idea && git reset --hard && npm i && npm run build" }, "browser": { - "crypto": false + "crypto": false, + "util": false }, "engines": { "node": ">=16"