From 3571ee406c2e255c455bdd6f617328fa6466ae0e Mon Sep 17 00:00:00 2001 From: luu-alex <98a.lexluu@gmail.com> Date: Wed, 4 Dec 2024 14:39:49 -0500 Subject: [PATCH 1/2] add dist path for minified builds in validator --- packages/web3-validator/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web3-validator/package.json b/packages/web3-validator/package.json index bff4e5a7c59..eacbfd5ddc2 100644 --- a/packages/web3-validator/package.json +++ b/packages/web3-validator/package.json @@ -11,6 +11,7 @@ "require": "./lib/commonjs/index.js" } }, + "./dist/web3-validator.min.js": "./dist/web3-validator.min.js", "repository": "https://github.com/ChainSafe/web3.js", "author": "ChainSafe Systems", "license": "LGPL-3.0", From e3f79f438d90accc4e3ae7ab12a41a0ad0dcb201 Mon Sep 17 00:00:00 2001 From: luu-alex <98a.lexluu@gmail.com> Date: Wed, 4 Dec 2024 15:03:49 -0500 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 6 ++++++ packages/web3-validator/CHANGELOG.md | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a389b273b58..13aa1bcb9eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2864,3 +2864,9 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Updated Typescript version 4 -> 5 (#7272) ## [Unreleased] + +### Added + +#### web3-validator + +- Add web3-validator dist path for react-native builds (#7416) diff --git a/packages/web3-validator/CHANGELOG.md b/packages/web3-validator/CHANGELOG.md index 0ef2b96252e..2a1af7cfee7 100644 --- a/packages/web3-validator/CHANGELOG.md +++ b/packages/web3-validator/CHANGELOG.md @@ -176,3 +176,7 @@ Documentation: - `browser` entry point that was pointing to a non-existing bundle file was removed from `package.json` (#7015) ## [Unreleased] + +### Added + +- Add web3-validator dist path for react-native builds (#7416)