Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,10 +948,11 @@ should use 4.0.1-alpha.0 for testing.

### Fixed

#### web3-eth-abi

- Parameters decoding error for nested components (#5714)

#### web3-validator

- Fix issue when importing `web3-validator` package within browser environments (Webpack minified filename changed from `index.min.js` to `web3-validator.min.js`) (#5710)
- Fix build error '"type"' does not satisfy the constraint (#5712)

#### web3-eth-abi

- Parameters decoding error for nested components (#5714)
4 changes: 4 additions & 0 deletions packages/web3-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `isHex`returning `false` for `-123`, fix `isHexStrict` returning `true` for `-0x`, and fix `isHex` returning `true` for empty strings `` (#5373).

## [Unreleased]

### Fixed

- Fix issue when importing `web3-validator` package within browser environments (Webpack minified filename changed from `index.min.js` to `web3-validator.min.js`) (#5710)
2 changes: 1 addition & 1 deletion packages/web3-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.1-alpha.2",
"description": "JSON-Schema compatible validator for web3",
"main": "dist/index.js",
"browser": "dist/index.min.js",
"browser": "dist/web3-validator.min.js",
"repository": "https://github.com/ChainSafe/web3.js",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/web3-validator/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>.

const { getWebPackConfig } = require('../../webpack.base.config');

module.exports = getWebPackConfig(__dirname, 'index.min.js', 'web3-validator', 'src/index.ts');
module.exports = getWebPackConfig(
__dirname,
'web3-validator.min.js',
'web3-validator',
'src/index.ts',
);
6 changes: 3 additions & 3 deletions scripts/verdaccio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ createVerdaccioNPMUser() {
}

loginNPMUser() {
npm-auth-to-token \
npx npm-auth-to-token \
-u test \
-p test \
-e [email protected] \
-r http://localhost:4873
}

lernaUpdatePackageVersions() {
lerna version 5.0.0 \
npx lerna version 5.0.0 \
--ignore-scripts \
--no-push \
--no-private \
Expand All @@ -59,7 +59,7 @@ lernaBuildAndCommit() {
}

lernaPublish() {
lerna publish from-package \
npx lerna publish from-package \
--dist-tag blackbox \
--no-git-tag-version \
--no-push \
Expand Down