From 6966d4bb48293e2ee1b0c89189b5a353d400f0a7 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Sat, 9 Dec 2023 10:51:22 +0000 Subject: [PATCH] fix: revert react-native changes in #403 It turns out this isn't necessary so revert the changes. Also, we don't depend on node's `util` so no need to override that in the browser field. --- package.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index d4d24db..58320c4 100644 --- a/package.json +++ b/package.json @@ -109,11 +109,6 @@ "sinon": "^17.0.1" }, "browser": { - "./dist/src/crypto/index.js": "./dist/src/crypto/index.browser.js", - "util": false - }, - "react-native": { - "./dist/src/crypto/index.js": "./dist/src/crypto/index.browser.js", - "util": false + "./dist/src/crypto/index.js": "./dist/src/crypto/index.browser.js" } }