@metamask/eth-json-rpc-middleware
Advanced tools
Comparing version 15.1.1 to 15.1.2
@@ -9,2 +9,7 @@ # Changelog | ||
## [15.1.2] | ||
### Changed | ||
- Fix validation of primary type for signTypedDataV3 and signTypedDataV4 ([#353](https://github.com/MetaMask/eth-json-rpc-middleware/pull/353)) | ||
- It was updated to handle `undefined` input | ||
## [15.1.1] | ||
@@ -242,3 +247,4 @@ ### Changed | ||
[Unreleased]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.1...HEAD | ||
[Unreleased]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.2...HEAD | ||
[15.1.2]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.1...v15.1.2 | ||
[15.1.1]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.0...v15.1.1 | ||
@@ -245,0 +251,0 @@ [15.1.0]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.0.1...v15.1.0 |
@@ -11,3 +11,3 @@ "use strict"; | ||
const stripArrayTypeIfPresent = (typeString) => { | ||
if ((typeString === null || typeString === void 0 ? void 0 : typeString.match(/\S\[\d*\]$/u)) !== null) { | ||
if (typeString === null || typeString === void 0 ? void 0 : typeString.match(/\S\[\d*\]$/u)) { | ||
return typeString.replace(/\[\d*\]$/gu, '').trim(); | ||
@@ -14,0 +14,0 @@ } |
{ | ||
"name": "@metamask/eth-json-rpc-middleware", | ||
"version": "15.1.1", | ||
"version": "15.1.2", | ||
"description": "Ethereum-related json-rpc-engine middleware.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
177398
12