-
-
Notifications
You must be signed in to change notification settings - Fork 34
Comparing changes
Open a pull request
base repository: MetaMask/rpc-errors
base: v5.0.0
head repository: MetaMask/rpc-errors
compare: v5.1.0
- 6 commits
- 21 files changed
- 5 contributors
Commits on Apr 17, 2023
-
Allow passing a cause to predefined error functions (#83)
* Allow passing a cause to predefined error functions This allows passing an `Error` class object to one of the predefined error functions as defined in `rpcErrors` and `providerErrors`. Upon calling the `serialise` function of the `JsonRpcError` class, the cause error will be serialised using the `serializeCause` function. * Add tests to ensure error.serialize().data is not an instance of Error The expect function ensures that the type of error.serialize().data is an object and contains specific serialized data while ensuring it does not contain an error instance. This test is necessary to avoid unexpected errors during exception handling. * Apply suggestions from code review Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> * Export `serializeCause` and `DataWithOptionalCause` * Fix type errors * Update coverage tresholds --------- Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e6a9162 - Browse repository at this point
Copy the full SHA e6a9162View commit details
Commits on Apr 18, 2023
-
Standardise workflows per the module template as of April 2023 (#82)
* Standardise workflows per the module template as of April 2023 * Enable Dependabot to update '@metamask/*' npm packages daily This commit adds a Dependabot configuration file to the repository to enable daily checks for new versions of '@metamask/*' npm packages, updating them if needed, and opening a maximum of 10 pull requests with these updates. The configuration file uses the 'increase-if-necessary' versioning strategy to ensure that only necessary version bumps are considered for update. * Update build matrix in GitHub Actions Remove Node.js 14.x from the build matrix since it's no longer supported. The build matrix now includes only Node.js 16.x, 18.x, and 19.x.
Configuration menu - View commit details
-
Copy full SHA for 90024f9 - Browse repository at this point
Copy the full SHA 90024f9View commit details -
Bump @metamask/eslint-config-jest from 10.0.0 to 11.1.0 (#88)
Bumps [@metamask/eslint-config-jest](https://github.com/MetaMask/eslint-config) from 10.0.0 to 11.1.0. - [Release notes](https://github.com/MetaMask/eslint-config/releases) - [Commits](MetaMask/eslint-config@v10.0.0...v11.1.0) --- updated-dependencies: - dependency-name: "@metamask/eslint-config-jest" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23c4857 - Browse repository at this point
Copy the full SHA 23c4857View commit details -
Bump ESLint configs and dependencies to latest version (#89)
* Bump ESLint configs and dependencies to latest versions * Update code coverage percentage values The previous values of code coverage were updated to new and more accurate values.
Configuration menu - View commit details
-
Copy full SHA for a324a7a - Browse repository at this point
Copy the full SHA a324a7aView commit details -
Bump @metamask/utils from 5.0.0 to 5.0.1 (#85)
Bumps [@metamask/utils](https://github.com/MetaMask/utils) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/MetaMask/utils/releases) - [Changelog](https://github.com/MetaMask/utils/blob/main/CHANGELOG.md) - [Commits](MetaMask/utils@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: "@metamask/utils" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a388854 - Browse repository at this point
Copy the full SHA a388854View commit details -
* 5.1.0 * Update CHANGELOG.md --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
Configuration menu - View commit details
-
Copy full SHA for 1d1852d - Browse repository at this point
Copy the full SHA 1d1852dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.0.0...v5.1.0