From 233144f61623d67ff7fede43526817b249320d03 Mon Sep 17 00:00:00 2001 From: Alex Potsides Date: Fri, 8 Dec 2023 18:32:58 +0000 Subject: [PATCH] feat: react-native support (#403) React-native doesn't have any node core modules so it must use the pure-js/browser implementations of everything. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 3f0d71d..d4d24db 100644 --- a/package.json +++ b/package.json @@ -111,5 +111,9 @@ "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 } }